2026-05-29 17:37:20,985 - INFO - Domain Default found not creating 2026-05-29 17:37:21,164 - INFO - Project ctest-TestBasicPolicy-11034565 not found, creating it 2026-05-29 17:37:21,658 - INFO - Created Project:ctest-TestBasicPolicy-11034565, ID : b58d603b-853d-4047-ba24-3abdc1f47144 2026-05-29 17:37:23,210 - INFO - ================================================================================ 2026-05-29 17:37:23,210 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-29 17:37:23,210 - 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-05-29 17:37:23,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-29 17:37:23,464 - INFO - Initial checks done. Running the testcase now 2026-05-29 17:37:23,464 - INFO - 2026-05-29 17:37:24,031 - DEBUG - Response for create_network : {'network': {'id': '7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0', 'name': 'ctest-vn-41826710', 'tenant_id': 'b58d603b853d4047ba243abdc1f47144', 'project_id': 'b58d603b853d4047ba243abdc1f47144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-vn-41826710'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 17:37:24,202 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b937279-247f-4ee6-bc33-677650997d88', 'name': '', 'tenant_id': 'b58d603b853d4047ba243abdc1f47144', 'network_id': '7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0', 'ip_version': 4, 'cidr': '205.40.1.128/26', 'allocation_pools': [{'start': '205.40.1.130', 'end': '205.40.1.190'}], 'gateway_ip': '205.40.1.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.40.1.130', 'tags': [], 'project_id': 'b58d603b853d4047ba243abdc1f47144'}} 2026-05-29 17:37:24,221 - INFO - Created VN ctest-vn-41826710 2026-05-29 17:37:24,277 - DEBUG - VN ctest-vn-41826710 UUID is 7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0 2026-05-29 17:37:24,568 - DEBUG - Response for create_network : {'network': {'id': '47170ebb-29d3-4c7e-9463-7f3335bf0c7e', 'name': 'ctest-vn-47471031', 'tenant_id': 'b58d603b853d4047ba243abdc1f47144', 'project_id': 'b58d603b853d4047ba243abdc1f47144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-vn-47471031'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 17:37:24,776 - DEBUG - Response for create_subnet : {'subnet': {'id': '76854e8e-a33d-4112-a06e-aa4257cfc17e', 'name': '', 'tenant_id': 'b58d603b853d4047ba243abdc1f47144', 'network_id': '47170ebb-29d3-4c7e-9463-7f3335bf0c7e', 'ip_version': 4, 'cidr': '77.234.228.128/26', 'allocation_pools': [{'start': '77.234.228.130', 'end': '77.234.228.190'}], 'gateway_ip': '77.234.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.234.228.130', 'tags': [], 'project_id': 'b58d603b853d4047ba243abdc1f47144'}} 2026-05-29 17:37:24,796 - INFO - Created VN ctest-vn-47471031 2026-05-29 17:37:24,849 - DEBUG - VN ctest-vn-47471031 UUID is 47170ebb-29d3-4c7e-9463-7f3335bf0c7e 2026-05-29 17:37:24,972 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710, 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-11034565:ctest-vn-47471031, 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-05-29 17:37:25,274 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0', 'name': 'ctest-vn-41826710', 'tenant_id': 'b58d603b853d4047ba243abdc1f47144', 'project_id': 'b58d603b853d4047ba243abdc1f47144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6b937279-247f-4ee6-bc33-677650997d88'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-vn-41826710'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-policy-allow-all-17867603']], 'subnet_ipam': [{'subnet_cidr': '205.40.1.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-29 17:37:25,503 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47170ebb-29d3-4c7e-9463-7f3335bf0c7e', 'name': 'ctest-vn-47471031', 'tenant_id': 'b58d603b853d4047ba243abdc1f47144', 'project_id': 'b58d603b853d4047ba243abdc1f47144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76854e8e-a33d-4112-a06e-aa4257cfc17e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-vn-47471031'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-policy-allow-all-17867603']], 'subnet_ipam': [{'subnet_cidr': '77.234.228.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-29 17:37:25,681 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 17:37:25,987 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 17:37:26,021 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a0f1d13-475c-4e43-a4c1-701be370f3b8 2026-05-29 17:37:26,034 - DEBUG - Requesting: http://10.0.0.50:8082/project/b58d603b-853d-4047-ba24-3abdc1f47144 2026-05-29 17:37:26,106 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0 2026-05-29 17:37:26,119 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0 2026-05-29 17:37:26,131 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9455af2b-d72a-4e93-ad04-cd0c87500b4b 2026-05-29 17:37:26,139 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9455af2b-d72a-4e93-ad04-cd0c87500b4b 2026-05-29 17:37:26,148 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fadfb634-aef3-4522-9dbd-2164c2025639 2026-05-29 17:37:26,155 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-29 17:37:26,155 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0 2026-05-29 17:37:26,164 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9455af2b-d72a-4e93-ad04-cd0c87500b4b 2026-05-29 17:37:26,180 - INFO - Verified VN network id 11 for VN 7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0 2026-05-29 17:37:26,180 - INFO - Verifications in API Server for VN ctest-vn-41826710 passed 2026-05-29 17:37:26,180 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0 2026-05-29 17:37:26,190 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9455af2b-d72a-4e93-ad04-cd0c87500b4b 2026-05-29 17:37:26,197 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9455af2b-d72a-4e93-ad04-cd0c87500b4b 2026-05-29 17:37:26,206 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fadfb634-aef3-4522-9dbd-2164c2025639 2026-05-29 17:37:26,218 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11034565', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9007099554536704995', 'uuid-lslong': '13523886698539181216'}, 'enable': 'true', 'created': '2026-05-29T17:37:24', 'last-modified': '2026-05-29T17:37:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967708'} 2026-05-29 17:37:26,224 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-29 17:37:26,224 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41826710 passed 2026-05-29 17:37:26,224 - DEBUG - ====Verifying policy data for ctest-vn-41826710 in API_Server ====== 2026-05-29 17:37:26,224 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 17:37:26,230 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a0f1d13-475c-4e43-a4c1-701be370f3b8 2026-05-29 17:37:26,241 - DEBUG - Requesting: http://10.0.0.50:8082/project/b58d603b-853d-4047-ba24-3abdc1f47144 2026-05-29 17:37:26,313 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0 2026-05-29 17:37:26,322 - DEBUG - ==>Verifying data for policy with id: f7b25260-f991-47f7-8439-7f2aae3f4c31, fqn: ['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-policy-allow-all-17867603'] 2026-05-29 17:37:26,322 - INFO - VN ctest-vn-41826710 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-29 17:37:26,322 - DEBUG - Verifying the vn in opserver 2026-05-29 17:37:26,322 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710 virtual network link through opserver 10.0.0.50 2026-05-29 17:37:26,322 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-29 17:37:26,618 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-29 17:37:26,691 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710?flat'} 2026-05-29 17:37:26,691 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710 is found in opserver 2026-05-29 17:37:26,701 - DEBUG - Do not have enough data to verify VN in agent 2026-05-29 17:37:26,706 - DEBUG - VRF ids for VN ctest-vn-41826710: {} 2026-05-29 17:37:26,706 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 17:37:26,713 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a0f1d13-475c-4e43-a4c1-701be370f3b8 2026-05-29 17:37:26,726 - DEBUG - Requesting: http://10.0.0.50:8082/project/b58d603b-853d-4047-ba24-3abdc1f47144 2026-05-29 17:37:26,804 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47170ebb-29d3-4c7e-9463-7f3335bf0c7e 2026-05-29 17:37:26,815 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47170ebb-29d3-4c7e-9463-7f3335bf0c7e 2026-05-29 17:37:26,825 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74d038f7-b164-4d15-a0df-c21b34b5a3c6 2026-05-29 17:37:26,833 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74d038f7-b164-4d15-a0df-c21b34b5a3c6 2026-05-29 17:37:26,839 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a7cdf6ac-565a-4c3f-8561-445094cd4845 2026-05-29 17:37:26,846 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-29 17:37:26,846 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47170ebb-29d3-4c7e-9463-7f3335bf0c7e 2026-05-29 17:37:26,858 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74d038f7-b164-4d15-a0df-c21b34b5a3c6 2026-05-29 17:37:26,877 - INFO - Verified VN network id 12 for VN 47170ebb-29d3-4c7e-9463-7f3335bf0c7e 2026-05-29 17:37:26,877 - INFO - Verifications in API Server for VN ctest-vn-47471031 passed 2026-05-29 17:37:26,877 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47170ebb-29d3-4c7e-9463-7f3335bf0c7e 2026-05-29 17:37:26,887 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74d038f7-b164-4d15-a0df-c21b34b5a3c6 2026-05-29 17:37:26,894 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74d038f7-b164-4d15-a0df-c21b34b5a3c6 2026-05-29 17:37:26,904 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a7cdf6ac-565a-4c3f-8561-445094cd4845 2026-05-29 17:37:26,916 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-47471031', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11034565', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5122579298180615294', 'uuid-lslong': '10692529798229462142'}, 'enable': 'true', 'created': '2026-05-29T17:37:24', 'last-modified': '2026-05-29T17:37:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.435424'} 2026-05-29 17:37:26,922 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-29 17:37:26,922 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47471031 passed 2026-05-29 17:37:26,923 - DEBUG - ====Verifying policy data for ctest-vn-47471031 in API_Server ====== 2026-05-29 17:37:26,923 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 17:37:26,928 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a0f1d13-475c-4e43-a4c1-701be370f3b8 2026-05-29 17:37:26,939 - DEBUG - Requesting: http://10.0.0.50:8082/project/b58d603b-853d-4047-ba24-3abdc1f47144 2026-05-29 17:37:27,014 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47170ebb-29d3-4c7e-9463-7f3335bf0c7e 2026-05-29 17:37:27,025 - DEBUG - ==>Verifying data for policy with id: f7b25260-f991-47f7-8439-7f2aae3f4c31, fqn: ['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-policy-allow-all-17867603'] 2026-05-29 17:37:27,025 - INFO - VN ctest-vn-47471031 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-29 17:37:27,025 - DEBUG - Verifying the vn in opserver 2026-05-29 17:37:27,025 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-47471031 virtual network link through opserver 10.0.0.50 2026-05-29 17:37:27,025 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-29 17:37:27,036 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-47471031', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-47471031?flat'} 2026-05-29 17:37:27,036 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-47471031 is found in opserver 2026-05-29 17:37:27,046 - DEBUG - Do not have enough data to verify VN in agent 2026-05-29 17:37:27,051 - DEBUG - VRF ids for VN ctest-vn-47471031: {} 2026-05-29 17:37:27,114 - DEBUG - Services list from nova: [, , ] 2026-05-29 17:37:28,185 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5852-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5852-1) 2026-05-29 17:37:29,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5852-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5852-1) 2026-05-29 17:37:29,343 - INFO - Waiting for VM ctest-TestBasicPolicy-11034565-06512352 to be up.. 2026-05-29 17:37:29,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-29 17:37:34,516 - DEBUG - VM is in ACTIVE state now 2026-05-29 17:37:34,516 - INFO - VM name : ctest-TestBasicPolicy-11034565-06512352 2026-05-29 17:37:34,596 - DEBUG - VM ctest-TestBasicPolicy-11034565-06512352 ID is 6c912bf9-86b1-4918-9ea7-0ad9c19f29b5 2026-05-29 17:37:34,623 - DEBUG - VM ctest-TestBasicPolicy-11034565-06512352 launched on Node cn-jenkins-deploy-platform-ansible-os-5852-1 2026-05-29 17:37:34,704 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6c912bf9-86b1-4918-9ea7-0ad9c19f29b5 2026-05-29 17:37:34,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d146e7d6-328a-43ef-b4f4-040411e10cfa 2026-05-29 17:37:37,985 - 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 1023ms') 2026-05-29 17:37:37,985 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11034565-06512352 failed! 2026-05-29 17:37:38,041 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710 is 205.40.1.129 and allocation pool is NOT set 2026-05-29 17:37:40,103 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 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 = 1.740/6.088/10.437/4.348 ms') 2026-05-29 17:37:40,103 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11034565-06512352 passed 2026-05-29 17:37:40,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 17:37:40,281 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11034565-06512352, IP 205.40.1.131, Port 22 2026-05-29 17:37:40,437 - DEBUG - VM ctest-TestBasicPolicy-11034565-06512352 is ready for SSH connections 2026-05-29 17:37:40,437 - INFO - Waiting for VM ctest-TestBasicPolicy-11034565-54155710 to be up.. 2026-05-29 17:37:40,522 - DEBUG - VM is in ACTIVE state now 2026-05-29 17:37:40,522 - INFO - VM name : ctest-TestBasicPolicy-11034565-54155710 2026-05-29 17:37:40,611 - DEBUG - VM ctest-TestBasicPolicy-11034565-54155710 ID is 1e3036bf-eb78-43dc-ac3d-ec85c030dc9c 2026-05-29 17:37:40,611 - DEBUG - VM ctest-TestBasicPolicy-11034565-54155710 launched on Node cn-jenkins-deploy-platform-ansible-os-5852-1 2026-05-29 17:37:40,700 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1e3036bf-eb78-43dc-ac3d-ec85c030dc9c 2026-05-29 17:37:40,708 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/98c9828e-1123-4233-8328-957151ea8c7d 2026-05-29 17:37:41,944 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.627 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.627/2.151/3.676/1.524 ms') 2026-05-29 17:37:41,944 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11034565-54155710 passed 2026-05-29 17:37:42,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 17:37:42,101 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11034565-54155710, IP 77.234.228.131, Port 22 2026-05-29 17:37:42,275 - DEBUG - VM ctest-TestBasicPolicy-11034565-54155710 is ready for SSH connections 2026-05-29 17:37:42,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 17:37:42,276 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.234.228.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-29 17:37:42,276 - DEBUG - ping -s 56 -c 3 -W 1 77.234.228.131 2026-05-29 17:37:46,373 - DEBUG - PING 77.234.228.131 (77.234.228.131): 56 data bytes 64 bytes from 77.234.228.131: seq=0 ttl=63 time=4.279 ms 64 bytes from 77.234.228.131: seq=1 ttl=63 time=1.009 ms 64 bytes from 77.234.228.131: seq=2 ttl=63 time=0.946 ms --- 77.234.228.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.946/2.078/4.279 ms 2026-05-29 17:37:46,373 - INFO - Ping to IP 77.234.228.131 from VM ctest-TestBasicPolicy-11034565-06512352 passed 2026-05-29 17:37:46,553 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f7b25260-f991-47f7-8439-7f2aae3f4c31", "href": "http://10.0.0.50:8082/network-policy/f7b25260-f991-47f7-8439-7f2aae3f4c31"}} 2026-05-29 17:37:46,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 17:37:46,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.234.228.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-29 17:37:46,553 - DEBUG - ping -s 56 -c 3 -W 1 77.234.228.131 2026-05-29 17:37:49,786 - DEBUG - PING 77.234.228.131 (77.234.228.131): 56 data bytes --- 77.234.228.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-29 17:37:49,786 - WARNING - Ping to IP 77.234.228.131 from VM ctest-TestBasicPolicy-11034565-06512352 failed 2026-05-29 17:37:49,786 - INFO - Deleting VM ctest-TestBasicPolicy-11034565-54155710 2026-05-29 17:37:49,864 - INFO - Deleting VM ctest-TestBasicPolicy-11034565-06512352 2026-05-29 17:37:50,271 - INFO - Deleted policy ctest-policy-allow-all-17867603 2026-05-29 17:37:50,271 - INFO - Deleting VN ctest-vn-47471031 2026-05-29 17:37:50,318 - DEBUG - VN 47170ebb-29d3-4c7e-9463-7f3335bf0c7e still in use: Unable to complete operation on network 47170ebb-29d3-4c7e-9463-7f3335bf0c7e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb5e4eb2-1d57-49a0-bc8b-6d11c7459343'] 2026-05-29 17:37:50,319 - WARNING - Deleting VN ctest-vn-47471031 failed..Will retry 2026-05-29 17:37:52,432 - DEBUG - Response for deleting network () 2026-05-29 17:37:52,432 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74d038f7-b164-4d15-a0df-c21b34b5a3c6 2026-05-29 17:37:52,439 - DEBUG - Response Code: 404 2026-05-29 17:37:52,439 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 17:37:52,445 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a0f1d13-475c-4e43-a4c1-701be370f3b8 2026-05-29 17:37:52,499 - DEBUG - Requesting: http://10.0.0.50:8082/project/b58d603b-853d-4047-ba24-3abdc1f47144 2026-05-29 17:37:52,570 - INFO - Validated that VN ctest-vn-47471031 is not found in API Server 2026-05-29 17:37:52,579 - DEBUG - VN ctest-vn-47471031 is not present in Agent 10.0.0.50 2026-05-29 17:37:52,579 - INFO - Validated that VN ctest-vn-47471031 is not in any agent 2026-05-29 17:37:52,593 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47471031 info 2026-05-29 17:37:52,593 - INFO - Deleting VN ctest-vn-41826710 2026-05-29 17:37:52,692 - DEBUG - Response for deleting network () 2026-05-29 17:37:52,692 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9455af2b-d72a-4e93-ad04-cd0c87500b4b 2026-05-29 17:37:52,703 - DEBUG - Response Code: 404 2026-05-29 17:37:52,703 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 17:37:52,710 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a0f1d13-475c-4e43-a4c1-701be370f3b8 2026-05-29 17:37:52,763 - DEBUG - Requesting: http://10.0.0.50:8082/project/b58d603b-853d-4047-ba24-3abdc1f47144 2026-05-29 17:37:52,842 - INFO - Validated that VN ctest-vn-41826710 is not found in API Server 2026-05-29 17:37:52,854 - DEBUG - VN ctest-vn-41826710 is not present in Agent 10.0.0.50 2026-05-29 17:37:52,854 - INFO - Validated that VN ctest-vn-41826710 is not in any agent 2026-05-29 17:37:52,868 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41826710 info 2026-05-29 17:37:53,127 - DEBUG - No XMPP flaps were noticed during the test
2026-05-29 17:37:53,127 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-29 17:37:53,127 - INFO - -------------------------------------------------------------------------------- 2026-05-29 17:37:53,880 - INFO - Deleted project: ctest-TestBasicPolicy-11034565, ID : b58d603b-853d-4047-ba24-3abdc1f47144