2026-06-19 15:52:00,336 - INFO - Domain Default found not creating 2026-06-19 15:52:00,464 - INFO - Project ctest-TestBasicPolicy-36959432 not found, creating it 2026-06-19 15:52:00,921 - INFO - Created Project:ctest-TestBasicPolicy-36959432, ID : 7420a1ba-d5f3-43af-a3cc-6a75270c7aa5 2026-06-19 15:52:02,340 - INFO - ================================================================================ 2026-06-19 15:52:02,341 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-19 15:52:02,341 - 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-06-19 15:52:02,595 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2026-06-19 15:52:02,595 - INFO - Initial checks done. Running the testcase now 2026-06-19 15:52:02,595 - INFO - 2026-06-19 15:52:03,110 - DEBUG - Response for create_network : {'network': {'id': '20f20c17-790d-4633-a9be-9ff8c43e05fb', 'name': 'ctest-vn-70338682', 'tenant_id': '7420a1bad5f343afa3cc6a75270c7aa5', 'project_id': '7420a1bad5f343afa3cc6a75270c7aa5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36959432', 'ctest-vn-70338682'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 15:52:03,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ea901fe-a401-4ab4-8ebe-27763fb95c47', 'name': '', 'tenant_id': '7420a1bad5f343afa3cc6a75270c7aa5', 'network_id': '20f20c17-790d-4633-a9be-9ff8c43e05fb', 'ip_version': 4, 'cidr': '69.46.28.128/26', 'allocation_pools': [{'start': '69.46.28.130', 'end': '69.46.28.190'}], 'gateway_ip': '69.46.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.46.28.130', 'tags': [], 'project_id': '7420a1bad5f343afa3cc6a75270c7aa5'}} 2026-06-19 15:52:03,312 - INFO - Created VN ctest-vn-70338682 2026-06-19 15:52:03,362 - DEBUG - VN ctest-vn-70338682 UUID is 20f20c17-790d-4633-a9be-9ff8c43e05fb 2026-06-19 15:52:03,652 - DEBUG - Response for create_network : {'network': {'id': '68ee618c-0224-43c1-a06a-47f35019385d', 'name': 'ctest-vn-59564754', 'tenant_id': '7420a1bad5f343afa3cc6a75270c7aa5', 'project_id': '7420a1bad5f343afa3cc6a75270c7aa5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36959432', 'ctest-vn-59564754'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 15:52:03,820 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ef11ed6-f48f-489a-94ec-3d0c24344986', 'name': '', 'tenant_id': '7420a1bad5f343afa3cc6a75270c7aa5', 'network_id': '68ee618c-0224-43c1-a06a-47f35019385d', 'ip_version': 4, 'cidr': '34.22.21.0/26', 'allocation_pools': [{'start': '34.22.21.2', 'end': '34.22.21.62'}], 'gateway_ip': '34.22.21.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.22.21.2', 'tags': [], 'project_id': '7420a1bad5f343afa3cc6a75270c7aa5'}} 2026-06-19 15:52:03,834 - INFO - Created VN ctest-vn-59564754 2026-06-19 15:52:03,886 - DEBUG - VN ctest-vn-59564754 UUID is 68ee618c-0224-43c1-a06a-47f35019385d 2026-06-19 15:52:04,026 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36959432:ctest-vn-70338682, 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-36959432:ctest-vn-59564754, 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-06-19 15:52:04,317 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '20f20c17-790d-4633-a9be-9ff8c43e05fb', 'name': 'ctest-vn-70338682', 'tenant_id': '7420a1bad5f343afa3cc6a75270c7aa5', 'project_id': '7420a1bad5f343afa3cc6a75270c7aa5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4ea901fe-a401-4ab4-8ebe-27763fb95c47'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36959432', 'ctest-vn-70338682'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36959432', 'ctest-policy-allow-all-21437439']], 'subnet_ipam': [{'subnet_cidr': '69.46.28.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 15:52:04,529 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '68ee618c-0224-43c1-a06a-47f35019385d', 'name': 'ctest-vn-59564754', 'tenant_id': '7420a1bad5f343afa3cc6a75270c7aa5', 'project_id': '7420a1bad5f343afa3cc6a75270c7aa5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0ef11ed6-f48f-489a-94ec-3d0c24344986'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36959432', 'ctest-vn-59564754'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36959432', 'ctest-policy-allow-all-21437439']], 'subnet_ipam': [{'subnet_cidr': '34.22.21.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 15:52:04,686 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-19 15:52:05,000 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-19 15:52:05,022 - DEBUG - Requesting: http://10.0.0.22:8082/domain/44e9c255-376f-4b7d-9093-b218eb773b21 2026-06-19 15:52:05,032 - DEBUG - Requesting: http://10.0.0.22:8082/project/7420a1ba-d5f3-43af-a3cc-6a75270c7aa5 2026-06-19 15:52:05,100 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/20f20c17-790d-4633-a9be-9ff8c43e05fb 2026-06-19 15:52:05,110 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/20f20c17-790d-4633-a9be-9ff8c43e05fb 2026-06-19 15:52:05,117 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ed8fbe9a-27d4-4345-b380-0e345dbbbd9b 2026-06-19 15:52:05,123 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ed8fbe9a-27d4-4345-b380-0e345dbbbd9b 2026-06-19 15:52:05,128 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/abd9fed5-cd95-48af-b6bb-5041ff4c36b5 2026-06-19 15:52:05,133 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 15:52:05,133 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/20f20c17-790d-4633-a9be-9ff8c43e05fb 2026-06-19 15:52:05,140 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ed8fbe9a-27d4-4345-b380-0e345dbbbd9b 2026-06-19 15:52:05,150 - INFO - Verified VN network id 11 for VN 20f20c17-790d-4633-a9be-9ff8c43e05fb 2026-06-19 15:52:05,150 - INFO - Verifications in API Server for VN ctest-vn-70338682 passed 2026-06-19 15:52:05,150 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/20f20c17-790d-4633-a9be-9ff8c43e05fb 2026-06-19 15:52:05,157 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ed8fbe9a-27d4-4345-b380-0e345dbbbd9b 2026-06-19 15:52:05,161 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ed8fbe9a-27d4-4345-b380-0e345dbbbd9b 2026-06-19 15:52:05,167 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/abd9fed5-cd95-48af-b6bb-5041ff4c36b5 2026-06-19 15:52:05,176 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36959432:ctest-vn-70338682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36959432', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2373973248532366899', 'uuid-lslong': '12231389528777950715'}, 'enable': 'true', 'created': '2026-06-19T15:52:03', 'last-modified': '2026-06-19T15:52:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.886861'} 2026-06-19 15:52:05,181 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 15:52:05,181 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70338682 passed 2026-06-19 15:52:05,181 - DEBUG - ====Verifying policy data for ctest-vn-70338682 in API_Server ====== 2026-06-19 15:52:05,181 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-19 15:52:05,186 - DEBUG - Requesting: http://10.0.0.22:8082/domain/44e9c255-376f-4b7d-9093-b218eb773b21 2026-06-19 15:52:05,194 - DEBUG - Requesting: http://10.0.0.22:8082/project/7420a1ba-d5f3-43af-a3cc-6a75270c7aa5 2026-06-19 15:52:05,260 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/20f20c17-790d-4633-a9be-9ff8c43e05fb 2026-06-19 15:52:05,268 - DEBUG - ==>Verifying data for policy with id: d382d395-bc1e-43e3-85b7-bddda64d9116, fqn: ['default-domain', 'ctest-TestBasicPolicy-36959432', 'ctest-policy-allow-all-21437439'] 2026-06-19 15:52:05,268 - INFO - VN ctest-vn-70338682 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 15:52:05,268 - DEBUG - Verifying the vn in opserver 2026-06-19 15:52:05,268 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36959432:ctest-vn-70338682 virtual network link through opserver 10.0.0.22 2026-06-19 15:52:05,268 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-06-19 15:52:05,582 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-06-19 15:52:05,624 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36959432:ctest-vn-70338682', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36959432:ctest-vn-70338682?flat'} 2026-06-19 15:52:05,624 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36959432:ctest-vn-70338682 is found in opserver 2026-06-19 15:52:05,633 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 15:52:05,636 - DEBUG - VRF ids for VN ctest-vn-70338682: {} 2026-06-19 15:52:05,636 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-19 15:52:05,640 - DEBUG - Requesting: http://10.0.0.22:8082/domain/44e9c255-376f-4b7d-9093-b218eb773b21 2026-06-19 15:52:05,649 - DEBUG - Requesting: http://10.0.0.22:8082/project/7420a1ba-d5f3-43af-a3cc-6a75270c7aa5 2026-06-19 15:52:05,716 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68ee618c-0224-43c1-a06a-47f35019385d 2026-06-19 15:52:05,732 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68ee618c-0224-43c1-a06a-47f35019385d 2026-06-19 15:52:05,739 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a82e9b1f-245c-4b50-b49a-bb4077bdd0e0 2026-06-19 15:52:05,745 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a82e9b1f-245c-4b50-b49a-bb4077bdd0e0 2026-06-19 15:52:05,750 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c7c7df2d-a736-4cbc-b33a-3e21d5a132cf 2026-06-19 15:52:05,755 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 15:52:05,755 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68ee618c-0224-43c1-a06a-47f35019385d 2026-06-19 15:52:05,762 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a82e9b1f-245c-4b50-b49a-bb4077bdd0e0 2026-06-19 15:52:05,772 - INFO - Verified VN network id 12 for VN 68ee618c-0224-43c1-a06a-47f35019385d 2026-06-19 15:52:05,773 - INFO - Verifications in API Server for VN ctest-vn-59564754 passed 2026-06-19 15:52:05,773 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68ee618c-0224-43c1-a06a-47f35019385d 2026-06-19 15:52:05,779 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a82e9b1f-245c-4b50-b49a-bb4077bdd0e0 2026-06-19 15:52:05,784 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a82e9b1f-245c-4b50-b49a-bb4077bdd0e0 2026-06-19 15:52:05,789 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c7c7df2d-a736-4cbc-b33a-3e21d5a132cf 2026-06-19 15:52:05,797 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36959432:ctest-vn-59564754', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36959432', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7561088078360888257', 'uuid-lslong': '11559130503946254429'}, 'enable': 'true', 'created': '2026-06-19T15:52:03', 'last-modified': '2026-06-19T15:52:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.285627'} 2026-06-19 15:52:05,802 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 15:52:05,802 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59564754 passed 2026-06-19 15:52:05,802 - DEBUG - ====Verifying policy data for ctest-vn-59564754 in API_Server ====== 2026-06-19 15:52:05,802 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-19 15:52:05,806 - DEBUG - Requesting: http://10.0.0.22:8082/domain/44e9c255-376f-4b7d-9093-b218eb773b21 2026-06-19 15:52:05,817 - DEBUG - Requesting: http://10.0.0.22:8082/project/7420a1ba-d5f3-43af-a3cc-6a75270c7aa5 2026-06-19 15:52:05,887 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68ee618c-0224-43c1-a06a-47f35019385d 2026-06-19 15:52:05,896 - DEBUG - ==>Verifying data for policy with id: d382d395-bc1e-43e3-85b7-bddda64d9116, fqn: ['default-domain', 'ctest-TestBasicPolicy-36959432', 'ctest-policy-allow-all-21437439'] 2026-06-19 15:52:05,896 - INFO - VN ctest-vn-59564754 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 15:52:05,896 - DEBUG - Verifying the vn in opserver 2026-06-19 15:52:05,896 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36959432:ctest-vn-59564754 virtual network link through opserver 10.0.0.22 2026-06-19 15:52:05,896 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-06-19 15:52:05,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36959432:ctest-vn-59564754', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36959432:ctest-vn-59564754?flat'} 2026-06-19 15:52:05,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36959432:ctest-vn-59564754 is found in opserver 2026-06-19 15:52:05,912 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 15:52:05,915 - DEBUG - VRF ids for VN ctest-vn-59564754: {} 2026-06-19 15:52:05,961 - DEBUG - Services list from nova: [, , ] 2026-06-19 15:52:06,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5997-1) 2026-06-19 15:52:07,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5997-1) 2026-06-19 15:52:07,986 - INFO - Waiting for VM ctest-TestBasicPolicy-36959432-55546762 to be up.. 2026-06-19 15:52:08,032 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 15:52:13,095 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 15:52:18,159 - DEBUG - VM is in ACTIVE state now 2026-06-19 15:52:18,159 - INFO - VM name : ctest-TestBasicPolicy-36959432-55546762 2026-06-19 15:52:18,219 - DEBUG - VM ctest-TestBasicPolicy-36959432-55546762 ID is cd352ed2-ce19-45c9-8082-877e12520818 2026-06-19 15:52:18,235 - DEBUG - VM ctest-TestBasicPolicy-36959432-55546762 launched on Node cn-jenkins-deploy-platform-ansible-os-5997-1 2026-06-19 15:52:18,299 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cd352ed2-ce19-45c9-8082-877e12520818 2026-06-19 15:52:18,306 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8bc20742-e0ec-49b9-bc78-b93b369cc59e 2026-06-19 15:52:21,567 - 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 1032ms') 2026-06-19 15:52:21,567 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36959432-55546762 failed! 2026-06-19 15:52:21,618 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36959432:ctest-vn-70338682 is 69.46.28.129 and allocation pool is NOT set 2026-06-19 15:52:23,679 - 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=4.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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 = 1.104/2.699/4.295/1.595 ms') 2026-06-19 15:52:23,679 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36959432-55546762 passed 2026-06-19 15:52:23,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 15:52:23,826 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36959432-55546762, IP 69.46.28.131, Port 22 2026-06-19 15:52:23,996 - DEBUG - VM ctest-TestBasicPolicy-36959432-55546762 is ready for SSH connections 2026-06-19 15:52:23,996 - INFO - Waiting for VM ctest-TestBasicPolicy-36959432-31379537 to be up.. 2026-06-19 15:52:24,060 - DEBUG - VM is in ACTIVE state now 2026-06-19 15:52:24,060 - INFO - VM name : ctest-TestBasicPolicy-36959432-31379537 2026-06-19 15:52:24,122 - DEBUG - VM ctest-TestBasicPolicy-36959432-31379537 ID is 4b5c7a02-4950-4121-b9f9-ead18b4b381c 2026-06-19 15:52:24,122 - DEBUG - VM ctest-TestBasicPolicy-36959432-31379537 launched on Node cn-jenkins-deploy-platform-ansible-os-5997-1 2026-06-19 15:52:24,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4b5c7a02-4950-4121-b9f9-ead18b4b381c 2026-06-19 15:52:24,191 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5ec971a2-1739-46f1-be6f-83fe28081de9 2026-06-19 15:52:25,418 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/4.932/9.447/4.514 ms') 2026-06-19 15:52:25,418 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36959432-31379537 passed 2026-06-19 15:52:25,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 15:52:25,566 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36959432-31379537, IP 34.22.21.3, Port 22 2026-06-19 15:52:25,725 - DEBUG - VM ctest-TestBasicPolicy-36959432-31379537 is ready for SSH connections 2026-06-19 15:52:25,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 15:52:25,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.22.21.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-19 15:52:25,726 - DEBUG - ping -s 56 -c 3 -W 1 34.22.21.3 2026-06-19 15:52:29,559 - DEBUG - PING 34.22.21.3 (34.22.21.3): 56 data bytes 64 bytes from 34.22.21.3: seq=0 ttl=63 time=3.520 ms 64 bytes from 34.22.21.3: seq=1 ttl=63 time=0.919 ms 64 bytes from 34.22.21.3: seq=2 ttl=63 time=0.728 ms --- 34.22.21.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/1.722/3.520 ms 2026-06-19 15:52:29,559 - INFO - Ping to IP 34.22.21.3 from VM ctest-TestBasicPolicy-36959432-55546762 passed 2026-06-19 15:52:29,726 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d382d395-bc1e-43e3-85b7-bddda64d9116", "href": "http://10.0.0.22:8082/network-policy/d382d395-bc1e-43e3-85b7-bddda64d9116"}} 2026-06-19 15:52:29,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 15:52:29,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.22.21.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-19 15:52:29,726 - DEBUG - ping -s 56 -c 3 -W 1 34.22.21.3 2026-06-19 15:52:32,835 - DEBUG - PING 34.22.21.3 (34.22.21.3): 56 data bytes --- 34.22.21.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-19 15:52:32,835 - WARNING - Ping to IP 34.22.21.3 from VM ctest-TestBasicPolicy-36959432-55546762 failed 2026-06-19 15:52:32,836 - INFO - Deleting VM ctest-TestBasicPolicy-36959432-31379537 2026-06-19 15:52:32,899 - INFO - Deleting VM ctest-TestBasicPolicy-36959432-55546762 2026-06-19 15:52:33,186 - INFO - Deleted policy ctest-policy-allow-all-21437439 2026-06-19 15:52:33,186 - INFO - Deleting VN ctest-vn-59564754 2026-06-19 15:52:33,210 - DEBUG - VN 68ee618c-0224-43c1-a06a-47f35019385d still in use: Unable to complete operation on network 68ee618c-0224-43c1-a06a-47f35019385d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50a07ef0-0e59-4a96-909b-29c5ce12c89e'] 2026-06-19 15:52:33,210 - WARNING - Deleting VN ctest-vn-59564754 failed..Will retry 2026-06-19 15:52:35,287 - DEBUG - Response for deleting network () 2026-06-19 15:52:35,287 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a82e9b1f-245c-4b50-b49a-bb4077bdd0e0 2026-06-19 15:52:35,292 - DEBUG - Response Code: 404 2026-06-19 15:52:35,292 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-19 15:52:35,296 - DEBUG - Requesting: http://10.0.0.22:8082/domain/44e9c255-376f-4b7d-9093-b218eb773b21 2026-06-19 15:52:35,347 - DEBUG - Requesting: http://10.0.0.22:8082/project/7420a1ba-d5f3-43af-a3cc-6a75270c7aa5 2026-06-19 15:52:35,414 - INFO - Validated that VN ctest-vn-59564754 is not found in API Server 2026-06-19 15:52:35,423 - DEBUG - VN ctest-vn-59564754 is not present in Agent 10.0.0.22 2026-06-19 15:52:35,423 - INFO - Validated that VN ctest-vn-59564754 is not in any agent 2026-06-19 15:52:35,434 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59564754 info 2026-06-19 15:52:35,434 - INFO - Deleting VN ctest-vn-70338682 2026-06-19 15:52:35,518 - DEBUG - Response for deleting network () 2026-06-19 15:52:35,518 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ed8fbe9a-27d4-4345-b380-0e345dbbbd9b 2026-06-19 15:52:35,521 - DEBUG - Response Code: 404 2026-06-19 15:52:35,521 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-19 15:52:35,525 - DEBUG - Requesting: http://10.0.0.22:8082/domain/44e9c255-376f-4b7d-9093-b218eb773b21 2026-06-19 15:52:35,578 - DEBUG - Requesting: http://10.0.0.22:8082/project/7420a1ba-d5f3-43af-a3cc-6a75270c7aa5 2026-06-19 15:52:35,648 - INFO - Validated that VN ctest-vn-70338682 is not found in API Server 2026-06-19 15:52:35,656 - DEBUG - VN ctest-vn-70338682 is not present in Agent 10.0.0.22 2026-06-19 15:52:35,656 - INFO - Validated that VN ctest-vn-70338682 is not in any agent 2026-06-19 15:52:35,667 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70338682 info 2026-06-19 15:52:35,934 - DEBUG - No XMPP flaps were noticed during the test
2026-06-19 15:52:35,934 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33]
2026-06-19 15:52:35,934 - INFO - -------------------------------------------------------------------------------- 2026-06-19 15:52:36,617 - INFO - Deleted project: ctest-TestBasicPolicy-36959432, ID : 7420a1ba-d5f3-43af-a3cc-6a75270c7aa5