2026-04-17 19:34:12,496 - INFO - Domain Default found not creating 2026-04-17 19:34:12,654 - INFO - Project ctest-TestBasicPolicy-22469684 not found, creating it 2026-04-17 19:34:13,121 - INFO - Created Project:ctest-TestBasicPolicy-22469684, ID : 66017531-2fed-4c84-82eb-21a4f88fe280 2026-04-17 19:34:14,615 - INFO - ================================================================================ 2026-04-17 19:34:14,616 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-17 19:34:14,616 - 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-04-17 19:34:14,870 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-04-17 19:34:14,870 - INFO - Initial checks done. Running the testcase now 2026-04-17 19:34:14,870 - INFO - 2026-04-17 19:34:15,427 - DEBUG - Response for create_network : {'network': {'id': '4542d646-5bb0-4653-a867-1f8e6531facd', 'name': 'ctest-vn-29034932', 'tenant_id': '660175312fed4c8482eb21a4f88fe280', 'project_id': '660175312fed4c8482eb21a4f88fe280', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22469684', 'ctest-vn-29034932'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 19:34:15,584 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d6da51b-3dce-4775-a40c-67ea63898b83', 'name': '', 'tenant_id': '660175312fed4c8482eb21a4f88fe280', 'network_id': '4542d646-5bb0-4653-a867-1f8e6531facd', 'ip_version': 4, 'cidr': '44.107.88.128/26', 'allocation_pools': [{'start': '44.107.88.130', 'end': '44.107.88.190'}], 'gateway_ip': '44.107.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.107.88.130', 'tags': [], 'project_id': '660175312fed4c8482eb21a4f88fe280'}} 2026-04-17 19:34:15,600 - INFO - Created VN ctest-vn-29034932 2026-04-17 19:34:15,653 - DEBUG - VN ctest-vn-29034932 UUID is 4542d646-5bb0-4653-a867-1f8e6531facd 2026-04-17 19:34:15,981 - DEBUG - Response for create_network : {'network': {'id': '700ef409-4f40-49f2-85e1-d6ea305b1edf', 'name': 'ctest-vn-25126665', 'tenant_id': '660175312fed4c8482eb21a4f88fe280', 'project_id': '660175312fed4c8482eb21a4f88fe280', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22469684', 'ctest-vn-25126665'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 19:34:16,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '12c0dea4-76d2-44c1-8c13-ada323dda659', 'name': '', 'tenant_id': '660175312fed4c8482eb21a4f88fe280', 'network_id': '700ef409-4f40-49f2-85e1-d6ea305b1edf', 'ip_version': 4, 'cidr': '140.26.34.128/26', 'allocation_pools': [{'start': '140.26.34.130', 'end': '140.26.34.190'}], 'gateway_ip': '140.26.34.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.26.34.130', 'tags': [], 'project_id': '660175312fed4c8482eb21a4f88fe280'}} 2026-04-17 19:34:16,165 - INFO - Created VN ctest-vn-25126665 2026-04-17 19:34:16,217 - DEBUG - VN ctest-vn-25126665 UUID is 700ef409-4f40-49f2-85e1-d6ea305b1edf 2026-04-17 19:34:16,335 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22469684:ctest-vn-29034932, 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-22469684:ctest-vn-25126665, 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-04-17 19:34:16,621 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4542d646-5bb0-4653-a867-1f8e6531facd', 'name': 'ctest-vn-29034932', 'tenant_id': '660175312fed4c8482eb21a4f88fe280', 'project_id': '660175312fed4c8482eb21a4f88fe280', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9d6da51b-3dce-4775-a40c-67ea63898b83'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22469684', 'ctest-vn-29034932'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22469684', 'ctest-policy-allow-all-63908471']], 'subnet_ipam': [{'subnet_cidr': '44.107.88.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 19:34:16,849 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '700ef409-4f40-49f2-85e1-d6ea305b1edf', 'name': 'ctest-vn-25126665', 'tenant_id': '660175312fed4c8482eb21a4f88fe280', 'project_id': '660175312fed4c8482eb21a4f88fe280', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['12c0dea4-76d2-44c1-8c13-ada323dda659'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22469684', 'ctest-vn-25126665'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22469684', 'ctest-policy-allow-all-63908471']], 'subnet_ipam': [{'subnet_cidr': '140.26.34.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 19:34:17,021 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 19:34:17,316 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 19:34:17,348 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dbe9f8d5-dd2d-42e0-ab20-640162b0d859 2026-04-17 19:34:17,362 - DEBUG - Requesting: http://10.0.0.50:8082/project/66017531-2fed-4c84-82eb-21a4f88fe280 2026-04-17 19:34:17,430 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4542d646-5bb0-4653-a867-1f8e6531facd 2026-04-17 19:34:17,441 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4542d646-5bb0-4653-a867-1f8e6531facd 2026-04-17 19:34:17,450 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e38ab114-cab8-4721-9539-a38267a08e26 2026-04-17 19:34:17,457 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e38ab114-cab8-4721-9539-a38267a08e26 2026-04-17 19:34:17,463 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f669b62f-78c4-4a3e-831c-bbc5ed4013f3 2026-04-17 19:34:17,471 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 19:34:17,471 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4542d646-5bb0-4653-a867-1f8e6531facd 2026-04-17 19:34:17,480 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e38ab114-cab8-4721-9539-a38267a08e26 2026-04-17 19:34:17,495 - INFO - Verified VN network id 11 for VN 4542d646-5bb0-4653-a867-1f8e6531facd 2026-04-17 19:34:17,495 - INFO - Verifications in API Server for VN ctest-vn-29034932 passed 2026-04-17 19:34:17,495 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4542d646-5bb0-4653-a867-1f8e6531facd 2026-04-17 19:34:17,504 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e38ab114-cab8-4721-9539-a38267a08e26 2026-04-17 19:34:17,511 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e38ab114-cab8-4721-9539-a38267a08e26 2026-04-17 19:34:17,518 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f669b62f-78c4-4a3e-831c-bbc5ed4013f3 2026-04-17 19:34:17,533 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22469684:ctest-vn-29034932', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22469684', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4990786934754264659', 'uuid-lslong': '12134702417416682189'}, 'enable': 'true', 'created': '2026-04-17T19:34:15', 'last-modified': '2026-04-17T19:34:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927897'} 2026-04-17 19:34:17,539 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 19:34:17,539 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29034932 passed 2026-04-17 19:34:17,539 - DEBUG - ====Verifying policy data for ctest-vn-29034932 in API_Server ====== 2026-04-17 19:34:17,539 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 19:34:17,546 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dbe9f8d5-dd2d-42e0-ab20-640162b0d859 2026-04-17 19:34:17,560 - DEBUG - Requesting: http://10.0.0.50:8082/project/66017531-2fed-4c84-82eb-21a4f88fe280 2026-04-17 19:34:17,633 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4542d646-5bb0-4653-a867-1f8e6531facd 2026-04-17 19:34:17,643 - DEBUG - ==>Verifying data for policy with id: 6e3cb6fd-2675-4ee8-a3b9-baee7e65c352, fqn: ['default-domain', 'ctest-TestBasicPolicy-22469684', 'ctest-policy-allow-all-63908471'] 2026-04-17 19:34:17,643 - INFO - VN ctest-vn-29034932 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 19:34:17,643 - DEBUG - Verifying the vn in opserver 2026-04-17 19:34:17,643 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22469684:ctest-vn-29034932 virtual network link through opserver 10.0.0.50 2026-04-17 19:34:17,643 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-17 19:34:17,939 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-17 19:34:18,008 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22469684:ctest-vn-29034932', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22469684:ctest-vn-29034932?flat'} 2026-04-17 19:34:18,008 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22469684:ctest-vn-29034932 is found in opserver 2026-04-17 19:34:18,018 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 19:34:18,023 - DEBUG - VRF ids for VN ctest-vn-29034932: {} 2026-04-17 19:34:18,023 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 19:34:18,028 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dbe9f8d5-dd2d-42e0-ab20-640162b0d859 2026-04-17 19:34:18,039 - DEBUG - Requesting: http://10.0.0.50:8082/project/66017531-2fed-4c84-82eb-21a4f88fe280 2026-04-17 19:34:18,107 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/700ef409-4f40-49f2-85e1-d6ea305b1edf 2026-04-17 19:34:18,118 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/700ef409-4f40-49f2-85e1-d6ea305b1edf 2026-04-17 19:34:18,126 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae50e436-df02-46ea-8485-200c830555ad 2026-04-17 19:34:18,133 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae50e436-df02-46ea-8485-200c830555ad 2026-04-17 19:34:18,140 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3570ddca-7091-4d7c-88bc-03f82d460015 2026-04-17 19:34:18,146 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 19:34:18,146 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/700ef409-4f40-49f2-85e1-d6ea305b1edf 2026-04-17 19:34:18,155 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae50e436-df02-46ea-8485-200c830555ad 2026-04-17 19:34:18,169 - INFO - Verified VN network id 12 for VN 700ef409-4f40-49f2-85e1-d6ea305b1edf 2026-04-17 19:34:18,169 - INFO - Verifications in API Server for VN ctest-vn-25126665 passed 2026-04-17 19:34:18,169 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/700ef409-4f40-49f2-85e1-d6ea305b1edf 2026-04-17 19:34:18,179 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae50e436-df02-46ea-8485-200c830555ad 2026-04-17 19:34:18,186 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae50e436-df02-46ea-8485-200c830555ad 2026-04-17 19:34:18,192 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3570ddca-7091-4d7c-88bc-03f82d460015 2026-04-17 19:34:18,204 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22469684:ctest-vn-25126665', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22469684', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8074659502743374322', 'uuid-lslong': '9647228178126282463'}, 'enable': 'true', 'created': '2026-04-17T19:34:15', 'last-modified': '2026-04-17T19:34:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.370623'} 2026-04-17 19:34:18,210 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 19:34:18,210 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25126665 passed 2026-04-17 19:34:18,211 - DEBUG - ====Verifying policy data for ctest-vn-25126665 in API_Server ====== 2026-04-17 19:34:18,211 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 19:34:18,216 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dbe9f8d5-dd2d-42e0-ab20-640162b0d859 2026-04-17 19:34:18,227 - DEBUG - Requesting: http://10.0.0.50:8082/project/66017531-2fed-4c84-82eb-21a4f88fe280 2026-04-17 19:34:18,297 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/700ef409-4f40-49f2-85e1-d6ea305b1edf 2026-04-17 19:34:18,306 - DEBUG - ==>Verifying data for policy with id: 6e3cb6fd-2675-4ee8-a3b9-baee7e65c352, fqn: ['default-domain', 'ctest-TestBasicPolicy-22469684', 'ctest-policy-allow-all-63908471'] 2026-04-17 19:34:18,306 - INFO - VN ctest-vn-25126665 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 19:34:18,306 - DEBUG - Verifying the vn in opserver 2026-04-17 19:34:18,306 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22469684:ctest-vn-25126665 virtual network link through opserver 10.0.0.50 2026-04-17 19:34:18,306 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-17 19:34:18,316 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22469684:ctest-vn-25126665', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22469684:ctest-vn-25126665?flat'} 2026-04-17 19:34:18,316 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22469684:ctest-vn-25126665 is found in opserver 2026-04-17 19:34:18,327 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 19:34:18,331 - DEBUG - VRF ids for VN ctest-vn-25126665: {} 2026-04-17 19:34:18,391 - DEBUG - Services list from nova: [, , ] 2026-04-17 19:34:19,416 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5639-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5639-1) 2026-04-17 19:34:20,582 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5639-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5639-1) 2026-04-17 19:34:20,582 - INFO - Waiting for VM ctest-TestBasicPolicy-22469684-66529518 to be up.. 2026-04-17 19:34:20,671 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-17 19:34:25,749 - DEBUG - VM is in ACTIVE state now 2026-04-17 19:34:25,749 - INFO - VM name : ctest-TestBasicPolicy-22469684-66529518 2026-04-17 19:34:25,826 - DEBUG - VM ctest-TestBasicPolicy-22469684-66529518 ID is 660e3ad4-6d34-4e6f-bb23-8ee5e3c586f6 2026-04-17 19:34:25,845 - DEBUG - VM ctest-TestBasicPolicy-22469684-66529518 launched on Node cn-jenkins-deploy-platform-ansible-os-5639-1 2026-04-17 19:34:25,923 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/660e3ad4-6d34-4e6f-bb23-8ee5e3c586f6 2026-04-17 19:34:25,931 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9b58673e-e721-430d-9b08-406dd294be29 2026-04-17 19:34:29,181 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-04-17 19:34:29,181 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22469684-66529518 failed! 2026-04-17 19:34:29,241 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22469684:ctest-vn-29034932 is 44.107.88.129 and allocation pool is NOT set 2026-04-17 19:34:31,302 - 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=6.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.463 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.463/3.311/6.160/2.848 ms') 2026-04-17 19:34:31,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22469684-66529518 passed 2026-04-17 19:34:31,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:34:31,453 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22469684-66529518, IP 44.107.88.131, Port 22 2026-04-17 19:34:31,608 - DEBUG - VM ctest-TestBasicPolicy-22469684-66529518 is ready for SSH connections 2026-04-17 19:34:31,608 - INFO - Waiting for VM ctest-TestBasicPolicy-22469684-71523424 to be up.. 2026-04-17 19:34:31,687 - DEBUG - VM is in ACTIVE state now 2026-04-17 19:34:31,688 - INFO - VM name : ctest-TestBasicPolicy-22469684-71523424 2026-04-17 19:34:31,764 - DEBUG - VM ctest-TestBasicPolicy-22469684-71523424 ID is 4ed99437-f86a-40c5-93a4-e8cfb4bd82a3 2026-04-17 19:34:31,764 - DEBUG - VM ctest-TestBasicPolicy-22469684-71523424 launched on Node cn-jenkins-deploy-platform-ansible-os-5639-1 2026-04-17 19:34:31,841 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4ed99437-f86a-40c5-93a4-e8cfb4bd82a3 2026-04-17 19:34:31,850 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d3a47620-2d5a-4189-97bb-c8f531ccefcb 2026-04-17 19:34:33,088 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.830 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.830/1.954/3.079/1.124 ms') 2026-04-17 19:34:33,088 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22469684-71523424 passed 2026-04-17 19:34:33,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:34:33,241 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22469684-71523424, IP 140.26.34.131, Port 22 2026-04-17 19:34:33,397 - DEBUG - VM ctest-TestBasicPolicy-22469684-71523424 is ready for SSH connections 2026-04-17 19:34:33,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:34:33,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.26.34.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-17 19:34:33,397 - DEBUG - ping -s 56 -c 3 -W 1 140.26.34.131 2026-04-17 19:34:37,456 - DEBUG - PING 140.26.34.131 (140.26.34.131): 56 data bytes 64 bytes from 140.26.34.131: seq=0 ttl=63 time=3.770 ms 64 bytes from 140.26.34.131: seq=1 ttl=63 time=1.074 ms 64 bytes from 140.26.34.131: seq=2 ttl=63 time=0.810 ms --- 140.26.34.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/1.884/3.770 ms 2026-04-17 19:34:37,456 - INFO - Ping to IP 140.26.34.131 from VM ctest-TestBasicPolicy-22469684-66529518 passed 2026-04-17 19:34:37,641 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6e3cb6fd-2675-4ee8-a3b9-baee7e65c352", "href": "http://10.0.0.50:8082/network-policy/6e3cb6fd-2675-4ee8-a3b9-baee7e65c352"}} 2026-04-17 19:34:37,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 19:34:37,641 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.26.34.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-17 19:34:37,641 - DEBUG - ping -s 56 -c 3 -W 1 140.26.34.131 2026-04-17 19:34:40,865 - DEBUG - PING 140.26.34.131 (140.26.34.131): 56 data bytes --- 140.26.34.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-17 19:34:40,865 - WARNING - Ping to IP 140.26.34.131 from VM ctest-TestBasicPolicy-22469684-66529518 failed 2026-04-17 19:34:40,865 - INFO - Deleting VM ctest-TestBasicPolicy-22469684-71523424 2026-04-17 19:34:40,948 - INFO - Deleting VM ctest-TestBasicPolicy-22469684-66529518 2026-04-17 19:34:41,322 - INFO - Deleted policy ctest-policy-allow-all-63908471 2026-04-17 19:34:41,322 - INFO - Deleting VN ctest-vn-25126665 2026-04-17 19:34:41,378 - DEBUG - VN 700ef409-4f40-49f2-85e1-d6ea305b1edf still in use: Unable to complete operation on network 700ef409-4f40-49f2-85e1-d6ea305b1edf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5d05ffc3-ca52-49ab-8379-a529d76aa1d4'] 2026-04-17 19:34:41,378 - WARNING - Deleting VN ctest-vn-25126665 failed..Will retry 2026-04-17 19:34:43,479 - DEBUG - Response for deleting network () 2026-04-17 19:34:43,479 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae50e436-df02-46ea-8485-200c830555ad 2026-04-17 19:34:43,484 - DEBUG - Response Code: 404 2026-04-17 19:34:43,484 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 19:34:43,491 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dbe9f8d5-dd2d-42e0-ab20-640162b0d859 2026-04-17 19:34:43,546 - DEBUG - Requesting: http://10.0.0.50:8082/project/66017531-2fed-4c84-82eb-21a4f88fe280 2026-04-17 19:34:43,612 - INFO - Validated that VN ctest-vn-25126665 is not found in API Server 2026-04-17 19:34:43,621 - DEBUG - VN ctest-vn-25126665 is not present in Agent 10.0.0.50 2026-04-17 19:34:43,621 - INFO - Validated that VN ctest-vn-25126665 is not in any agent 2026-04-17 19:34:43,634 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25126665 info 2026-04-17 19:34:43,634 - INFO - Deleting VN ctest-vn-29034932 2026-04-17 19:34:43,742 - DEBUG - Response for deleting network () 2026-04-17 19:34:43,742 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e38ab114-cab8-4721-9539-a38267a08e26 2026-04-17 19:34:43,750 - DEBUG - Response Code: 404 2026-04-17 19:34:43,750 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 19:34:43,756 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dbe9f8d5-dd2d-42e0-ab20-640162b0d859 2026-04-17 19:34:43,811 - DEBUG - Requesting: http://10.0.0.50:8082/project/66017531-2fed-4c84-82eb-21a4f88fe280 2026-04-17 19:34:43,885 - INFO - Validated that VN ctest-vn-29034932 is not found in API Server 2026-04-17 19:34:43,893 - DEBUG - VN ctest-vn-29034932 is not present in Agent 10.0.0.50 2026-04-17 19:34:43,894 - INFO - Validated that VN ctest-vn-29034932 is not in any agent 2026-04-17 19:34:43,907 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29034932 info 2026-04-17 19:34:44,163 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 19:34:44,163 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-04-17 19:34:44,163 - INFO - -------------------------------------------------------------------------------- 2026-04-17 19:34:44,840 - INFO - Deleted project: ctest-TestBasicPolicy-22469684, ID : 66017531-2fed-4c84-82eb-21a4f88fe280