2026-03-04 21:21:42,740 - INFO - Domain Default found not creating 2026-03-04 21:21:42,901 - INFO - Project ctest-TestBasicPolicy-11333775 not found, creating it 2026-03-04 21:21:43,367 - INFO - Created Project:ctest-TestBasicPolicy-11333775, ID : 2b78ca52-6508-48e7-9c27-f3fb6cb00a93 2026-03-04 21:21:44,777 - INFO - ================================================================================ 2026-03-04 21:21:44,777 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-04 21:21:44,777 - 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-03-04 21:21:45,032 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-03-04 21:21:45,032 - INFO - Initial checks done. Running the testcase now 2026-03-04 21:21:45,032 - INFO - 2026-03-04 21:21:45,574 - DEBUG - Response for create_network : {'network': {'id': 'ffe12bfa-6fac-4df5-9be4-5a0972fb9c45', 'name': 'ctest-vn-82846779', 'tenant_id': '2b78ca52650848e79c27f3fb6cb00a93', 'project_id': '2b78ca52650848e79c27f3fb6cb00a93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11333775', 'ctest-vn-82846779'], 'port_security_enabled': True, 'description': ''}} 2026-03-04 21:21:45,750 - DEBUG - Response for create_subnet : {'subnet': {'id': '58ff5ba2-cedf-4f7b-84ec-d540cbe629d3', 'name': '', 'tenant_id': '2b78ca52650848e79c27f3fb6cb00a93', 'network_id': 'ffe12bfa-6fac-4df5-9be4-5a0972fb9c45', 'ip_version': 4, 'cidr': '211.64.135.64/26', 'allocation_pools': [{'start': '211.64.135.66', 'end': '211.64.135.126'}], 'gateway_ip': '211.64.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.64.135.66', 'tags': [], 'project_id': '2b78ca52650848e79c27f3fb6cb00a93'}} 2026-03-04 21:21:45,766 - INFO - Created VN ctest-vn-82846779 2026-03-04 21:21:45,814 - DEBUG - VN ctest-vn-82846779 UUID is ffe12bfa-6fac-4df5-9be4-5a0972fb9c45 2026-03-04 21:21:46,145 - DEBUG - Response for create_network : {'network': {'id': '327db340-ecc1-4b98-869e-0581f2fc7602', 'name': 'ctest-vn-09655452', 'tenant_id': '2b78ca52650848e79c27f3fb6cb00a93', 'project_id': '2b78ca52650848e79c27f3fb6cb00a93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11333775', 'ctest-vn-09655452'], 'port_security_enabled': True, 'description': ''}} 2026-03-04 21:21:46,313 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf942ce9-5847-4fc4-9042-9ebbae8d4c58', 'name': '', 'tenant_id': '2b78ca52650848e79c27f3fb6cb00a93', 'network_id': '327db340-ecc1-4b98-869e-0581f2fc7602', 'ip_version': 4, 'cidr': '220.248.2.64/26', 'allocation_pools': [{'start': '220.248.2.66', 'end': '220.248.2.126'}], 'gateway_ip': '220.248.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.248.2.66', 'tags': [], 'project_id': '2b78ca52650848e79c27f3fb6cb00a93'}} 2026-03-04 21:21:46,328 - INFO - Created VN ctest-vn-09655452 2026-03-04 21:21:46,385 - DEBUG - VN ctest-vn-09655452 UUID is 327db340-ecc1-4b98-869e-0581f2fc7602 2026-03-04 21:21:46,534 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11333775:ctest-vn-82846779, 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-11333775:ctest-vn-09655452, 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-03-04 21:21:46,824 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ffe12bfa-6fac-4df5-9be4-5a0972fb9c45', 'name': 'ctest-vn-82846779', 'tenant_id': '2b78ca52650848e79c27f3fb6cb00a93', 'project_id': '2b78ca52650848e79c27f3fb6cb00a93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58ff5ba2-cedf-4f7b-84ec-d540cbe629d3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11333775', 'ctest-vn-82846779'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11333775', 'ctest-policy-allow-all-60920038']], 'subnet_ipam': [{'subnet_cidr': '211.64.135.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-04 21:21:47,046 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '327db340-ecc1-4b98-869e-0581f2fc7602', 'name': 'ctest-vn-09655452', 'tenant_id': '2b78ca52650848e79c27f3fb6cb00a93', 'project_id': '2b78ca52650848e79c27f3fb6cb00a93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf942ce9-5847-4fc4-9042-9ebbae8d4c58'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11333775', 'ctest-vn-09655452'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11333775', 'ctest-policy-allow-all-60920038']], 'subnet_ipam': [{'subnet_cidr': '220.248.2.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-04 21:21:47,210 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 21:21:47,500 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 21:21:47,529 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0ff4e210-8f81-4f0b-91f4-986f4aaa1905 2026-03-04 21:21:47,540 - DEBUG - Requesting: http://10.0.0.38:8082/project/2b78ca52-6508-48e7-9c27-f3fb6cb00a93 2026-03-04 21:21:47,609 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ffe12bfa-6fac-4df5-9be4-5a0972fb9c45 2026-03-04 21:21:47,617 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ffe12bfa-6fac-4df5-9be4-5a0972fb9c45 2026-03-04 21:21:47,625 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e81567fb-4eea-4489-98e9-6f2a54101982 2026-03-04 21:21:47,631 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e81567fb-4eea-4489-98e9-6f2a54101982 2026-03-04 21:21:47,636 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/93ea16fe-0bc2-4c65-bab9-e645b63f30cc 2026-03-04 21:21:47,641 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-04 21:21:47,641 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ffe12bfa-6fac-4df5-9be4-5a0972fb9c45 2026-03-04 21:21:47,648 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e81567fb-4eea-4489-98e9-6f2a54101982 2026-03-04 21:21:47,658 - INFO - Verified VN network id 11 for VN ffe12bfa-6fac-4df5-9be4-5a0972fb9c45 2026-03-04 21:21:47,658 - INFO - Verifications in API Server for VN ctest-vn-82846779 passed 2026-03-04 21:21:47,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ffe12bfa-6fac-4df5-9be4-5a0972fb9c45 2026-03-04 21:21:47,666 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e81567fb-4eea-4489-98e9-6f2a54101982 2026-03-04 21:21:47,672 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e81567fb-4eea-4489-98e9-6f2a54101982 2026-03-04 21:21:47,678 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/93ea16fe-0bc2-4c65-bab9-e645b63f30cc 2026-03-04 21:21:47,687 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11333775:ctest-vn-82846779', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11333775', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18438066704046902773', 'uuid-lslong': '11233202367199157317'}, 'enable': 'true', 'created': '2026-03-04T21:21:45', 'last-modified': '2026-03-04T21:21:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.883997'} 2026-03-04 21:21:47,692 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-04 21:21:47,692 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82846779 passed 2026-03-04 21:21:47,692 - DEBUG - ====Verifying policy data for ctest-vn-82846779 in API_Server ====== 2026-03-04 21:21:47,692 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 21:21:47,697 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0ff4e210-8f81-4f0b-91f4-986f4aaa1905 2026-03-04 21:21:47,705 - DEBUG - Requesting: http://10.0.0.38:8082/project/2b78ca52-6508-48e7-9c27-f3fb6cb00a93 2026-03-04 21:21:47,769 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ffe12bfa-6fac-4df5-9be4-5a0972fb9c45 2026-03-04 21:21:47,782 - DEBUG - ==>Verifying data for policy with id: a6df8b4a-465a-4809-8415-5e82232de410, fqn: ['default-domain', 'ctest-TestBasicPolicy-11333775', 'ctest-policy-allow-all-60920038'] 2026-03-04 21:21:47,783 - INFO - VN ctest-vn-82846779 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-04 21:21:47,783 - DEBUG - Verifying the vn in opserver 2026-03-04 21:21:47,783 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11333775:ctest-vn-82846779 virtual network link through opserver 10.0.0.38 2026-03-04 21:21:47,783 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-04 21:21:48,073 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-04 21:21:48,129 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11333775:ctest-vn-82846779', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11333775:ctest-vn-82846779?flat'} 2026-03-04 21:21:48,129 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11333775:ctest-vn-82846779 is found in opserver 2026-03-04 21:21:48,137 - DEBUG - Do not have enough data to verify VN in agent 2026-03-04 21:21:48,141 - DEBUG - VRF ids for VN ctest-vn-82846779: {} 2026-03-04 21:21:48,142 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 21:21:48,146 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0ff4e210-8f81-4f0b-91f4-986f4aaa1905 2026-03-04 21:21:48,155 - DEBUG - Requesting: http://10.0.0.38:8082/project/2b78ca52-6508-48e7-9c27-f3fb6cb00a93 2026-03-04 21:21:48,223 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/327db340-ecc1-4b98-869e-0581f2fc7602 2026-03-04 21:21:48,233 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/327db340-ecc1-4b98-869e-0581f2fc7602 2026-03-04 21:21:48,241 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7289a2d5-a8d8-4b0b-9e26-fa75358ed81e 2026-03-04 21:21:48,246 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7289a2d5-a8d8-4b0b-9e26-fa75358ed81e 2026-03-04 21:21:48,252 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/938133ca-bf86-42fb-9ccb-9a706a8d0a09 2026-03-04 21:21:48,257 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-04 21:21:48,257 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/327db340-ecc1-4b98-869e-0581f2fc7602 2026-03-04 21:21:48,263 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7289a2d5-a8d8-4b0b-9e26-fa75358ed81e 2026-03-04 21:21:48,274 - INFO - Verified VN network id 12 for VN 327db340-ecc1-4b98-869e-0581f2fc7602 2026-03-04 21:21:48,274 - INFO - Verifications in API Server for VN ctest-vn-09655452 passed 2026-03-04 21:21:48,274 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/327db340-ecc1-4b98-869e-0581f2fc7602 2026-03-04 21:21:48,281 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7289a2d5-a8d8-4b0b-9e26-fa75358ed81e 2026-03-04 21:21:48,286 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7289a2d5-a8d8-4b0b-9e26-fa75358ed81e 2026-03-04 21:21:48,291 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/938133ca-bf86-42fb-9ccb-9a706a8d0a09 2026-03-04 21:21:48,300 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11333775:ctest-vn-09655452', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11333775', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3638261165416598424', 'uuid-lslong': '9700196703088178690'}, 'enable': 'true', 'created': '2026-03-04T21:21:46', 'last-modified': '2026-03-04T21:21:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.274686'} 2026-03-04 21:21:48,305 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-04 21:21:48,305 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09655452 passed 2026-03-04 21:21:48,305 - DEBUG - ====Verifying policy data for ctest-vn-09655452 in API_Server ====== 2026-03-04 21:21:48,305 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 21:21:48,309 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0ff4e210-8f81-4f0b-91f4-986f4aaa1905 2026-03-04 21:21:48,317 - DEBUG - Requesting: http://10.0.0.38:8082/project/2b78ca52-6508-48e7-9c27-f3fb6cb00a93 2026-03-04 21:21:48,385 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/327db340-ecc1-4b98-869e-0581f2fc7602 2026-03-04 21:21:48,393 - DEBUG - ==>Verifying data for policy with id: a6df8b4a-465a-4809-8415-5e82232de410, fqn: ['default-domain', 'ctest-TestBasicPolicy-11333775', 'ctest-policy-allow-all-60920038'] 2026-03-04 21:21:48,393 - INFO - VN ctest-vn-09655452 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-04 21:21:48,393 - DEBUG - Verifying the vn in opserver 2026-03-04 21:21:48,393 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11333775:ctest-vn-09655452 virtual network link through opserver 10.0.0.38 2026-03-04 21:21:48,394 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-04 21:21:48,402 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11333775:ctest-vn-09655452', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11333775:ctest-vn-09655452?flat'} 2026-03-04 21:21:48,402 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11333775:ctest-vn-09655452 is found in opserver 2026-03-04 21:21:48,410 - DEBUG - Do not have enough data to verify VN in agent 2026-03-04 21:21:48,414 - DEBUG - VRF ids for VN ctest-vn-09655452: {} 2026-03-04 21:21:48,463 - DEBUG - Services list from nova: [, , ] 2026-03-04 21:21:49,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5432-1) 2026-03-04 21:21:50,566 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5432-1) 2026-03-04 21:21:50,567 - INFO - Waiting for VM ctest-TestBasicPolicy-11333775-69299161 to be up.. 2026-03-04 21:21:50,637 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-04 21:21:55,715 - DEBUG - VM is in ACTIVE state now 2026-03-04 21:21:55,715 - INFO - VM name : ctest-TestBasicPolicy-11333775-69299161 2026-03-04 21:21:55,794 - DEBUG - VM ctest-TestBasicPolicy-11333775-69299161 ID is 27aa4b23-91fd-4fe2-ae6b-f419077bb9fa 2026-03-04 21:21:55,811 - DEBUG - VM ctest-TestBasicPolicy-11333775-69299161 launched on Node cn-jenkins-deploy-platform-ansible-os-5432-1 2026-03-04 21:21:55,877 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/27aa4b23-91fd-4fe2-ae6b-f419077bb9fa 2026-03-04 21:21:55,884 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/70680960-a43c-41d9-9ae2-2f9a809a2864 2026-03-04 21:21:59,129 - 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 1015ms') 2026-03-04 21:21:59,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11333775-69299161 failed! 2026-03-04 21:21:59,182 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11333775:ctest-vn-82846779 is 211.64.135.65 and allocation pool is NOT set 2026-03-04 21:22:01,245 - 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=3.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.480/1.789/3.099/1.309 ms') 2026-03-04 21:22:01,245 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11333775-69299161 passed 2026-03-04 21:22:01,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:22:01,394 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11333775-69299161, IP 211.64.135.67, Port 22 2026-03-04 21:22:01,546 - DEBUG - VM ctest-TestBasicPolicy-11333775-69299161 is ready for SSH connections 2026-03-04 21:22:01,546 - INFO - Waiting for VM ctest-TestBasicPolicy-11333775-90116975 to be up.. 2026-03-04 21:22:01,611 - DEBUG - VM is in ACTIVE state now 2026-03-04 21:22:01,611 - INFO - VM name : ctest-TestBasicPolicy-11333775-90116975 2026-03-04 21:22:01,678 - DEBUG - VM ctest-TestBasicPolicy-11333775-90116975 ID is 336d41a2-74aa-46fd-a687-a2d70efeb6bc 2026-03-04 21:22:01,678 - DEBUG - VM ctest-TestBasicPolicy-11333775-90116975 launched on Node cn-jenkins-deploy-platform-ansible-os-5432-1 2026-03-04 21:22:01,745 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/336d41a2-74aa-46fd-a687-a2d70efeb6bc 2026-03-04 21:22:01,753 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bd23aaf7-6daf-44ef-bc33-1f11ec9ede02 2026-03-04 21:22:02,979 - 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=2.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 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.364/1.467/2.571/1.103 ms') 2026-03-04 21:22:02,979 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11333775-90116975 passed 2026-03-04 21:22:03,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:22:03,127 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11333775-90116975, IP 220.248.2.67, Port 22 2026-03-04 21:22:03,278 - DEBUG - VM ctest-TestBasicPolicy-11333775-90116975 is ready for SSH connections 2026-03-04 21:22:03,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:22:03,278 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.248.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-04 21:22:03,278 - DEBUG - ping -s 56 -c 3 -W 1 220.248.2.67 2026-03-04 21:22:06,971 - DEBUG - PING 220.248.2.67 (220.248.2.67): 56 data bytes 64 bytes from 220.248.2.67: seq=0 ttl=63 time=3.622 ms 64 bytes from 220.248.2.67: seq=1 ttl=63 time=0.775 ms 64 bytes from 220.248.2.67: seq=2 ttl=63 time=0.723 ms --- 220.248.2.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.723/1.706/3.622 ms 2026-03-04 21:22:06,972 - INFO - Ping to IP 220.248.2.67 from VM ctest-TestBasicPolicy-11333775-69299161 passed 2026-03-04 21:22:07,146 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a6df8b4a-465a-4809-8415-5e82232de410", "href": "http://10.0.0.38:8082/network-policy/a6df8b4a-465a-4809-8415-5e82232de410"}} 2026-03-04 21:22:07,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:22:07,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.248.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-04 21:22:07,147 - DEBUG - ping -s 56 -c 3 -W 1 220.248.2.67 2026-03-04 21:22:10,359 - DEBUG - PING 220.248.2.67 (220.248.2.67): 56 data bytes --- 220.248.2.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-04 21:22:10,359 - WARNING - Ping to IP 220.248.2.67 from VM ctest-TestBasicPolicy-11333775-69299161 failed 2026-03-04 21:22:10,360 - INFO - Deleting VM ctest-TestBasicPolicy-11333775-90116975 2026-03-04 21:22:10,431 - INFO - Deleting VM ctest-TestBasicPolicy-11333775-69299161 2026-03-04 21:22:10,765 - INFO - Deleted policy ctest-policy-allow-all-60920038 2026-03-04 21:22:10,765 - INFO - Deleting VN ctest-vn-09655452 2026-03-04 21:22:10,800 - DEBUG - VN 327db340-ecc1-4b98-869e-0581f2fc7602 still in use: Unable to complete operation on network 327db340-ecc1-4b98-869e-0581f2fc7602. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e6988d2-fb8d-4c00-b683-b6a147e287a1'] 2026-03-04 21:22:10,801 - WARNING - Deleting VN ctest-vn-09655452 failed..Will retry 2026-03-04 21:22:12,890 - DEBUG - Response for deleting network () 2026-03-04 21:22:12,890 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7289a2d5-a8d8-4b0b-9e26-fa75358ed81e 2026-03-04 21:22:12,896 - DEBUG - Response Code: 404 2026-03-04 21:22:12,896 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 21:22:12,900 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0ff4e210-8f81-4f0b-91f4-986f4aaa1905 2026-03-04 21:22:12,955 - DEBUG - Requesting: http://10.0.0.38:8082/project/2b78ca52-6508-48e7-9c27-f3fb6cb00a93 2026-03-04 21:22:13,024 - INFO - Validated that VN ctest-vn-09655452 is not found in API Server 2026-03-04 21:22:13,036 - DEBUG - VN ctest-vn-09655452 is not present in Agent 10.0.0.38 2026-03-04 21:22:13,036 - INFO - Validated that VN ctest-vn-09655452 is not in any agent 2026-03-04 21:22:13,048 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09655452 info 2026-03-04 21:22:13,048 - INFO - Deleting VN ctest-vn-82846779 2026-03-04 21:22:13,153 - DEBUG - Response for deleting network () 2026-03-04 21:22:13,153 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e81567fb-4eea-4489-98e9-6f2a54101982 2026-03-04 21:22:13,159 - DEBUG - Response Code: 404 2026-03-04 21:22:13,159 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-04 21:22:13,164 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0ff4e210-8f81-4f0b-91f4-986f4aaa1905 2026-03-04 21:22:13,215 - DEBUG - Requesting: http://10.0.0.38:8082/project/2b78ca52-6508-48e7-9c27-f3fb6cb00a93 2026-03-04 21:22:13,282 - INFO - Validated that VN ctest-vn-82846779 is not found in API Server 2026-03-04 21:22:13,292 - DEBUG - VN ctest-vn-82846779 is not present in Agent 10.0.0.38 2026-03-04 21:22:13,292 - INFO - Validated that VN ctest-vn-82846779 is not in any agent 2026-03-04 21:22:13,302 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82846779 info 2026-03-04 21:22:13,555 - DEBUG - No XMPP flaps were noticed during the test 2026-03-04 21:22:13,555 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-03-04 21:22:13,555 - INFO - -------------------------------------------------------------------------------- 2026-03-04 21:22:14,218 - INFO - Deleted project: ctest-TestBasicPolicy-11333775, ID : 2b78ca52-6508-48e7-9c27-f3fb6cb00a93