2026-01-01 06:48:45,756 - INFO - Domain Default found not creating 2026-01-01 06:48:45,938 - INFO - Project ctest-TestBasicPolicy-73588721 not found, creating it 2026-01-01 06:48:46,428 - INFO - Created Project:ctest-TestBasicPolicy-73588721, ID : 30f9f59b-f700-4586-b9ed-dba8bb911f68 2026-01-01 06:48:48,106 - INFO - ================================================================================ 2026-01-01 06:48:48,106 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-01 06:48:48,106 - 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-01-01 06:48:48,363 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-01-01 06:48:48,363 - INFO - Initial checks done. Running the testcase now 2026-01-01 06:48:48,363 - INFO - 2026-01-01 06:48:48,959 - DEBUG - Response for create_network : {'network': {'id': '213742b4-70a9-42a0-b0d4-24bba73d42a5', 'name': 'ctest-vn-96793696', 'tenant_id': '30f9f59bf7004586b9eddba8bb911f68', 'project_id': '30f9f59bf7004586b9eddba8bb911f68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73588721', 'ctest-vn-96793696'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 06:48:49,115 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e569dbbb-55a6-44a7-a293-49fd13aeb325', 'name': '', 'tenant_id': '30f9f59bf7004586b9eddba8bb911f68', 'network_id': '213742b4-70a9-42a0-b0d4-24bba73d42a5', 'ip_version': 4, 'cidr': '162.12.221.192/26', 'allocation_pools': [{'start': '162.12.221.194', 'end': '162.12.221.254'}], 'gateway_ip': '162.12.221.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.12.221.194', 'tags': [], 'project_id': '30f9f59bf7004586b9eddba8bb911f68'}} 2026-01-01 06:48:49,134 - INFO - Created VN ctest-vn-96793696 2026-01-01 06:48:49,185 - DEBUG - VN ctest-vn-96793696 UUID is 213742b4-70a9-42a0-b0d4-24bba73d42a5 2026-01-01 06:48:49,482 - DEBUG - Response for create_network : {'network': {'id': '3d613066-feb9-4f4b-8e47-74a479b9cef2', 'name': 'ctest-vn-93511668', 'tenant_id': '30f9f59bf7004586b9eddba8bb911f68', 'project_id': '30f9f59bf7004586b9eddba8bb911f68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73588721', 'ctest-vn-93511668'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 06:48:49,634 - DEBUG - Response for create_subnet : {'subnet': {'id': '0df7c995-7f80-4a54-b9cd-a681fc51667c', 'name': '', 'tenant_id': '30f9f59bf7004586b9eddba8bb911f68', 'network_id': '3d613066-feb9-4f4b-8e47-74a479b9cef2', 'ip_version': 4, 'cidr': '82.192.44.192/26', 'allocation_pools': [{'start': '82.192.44.194', 'end': '82.192.44.254'}], 'gateway_ip': '82.192.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.192.44.194', 'tags': [], 'project_id': '30f9f59bf7004586b9eddba8bb911f68'}} 2026-01-01 06:48:49,654 - INFO - Created VN ctest-vn-93511668 2026-01-01 06:48:49,705 - DEBUG - VN ctest-vn-93511668 UUID is 3d613066-feb9-4f4b-8e47-74a479b9cef2 2026-01-01 06:48:49,831 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73588721:ctest-vn-96793696, 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-73588721:ctest-vn-93511668, 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-01-01 06:48:50,144 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '213742b4-70a9-42a0-b0d4-24bba73d42a5', 'name': 'ctest-vn-96793696', 'tenant_id': '30f9f59bf7004586b9eddba8bb911f68', 'project_id': '30f9f59bf7004586b9eddba8bb911f68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e569dbbb-55a6-44a7-a293-49fd13aeb325'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73588721', 'ctest-vn-96793696'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73588721', 'ctest-policy-allow-all-67630855']], 'subnet_ipam': [{'subnet_cidr': '162.12.221.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-01 06:48:50,420 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d613066-feb9-4f4b-8e47-74a479b9cef2', 'name': 'ctest-vn-93511668', 'tenant_id': '30f9f59bf7004586b9eddba8bb911f68', 'project_id': '30f9f59bf7004586b9eddba8bb911f68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0df7c995-7f80-4a54-b9cd-a681fc51667c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73588721', 'ctest-vn-93511668'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73588721', 'ctest-policy-allow-all-67630855']], 'subnet_ipam': [{'subnet_cidr': '82.192.44.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-01 06:48:50,569 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-01 06:48:50,913 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-01 06:48:50,947 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1d00a501-1d0b-4d7e-a635-52bf1cdff220 2026-01-01 06:48:50,960 - DEBUG - Requesting: http://10.0.0.38:8082/project/30f9f59b-f700-4586-b9ed-dba8bb911f68 2026-01-01 06:48:51,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/213742b4-70a9-42a0-b0d4-24bba73d42a5 2026-01-01 06:48:51,047 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/213742b4-70a9-42a0-b0d4-24bba73d42a5 2026-01-01 06:48:51,059 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c153d0d5-31f9-47c0-bd05-14c62500f82a 2026-01-01 06:48:51,069 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c153d0d5-31f9-47c0-bd05-14c62500f82a 2026-01-01 06:48:51,078 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0ef4e4ba-f37f-4a2d-9051-5db8e005ff29 2026-01-01 06:48:51,086 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-01 06:48:51,086 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/213742b4-70a9-42a0-b0d4-24bba73d42a5 2026-01-01 06:48:51,098 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c153d0d5-31f9-47c0-bd05-14c62500f82a 2026-01-01 06:48:51,116 - INFO - Verified VN network id 11 for VN 213742b4-70a9-42a0-b0d4-24bba73d42a5 2026-01-01 06:48:51,116 - INFO - Verifications in API Server for VN ctest-vn-96793696 passed 2026-01-01 06:48:51,116 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/213742b4-70a9-42a0-b0d4-24bba73d42a5 2026-01-01 06:48:51,127 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c153d0d5-31f9-47c0-bd05-14c62500f82a 2026-01-01 06:48:51,134 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c153d0d5-31f9-47c0-bd05-14c62500f82a 2026-01-01 06:48:51,142 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0ef4e4ba-f37f-4a2d-9051-5db8e005ff29 2026-01-01 06:48:51,155 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73588721:ctest-vn-96793696', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73588721', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2393455069722395296', 'uuid-lslong': '12741849634121269925'}, 'enable': 'true', 'created': '2026-01-01T06:48:48', 'last-modified': '2026-01-01T06:48:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.038640'} 2026-01-01 06:48:51,162 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-01 06:48:51,162 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96793696 passed 2026-01-01 06:48:51,162 - DEBUG - ====Verifying policy data for ctest-vn-96793696 in API_Server ====== 2026-01-01 06:48:51,162 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-01 06:48:51,168 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1d00a501-1d0b-4d7e-a635-52bf1cdff220 2026-01-01 06:48:51,181 - DEBUG - Requesting: http://10.0.0.38:8082/project/30f9f59b-f700-4586-b9ed-dba8bb911f68 2026-01-01 06:48:51,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/213742b4-70a9-42a0-b0d4-24bba73d42a5 2026-01-01 06:48:51,261 - DEBUG - ==>Verifying data for policy with id: 5893707e-772b-4dc5-b5e0-cf012a25266d, fqn: ['default-domain', 'ctest-TestBasicPolicy-73588721', 'ctest-policy-allow-all-67630855'] 2026-01-01 06:48:51,262 - INFO - VN ctest-vn-96793696 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-01 06:48:51,262 - DEBUG - Verifying the vn in opserver 2026-01-01 06:48:51,262 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73588721:ctest-vn-96793696 virtual network link through opserver 10.0.0.38 2026-01-01 06:48:51,262 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-01 06:48:51,606 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-01 06:48:51,679 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73588721:ctest-vn-96793696', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73588721:ctest-vn-96793696?flat'} 2026-01-01 06:48:51,679 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73588721:ctest-vn-96793696 is found in opserver 2026-01-01 06:48:51,689 - DEBUG - Do not have enough data to verify VN in agent 2026-01-01 06:48:51,695 - DEBUG - VRF ids for VN ctest-vn-96793696: {} 2026-01-01 06:48:51,695 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-01 06:48:51,701 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1d00a501-1d0b-4d7e-a635-52bf1cdff220 2026-01-01 06:48:51,714 - DEBUG - Requesting: http://10.0.0.38:8082/project/30f9f59b-f700-4586-b9ed-dba8bb911f68 2026-01-01 06:48:51,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3d613066-feb9-4f4b-8e47-74a479b9cef2 2026-01-01 06:48:51,800 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3d613066-feb9-4f4b-8e47-74a479b9cef2 2026-01-01 06:48:51,810 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/832e7253-53b9-44aa-8a24-2e090e7338db 2026-01-01 06:48:51,817 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/832e7253-53b9-44aa-8a24-2e090e7338db 2026-01-01 06:48:51,823 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cdb4a870-2dae-4f6c-b70d-f96ee9903f6d 2026-01-01 06:48:51,830 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-01 06:48:51,830 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3d613066-feb9-4f4b-8e47-74a479b9cef2 2026-01-01 06:48:51,840 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/832e7253-53b9-44aa-8a24-2e090e7338db 2026-01-01 06:48:51,854 - INFO - Verified VN network id 12 for VN 3d613066-feb9-4f4b-8e47-74a479b9cef2 2026-01-01 06:48:51,854 - INFO - Verifications in API Server for VN ctest-vn-93511668 passed 2026-01-01 06:48:51,854 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3d613066-feb9-4f4b-8e47-74a479b9cef2 2026-01-01 06:48:51,863 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/832e7253-53b9-44aa-8a24-2e090e7338db 2026-01-01 06:48:51,871 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/832e7253-53b9-44aa-8a24-2e090e7338db 2026-01-01 06:48:51,877 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cdb4a870-2dae-4f6c-b70d-f96ee9903f6d 2026-01-01 06:48:51,890 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73588721:ctest-vn-93511668', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73588721', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4422869527972892491', 'uuid-lslong': '10252291326497902322'}, 'enable': 'true', 'created': '2026-01-01T06:48:49', 'last-modified': '2026-01-01T06:48:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.536105'} 2026-01-01 06:48:51,897 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-01 06:48:51,897 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93511668 passed 2026-01-01 06:48:51,897 - DEBUG - ====Verifying policy data for ctest-vn-93511668 in API_Server ====== 2026-01-01 06:48:51,897 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-01 06:48:51,903 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1d00a501-1d0b-4d7e-a635-52bf1cdff220 2026-01-01 06:48:51,914 - DEBUG - Requesting: http://10.0.0.38:8082/project/30f9f59b-f700-4586-b9ed-dba8bb911f68 2026-01-01 06:48:51,986 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3d613066-feb9-4f4b-8e47-74a479b9cef2 2026-01-01 06:48:51,997 - DEBUG - ==>Verifying data for policy with id: 5893707e-772b-4dc5-b5e0-cf012a25266d, fqn: ['default-domain', 'ctest-TestBasicPolicy-73588721', 'ctest-policy-allow-all-67630855'] 2026-01-01 06:48:51,997 - INFO - VN ctest-vn-93511668 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-01 06:48:51,997 - DEBUG - Verifying the vn in opserver 2026-01-01 06:48:51,997 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73588721:ctest-vn-93511668 virtual network link through opserver 10.0.0.38 2026-01-01 06:48:51,997 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-01 06:48:52,007 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73588721:ctest-vn-93511668', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73588721:ctest-vn-93511668?flat'} 2026-01-01 06:48:52,007 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73588721:ctest-vn-93511668 is found in opserver 2026-01-01 06:48:52,017 - DEBUG - Do not have enough data to verify VN in agent 2026-01-01 06:48:52,022 - DEBUG - VRF ids for VN ctest-vn-93511668: {} 2026-01-01 06:48:52,085 - DEBUG - Services list from nova: [, , ] 2026-01-01 06:48:53,233 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4950-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4950-1) 2026-01-01 06:48:54,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4950-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4950-1) 2026-01-01 06:48:54,501 - INFO - Waiting for VM ctest-TestBasicPolicy-73588721-08486119 to be up.. 2026-01-01 06:48:54,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-01 06:48:59,678 - DEBUG - VM is in ACTIVE state now 2026-01-01 06:48:59,678 - INFO - VM name : ctest-TestBasicPolicy-73588721-08486119 2026-01-01 06:48:59,763 - DEBUG - VM ctest-TestBasicPolicy-73588721-08486119 ID is d73a2e86-aea7-4b87-a7d1-df70c3a9a51e 2026-01-01 06:48:59,786 - DEBUG - VM ctest-TestBasicPolicy-73588721-08486119 launched on Node cn-jenkins-deploy-platform-ansible-os-4950-1 2026-01-01 06:48:59,873 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d73a2e86-aea7-4b87-a7d1-df70c3a9a51e 2026-01-01 06:48:59,885 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ea0e0902-aa43-42e9-9af5-c7f9ee5c96c2 2026-01-01 06:49:03,139 - 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 1014ms') 2026-01-01 06:49:03,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73588721-08486119 failed! 2026-01-01 06:49:03,193 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73588721:ctest-vn-96793696 is 162.12.221.193 and allocation pool is NOT set 2026-01-01 06:49:05,259 - 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=7.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/4.105/7.758/3.652 ms') 2026-01-01 06:49:05,259 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73588721-08486119 passed 2026-01-01 06:49:05,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 06:49:05,413 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73588721-08486119, IP 162.12.221.195, Port 22 2026-01-01 06:49:05,579 - DEBUG - VM ctest-TestBasicPolicy-73588721-08486119 is ready for SSH connections 2026-01-01 06:49:05,579 - INFO - Waiting for VM ctest-TestBasicPolicy-73588721-75506888 to be up.. 2026-01-01 06:49:05,665 - DEBUG - VM is in ACTIVE state now 2026-01-01 06:49:05,666 - INFO - VM name : ctest-TestBasicPolicy-73588721-75506888 2026-01-01 06:49:05,753 - DEBUG - VM ctest-TestBasicPolicy-73588721-75506888 ID is c757c71b-a388-4bb8-9f26-adfe33a8cd37 2026-01-01 06:49:05,753 - DEBUG - VM ctest-TestBasicPolicy-73588721-75506888 launched on Node cn-jenkins-deploy-platform-ansible-os-4950-1 2026-01-01 06:49:05,842 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c757c71b-a388-4bb8-9f26-adfe33a8cd37 2026-01-01 06:49:05,859 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5a6743ec-1931-4d1d-b312-5403bfb36f9f 2026-01-01 06:49:07,104 - 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=13.9 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.847 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.847/7.377/13.907/6.530 ms') 2026-01-01 06:49:07,104 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73588721-75506888 passed 2026-01-01 06:49:07,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 06:49:07,253 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73588721-75506888, IP 82.192.44.195, Port 22 2026-01-01 06:49:07,417 - DEBUG - VM ctest-TestBasicPolicy-73588721-75506888 is ready for SSH connections 2026-01-01 06:49:07,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 06:49:07,417 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.192.44.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-01 06:49:07,417 - DEBUG - ping -s 56 -c 3 -W 1 82.192.44.195 2026-01-01 06:49:11,549 - DEBUG - PING 82.192.44.195 (82.192.44.195): 56 data bytes 64 bytes from 82.192.44.195: seq=0 ttl=63 time=4.286 ms 64 bytes from 82.192.44.195: seq=1 ttl=63 time=1.120 ms 64 bytes from 82.192.44.195: seq=2 ttl=63 time=0.930 ms --- 82.192.44.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/2.112/4.286 ms 2026-01-01 06:49:11,549 - INFO - Ping to IP 82.192.44.195 from VM ctest-TestBasicPolicy-73588721-08486119 passed 2026-01-01 06:49:11,733 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5893707e-772b-4dc5-b5e0-cf012a25266d", "href": "http://10.0.0.38:8082/network-policy/5893707e-772b-4dc5-b5e0-cf012a25266d"}} 2026-01-01 06:49:11,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 06:49:11,733 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.192.44.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-01 06:49:11,733 - DEBUG - ping -s 56 -c 3 -W 1 82.192.44.195 2026-01-01 06:49:14,963 - DEBUG - PING 82.192.44.195 (82.192.44.195): 56 data bytes --- 82.192.44.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-01 06:49:14,964 - WARNING - Ping to IP 82.192.44.195 from VM ctest-TestBasicPolicy-73588721-08486119 failed 2026-01-01 06:49:14,964 - INFO - Deleting VM ctest-TestBasicPolicy-73588721-75506888 2026-01-01 06:49:15,040 - INFO - Deleting VM ctest-TestBasicPolicy-73588721-08486119 2026-01-01 06:49:15,472 - INFO - Deleted policy ctest-policy-allow-all-67630855 2026-01-01 06:49:15,472 - INFO - Deleting VN ctest-vn-93511668 2026-01-01 06:49:15,520 - DEBUG - VN 3d613066-feb9-4f4b-8e47-74a479b9cef2 still in use: Unable to complete operation on network 3d613066-feb9-4f4b-8e47-74a479b9cef2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-223b3f55-6b5d-4bd2-baef-fd5474bcf7aa'] 2026-01-01 06:49:15,520 - WARNING - Deleting VN ctest-vn-93511668 failed..Will retry 2026-01-01 06:49:17,634 - DEBUG - Response for deleting network () 2026-01-01 06:49:17,634 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/832e7253-53b9-44aa-8a24-2e090e7338db 2026-01-01 06:49:17,639 - DEBUG - Response Code: 404 2026-01-01 06:49:17,640 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-01 06:49:17,645 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1d00a501-1d0b-4d7e-a635-52bf1cdff220 2026-01-01 06:49:17,700 - DEBUG - Requesting: http://10.0.0.38:8082/project/30f9f59b-f700-4586-b9ed-dba8bb911f68 2026-01-01 06:49:17,772 - INFO - Validated that VN ctest-vn-93511668 is not found in API Server 2026-01-01 06:49:17,782 - DEBUG - VN ctest-vn-93511668 is not present in Agent 10.0.0.38 2026-01-01 06:49:17,782 - INFO - Validated that VN ctest-vn-93511668 is not in any agent 2026-01-01 06:49:17,797 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93511668 info 2026-01-01 06:49:17,797 - INFO - Deleting VN ctest-vn-96793696 2026-01-01 06:49:17,897 - DEBUG - Response for deleting network () 2026-01-01 06:49:17,897 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c153d0d5-31f9-47c0-bd05-14c62500f82a 2026-01-01 06:49:17,903 - DEBUG - Response Code: 404 2026-01-01 06:49:17,904 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-01 06:49:17,909 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1d00a501-1d0b-4d7e-a635-52bf1cdff220 2026-01-01 06:49:17,962 - DEBUG - Requesting: http://10.0.0.38:8082/project/30f9f59b-f700-4586-b9ed-dba8bb911f68 2026-01-01 06:49:18,035 - INFO - Validated that VN ctest-vn-96793696 is not found in API Server 2026-01-01 06:49:18,046 - DEBUG - VN ctest-vn-96793696 is not present in Agent 10.0.0.38 2026-01-01 06:49:18,046 - INFO - Validated that VN ctest-vn-96793696 is not in any agent 2026-01-01 06:49:18,062 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96793696 info 2026-01-01 06:49:18,322 - DEBUG - No XMPP flaps were noticed during the test
2026-01-01 06:49:18,322 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-01 06:49:18,322 - INFO - -------------------------------------------------------------------------------- 2026-01-01 06:49:19,081 - INFO - Deleted project: ctest-TestBasicPolicy-73588721, ID : 30f9f59b-f700-4586-b9ed-dba8bb911f68