2026-08-27 17:10:44,021 - INFO - Domain Default found not creating 2026-08-27 17:10:44,248 - INFO - Project ctest-TestBasicPolicy-82334818 not found, creating it 2026-08-27 17:10:44,824 - INFO - Created Project:ctest-TestBasicPolicy-82334818, ID : 504c8f09-2617-4bdc-a79a-bd872e17daa2 2026-08-27 17:10:46,780 - INFO - ================================================================================ 2026-08-27 17:10:46,781 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-27 17:10:46,781 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-08-27 17:10:47,059 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-08-27 17:10:47,059 - INFO - Initial checks done. Running the testcase now 2026-08-27 17:10:47,059 - INFO - 2026-08-27 17:10:47,833 - DEBUG - Response for create_network : {'network': {'id': '10aea351-4685-4cd3-ae39-660ecdba8870', 'name': 'ctest-vn-48324090', 'tenant_id': '504c8f0926174bdca79abd872e17daa2', 'project_id': '504c8f0926174bdca79abd872e17daa2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82334818', 'ctest-vn-48324090'], 'port_security_enabled': True, 'description': ''}} 2026-08-27 17:10:48,020 - DEBUG - Response for create_subnet : {'subnet': {'id': '95f25d7c-27e1-43cf-920c-3f173452b6ba', 'name': '', 'tenant_id': '504c8f0926174bdca79abd872e17daa2', 'network_id': '10aea351-4685-4cd3-ae39-660ecdba8870', 'ip_version': 4, 'cidr': '118.135.161.128/26', 'allocation_pools': [{'start': '118.135.161.130', 'end': '118.135.161.190'}], 'gateway_ip': '118.135.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.135.161.130', 'tags': [], 'project_id': '504c8f0926174bdca79abd872e17daa2'}} 2026-08-27 17:10:48,043 - INFO - Created VN ctest-vn-48324090 2026-08-27 17:10:48,104 - DEBUG - VN ctest-vn-48324090 UUID is 10aea351-4685-4cd3-ae39-660ecdba8870 2026-08-27 17:10:48,498 - DEBUG - Response for create_network : {'network': {'id': '66e7add5-9a77-4242-b060-5d4060d8757d', 'name': 'ctest-vn-80500575', 'tenant_id': '504c8f0926174bdca79abd872e17daa2', 'project_id': '504c8f0926174bdca79abd872e17daa2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82334818', 'ctest-vn-80500575'], 'port_security_enabled': True, 'description': ''}} 2026-08-27 17:10:48,704 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5751ccb-4d3e-45e5-b07a-93a975cd4835', 'name': '', 'tenant_id': '504c8f0926174bdca79abd872e17daa2', 'network_id': '66e7add5-9a77-4242-b060-5d4060d8757d', 'ip_version': 4, 'cidr': '182.39.95.64/26', 'allocation_pools': [{'start': '182.39.95.66', 'end': '182.39.95.126'}], 'gateway_ip': '182.39.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.39.95.66', 'tags': [], 'project_id': '504c8f0926174bdca79abd872e17daa2'}} 2026-08-27 17:10:48,727 - INFO - Created VN ctest-vn-80500575 2026-08-27 17:10:48,783 - DEBUG - VN ctest-vn-80500575 UUID is 66e7add5-9a77-4242-b060-5d4060d8757d 2026-08-27 17:10:48,924 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82334818:ctest-vn-48324090, 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-82334818:ctest-vn-80500575, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-08-27 17:10:49,315 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '10aea351-4685-4cd3-ae39-660ecdba8870', 'name': 'ctest-vn-48324090', 'tenant_id': '504c8f0926174bdca79abd872e17daa2', 'project_id': '504c8f0926174bdca79abd872e17daa2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['95f25d7c-27e1-43cf-920c-3f173452b6ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82334818', 'ctest-vn-48324090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82334818', 'ctest-policy-allow-all-82866463']], 'subnet_ipam': [{'subnet_cidr': '118.135.161.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-27 17:10:49,595 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '66e7add5-9a77-4242-b060-5d4060d8757d', 'name': 'ctest-vn-80500575', 'tenant_id': '504c8f0926174bdca79abd872e17daa2', 'project_id': '504c8f0926174bdca79abd872e17daa2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e5751ccb-4d3e-45e5-b07a-93a975cd4835'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82334818', 'ctest-vn-80500575'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82334818', 'ctest-policy-allow-all-82866463']], 'subnet_ipam': [{'subnet_cidr': '182.39.95.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-27 17:10:49,775 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-27 17:10:50,151 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-27 17:10:50,189 - DEBUG - Requesting: http://10.0.0.50:8082/domain/67c37ac3-935d-421a-aee2-2be9b6245c80 2026-08-27 17:10:50,211 - DEBUG - Requesting: http://10.0.0.50:8082/project/504c8f09-2617-4bdc-a79a-bd872e17daa2 2026-08-27 17:10:50,313 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/10aea351-4685-4cd3-ae39-660ecdba8870 2026-08-27 17:10:50,333 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/10aea351-4685-4cd3-ae39-660ecdba8870 2026-08-27 17:10:50,348 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c2f0ab9-4039-4390-a0dd-98d0fb648fa6 2026-08-27 17:10:50,361 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c2f0ab9-4039-4390-a0dd-98d0fb648fa6 2026-08-27 17:10:50,372 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0e9fb53f-85e6-4681-b8ce-2a9e609333d4 2026-08-27 17:10:50,380 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-27 17:10:50,380 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/10aea351-4685-4cd3-ae39-660ecdba8870 2026-08-27 17:10:50,392 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c2f0ab9-4039-4390-a0dd-98d0fb648fa6 2026-08-27 17:10:50,408 - INFO - Verified VN network id 12 for VN 10aea351-4685-4cd3-ae39-660ecdba8870 2026-08-27 17:10:50,409 - INFO - Verifications in API Server for VN ctest-vn-48324090 passed 2026-08-27 17:10:50,409 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/10aea351-4685-4cd3-ae39-660ecdba8870 2026-08-27 17:10:50,419 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c2f0ab9-4039-4390-a0dd-98d0fb648fa6 2026-08-27 17:10:50,426 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c2f0ab9-4039-4390-a0dd-98d0fb648fa6 2026-08-27 17:10:50,432 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0e9fb53f-85e6-4681-b8ce-2a9e609333d4 2026-08-27 17:10:50,446 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82334818:ctest-vn-48324090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82334818', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1202077720025320659', 'uuid-lslong': '12554177650039097456'}, 'enable': 'true', 'created': '2026-08-27T17:10:47', 'last-modified': '2026-08-27T17:10:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.169915'} 2026-08-27 17:10:50,455 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-27 17:10:50,455 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48324090 passed 2026-08-27 17:10:50,455 - DEBUG - ====Verifying policy data for ctest-vn-48324090 in API_Server ====== 2026-08-27 17:10:50,455 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-27 17:10:50,462 - DEBUG - Requesting: http://10.0.0.50:8082/domain/67c37ac3-935d-421a-aee2-2be9b6245c80 2026-08-27 17:10:50,477 - DEBUG - Requesting: http://10.0.0.50:8082/project/504c8f09-2617-4bdc-a79a-bd872e17daa2 2026-08-27 17:10:50,567 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/10aea351-4685-4cd3-ae39-660ecdba8870 2026-08-27 17:10:50,580 - DEBUG - ==>Verifying data for policy with id: d831ad3a-3b05-49d4-9027-1b4c2b6c25e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-82334818', 'ctest-policy-allow-all-82866463'] 2026-08-27 17:10:50,580 - INFO - VN ctest-vn-48324090 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-27 17:10:50,580 - DEBUG - Verifying the vn in opserver 2026-08-27 17:10:50,580 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82334818:ctest-vn-48324090 virtual network link through opserver 10.0.0.50 2026-08-27 17:10:50,580 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-27 17:10:50,952 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-27 17:10:51,058 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82334818:ctest-vn-48324090', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82334818:ctest-vn-48324090?flat'} 2026-08-27 17:10:51,059 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82334818:ctest-vn-48324090 is found in opserver 2026-08-27 17:10:51,074 - DEBUG - Do not have enough data to verify VN in agent 2026-08-27 17:10:51,082 - DEBUG - VRF ids for VN ctest-vn-48324090: {} 2026-08-27 17:10:51,083 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-27 17:10:51,093 - DEBUG - Requesting: http://10.0.0.50:8082/domain/67c37ac3-935d-421a-aee2-2be9b6245c80 2026-08-27 17:10:51,112 - DEBUG - Requesting: http://10.0.0.50:8082/project/504c8f09-2617-4bdc-a79a-bd872e17daa2 2026-08-27 17:10:51,209 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/66e7add5-9a77-4242-b060-5d4060d8757d 2026-08-27 17:10:51,227 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/66e7add5-9a77-4242-b060-5d4060d8757d 2026-08-27 17:10:51,239 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/86200bba-6923-4f41-93c8-7b7dd3cf17b7 2026-08-27 17:10:51,249 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/86200bba-6923-4f41-93c8-7b7dd3cf17b7 2026-08-27 17:10:51,261 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1073f786-6a76-42eb-b3f1-1f20a3d88f4e 2026-08-27 17:10:51,273 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-27 17:10:51,273 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/66e7add5-9a77-4242-b060-5d4060d8757d 2026-08-27 17:10:51,291 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/86200bba-6923-4f41-93c8-7b7dd3cf17b7 2026-08-27 17:10:51,320 - INFO - Verified VN network id 13 for VN 66e7add5-9a77-4242-b060-5d4060d8757d 2026-08-27 17:10:51,321 - INFO - Verifications in API Server for VN ctest-vn-80500575 passed 2026-08-27 17:10:51,321 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/66e7add5-9a77-4242-b060-5d4060d8757d 2026-08-27 17:10:51,338 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/86200bba-6923-4f41-93c8-7b7dd3cf17b7 2026-08-27 17:10:51,350 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/86200bba-6923-4f41-93c8-7b7dd3cf17b7 2026-08-27 17:10:51,365 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1073f786-6a76-42eb-b3f1-1f20a3d88f4e 2026-08-27 17:10:51,386 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82334818:ctest-vn-80500575', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82334818', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7415086444419957314', 'uuid-lslong': '12709260679523628413'}, 'enable': 'true', 'created': '2026-08-27T17:10:48', 'last-modified': '2026-08-27T17:10:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.832874'} 2026-08-27 17:10:51,396 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-27 17:10:51,396 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80500575 passed 2026-08-27 17:10:51,396 - DEBUG - ====Verifying policy data for ctest-vn-80500575 in API_Server ====== 2026-08-27 17:10:51,396 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-27 17:10:51,406 - DEBUG - Requesting: http://10.0.0.50:8082/domain/67c37ac3-935d-421a-aee2-2be9b6245c80 2026-08-27 17:10:51,422 - DEBUG - Requesting: http://10.0.0.50:8082/project/504c8f09-2617-4bdc-a79a-bd872e17daa2 2026-08-27 17:10:51,520 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/66e7add5-9a77-4242-b060-5d4060d8757d 2026-08-27 17:10:51,535 - DEBUG - ==>Verifying data for policy with id: d831ad3a-3b05-49d4-9027-1b4c2b6c25e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-82334818', 'ctest-policy-allow-all-82866463'] 2026-08-27 17:10:51,535 - INFO - VN ctest-vn-80500575 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-27 17:10:51,535 - DEBUG - Verifying the vn in opserver 2026-08-27 17:10:51,535 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82334818:ctest-vn-80500575 virtual network link through opserver 10.0.0.50 2026-08-27 17:10:51,536 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-27 17:10:51,555 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82334818:ctest-vn-80500575', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82334818:ctest-vn-80500575?flat'} 2026-08-27 17:10:51,556 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82334818:ctest-vn-80500575 is found in opserver 2026-08-27 17:10:51,571 - DEBUG - Do not have enough data to verify VN in agent 2026-08-27 17:10:51,580 - DEBUG - VRF ids for VN ctest-vn-80500575: {} 2026-08-27 17:10:51,670 - DEBUG - Services list from nova: [, , ] 2026-08-27 17:10:52,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6234-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6234-1) 2026-08-27 17:10:53,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6234-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6234-1) 2026-08-27 17:10:53,049 - INFO - Waiting for VM ctest-TestBasicPolicy-82334818-60168616 to be up.. 2026-08-27 17:10:53,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 17:10:58,288 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 17:11:03,408 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 17:11:08,538 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 17:11:13,661 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 17:11:18,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 17:11:23,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 17:11:29,055 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 17:11:34,165 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 17:11:39,333 - DEBUG - VM is in ACTIVE state now 2026-08-27 17:11:39,334 - INFO - VM name : ctest-TestBasicPolicy-82334818-60168616 2026-08-27 17:11:39,492 - DEBUG - VM ctest-TestBasicPolicy-82334818-60168616 ID is 3c91946c-3b70-4678-8526-1294f05f7749 2026-08-27 17:11:39,523 - DEBUG - VM ctest-TestBasicPolicy-82334818-60168616 launched on Node cn-jenkins-deploy-platform-ansible-os-6234-1 2026-08-27 17:11:39,641 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3c91946c-3b70-4678-8526-1294f05f7749 2026-08-27 17:11:39,655 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bf707115-f8da-4d10-b519-3b242a365583 2026-08-27 17:11:42,962 - 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 1001ms') 2026-08-27 17:11:42,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82334818-60168616 failed! 2026-08-27 17:11:43,024 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82334818:ctest-vn-48324090 is 118.135.161.129 and allocation pool is NOT set 2026-08-27 17:11:47,114 - 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=2 ttl=63 time=8.06 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 8.059/8.059/8.059/0.000 ms') 2026-08-27 17:11:47,115 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82334818-60168616 passed 2026-08-27 17:11:47,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-27 17:11:47,284 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82334818-60168616, IP 118.135.161.131, Port 22 2026-08-27 17:11:47,354 - 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-08-27 17:11:47,489 - DEBUG - VM ctest-TestBasicPolicy-82334818-60168616 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-27 17:11:52,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-27 17:11:52,490 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82334818-60168616, IP 118.135.161.131, Port 22 2026-08-27 17:11:52,666 - DEBUG - VM ctest-TestBasicPolicy-82334818-60168616 is ready for SSH connections 2026-08-27 17:11:52,667 - INFO - Waiting for VM ctest-TestBasicPolicy-82334818-12941299 to be up.. 2026-08-27 17:11:52,817 - DEBUG - VM is in ACTIVE state now 2026-08-27 17:11:52,817 - INFO - VM name : ctest-TestBasicPolicy-82334818-12941299 2026-08-27 17:11:52,962 - DEBUG - VM ctest-TestBasicPolicy-82334818-12941299 ID is faac93dc-48be-4390-854b-4569654ea84f 2026-08-27 17:11:52,962 - DEBUG - VM ctest-TestBasicPolicy-82334818-12941299 launched on Node cn-jenkins-deploy-platform-ansible-os-6234-1 2026-08-27 17:11:53,094 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/faac93dc-48be-4390-854b-4569654ea84f 2026-08-27 17:11:53,109 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/360344aa-fb49-4663-8f03-7e6f276f2f6e 2026-08-27 17:11:54,398 - 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=5.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.976 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.976/3.199/5.422/2.223 ms') 2026-08-27 17:11:54,399 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82334818-12941299 passed 2026-08-27 17:11:54,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-27 17:11:54,564 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82334818-12941299, IP 182.39.95.67, Port 22 2026-08-27 17:11:54,742 - DEBUG - VM ctest-TestBasicPolicy-82334818-12941299 is ready for SSH connections 2026-08-27 17:11:54,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-27 17:11:54,743 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.39.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-27 17:11:54,743 - DEBUG - ping -s 56 -c 3 -W 1 182.39.95.67 2026-08-27 17:11:59,281 - DEBUG - PING 182.39.95.67 (182.39.95.67): 56 data bytes 64 bytes from 182.39.95.67: seq=0 ttl=63 time=6.137 ms 64 bytes from 182.39.95.67: seq=1 ttl=63 time=2.033 ms 64 bytes from 182.39.95.67: seq=2 ttl=63 time=1.750 ms --- 182.39.95.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.750/3.306/6.137 ms 2026-08-27 17:11:59,281 - INFO - Ping to IP 182.39.95.67 from VM ctest-TestBasicPolicy-82334818-60168616 passed 2026-08-27 17:11:59,495 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d831ad3a-3b05-49d4-9027-1b4c2b6c25e1", "href": "http://10.0.0.50:8082/network-policy/d831ad3a-3b05-49d4-9027-1b4c2b6c25e1"}} 2026-08-27 17:11:59,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-27 17:11:59,496 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.39.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-27 17:11:59,496 - DEBUG - ping -s 56 -c 3 -W 1 182.39.95.67 2026-08-27 17:12:02,672 - DEBUG - PING 182.39.95.67 (182.39.95.67): 56 data bytes 64 bytes from 182.39.95.67: seq=0 ttl=63 time=2.547 ms --- 182.39.95.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.547/2.547/2.547 ms 2026-08-27 17:12:02,672 - WARNING - Ping to IP 182.39.95.67 from VM ctest-TestBasicPolicy-82334818-60168616 failed 2026-08-27 17:12:02,672 - INFO - Deleting VM ctest-TestBasicPolicy-82334818-12941299 2026-08-27 17:12:02,804 - INFO - Deleting VM ctest-TestBasicPolicy-82334818-60168616 2026-08-27 17:12:03,479 - INFO - Deleted policy ctest-policy-allow-all-82866463 2026-08-27 17:12:03,479 - INFO - Deleting VN ctest-vn-80500575 2026-08-27 17:12:03,535 - DEBUG - VN 66e7add5-9a77-4242-b060-5d4060d8757d still in use: Unable to complete operation on network 66e7add5-9a77-4242-b060-5d4060d8757d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d83ac4c8-3d03-4413-a02f-c57ce75baef0'] 2026-08-27 17:12:03,536 - WARNING - Deleting VN ctest-vn-80500575 failed..Will retry 2026-08-27 17:12:05,770 - DEBUG - Response for deleting network () 2026-08-27 17:12:05,771 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/86200bba-6923-4f41-93c8-7b7dd3cf17b7 2026-08-27 17:12:05,784 - DEBUG - Response Code: 404 2026-08-27 17:12:05,785 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-27 17:12:05,795 - DEBUG - Requesting: http://10.0.0.50:8082/domain/67c37ac3-935d-421a-aee2-2be9b6245c80 2026-08-27 17:12:05,818 - DEBUG - Requesting: http://10.0.0.50:8082/project/504c8f09-2617-4bdc-a79a-bd872e17daa2 2026-08-27 17:12:05,933 - INFO - Validated that VN ctest-vn-80500575 is not found in API Server 2026-08-27 17:12:05,950 - DEBUG - VN ctest-vn-80500575 is not present in Agent 10.0.0.50 2026-08-27 17:12:05,950 - INFO - Validated that VN ctest-vn-80500575 is not in any agent 2026-08-27 17:12:05,977 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80500575 info 2026-08-27 17:12:05,977 - INFO - Deleting VN ctest-vn-48324090 2026-08-27 17:12:06,181 - DEBUG - Response for deleting network () 2026-08-27 17:12:06,181 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2c2f0ab9-4039-4390-a0dd-98d0fb648fa6 2026-08-27 17:12:06,192 - DEBUG - Response Code: 404 2026-08-27 17:12:06,192 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-27 17:12:06,205 - DEBUG - Requesting: http://10.0.0.50:8082/domain/67c37ac3-935d-421a-aee2-2be9b6245c80 2026-08-27 17:12:06,227 - DEBUG - Requesting: http://10.0.0.50:8082/project/504c8f09-2617-4bdc-a79a-bd872e17daa2 2026-08-27 17:12:06,320 - INFO - Validated that VN ctest-vn-48324090 is not found in API Server 2026-08-27 17:12:06,336 - DEBUG - VN ctest-vn-48324090 is not present in Agent 10.0.0.50 2026-08-27 17:12:06,336 - INFO - Validated that VN ctest-vn-48324090 is not in any agent 2026-08-27 17:12:06,359 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48324090 info 2026-08-27 17:12:06,645 - DEBUG - No XMPP flaps were noticed during the test 2026-08-27 17:12:06,645 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:20] 2026-08-27 17:12:06,645 - INFO - -------------------------------------------------------------------------------- 2026-08-27 17:12:07,612 - INFO - Deleted project: ctest-TestBasicPolicy-82334818, ID : 504c8f09-2617-4bdc-a79a-bd872e17daa2