2026-08-20 13:51:58,079 - INFO - Domain Default found not creating 2026-08-20 13:51:58,235 - INFO - Project ctest-TestBasicPolicy-37432047 not found, creating it 2026-08-20 13:51:58,690 - INFO - Created Project:ctest-TestBasicPolicy-37432047, ID : 2277952a-cd3b-4767-a705-7c870ab27f1e 2026-08-20 13:52:00,202 - INFO - ================================================================================ 2026-08-20 13:52:00,202 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-20 13:52:00,202 - 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-08-20 13:52:00,467 - DEBUG - Nothing to compare xmpp stats {'10.0.0.176': {'10.20.0.14': '0'}} with 2026-08-20 13:52:00,468 - INFO - Initial checks done. Running the testcase now 2026-08-20 13:52:00,468 - INFO - 2026-08-20 13:52:01,059 - DEBUG - Response for create_network : {'network': {'id': 'e41cbf2d-f281-4580-8c91-3a6ee4e6302b', 'name': 'ctest-vn-04748663', 'tenant_id': '2277952acd3b4767a7057c870ab27f1e', 'project_id': '2277952acd3b4767a7057c870ab27f1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37432047', 'ctest-vn-04748663'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:52:01,229 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb187655-6da0-4419-b65a-4e2bb9343b8c', 'name': '', 'tenant_id': '2277952acd3b4767a7057c870ab27f1e', 'network_id': 'e41cbf2d-f281-4580-8c91-3a6ee4e6302b', 'ip_version': 4, 'cidr': '36.211.107.64/26', 'allocation_pools': [{'start': '36.211.107.66', 'end': '36.211.107.126'}], 'gateway_ip': '36.211.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.211.107.66', 'tags': [], 'project_id': '2277952acd3b4767a7057c870ab27f1e'}} 2026-08-20 13:52:01,247 - INFO - Created VN ctest-vn-04748663 2026-08-20 13:52:01,298 - DEBUG - VN ctest-vn-04748663 UUID is e41cbf2d-f281-4580-8c91-3a6ee4e6302b 2026-08-20 13:52:01,581 - DEBUG - Response for create_network : {'network': {'id': 'e8a872fd-18ae-458f-8a2c-051c88c8b773', 'name': 'ctest-vn-75030174', 'tenant_id': '2277952acd3b4767a7057c870ab27f1e', 'project_id': '2277952acd3b4767a7057c870ab27f1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37432047', 'ctest-vn-75030174'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:52:01,743 - DEBUG - Response for create_subnet : {'subnet': {'id': '83b839f0-cad6-49be-a609-22c306f4e0f0', 'name': '', 'tenant_id': '2277952acd3b4767a7057c870ab27f1e', 'network_id': 'e8a872fd-18ae-458f-8a2c-051c88c8b773', 'ip_version': 4, 'cidr': '23.80.11.192/26', 'allocation_pools': [{'start': '23.80.11.194', 'end': '23.80.11.254'}], 'gateway_ip': '23.80.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.80.11.194', 'tags': [], 'project_id': '2277952acd3b4767a7057c870ab27f1e'}} 2026-08-20 13:52:01,760 - INFO - Created VN ctest-vn-75030174 2026-08-20 13:52:01,814 - DEBUG - VN ctest-vn-75030174 UUID is e8a872fd-18ae-458f-8a2c-051c88c8b773 2026-08-20 13:52:01,931 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-04748663, 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-37432047:ctest-vn-75030174, 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-08-20 13:52:02,231 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e41cbf2d-f281-4580-8c91-3a6ee4e6302b', 'name': 'ctest-vn-04748663', 'tenant_id': '2277952acd3b4767a7057c870ab27f1e', 'project_id': '2277952acd3b4767a7057c870ab27f1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb187655-6da0-4419-b65a-4e2bb9343b8c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37432047', 'ctest-vn-04748663'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37432047', 'ctest-policy-allow-all-82784804']], 'subnet_ipam': [{'subnet_cidr': '36.211.107.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:52:02,465 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e8a872fd-18ae-458f-8a2c-051c88c8b773', 'name': 'ctest-vn-75030174', 'tenant_id': '2277952acd3b4767a7057c870ab27f1e', 'project_id': '2277952acd3b4767a7057c870ab27f1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['83b839f0-cad6-49be-a609-22c306f4e0f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37432047', 'ctest-vn-75030174'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37432047', 'ctest-policy-allow-all-82784804']], 'subnet_ipam': [{'subnet_cidr': '23.80.11.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:52:02,634 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-08-20 13:52:02,958 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-08-20 13:52:02,986 - DEBUG - Requesting: http://10.0.0.176:8082/domain/53ebe7e3-bc32-45c4-a920-aa955791a7d4 2026-08-20 13:52:03,000 - DEBUG - Requesting: http://10.0.0.176:8082/project/2277952a-cd3b-4767-a705-7c870ab27f1e 2026-08-20 13:52:03,082 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/e41cbf2d-f281-4580-8c91-3a6ee4e6302b 2026-08-20 13:52:03,097 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/e41cbf2d-f281-4580-8c91-3a6ee4e6302b 2026-08-20 13:52:03,107 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/150b7190-629b-41e5-8502-e4938ece6def 2026-08-20 13:52:03,115 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/150b7190-629b-41e5-8502-e4938ece6def 2026-08-20 13:52:03,123 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/81db48d2-8f70-4225-a589-d8f9c3cf5731 2026-08-20 13:52:03,130 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 13:52:03,130 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/e41cbf2d-f281-4580-8c91-3a6ee4e6302b 2026-08-20 13:52:03,138 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/150b7190-629b-41e5-8502-e4938ece6def 2026-08-20 13:52:03,152 - INFO - Verified VN network id 10 for VN e41cbf2d-f281-4580-8c91-3a6ee4e6302b 2026-08-20 13:52:03,152 - INFO - Verifications in API Server for VN ctest-vn-04748663 passed 2026-08-20 13:52:03,152 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/e41cbf2d-f281-4580-8c91-3a6ee4e6302b 2026-08-20 13:52:03,161 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/150b7190-629b-41e5-8502-e4938ece6def 2026-08-20 13:52:03,168 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/150b7190-629b-41e5-8502-e4938ece6def 2026-08-20 13:52:03,175 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/81db48d2-8f70-4225-a589-d8f9c3cf5731 2026-08-20 13:52:03,187 - DEBUG - Control-node 10.0.0.176 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-04748663', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37432047', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16437222944058459520', 'uuid-lslong': '10128941284894060587'}, 'enable': 'true', 'created': '2026-08-20T13:52:01', 'last-modified': '2026-08-20T13:52:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976714'} 2026-08-20 13:52:03,195 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 13:52:03,195 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04748663 passed 2026-08-20 13:52:03,195 - DEBUG - ====Verifying policy data for ctest-vn-04748663 in API_Server ====== 2026-08-20 13:52:03,195 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-08-20 13:52:03,201 - DEBUG - Requesting: http://10.0.0.176:8082/domain/53ebe7e3-bc32-45c4-a920-aa955791a7d4 2026-08-20 13:52:03,211 - DEBUG - Requesting: http://10.0.0.176:8082/project/2277952a-cd3b-4767-a705-7c870ab27f1e 2026-08-20 13:52:03,338 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/e41cbf2d-f281-4580-8c91-3a6ee4e6302b 2026-08-20 13:52:03,349 - DEBUG - ==>Verifying data for policy with id: a93b4cd2-8869-4368-b82b-75246359bfb7, fqn: ['default-domain', 'ctest-TestBasicPolicy-37432047', 'ctest-policy-allow-all-82784804'] 2026-08-20 13:52:03,349 - INFO - VN ctest-vn-04748663 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 13:52:03,349 - DEBUG - Verifying the vn in opserver 2026-08-20 13:52:03,349 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-04748663 virtual network link through opserver 10.0.0.176 2026-08-20 13:52:03,350 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks 2026-08-20 13:52:03,674 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks 2026-08-20 13:52:03,730 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-04748663', 'href': 'http://10.0.0.176:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-04748663?flat'} 2026-08-20 13:52:03,730 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-04748663 is found in opserver 2026-08-20 13:52:03,741 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 13:52:03,746 - DEBUG - VRF ids for VN ctest-vn-04748663: {} 2026-08-20 13:52:03,746 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-08-20 13:52:03,751 - DEBUG - Requesting: http://10.0.0.176:8082/domain/53ebe7e3-bc32-45c4-a920-aa955791a7d4 2026-08-20 13:52:03,762 - DEBUG - Requesting: http://10.0.0.176:8082/project/2277952a-cd3b-4767-a705-7c870ab27f1e 2026-08-20 13:52:03,837 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/e8a872fd-18ae-458f-8a2c-051c88c8b773 2026-08-20 13:52:03,851 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/e8a872fd-18ae-458f-8a2c-051c88c8b773 2026-08-20 13:52:03,860 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/3e215154-f857-44b1-ab48-a14dc6b5df3b 2026-08-20 13:52:03,867 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/3e215154-f857-44b1-ab48-a14dc6b5df3b 2026-08-20 13:52:03,874 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/54f20e9e-e986-4b7e-be2b-5c26b5456db0 2026-08-20 13:52:03,880 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 13:52:03,880 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/e8a872fd-18ae-458f-8a2c-051c88c8b773 2026-08-20 13:52:03,892 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/3e215154-f857-44b1-ab48-a14dc6b5df3b 2026-08-20 13:52:03,909 - INFO - Verified VN network id 11 for VN e8a872fd-18ae-458f-8a2c-051c88c8b773 2026-08-20 13:52:03,909 - INFO - Verifications in API Server for VN ctest-vn-75030174 passed 2026-08-20 13:52:03,909 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/e8a872fd-18ae-458f-8a2c-051c88c8b773 2026-08-20 13:52:03,920 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/3e215154-f857-44b1-ab48-a14dc6b5df3b 2026-08-20 13:52:03,926 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/3e215154-f857-44b1-ab48-a14dc6b5df3b 2026-08-20 13:52:03,933 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/54f20e9e-e986-4b7e-be2b-5c26b5456db0 2026-08-20 13:52:03,944 - DEBUG - Control-node 10.0.0.176 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-75030174', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37432047', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16764776044253037967', 'uuid-lslong': '9956338496321402739'}, 'enable': 'true', 'created': '2026-08-20T13:52:01', 'last-modified': '2026-08-20T13:52:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.501118'} 2026-08-20 13:52:03,950 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 13:52:03,950 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75030174 passed 2026-08-20 13:52:03,950 - DEBUG - ====Verifying policy data for ctest-vn-75030174 in API_Server ====== 2026-08-20 13:52:03,950 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-08-20 13:52:03,955 - DEBUG - Requesting: http://10.0.0.176:8082/domain/53ebe7e3-bc32-45c4-a920-aa955791a7d4 2026-08-20 13:52:03,965 - DEBUG - Requesting: http://10.0.0.176:8082/project/2277952a-cd3b-4767-a705-7c870ab27f1e 2026-08-20 13:52:04,039 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/e8a872fd-18ae-458f-8a2c-051c88c8b773 2026-08-20 13:52:04,049 - DEBUG - ==>Verifying data for policy with id: a93b4cd2-8869-4368-b82b-75246359bfb7, fqn: ['default-domain', 'ctest-TestBasicPolicy-37432047', 'ctest-policy-allow-all-82784804'] 2026-08-20 13:52:04,049 - INFO - VN ctest-vn-75030174 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 13:52:04,049 - DEBUG - Verifying the vn in opserver 2026-08-20 13:52:04,049 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-75030174 virtual network link through opserver 10.0.0.176 2026-08-20 13:52:04,049 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks 2026-08-20 13:52:04,060 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-75030174', 'href': 'http://10.0.0.176:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-75030174?flat'} 2026-08-20 13:52:04,061 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-75030174 is found in opserver 2026-08-20 13:52:04,074 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 13:52:04,080 - DEBUG - VRF ids for VN ctest-vn-75030174: {} 2026-08-20 13:52:04,140 - DEBUG - Services list from nova: [, , ] 2026-08-20 13:52:04,572 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6190-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6190-1) 2026-08-20 13:52:04,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6190-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6190-1) 2026-08-20 13:52:04,946 - INFO - Waiting for VM ctest-TestBasicPolicy-37432047-36646779 to be up.. 2026-08-20 13:52:04,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:52:10,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:52:15,159 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:52:20,234 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:52:25,315 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:52:30,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:52:35,469 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:52:40,547 - DEBUG - VM is in ACTIVE state now 2026-08-20 13:52:40,547 - INFO - VM name : ctest-TestBasicPolicy-37432047-36646779 2026-08-20 13:52:40,621 - DEBUG - VM ctest-TestBasicPolicy-37432047-36646779 ID is 9cfeaaed-4f8a-412b-bd2f-7fa5e00ba1b4 2026-08-20 13:52:40,647 - DEBUG - VM ctest-TestBasicPolicy-37432047-36646779 launched on Node cn-jenkins-deploy-platform-ansible-os-6190-1 2026-08-20 13:52:40,722 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine/9cfeaaed-4f8a-412b-bd2f-7fa5e00ba1b4 2026-08-20 13:52:40,732 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine-interface/d7cc44d9-82c3-4d25-a45d-8868b8764ffb 2026-08-20 13:52:44,004 - 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 1025ms') 2026-08-20 13:52:44,004 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37432047-36646779 failed! 2026-08-20 13:52:44,058 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-04748663 is 36.211.107.65 and allocation pool is NOT set 2026-08-20 13:52:46,120 - 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=9.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.549 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.549/5.073/9.598/4.524 ms') 2026-08-20 13:52:46,120 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37432047-36646779 passed 2026-08-20 13:52:46,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:52:46,270 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37432047-36646779, IP 36.211.107.67, Port 22 2026-08-20 13:52:46,436 - DEBUG - VM ctest-TestBasicPolicy-37432047-36646779 is ready for SSH connections 2026-08-20 13:52:46,437 - INFO - Waiting for VM ctest-TestBasicPolicy-37432047-76678207 to be up.. 2026-08-20 13:52:46,510 - DEBUG - VM is in ACTIVE state now 2026-08-20 13:52:46,510 - INFO - VM name : ctest-TestBasicPolicy-37432047-76678207 2026-08-20 13:52:46,586 - DEBUG - VM ctest-TestBasicPolicy-37432047-76678207 ID is bad6a5a8-4441-429d-a78e-108132308077 2026-08-20 13:52:46,586 - DEBUG - VM ctest-TestBasicPolicy-37432047-76678207 launched on Node cn-jenkins-deploy-platform-ansible-os-6190-1 2026-08-20 13:52:46,664 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine/bad6a5a8-4441-429d-a78e-108132308077 2026-08-20 13:52:46,674 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine-interface/dd780962-dd9c-42b2-a388-6232eb81157c 2026-08-20 13:52:49,922 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-08-20 13:52:49,923 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37432047-76678207 failed! 2026-08-20 13:52:49,978 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37432047:ctest-vn-75030174 is 23.80.11.193 and allocation pool is NOT set 2026-08-20 13:52:52,040 - 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=9.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 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.507/4.758/9.010/4.251 ms') 2026-08-20 13:52:52,040 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37432047-76678207 passed 2026-08-20 13:52:52,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:52:52,194 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37432047-76678207, IP 23.80.11.195, Port 22 2026-08-20 13:52:52,364 - DEBUG - VM ctest-TestBasicPolicy-37432047-76678207 is ready for SSH connections 2026-08-20 13:52:52,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:52:52,365 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.80.11.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.176, gateway password: c0ntrail123 2026-08-20 13:52:52,365 - DEBUG - ping -s 56 -c 3 -W 1 23.80.11.195 2026-08-20 13:52:56,303 - DEBUG - PING 23.80.11.195 (23.80.11.195): 56 data bytes 64 bytes from 23.80.11.195: seq=0 ttl=63 time=4.187 ms 64 bytes from 23.80.11.195: seq=1 ttl=63 time=1.436 ms 64 bytes from 23.80.11.195: seq=2 ttl=63 time=1.123 ms --- 23.80.11.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.123/2.248/4.187 ms 2026-08-20 13:52:56,303 - INFO - Ping to IP 23.80.11.195 from VM ctest-TestBasicPolicy-37432047-36646779 passed 2026-08-20 13:52:56,482 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a93b4cd2-8869-4368-b82b-75246359bfb7", "href": "http://10.0.0.176:8082/network-policy/a93b4cd2-8869-4368-b82b-75246359bfb7"}} 2026-08-20 13:52:56,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:52:56,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.80.11.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.176, gateway password: c0ntrail123 2026-08-20 13:52:56,482 - DEBUG - ping -s 56 -c 3 -W 1 23.80.11.195 2026-08-20 13:52:59,601 - DEBUG - PING 23.80.11.195 (23.80.11.195): 56 data bytes 64 bytes from 23.80.11.195: seq=0 ttl=63 time=1.481 ms --- 23.80.11.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.481/1.481/1.481 ms 2026-08-20 13:52:59,601 - WARNING - Ping to IP 23.80.11.195 from VM ctest-TestBasicPolicy-37432047-36646779 failed 2026-08-20 13:52:59,601 - INFO - Deleting VM ctest-TestBasicPolicy-37432047-76678207 2026-08-20 13:52:59,666 - INFO - Deleting VM ctest-TestBasicPolicy-37432047-36646779 2026-08-20 13:53:00,038 - INFO - Deleted policy ctest-policy-allow-all-82784804 2026-08-20 13:53:00,038 - INFO - Deleting VN ctest-vn-75030174 2026-08-20 13:53:00,070 - DEBUG - VN e8a872fd-18ae-458f-8a2c-051c88c8b773 still in use: Unable to complete operation on network e8a872fd-18ae-458f-8a2c-051c88c8b773. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ad26ba6-b284-4643-acf4-b06476db487b'] 2026-08-20 13:53:00,070 - WARNING - Deleting VN ctest-vn-75030174 failed..Will retry 2026-08-20 13:53:02,178 - DEBUG - Response for deleting network () 2026-08-20 13:53:02,178 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/3e215154-f857-44b1-ab48-a14dc6b5df3b 2026-08-20 13:53:02,188 - DEBUG - Response Code: 404 2026-08-20 13:53:02,188 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-08-20 13:53:02,194 - DEBUG - Requesting: http://10.0.0.176:8082/domain/53ebe7e3-bc32-45c4-a920-aa955791a7d4 2026-08-20 13:53:02,249 - DEBUG - Requesting: http://10.0.0.176:8082/project/2277952a-cd3b-4767-a705-7c870ab27f1e 2026-08-20 13:53:02,322 - INFO - Validated that VN ctest-vn-75030174 is not found in API Server 2026-08-20 13:53:02,335 - DEBUG - VN ctest-vn-75030174 is not present in Agent 10.0.0.176 2026-08-20 13:53:02,335 - INFO - Validated that VN ctest-vn-75030174 is not in any agent 2026-08-20 13:53:02,353 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75030174 info 2026-08-20 13:53:02,353 - INFO - Deleting VN ctest-vn-04748663 2026-08-20 13:53:02,452 - DEBUG - Response for deleting network () 2026-08-20 13:53:02,452 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/150b7190-629b-41e5-8502-e4938ece6def 2026-08-20 13:53:02,458 - DEBUG - Response Code: 404 2026-08-20 13:53:02,458 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-08-20 13:53:02,464 - DEBUG - Requesting: http://10.0.0.176:8082/domain/53ebe7e3-bc32-45c4-a920-aa955791a7d4 2026-08-20 13:53:02,519 - DEBUG - Requesting: http://10.0.0.176:8082/project/2277952a-cd3b-4767-a705-7c870ab27f1e 2026-08-20 13:53:02,587 - INFO - Validated that VN ctest-vn-04748663 is not found in API Server 2026-08-20 13:53:02,596 - DEBUG - VN ctest-vn-04748663 is not present in Agent 10.0.0.176 2026-08-20 13:53:02,597 - INFO - Validated that VN ctest-vn-04748663 is not in any agent 2026-08-20 13:53:02,612 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04748663 info 2026-08-20 13:53:02,867 - DEBUG - No XMPP flaps were noticed during the test 2026-08-20 13:53:02,867 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:02] 2026-08-20 13:53:02,867 - INFO - -------------------------------------------------------------------------------- 2026-08-20 13:53:03,576 - INFO - Deleted project: ctest-TestBasicPolicy-37432047, ID : 2277952a-cd3b-4767-a705-7c870ab27f1e