2026-04-20 02:07:30,145 - INFO - Domain Default found not creating 2026-04-20 02:07:30,291 - INFO - Project ctest-TestBasicPolicy-42059610 not found, creating it 2026-04-20 02:07:30,710 - INFO - Created Project:ctest-TestBasicPolicy-42059610, ID : e4da5c92-1f1b-4380-9d51-031ec780faf1 2026-04-20 02:07:32,087 - INFO - ================================================================================ 2026-04-20 02:07:32,087 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-20 02:07:32,087 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-04-20 02:07:32,340 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2026-04-20 02:07:32,340 - INFO - Initial checks done. Running the testcase now 2026-04-20 02:07:32,340 - INFO - 2026-04-20 02:07:32,857 - DEBUG - Response for create_network : {'network': {'id': '677c9b8b-bf15-45c8-a910-8cf3d85183fc', 'name': 'ctest-vn-45369298', 'tenant_id': 'e4da5c921f1b43809d51031ec780faf1', 'project_id': 'e4da5c921f1b43809d51031ec780faf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42059610', 'ctest-vn-45369298'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:07:33,045 - DEBUG - Response for create_subnet : {'subnet': {'id': '40e9edd2-2178-488a-9084-20f956fc9570', 'name': '', 'tenant_id': 'e4da5c921f1b43809d51031ec780faf1', 'network_id': '677c9b8b-bf15-45c8-a910-8cf3d85183fc', 'ip_version': 4, 'cidr': '124.38.254.0/26', 'allocation_pools': [{'start': '124.38.254.2', 'end': '124.38.254.62'}], 'gateway_ip': '124.38.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.38.254.2', 'tags': [], 'project_id': 'e4da5c921f1b43809d51031ec780faf1'}} 2026-04-20 02:07:33,061 - INFO - Created VN ctest-vn-45369298 2026-04-20 02:07:33,115 - DEBUG - VN ctest-vn-45369298 UUID is 677c9b8b-bf15-45c8-a910-8cf3d85183fc 2026-04-20 02:07:33,406 - DEBUG - Response for create_network : {'network': {'id': '00a40eec-7644-48ab-b2ce-7680d4823cc6', 'name': 'ctest-vn-20743724', 'tenant_id': 'e4da5c921f1b43809d51031ec780faf1', 'project_id': 'e4da5c921f1b43809d51031ec780faf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42059610', 'ctest-vn-20743724'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:07:33,604 - DEBUG - Response for create_subnet : {'subnet': {'id': '19ee31a3-839e-4e74-9742-599d763b2a3f', 'name': '', 'tenant_id': 'e4da5c921f1b43809d51031ec780faf1', 'network_id': '00a40eec-7644-48ab-b2ce-7680d4823cc6', 'ip_version': 4, 'cidr': '78.74.210.128/26', 'allocation_pools': [{'start': '78.74.210.130', 'end': '78.74.210.190'}], 'gateway_ip': '78.74.210.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.74.210.130', 'tags': [], 'project_id': 'e4da5c921f1b43809d51031ec780faf1'}} 2026-04-20 02:07:33,618 - INFO - Created VN ctest-vn-20743724 2026-04-20 02:07:33,667 - DEBUG - VN ctest-vn-20743724 UUID is 00a40eec-7644-48ab-b2ce-7680d4823cc6 2026-04-20 02:07:33,807 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-45369298, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-20743724, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-04-20 02:07:34,084 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '677c9b8b-bf15-45c8-a910-8cf3d85183fc', 'name': 'ctest-vn-45369298', 'tenant_id': 'e4da5c921f1b43809d51031ec780faf1', 'project_id': 'e4da5c921f1b43809d51031ec780faf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40e9edd2-2178-488a-9084-20f956fc9570'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42059610', 'ctest-vn-45369298'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42059610', 'ctest-policy-allow-all-74727563']], 'subnet_ipam': [{'subnet_cidr': '124.38.254.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:07:34,297 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00a40eec-7644-48ab-b2ce-7680d4823cc6', 'name': 'ctest-vn-20743724', 'tenant_id': 'e4da5c921f1b43809d51031ec780faf1', 'project_id': 'e4da5c921f1b43809d51031ec780faf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['19ee31a3-839e-4e74-9742-599d763b2a3f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42059610', 'ctest-vn-20743724'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42059610', 'ctest-policy-allow-all-74727563']], 'subnet_ipam': [{'subnet_cidr': '78.74.210.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:07:34,455 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-20 02:07:34,745 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-20 02:07:34,772 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8dbe7c18-3fac-4f6b-8993-d8c652ef417b 2026-04-20 02:07:34,782 - DEBUG - Requesting: http://10.0.0.41:8082/project/e4da5c92-1f1b-4380-9d51-031ec780faf1 2026-04-20 02:07:34,851 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/677c9b8b-bf15-45c8-a910-8cf3d85183fc 2026-04-20 02:07:34,860 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/677c9b8b-bf15-45c8-a910-8cf3d85183fc 2026-04-20 02:07:34,867 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0d6dfb28-5568-4300-a6cc-f19741ac9d13 2026-04-20 02:07:34,872 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0d6dfb28-5568-4300-a6cc-f19741ac9d13 2026-04-20 02:07:34,877 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/3edb0c56-a70c-4735-ac07-8f8e13437bb9 2026-04-20 02:07:34,881 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 02:07:34,881 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/677c9b8b-bf15-45c8-a910-8cf3d85183fc 2026-04-20 02:07:34,888 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0d6dfb28-5568-4300-a6cc-f19741ac9d13 2026-04-20 02:07:34,898 - INFO - Verified VN network id 12 for VN 677c9b8b-bf15-45c8-a910-8cf3d85183fc 2026-04-20 02:07:34,898 - INFO - Verifications in API Server for VN ctest-vn-45369298 passed 2026-04-20 02:07:34,899 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/677c9b8b-bf15-45c8-a910-8cf3d85183fc 2026-04-20 02:07:34,905 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0d6dfb28-5568-4300-a6cc-f19741ac9d13 2026-04-20 02:07:34,910 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0d6dfb28-5568-4300-a6cc-f19741ac9d13 2026-04-20 02:07:34,915 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/3edb0c56-a70c-4735-ac07-8f8e13437bb9 2026-04-20 02:07:34,923 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-45369298', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42059610', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7457006107527300552', 'uuid-lslong': '12182391970971354108'}, 'enable': 'true', 'created': '2026-04-20T02:07:32', 'last-modified': '2026-04-20T02:07:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.859216'} 2026-04-20 02:07:34,928 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 02:07:34,928 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45369298 passed 2026-04-20 02:07:34,929 - DEBUG - ====Verifying policy data for ctest-vn-45369298 in API_Server ====== 2026-04-20 02:07:34,929 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-20 02:07:34,932 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8dbe7c18-3fac-4f6b-8993-d8c652ef417b 2026-04-20 02:07:34,941 - DEBUG - Requesting: http://10.0.0.41:8082/project/e4da5c92-1f1b-4380-9d51-031ec780faf1 2026-04-20 02:07:35,005 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/677c9b8b-bf15-45c8-a910-8cf3d85183fc 2026-04-20 02:07:35,013 - DEBUG - ==>Verifying data for policy with id: db6370b7-6b8d-476d-9612-a6cba42dea83, fqn: ['default-domain', 'ctest-TestBasicPolicy-42059610', 'ctest-policy-allow-all-74727563'] 2026-04-20 02:07:35,013 - INFO - VN ctest-vn-45369298 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 02:07:35,013 - DEBUG - Verifying the vn in opserver 2026-04-20 02:07:35,013 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-45369298 virtual network link through opserver 10.0.0.41 2026-04-20 02:07:35,013 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-04-20 02:07:35,303 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-04-20 02:07:35,359 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-45369298', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-45369298?flat'} 2026-04-20 02:07:35,359 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-45369298 is found in opserver 2026-04-20 02:07:35,367 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 02:07:35,371 - DEBUG - VRF ids for VN ctest-vn-45369298: {} 2026-04-20 02:07:35,371 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-20 02:07:35,376 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8dbe7c18-3fac-4f6b-8993-d8c652ef417b 2026-04-20 02:07:35,385 - DEBUG - Requesting: http://10.0.0.41:8082/project/e4da5c92-1f1b-4380-9d51-031ec780faf1 2026-04-20 02:07:35,450 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/00a40eec-7644-48ab-b2ce-7680d4823cc6 2026-04-20 02:07:35,460 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/00a40eec-7644-48ab-b2ce-7680d4823cc6 2026-04-20 02:07:35,467 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/08acfcb7-b1b6-48d1-9176-93bcb5785336 2026-04-20 02:07:35,472 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/08acfcb7-b1b6-48d1-9176-93bcb5785336 2026-04-20 02:07:35,477 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c0442b69-20d6-4d01-8291-148ae955deaf 2026-04-20 02:07:35,482 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 02:07:35,482 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/00a40eec-7644-48ab-b2ce-7680d4823cc6 2026-04-20 02:07:35,489 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/08acfcb7-b1b6-48d1-9176-93bcb5785336 2026-04-20 02:07:35,498 - INFO - Verified VN network id 13 for VN 00a40eec-7644-48ab-b2ce-7680d4823cc6 2026-04-20 02:07:35,498 - INFO - Verifications in API Server for VN ctest-vn-20743724 passed 2026-04-20 02:07:35,498 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/00a40eec-7644-48ab-b2ce-7680d4823cc6 2026-04-20 02:07:35,505 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/08acfcb7-b1b6-48d1-9176-93bcb5785336 2026-04-20 02:07:35,511 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/08acfcb7-b1b6-48d1-9176-93bcb5785336 2026-04-20 02:07:35,516 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c0442b69-20d6-4d01-8291-148ae955deaf 2026-04-20 02:07:35,526 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-20743724', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42059610', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '46178304939804843', 'uuid-lslong': '12884365879646764230'}, 'enable': 'true', 'created': '2026-04-20T02:07:33', 'last-modified': '2026-04-20T02:07:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.250115'} 2026-04-20 02:07:35,531 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 02:07:35,531 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20743724 passed 2026-04-20 02:07:35,531 - DEBUG - ====Verifying policy data for ctest-vn-20743724 in API_Server ====== 2026-04-20 02:07:35,531 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-20 02:07:35,536 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8dbe7c18-3fac-4f6b-8993-d8c652ef417b 2026-04-20 02:07:35,544 - DEBUG - Requesting: http://10.0.0.41:8082/project/e4da5c92-1f1b-4380-9d51-031ec780faf1 2026-04-20 02:07:35,612 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/00a40eec-7644-48ab-b2ce-7680d4823cc6 2026-04-20 02:07:35,620 - DEBUG - ==>Verifying data for policy with id: db6370b7-6b8d-476d-9612-a6cba42dea83, fqn: ['default-domain', 'ctest-TestBasicPolicy-42059610', 'ctest-policy-allow-all-74727563'] 2026-04-20 02:07:35,620 - INFO - VN ctest-vn-20743724 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 02:07:35,620 - DEBUG - Verifying the vn in opserver 2026-04-20 02:07:35,620 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-20743724 virtual network link through opserver 10.0.0.41 2026-04-20 02:07:35,620 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-04-20 02:07:35,628 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-20743724', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-20743724?flat'} 2026-04-20 02:07:35,628 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-20743724 is found in opserver 2026-04-20 02:07:35,636 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 02:07:35,641 - DEBUG - VRF ids for VN ctest-vn-20743724: {} 2026-04-20 02:07:35,692 - DEBUG - Services list from nova: [, , ] 2026-04-20 02:07:36,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5645-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5645-1) 2026-04-20 02:07:37,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5645-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5645-1) 2026-04-20 02:07:37,715 - INFO - Waiting for VM ctest-TestBasicPolicy-42059610-92868462 to be up.. 2026-04-20 02:07:37,779 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 02:07:42,842 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:07:42,842 - INFO - VM name : ctest-TestBasicPolicy-42059610-92868462 2026-04-20 02:07:42,906 - DEBUG - VM ctest-TestBasicPolicy-42059610-92868462 ID is 62cf6dd7-3dd9-4b71-809b-88d6934c7b32 2026-04-20 02:07:42,924 - DEBUG - VM ctest-TestBasicPolicy-42059610-92868462 launched on Node cn-jenkins-deploy-platform-ansible-os-5645-1 2026-04-20 02:07:42,990 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/62cf6dd7-3dd9-4b71-809b-88d6934c7b32 2026-04-20 02:07:42,997 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/848f2f84-56b3-4cf1-963b-e727d26222ba 2026-04-20 02:07:46,247 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2026-04-20 02:07:46,248 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42059610-92868462 failed! 2026-04-20 02:07:46,303 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-42059610:ctest-vn-45369298 is 124.38.254.1 and allocation pool is NOT set 2026-04-20 02:07:48,366 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.483 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.483/1.697/2.911/1.214 ms') 2026-04-20 02:07:48,366 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42059610-92868462 passed 2026-04-20 02:07:48,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:07:48,511 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42059610-92868462, IP 124.38.254.3, Port 22 2026-04-20 02:07:48,666 - DEBUG - VM ctest-TestBasicPolicy-42059610-92868462 is ready for SSH connections 2026-04-20 02:07:48,666 - INFO - Waiting for VM ctest-TestBasicPolicy-42059610-22910928 to be up.. 2026-04-20 02:07:48,728 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:07:48,728 - INFO - VM name : ctest-TestBasicPolicy-42059610-22910928 2026-04-20 02:07:48,794 - DEBUG - VM ctest-TestBasicPolicy-42059610-22910928 ID is b627c59e-eff4-4c34-8712-2f5404718498 2026-04-20 02:07:48,794 - DEBUG - VM ctest-TestBasicPolicy-42059610-22910928 launched on Node cn-jenkins-deploy-platform-ansible-os-5645-1 2026-04-20 02:07:48,854 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/b627c59e-eff4-4c34-8712-2f5404718498 2026-04-20 02:07:48,861 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/7e9bc221-fee3-4fdf-a3ad-0b86111d3c73 2026-04-20 02:07:50,092 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.370/1.789/3.209/1.419 ms') 2026-04-20 02:07:50,092 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-42059610-22910928 passed 2026-04-20 02:07:50,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:07:50,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42059610-22910928, IP 78.74.210.131, Port 22 2026-04-20 02:07:50,391 - DEBUG - VM ctest-TestBasicPolicy-42059610-22910928 is ready for SSH connections 2026-04-20 02:07:50,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:07:50,391 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.74.210.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-04-20 02:07:50,391 - DEBUG - ping -s 56 -c 3 -W 1 78.74.210.131 2026-04-20 02:07:54,074 - DEBUG - PING 78.74.210.131 (78.74.210.131): 56 data bytes 64 bytes from 78.74.210.131: seq=0 ttl=63 time=3.178 ms 64 bytes from 78.74.210.131: seq=1 ttl=63 time=0.985 ms 64 bytes from 78.74.210.131: seq=2 ttl=63 time=0.719 ms --- 78.74.210.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.627/3.178 ms 2026-04-20 02:07:54,074 - INFO - Ping to IP 78.74.210.131 from VM ctest-TestBasicPolicy-42059610-92868462 passed 2026-04-20 02:07:54,243 - DEBUG - Policy Update Response {"network-policy": {"uuid": "db6370b7-6b8d-476d-9612-a6cba42dea83", "href": "http://10.0.0.41:8082/network-policy/db6370b7-6b8d-476d-9612-a6cba42dea83"}} 2026-04-20 02:07:54,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:07:54,243 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.74.210.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-04-20 02:07:54,244 - DEBUG - ping -s 56 -c 3 -W 1 78.74.210.131 2026-04-20 02:07:57,434 - DEBUG - PING 78.74.210.131 (78.74.210.131): 56 data bytes 64 bytes from 78.74.210.131: seq=0 ttl=63 time=1.276 ms --- 78.74.210.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.276/1.276/1.276 ms 2026-04-20 02:07:57,434 - WARNING - Ping to IP 78.74.210.131 from VM ctest-TestBasicPolicy-42059610-92868462 failed 2026-04-20 02:07:57,434 - INFO - Deleting VM ctest-TestBasicPolicy-42059610-22910928 2026-04-20 02:07:57,505 - INFO - Deleting VM ctest-TestBasicPolicy-42059610-92868462 2026-04-20 02:07:57,873 - INFO - Deleted policy ctest-policy-allow-all-74727563 2026-04-20 02:07:57,874 - INFO - Deleting VN ctest-vn-20743724 2026-04-20 02:07:57,904 - DEBUG - VN 00a40eec-7644-48ab-b2ce-7680d4823cc6 still in use: Unable to complete operation on network 00a40eec-7644-48ab-b2ce-7680d4823cc6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f4404c74-376c-4824-bda2-cc93a2019118'] 2026-04-20 02:07:57,904 - WARNING - Deleting VN ctest-vn-20743724 failed..Will retry 2026-04-20 02:07:59,998 - DEBUG - Response for deleting network () 2026-04-20 02:07:59,998 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/08acfcb7-b1b6-48d1-9176-93bcb5785336 2026-04-20 02:08:00,005 - DEBUG - Response Code: 404 2026-04-20 02:08:00,005 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-20 02:08:00,011 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8dbe7c18-3fac-4f6b-8993-d8c652ef417b 2026-04-20 02:08:00,065 - DEBUG - Requesting: http://10.0.0.41:8082/project/e4da5c92-1f1b-4380-9d51-031ec780faf1 2026-04-20 02:08:00,133 - INFO - Validated that VN ctest-vn-20743724 is not found in API Server 2026-04-20 02:08:00,141 - DEBUG - VN ctest-vn-20743724 is not present in Agent 10.0.0.41 2026-04-20 02:08:00,141 - INFO - Validated that VN ctest-vn-20743724 is not in any agent 2026-04-20 02:08:00,153 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20743724 info 2026-04-20 02:08:00,153 - INFO - Deleting VN ctest-vn-45369298 2026-04-20 02:08:00,261 - DEBUG - Response for deleting network () 2026-04-20 02:08:00,262 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0d6dfb28-5568-4300-a6cc-f19741ac9d13 2026-04-20 02:08:00,269 - DEBUG - Response Code: 404 2026-04-20 02:08:00,270 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-04-20 02:08:00,275 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8dbe7c18-3fac-4f6b-8993-d8c652ef417b 2026-04-20 02:08:00,328 - DEBUG - Requesting: http://10.0.0.41:8082/project/e4da5c92-1f1b-4380-9d51-031ec780faf1 2026-04-20 02:08:00,396 - INFO - Validated that VN ctest-vn-45369298 is not found in API Server 2026-04-20 02:08:00,406 - DEBUG - VN ctest-vn-45369298 is not present in Agent 10.0.0.41 2026-04-20 02:08:00,406 - INFO - Validated that VN ctest-vn-45369298 is not in any agent 2026-04-20 02:08:00,421 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45369298 info 2026-04-20 02:08:00,677 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 02:08:00,677 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2026-04-20 02:08:00,677 - INFO - -------------------------------------------------------------------------------- 2026-04-20 02:08:01,366 - INFO - Deleted project: ctest-TestBasicPolicy-42059610, ID : e4da5c92-1f1b-4380-9d51-031ec780faf1