2026-10-26 14:19:38,094 - INFO - Domain Default found not creating 2026-10-26 14:19:38,347 - INFO - Project ctest-TestBasicPolicy-96147058 not found, creating it 2026-10-26 14:19:38,907 - INFO - Created Project:ctest-TestBasicPolicy-96147058, ID : e9398a89-5604-4a0d-8bcd-5733e4670e01 2026-10-26 14:19:41,277 - INFO - ================================================================================ 2026-10-26 14:19:41,277 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-26 14:19:41,278 - 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-10-26 14:19:41,560 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.254': '0'}} with 2026-10-26 14:19:41,560 - INFO - Initial checks done. Running the testcase now 2026-10-26 14:19:41,560 - INFO - 2026-10-26 14:19:42,331 - DEBUG - Response for create_network : {'network': {'id': '0b370cd6-8983-4bb7-9fd5-828623f259e6', 'name': 'ctest-vn-30126334', 'tenant_id': 'e9398a8956044a0d8bcd5733e4670e01', 'project_id': 'e9398a8956044a0d8bcd5733e4670e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-vn-30126334'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 14:19:42,595 - DEBUG - Response for create_subnet : {'subnet': {'id': '57340630-3eeb-4a08-8cd4-05a3342b9ef0', 'name': '', 'tenant_id': 'e9398a8956044a0d8bcd5733e4670e01', 'network_id': '0b370cd6-8983-4bb7-9fd5-828623f259e6', 'ip_version': 4, 'cidr': '168.54.227.192/26', 'allocation_pools': [{'start': '168.54.227.194', 'end': '168.54.227.254'}], 'gateway_ip': '168.54.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.54.227.194', 'tags': [], 'project_id': 'e9398a8956044a0d8bcd5733e4670e01'}} 2026-10-26 14:19:42,622 - INFO - Created VN ctest-vn-30126334 2026-10-26 14:19:42,682 - DEBUG - VN ctest-vn-30126334 UUID is 0b370cd6-8983-4bb7-9fd5-828623f259e6 2026-10-26 14:19:43,057 - DEBUG - Response for create_network : {'network': {'id': '5e223703-a839-4004-9f5c-c67eabf3edac', 'name': 'ctest-vn-56454682', 'tenant_id': 'e9398a8956044a0d8bcd5733e4670e01', 'project_id': 'e9398a8956044a0d8bcd5733e4670e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-vn-56454682'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 14:19:43,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a621516-083b-4aaf-9657-1ea631cb2bf3', 'name': '', 'tenant_id': 'e9398a8956044a0d8bcd5733e4670e01', 'network_id': '5e223703-a839-4004-9f5c-c67eabf3edac', 'ip_version': 4, 'cidr': '58.218.93.0/26', 'allocation_pools': [{'start': '58.218.93.2', 'end': '58.218.93.62'}], 'gateway_ip': '58.218.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.218.93.2', 'tags': [], 'project_id': 'e9398a8956044a0d8bcd5733e4670e01'}} 2026-10-26 14:19:43,363 - INFO - Created VN ctest-vn-56454682 2026-10-26 14:19:43,421 - DEBUG - VN ctest-vn-56454682 UUID is 5e223703-a839-4004-9f5c-c67eabf3edac 2026-10-26 14:19:43,554 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334, 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-96147058:ctest-vn-56454682, 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-10-26 14:19:43,899 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b370cd6-8983-4bb7-9fd5-828623f259e6', 'name': 'ctest-vn-30126334', 'tenant_id': 'e9398a8956044a0d8bcd5733e4670e01', 'project_id': 'e9398a8956044a0d8bcd5733e4670e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['57340630-3eeb-4a08-8cd4-05a3342b9ef0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-vn-30126334'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-policy-allow-all-95239294']], 'subnet_ipam': [{'subnet_cidr': '168.54.227.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 14:19:44,123 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5e223703-a839-4004-9f5c-c67eabf3edac', 'name': 'ctest-vn-56454682', 'tenant_id': 'e9398a8956044a0d8bcd5733e4670e01', 'project_id': 'e9398a8956044a0d8bcd5733e4670e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9a621516-083b-4aaf-9657-1ea631cb2bf3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-vn-56454682'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-policy-allow-all-95239294']], 'subnet_ipam': [{'subnet_cidr': '58.218.93.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 14:19:44,302 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-10-26 14:19:44,693 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-10-26 14:19:44,732 - DEBUG - Requesting: http://10.0.0.188:8082/domain/d2a16bec-094c-4a1a-82ae-c0bee6d48db8 2026-10-26 14:19:44,751 - DEBUG - Requesting: http://10.0.0.188:8082/project/e9398a89-5604-4a0d-8bcd-5733e4670e01 2026-10-26 14:19:44,831 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/0b370cd6-8983-4bb7-9fd5-828623f259e6 2026-10-26 14:19:44,848 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/0b370cd6-8983-4bb7-9fd5-828623f259e6 2026-10-26 14:19:44,861 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/53716b64-5c50-42e6-894c-0b04723ed082 2026-10-26 14:19:44,871 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/53716b64-5c50-42e6-894c-0b04723ed082 2026-10-26 14:19:44,880 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/bf26dc66-7ade-4171-9f8c-c7dbf75cde90 2026-10-26 14:19:44,890 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 14:19:44,890 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/0b370cd6-8983-4bb7-9fd5-828623f259e6 2026-10-26 14:19:44,901 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/53716b64-5c50-42e6-894c-0b04723ed082 2026-10-26 14:19:44,919 - INFO - Verified VN network id 12 for VN 0b370cd6-8983-4bb7-9fd5-828623f259e6 2026-10-26 14:19:44,919 - INFO - Verifications in API Server for VN ctest-vn-30126334 passed 2026-10-26 14:19:44,919 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/0b370cd6-8983-4bb7-9fd5-828623f259e6 2026-10-26 14:19:44,931 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/53716b64-5c50-42e6-894c-0b04723ed082 2026-10-26 14:19:44,940 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/53716b64-5c50-42e6-894c-0b04723ed082 2026-10-26 14:19:44,950 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/bf26dc66-7ade-4171-9f8c-c7dbf75cde90 2026-10-26 14:19:44,966 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96147058', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '808128773705911223', 'uuid-lslong': '11517255134710225382'}, 'enable': 'true', 'created': '2026-10-26T14:19:42', 'last-modified': '2026-10-26T14:19:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.099202'} 2026-10-26 14:19:44,974 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 14:19:44,974 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30126334 passed 2026-10-26 14:19:44,974 - DEBUG - ====Verifying policy data for ctest-vn-30126334 in API_Server ====== 2026-10-26 14:19:44,975 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-10-26 14:19:44,981 - DEBUG - Requesting: http://10.0.0.188:8082/domain/d2a16bec-094c-4a1a-82ae-c0bee6d48db8 2026-10-26 14:19:44,996 - DEBUG - Requesting: http://10.0.0.188:8082/project/e9398a89-5604-4a0d-8bcd-5733e4670e01 2026-10-26 14:19:45,079 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/0b370cd6-8983-4bb7-9fd5-828623f259e6 2026-10-26 14:19:45,093 - DEBUG - ==>Verifying data for policy with id: 823af96f-401f-4a9a-9863-6fd80a2d49ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-policy-allow-all-95239294'] 2026-10-26 14:19:45,093 - INFO - VN ctest-vn-30126334 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 14:19:45,093 - DEBUG - Verifying the vn in opserver 2026-10-26 14:19:45,093 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334 virtual network link through opserver 10.0.0.188 2026-10-26 14:19:45,093 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-10-26 14:19:45,490 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-10-26 14:19:45,559 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334?flat'} 2026-10-26 14:19:45,559 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334 is found in opserver 2026-10-26 14:19:45,575 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 14:19:45,583 - DEBUG - VRF ids for VN ctest-vn-30126334: {} 2026-10-26 14:19:45,583 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-10-26 14:19:45,591 - DEBUG - Requesting: http://10.0.0.188:8082/domain/d2a16bec-094c-4a1a-82ae-c0bee6d48db8 2026-10-26 14:19:45,606 - DEBUG - Requesting: http://10.0.0.188:8082/project/e9398a89-5604-4a0d-8bcd-5733e4670e01 2026-10-26 14:19:45,694 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/5e223703-a839-4004-9f5c-c67eabf3edac 2026-10-26 14:19:45,712 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/5e223703-a839-4004-9f5c-c67eabf3edac 2026-10-26 14:19:45,724 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/0cbc0f85-b191-4002-a19d-4f8f7951a887 2026-10-26 14:19:45,733 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/0cbc0f85-b191-4002-a19d-4f8f7951a887 2026-10-26 14:19:45,744 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/693c0492-f95d-4a4b-a811-14fbc5b0eebe 2026-10-26 14:19:45,755 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 14:19:45,755 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/5e223703-a839-4004-9f5c-c67eabf3edac 2026-10-26 14:19:45,769 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/0cbc0f85-b191-4002-a19d-4f8f7951a887 2026-10-26 14:19:45,791 - INFO - Verified VN network id 13 for VN 5e223703-a839-4004-9f5c-c67eabf3edac 2026-10-26 14:19:45,791 - INFO - Verifications in API Server for VN ctest-vn-56454682 passed 2026-10-26 14:19:45,791 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/5e223703-a839-4004-9f5c-c67eabf3edac 2026-10-26 14:19:45,806 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/0cbc0f85-b191-4002-a19d-4f8f7951a887 2026-10-26 14:19:45,816 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/0cbc0f85-b191-4002-a19d-4f8f7951a887 2026-10-26 14:19:45,825 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/693c0492-f95d-4a4b-a811-14fbc5b0eebe 2026-10-26 14:19:45,843 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-56454682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96147058', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6783044477620142084', 'uuid-lslong': '11483271397240991148'}, 'enable': 'true', 'created': '2026-10-26T14:19:43', 'last-modified': '2026-10-26T14:19:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.752864'} 2026-10-26 14:19:45,853 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 14:19:45,854 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56454682 passed 2026-10-26 14:19:45,854 - DEBUG - ====Verifying policy data for ctest-vn-56454682 in API_Server ====== 2026-10-26 14:19:45,854 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-10-26 14:19:45,862 - DEBUG - Requesting: http://10.0.0.188:8082/domain/d2a16bec-094c-4a1a-82ae-c0bee6d48db8 2026-10-26 14:19:45,878 - DEBUG - Requesting: http://10.0.0.188:8082/project/e9398a89-5604-4a0d-8bcd-5733e4670e01 2026-10-26 14:19:45,972 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/5e223703-a839-4004-9f5c-c67eabf3edac 2026-10-26 14:19:45,986 - DEBUG - ==>Verifying data for policy with id: 823af96f-401f-4a9a-9863-6fd80a2d49ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-policy-allow-all-95239294'] 2026-10-26 14:19:45,986 - INFO - VN ctest-vn-56454682 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 14:19:45,986 - DEBUG - Verifying the vn in opserver 2026-10-26 14:19:45,986 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-56454682 virtual network link through opserver 10.0.0.188 2026-10-26 14:19:45,986 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-10-26 14:19:46,000 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-56454682', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-56454682?flat'} 2026-10-26 14:19:46,000 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-56454682 is found in opserver 2026-10-26 14:19:46,013 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 14:19:46,021 - DEBUG - VRF ids for VN ctest-vn-56454682: {} 2026-10-26 14:19:46,094 - DEBUG - Services list from nova: [, , ] 2026-10-26 14:19:46,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6411-1) 2026-10-26 14:19:47,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6411-1) 2026-10-26 14:19:47,075 - INFO - Waiting for VM ctest-TestBasicPolicy-96147058-72276817 to be up.. 2026-10-26 14:19:47,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:19:52,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:19:57,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:20:02,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:20:07,540 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:20:12,636 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:20:17,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:20:22,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:20:28,048 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:20:33,180 - DEBUG - VM is in ACTIVE state now 2026-10-26 14:20:33,180 - INFO - VM name : ctest-TestBasicPolicy-96147058-72276817 2026-10-26 14:20:33,348 - DEBUG - VM ctest-TestBasicPolicy-96147058-72276817 ID is 0ff2bf46-0ebc-4343-977c-a3b5f423b7e5 2026-10-26 14:20:33,378 - DEBUG - VM ctest-TestBasicPolicy-96147058-72276817 launched on Node cn-jenkins-deploy-platform-ansible-os-6411-1 2026-10-26 14:20:33,576 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/0ff2bf46-0ebc-4343-977c-a3b5f423b7e5 2026-10-26 14:20:33,592 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/641e6b35-48b3-474b-8e9b-00225b349b76 2026-10-26 14:20:36,957 - 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-10-26 14:20:36,957 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96147058-72276817 failed! 2026-10-26 14:20:37,018 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334 is 168.54.227.193 and allocation pool is NOT set 2026-10-26 14:20:39,096 - 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=7.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.78 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.783/4.454/7.126/2.671 ms') 2026-10-26 14:20:39,096 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96147058-72276817 passed 2026-10-26 14:20:39,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 14:20:39,258 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96147058-72276817, IP 168.54.227.195, Port 22 2026-10-26 14:20:39,328 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-26 14:20:39,441 - DEBUG - VM ctest-TestBasicPolicy-96147058-72276817 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-26 14:20:44,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 14:20:44,442 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96147058-72276817, IP 168.54.227.195, Port 22 2026-10-26 14:20:44,621 - DEBUG - VM ctest-TestBasicPolicy-96147058-72276817 is ready for SSH connections 2026-10-26 14:20:44,621 - INFO - Waiting for VM ctest-TestBasicPolicy-96147058-27097382 to be up.. 2026-10-26 14:20:44,738 - DEBUG - VM is in ACTIVE state now 2026-10-26 14:20:44,739 - INFO - VM name : ctest-TestBasicPolicy-96147058-27097382 2026-10-26 14:20:44,863 - DEBUG - VM ctest-TestBasicPolicy-96147058-27097382 ID is 003e0daa-567a-4f90-9ff2-3e78e8f0c31d 2026-10-26 14:20:44,863 - DEBUG - VM ctest-TestBasicPolicy-96147058-27097382 launched on Node cn-jenkins-deploy-platform-ansible-os-6411-1 2026-10-26 14:20:44,980 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/003e0daa-567a-4f90-9ff2-3e78e8f0c31d 2026-10-26 14:20:44,994 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/074108fc-799c-441c-be83-7b476dbc265c 2026-10-26 14:20:46,302 - 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=6.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.27 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 = 1.272/3.907/6.542/2.635 ms') 2026-10-26 14:20:46,302 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96147058-27097382 passed 2026-10-26 14:20:46,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 14:20:46,466 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96147058-27097382, IP 58.218.93.3, Port 22 2026-10-26 14:20:46,641 - DEBUG - VM ctest-TestBasicPolicy-96147058-27097382 is ready for SSH connections 2026-10-26 14:20:46,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 14:20:46,641 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.218.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-10-26 14:20:46,641 - DEBUG - ping -s 56 -c 3 -W 1 58.218.93.3 2026-10-26 14:20:51,097 - DEBUG - PING 58.218.93.3 (58.218.93.3): 56 data bytes 64 bytes from 58.218.93.3: seq=0 ttl=63 time=6.475 ms 64 bytes from 58.218.93.3: seq=1 ttl=63 time=1.161 ms 64 bytes from 58.218.93.3: seq=2 ttl=63 time=3.104 ms --- 58.218.93.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.161/3.580/6.475 ms 2026-10-26 14:20:51,097 - INFO - Ping to IP 58.218.93.3 from VM ctest-TestBasicPolicy-96147058-72276817 passed 2026-10-26 14:20:51,345 - DEBUG - Policy Update Response {"network-policy": {"uuid": "823af96f-401f-4a9a-9863-6fd80a2d49ff", "href": "http://10.0.0.188:8082/network-policy/823af96f-401f-4a9a-9863-6fd80a2d49ff"}} 2026-10-26 14:20:51,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 14:20:51,346 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.218.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-10-26 14:20:51,346 - DEBUG - ping -s 56 -c 3 -W 1 58.218.93.3 2026-10-26 14:20:54,551 - DEBUG - PING 58.218.93.3 (58.218.93.3): 56 data bytes 64 bytes from 58.218.93.3: seq=0 ttl=63 time=2.028 ms --- 58.218.93.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.028/2.028/2.028 ms 2026-10-26 14:20:54,551 - WARNING - Ping to IP 58.218.93.3 from VM ctest-TestBasicPolicy-96147058-72276817 failed 2026-10-26 14:20:54,551 - INFO - Deleting VM ctest-TestBasicPolicy-96147058-27097382 2026-10-26 14:20:54,662 - INFO - Deleting VM ctest-TestBasicPolicy-96147058-72276817 2026-10-26 14:20:55,285 - INFO - Deleted policy ctest-policy-allow-all-95239294 2026-10-26 14:20:55,286 - INFO - Deleting VN ctest-vn-56454682 2026-10-26 14:20:55,342 - DEBUG - VN 5e223703-a839-4004-9f5c-c67eabf3edac still in use: Unable to complete operation on network 5e223703-a839-4004-9f5c-c67eabf3edac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-64ff6aed-9433-4bc1-ac55-f12693626e33'] 2026-10-26 14:20:55,343 - WARNING - Deleting VN ctest-vn-56454682 failed..Will retry 2026-10-26 14:20:57,403 - DEBUG - VN 5e223703-a839-4004-9f5c-c67eabf3edac still in use: Unable to complete operation on network 5e223703-a839-4004-9f5c-c67eabf3edac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e632474-d115-4e6d-8976-cb7bf095f651'] 2026-10-26 14:20:57,403 - WARNING - Deleting VN ctest-vn-56454682 failed..Will retry 2026-10-26 14:20:59,553 - DEBUG - Response for deleting network () 2026-10-26 14:20:59,554 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/0cbc0f85-b191-4002-a19d-4f8f7951a887 2026-10-26 14:20:59,564 - DEBUG - Response Code: 404 2026-10-26 14:20:59,564 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-10-26 14:20:59,571 - DEBUG - Requesting: http://10.0.0.188:8082/domain/d2a16bec-094c-4a1a-82ae-c0bee6d48db8 2026-10-26 14:20:59,630 - DEBUG - Requesting: http://10.0.0.188:8082/project/e9398a89-5604-4a0d-8bcd-5733e4670e01 2026-10-26 14:20:59,720 - INFO - Validated that VN ctest-vn-56454682 is not found in API Server 2026-10-26 14:20:59,735 - DEBUG - VN ctest-vn-56454682 is not present in Agent 10.0.0.188 2026-10-26 14:20:59,735 - INFO - Validated that VN ctest-vn-56454682 is not in any agent 2026-10-26 14:20:59,755 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56454682 info 2026-10-26 14:20:59,756 - INFO - Deleting VN ctest-vn-30126334 2026-10-26 14:20:59,893 - DEBUG - Response for deleting network () 2026-10-26 14:20:59,894 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/53716b64-5c50-42e6-894c-0b04723ed082 2026-10-26 14:20:59,904 - DEBUG - Response Code: 404 2026-10-26 14:20:59,904 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-10-26 14:20:59,911 - DEBUG - Requesting: http://10.0.0.188:8082/domain/d2a16bec-094c-4a1a-82ae-c0bee6d48db8 2026-10-26 14:20:59,967 - DEBUG - Requesting: http://10.0.0.188:8082/project/e9398a89-5604-4a0d-8bcd-5733e4670e01 2026-10-26 14:21:00,058 - INFO - Validated that VN ctest-vn-30126334 is not found in API Server 2026-10-26 14:21:00,072 - DEBUG - VN ctest-vn-30126334 is not present in Agent 10.0.0.188 2026-10-26 14:21:00,072 - INFO - Validated that VN ctest-vn-30126334 is not in any agent 2026-10-26 14:21:00,099 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30126334 info 2026-10-26 14:21:00,379 - DEBUG - No XMPP flaps were noticed during the test 2026-10-26 14:21:00,379 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:19] 2026-10-26 14:21:00,379 - INFO - -------------------------------------------------------------------------------- 2026-10-26 14:21:01,231 - INFO - Deleted project: ctest-TestBasicPolicy-96147058, ID : e9398a89-5604-4a0d-8bcd-5733e4670e01