2026-06-19 21:15:29,530 - INFO - Domain Default found not creating 2026-06-19 21:15:29,680 - INFO - Project ctest-TestBasicPolicy-74980197 not found, creating it 2026-06-19 21:15:30,247 - INFO - Created Project:ctest-TestBasicPolicy-74980197, ID : 03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8 2026-06-19 21:15:31,904 - INFO - ================================================================================ 2026-06-19 21:15:31,904 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-19 21:15:31,904 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-06-19 21:15:32,159 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-06-19 21:15:32,159 - INFO - Initial checks done. Running the testcase now 2026-06-19 21:15:32,159 - INFO - 2026-06-19 21:15:32,801 - DEBUG - Response for create_network : {'network': {'id': '0401821a-da9e-4244-b736-4f0cb18dd206', 'name': 'ctest-vn-48928794', 'tenant_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'project_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-vn-48928794'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 21:15:32,956 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7088d0e-4fd9-4c8e-8d1d-1a2185715b06', 'name': '', 'tenant_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'network_id': '0401821a-da9e-4244-b736-4f0cb18dd206', 'ip_version': 4, 'cidr': '108.217.192.192/26', 'allocation_pools': [{'start': '108.217.192.194', 'end': '108.217.192.254'}], 'gateway_ip': '108.217.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.217.192.194', 'tags': [], 'project_id': '03ddebd6c4354eaaae0bd10f1f1ecff8'}} 2026-06-19 21:15:32,970 - INFO - Created VN ctest-vn-48928794 2026-06-19 21:15:33,021 - DEBUG - VN ctest-vn-48928794 UUID is 0401821a-da9e-4244-b736-4f0cb18dd206 2026-06-19 21:15:33,327 - DEBUG - Response for create_network : {'network': {'id': '48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01', 'name': 'ctest-vn-19937013', 'tenant_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'project_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-vn-19937013'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 21:15:33,480 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab8a8f31-0102-43ba-91d8-e46948ca8658', 'name': '', 'tenant_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'network_id': '48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01', 'ip_version': 4, 'cidr': '67.200.227.0/26', 'allocation_pools': [{'start': '67.200.227.2', 'end': '67.200.227.62'}], 'gateway_ip': '67.200.227.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.200.227.2', 'tags': [], 'project_id': '03ddebd6c4354eaaae0bd10f1f1ecff8'}} 2026-06-19 21:15:33,494 - INFO - Created VN ctest-vn-19937013 2026-06-19 21:15:33,545 - DEBUG - VN ctest-vn-19937013 UUID is 48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01 2026-06-19 21:15:33,689 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794, 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-74980197:ctest-vn-19937013, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-06-19 21:15:33,973 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0401821a-da9e-4244-b736-4f0cb18dd206', 'name': 'ctest-vn-48928794', 'tenant_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'project_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7088d0e-4fd9-4c8e-8d1d-1a2185715b06'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-vn-48928794'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-policy-allow-all-17195706']], 'subnet_ipam': [{'subnet_cidr': '108.217.192.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 21:15:34,194 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01', 'name': 'ctest-vn-19937013', 'tenant_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'project_id': '03ddebd6c4354eaaae0bd10f1f1ecff8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab8a8f31-0102-43ba-91d8-e46948ca8658'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-vn-19937013'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-policy-allow-all-17195706']], 'subnet_ipam': [{'subnet_cidr': '67.200.227.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 21:15:34,353 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 21:15:34,713 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 21:15:35,089 - DEBUG - Requesting: http://10.0.0.38:8082/domain/05ed1d71-83f3-4200-89b1-432ab4ede8c2 2026-06-19 21:15:35,101 - DEBUG - Requesting: http://10.0.0.38:8082/project/03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8 2026-06-19 21:15:35,170 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0401821a-da9e-4244-b736-4f0cb18dd206 2026-06-19 21:15:35,181 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0401821a-da9e-4244-b736-4f0cb18dd206 2026-06-19 21:15:35,189 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09f1a6eb-ba40-4a5c-8bc9-1cb218ce19f6 2026-06-19 21:15:35,196 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09f1a6eb-ba40-4a5c-8bc9-1cb218ce19f6 2026-06-19 21:15:35,202 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a29b4548-3b18-4e9c-bdde-882a728e67bc 2026-06-19 21:15:35,208 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 21:15:35,208 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0401821a-da9e-4244-b736-4f0cb18dd206 2026-06-19 21:15:35,216 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09f1a6eb-ba40-4a5c-8bc9-1cb218ce19f6 2026-06-19 21:15:35,229 - INFO - Verified VN network id 11 for VN 0401821a-da9e-4244-b736-4f0cb18dd206 2026-06-19 21:15:35,229 - INFO - Verifications in API Server for VN ctest-vn-48928794 passed 2026-06-19 21:15:35,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0401821a-da9e-4244-b736-4f0cb18dd206 2026-06-19 21:15:35,238 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09f1a6eb-ba40-4a5c-8bc9-1cb218ce19f6 2026-06-19 21:15:35,244 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09f1a6eb-ba40-4a5c-8bc9-1cb218ce19f6 2026-06-19 21:15:35,251 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a29b4548-3b18-4e9c-bdde-882a728e67bc 2026-06-19 21:15:35,261 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74980197', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '288654902976987716', 'uuid-lslong': '13201826273620251142'}, 'enable': 'true', 'created': '2026-06-19T21:15:32', 'last-modified': '2026-06-19T21:15:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.311183'} 2026-06-19 21:15:35,267 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 21:15:35,267 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48928794 passed 2026-06-19 21:15:35,267 - DEBUG - ====Verifying policy data for ctest-vn-48928794 in API_Server ====== 2026-06-19 21:15:35,267 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 21:15:35,276 - DEBUG - Requesting: http://10.0.0.38:8082/domain/05ed1d71-83f3-4200-89b1-432ab4ede8c2 2026-06-19 21:15:35,286 - DEBUG - Requesting: http://10.0.0.38:8082/project/03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8 2026-06-19 21:15:35,361 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0401821a-da9e-4244-b736-4f0cb18dd206 2026-06-19 21:15:35,371 - DEBUG - ==>Verifying data for policy with id: 6913ded4-8949-4932-b67b-36edee0d516e, fqn: ['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-policy-allow-all-17195706'] 2026-06-19 21:15:35,371 - INFO - VN ctest-vn-48928794 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 21:15:35,371 - DEBUG - Verifying the vn in opserver 2026-06-19 21:15:35,371 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794 virtual network link through opserver 10.0.0.38 2026-06-19 21:15:35,371 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-19 21:15:35,844 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-19 21:15:35,907 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794?flat'} 2026-06-19 21:15:35,907 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794 is found in opserver 2026-06-19 21:15:35,919 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 21:15:35,925 - DEBUG - VRF ids for VN ctest-vn-48928794: {} 2026-06-19 21:15:35,925 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 21:15:35,930 - DEBUG - Requesting: http://10.0.0.38:8082/domain/05ed1d71-83f3-4200-89b1-432ab4ede8c2 2026-06-19 21:15:35,942 - DEBUG - Requesting: http://10.0.0.38:8082/project/03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8 2026-06-19 21:15:36,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01 2026-06-19 21:15:36,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01 2026-06-19 21:15:36,031 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28b6d757-c5af-48f7-ba77-975cfdd1143f 2026-06-19 21:15:36,038 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28b6d757-c5af-48f7-ba77-975cfdd1143f 2026-06-19 21:15:36,044 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/57dc37a0-343f-4a7d-81a6-19005e798ad2 2026-06-19 21:15:36,050 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 21:15:36,050 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01 2026-06-19 21:15:36,059 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28b6d757-c5af-48f7-ba77-975cfdd1143f 2026-06-19 21:15:36,071 - INFO - Verified VN network id 12 for VN 48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01 2026-06-19 21:15:36,071 - INFO - Verifications in API Server for VN ctest-vn-19937013 passed 2026-06-19 21:15:36,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01 2026-06-19 21:15:36,079 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28b6d757-c5af-48f7-ba77-975cfdd1143f 2026-06-19 21:15:36,085 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28b6d757-c5af-48f7-ba77-975cfdd1143f 2026-06-19 21:15:36,090 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/57dc37a0-343f-4a7d-81a6-19005e798ad2 2026-06-19 21:15:36,101 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-19937013', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74980197', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5249686234665011548', 'uuid-lslong': '11866175003606051585'}, 'enable': 'true', 'created': '2026-06-19T21:15:33', 'last-modified': '2026-06-19T21:15:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.931892'} 2026-06-19 21:15:36,106 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 21:15:36,106 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19937013 passed 2026-06-19 21:15:36,106 - DEBUG - ====Verifying policy data for ctest-vn-19937013 in API_Server ====== 2026-06-19 21:15:36,106 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 21:15:36,112 - DEBUG - Requesting: http://10.0.0.38:8082/domain/05ed1d71-83f3-4200-89b1-432ab4ede8c2 2026-06-19 21:15:36,121 - DEBUG - Requesting: http://10.0.0.38:8082/project/03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8 2026-06-19 21:15:36,203 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01 2026-06-19 21:15:36,213 - DEBUG - ==>Verifying data for policy with id: 6913ded4-8949-4932-b67b-36edee0d516e, fqn: ['default-domain', 'ctest-TestBasicPolicy-74980197', 'ctest-policy-allow-all-17195706'] 2026-06-19 21:15:36,213 - INFO - VN ctest-vn-19937013 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 21:15:36,213 - DEBUG - Verifying the vn in opserver 2026-06-19 21:15:36,213 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-19937013 virtual network link through opserver 10.0.0.38 2026-06-19 21:15:36,213 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-19 21:15:36,223 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-19937013', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-19937013?flat'} 2026-06-19 21:15:36,223 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-19937013 is found in opserver 2026-06-19 21:15:36,233 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 21:15:36,240 - DEBUG - VRF ids for VN ctest-vn-19937013: {} 2026-06-19 21:15:36,301 - DEBUG - Services list from nova: [, , ] 2026-06-19 21:15:37,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6005-1) 2026-06-19 21:15:38,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6005-1) 2026-06-19 21:15:38,550 - INFO - Waiting for VM ctest-TestBasicPolicy-74980197-42047171 to be up.. 2026-06-19 21:15:38,594 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 21:15:43,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 21:15:48,755 - DEBUG - VM is in ACTIVE state now 2026-06-19 21:15:48,755 - INFO - VM name : ctest-TestBasicPolicy-74980197-42047171 2026-06-19 21:15:48,845 - DEBUG - VM ctest-TestBasicPolicy-74980197-42047171 ID is 8793e938-48a6-45fd-8729-f3cd64aeb04e 2026-06-19 21:15:48,869 - DEBUG - VM ctest-TestBasicPolicy-74980197-42047171 launched on Node cn-jenkins-deploy-platform-ansible-os-6005-1 2026-06-19 21:15:48,942 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8793e938-48a6-45fd-8729-f3cd64aeb04e 2026-06-19 21:15:48,955 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a7ce615b-6b71-4e94-bddd-fa50c23f9a78 2026-06-19 21:15:52,168 - 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 1015ms') 2026-06-19 21:15:52,168 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74980197-42047171 failed! 2026-06-19 21:15:52,233 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74980197:ctest-vn-48928794 is 108.217.192.193 and allocation pool is NOT set 2026-06-19 21:15:54,296 - 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=12.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.64 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 = 3.642/8.246/12.851/4.604 ms') 2026-06-19 21:15:54,296 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74980197-42047171 passed 2026-06-19 21:15:54,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 21:15:54,445 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74980197-42047171, IP 108.217.192.195, Port 22 2026-06-19 21:15:54,501 - 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-06-19 21:15:54,568 - DEBUG - VM ctest-TestBasicPolicy-74980197-42047171 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 21:15:59,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 21:15:59,569 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74980197-42047171, IP 108.217.192.195, Port 22 2026-06-19 21:15:59,725 - DEBUG - VM ctest-TestBasicPolicy-74980197-42047171 is ready for SSH connections 2026-06-19 21:15:59,725 - INFO - Waiting for VM ctest-TestBasicPolicy-74980197-18365586 to be up.. 2026-06-19 21:15:59,807 - DEBUG - VM is in ACTIVE state now 2026-06-19 21:15:59,807 - INFO - VM name : ctest-TestBasicPolicy-74980197-18365586 2026-06-19 21:15:59,884 - DEBUG - VM ctest-TestBasicPolicy-74980197-18365586 ID is 286c5f19-ff1f-461a-aa37-ac0fb3308f6b 2026-06-19 21:15:59,884 - DEBUG - VM ctest-TestBasicPolicy-74980197-18365586 launched on Node cn-jenkins-deploy-platform-ansible-os-6005-1 2026-06-19 21:15:59,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/286c5f19-ff1f-461a-aa37-ac0fb3308f6b 2026-06-19 21:15:59,959 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/580593bb-6bd3-4913-9166-f7e0178e6e9b 2026-06-19 21:16:01,189 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.871/3.362/1.491 ms') 2026-06-19 21:16:01,189 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74980197-18365586 passed 2026-06-19 21:16:01,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 21:16:01,337 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74980197-18365586, IP 67.200.227.3, Port 22 2026-06-19 21:16:01,507 - DEBUG - VM ctest-TestBasicPolicy-74980197-18365586 is ready for SSH connections 2026-06-19 21:16:01,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 21:16:01,507 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.200.227.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-19 21:16:01,507 - DEBUG - ping -s 56 -c 3 -W 1 67.200.227.3 2026-06-19 21:16:05,472 - DEBUG - PING 67.200.227.3 (67.200.227.3): 56 data bytes 64 bytes from 67.200.227.3: seq=0 ttl=63 time=4.720 ms 64 bytes from 67.200.227.3: seq=1 ttl=63 time=0.893 ms 64 bytes from 67.200.227.3: seq=2 ttl=63 time=1.224 ms --- 67.200.227.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.893/2.279/4.720 ms 2026-06-19 21:16:05,472 - INFO - Ping to IP 67.200.227.3 from VM ctest-TestBasicPolicy-74980197-42047171 passed 2026-06-19 21:16:05,653 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6913ded4-8949-4932-b67b-36edee0d516e", "href": "http://10.0.0.38:8082/network-policy/6913ded4-8949-4932-b67b-36edee0d516e"}} 2026-06-19 21:16:05,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 21:16:05,653 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.200.227.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-19 21:16:05,653 - DEBUG - ping -s 56 -c 3 -W 1 67.200.227.3 2026-06-19 21:16:08,775 - DEBUG - PING 67.200.227.3 (67.200.227.3): 56 data bytes --- 67.200.227.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-19 21:16:08,775 - WARNING - Ping to IP 67.200.227.3 from VM ctest-TestBasicPolicy-74980197-42047171 failed 2026-06-19 21:16:08,776 - INFO - Deleting VM ctest-TestBasicPolicy-74980197-18365586 2026-06-19 21:16:08,845 - INFO - Deleting VM ctest-TestBasicPolicy-74980197-42047171 2026-06-19 21:16:09,177 - INFO - Deleted policy ctest-policy-allow-all-17195706 2026-06-19 21:16:09,177 - INFO - Deleting VN ctest-vn-19937013 2026-06-19 21:16:09,207 - DEBUG - VN 48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01 still in use: Unable to complete operation on network 48daa1d0-ff77-495c-a4ad-1f4bcc8eeb01. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c40e56f1-5d91-4164-8a8a-43657f719ad8'] 2026-06-19 21:16:09,207 - WARNING - Deleting VN ctest-vn-19937013 failed..Will retry 2026-06-19 21:16:11,302 - DEBUG - Response for deleting network () 2026-06-19 21:16:11,302 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28b6d757-c5af-48f7-ba77-975cfdd1143f 2026-06-19 21:16:11,309 - DEBUG - Response Code: 404 2026-06-19 21:16:11,309 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 21:16:11,313 - DEBUG - Requesting: http://10.0.0.38:8082/domain/05ed1d71-83f3-4200-89b1-432ab4ede8c2 2026-06-19 21:16:11,366 - DEBUG - Requesting: http://10.0.0.38:8082/project/03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8 2026-06-19 21:16:11,439 - INFO - Validated that VN ctest-vn-19937013 is not found in API Server 2026-06-19 21:16:11,448 - DEBUG - VN ctest-vn-19937013 is not present in Agent 10.0.0.38 2026-06-19 21:16:11,448 - INFO - Validated that VN ctest-vn-19937013 is not in any agent 2026-06-19 21:16:11,461 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19937013 info 2026-06-19 21:16:11,461 - INFO - Deleting VN ctest-vn-48928794 2026-06-19 21:16:11,550 - DEBUG - Response for deleting network () 2026-06-19 21:16:11,550 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09f1a6eb-ba40-4a5c-8bc9-1cb218ce19f6 2026-06-19 21:16:11,557 - DEBUG - Response Code: 404 2026-06-19 21:16:11,557 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 21:16:11,562 - DEBUG - Requesting: http://10.0.0.38:8082/domain/05ed1d71-83f3-4200-89b1-432ab4ede8c2 2026-06-19 21:16:11,614 - DEBUG - Requesting: http://10.0.0.38:8082/project/03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8 2026-06-19 21:16:11,683 - INFO - Validated that VN ctest-vn-48928794 is not found in API Server 2026-06-19 21:16:11,692 - DEBUG - VN ctest-vn-48928794 is not present in Agent 10.0.0.38 2026-06-19 21:16:11,692 - INFO - Validated that VN ctest-vn-48928794 is not in any agent 2026-06-19 21:16:11,709 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48928794 info 2026-06-19 21:16:11,966 - DEBUG - No XMPP flaps were noticed during the test
2026-06-19 21:16:11,966 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2026-06-19 21:16:11,966 - INFO - -------------------------------------------------------------------------------- 2026-06-19 21:16:12,711 - INFO - Deleted project: ctest-TestBasicPolicy-74980197, ID : 03ddebd6-c435-4eaa-ae0b-d10f1f1ecff8