2026-04-30 02:28:16,327 - INFO - Domain Default found not creating 2026-04-30 02:28:16,527 - INFO - Project ctest-TestBasicPolicy-93643168 not found, creating it 2026-04-30 02:28:17,018 - INFO - Created Project:ctest-TestBasicPolicy-93643168, ID : 1b5cbb10-0179-4848-95d4-83cf82665920 2026-04-30 02:28:18,533 - INFO - ================================================================================ 2026-04-30 02:28:18,533 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-30 02:28:18,533 - 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-30 02:28:18,789 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.25': '0'}} with 2026-04-30 02:28:18,789 - INFO - Initial checks done. Running the testcase now 2026-04-30 02:28:18,789 - INFO - 2026-04-30 02:28:19,879 - DEBUG - Response for create_network : {'network': {'id': '47769f9c-e22a-4f09-a80f-c7355d4d4668', 'name': 'ctest-vn-90024578', 'tenant_id': '1b5cbb100179484895d483cf82665920', 'project_id': '1b5cbb100179484895d483cf82665920', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93643168', 'ctest-vn-90024578'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 02:28:20,069 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c64abca6-3d8c-44fc-89e2-02d6c82b8d8c', 'name': '', 'tenant_id': '1b5cbb100179484895d483cf82665920', 'network_id': '47769f9c-e22a-4f09-a80f-c7355d4d4668', 'ip_version': 4, 'cidr': '215.195.105.0/26', 'allocation_pools': [{'start': '215.195.105.2', 'end': '215.195.105.62'}], 'gateway_ip': '215.195.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.195.105.2', 'tags': [], 'project_id': '1b5cbb100179484895d483cf82665920'}} 2026-04-30 02:28:20,087 - INFO - Created VN ctest-vn-90024578 2026-04-30 02:28:20,139 - DEBUG - VN ctest-vn-90024578 UUID is 47769f9c-e22a-4f09-a80f-c7355d4d4668 2026-04-30 02:28:20,419 - DEBUG - Response for create_network : {'network': {'id': '1c7ac81a-d40a-4c13-968c-d3b702cc1c1a', 'name': 'ctest-vn-07065684', 'tenant_id': '1b5cbb100179484895d483cf82665920', 'project_id': '1b5cbb100179484895d483cf82665920', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93643168', 'ctest-vn-07065684'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 02:28:20,609 - DEBUG - Response for create_subnet : {'subnet': {'id': '84d450d1-a2f5-469a-81ee-e7c4e929aad2', 'name': '', 'tenant_id': '1b5cbb100179484895d483cf82665920', 'network_id': '1c7ac81a-d40a-4c13-968c-d3b702cc1c1a', 'ip_version': 4, 'cidr': '203.191.111.192/26', 'allocation_pools': [{'start': '203.191.111.194', 'end': '203.191.111.254'}], 'gateway_ip': '203.191.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.191.111.194', 'tags': [], 'project_id': '1b5cbb100179484895d483cf82665920'}} 2026-04-30 02:28:20,633 - INFO - Created VN ctest-vn-07065684 2026-04-30 02:28:20,683 - DEBUG - VN ctest-vn-07065684 UUID is 1c7ac81a-d40a-4c13-968c-d3b702cc1c1a 2026-04-30 02:28:20,808 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93643168:ctest-vn-90024578, 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-93643168:ctest-vn-07065684, 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-30 02:28:21,130 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47769f9c-e22a-4f09-a80f-c7355d4d4668', 'name': 'ctest-vn-90024578', 'tenant_id': '1b5cbb100179484895d483cf82665920', 'project_id': '1b5cbb100179484895d483cf82665920', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c64abca6-3d8c-44fc-89e2-02d6c82b8d8c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93643168', 'ctest-vn-90024578'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93643168', 'ctest-policy-allow-all-77015477']], 'subnet_ipam': [{'subnet_cidr': '215.195.105.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-30 02:28:21,351 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c7ac81a-d40a-4c13-968c-d3b702cc1c1a', 'name': 'ctest-vn-07065684', 'tenant_id': '1b5cbb100179484895d483cf82665920', 'project_id': '1b5cbb100179484895d483cf82665920', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84d450d1-a2f5-469a-81ee-e7c4e929aad2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93643168', 'ctest-vn-07065684'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93643168', 'ctest-policy-allow-all-77015477']], 'subnet_ipam': [{'subnet_cidr': '203.191.111.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-30 02:28:21,520 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-30 02:28:21,810 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-30 02:28:21,840 - DEBUG - Requesting: http://10.0.0.249:8082/domain/de2f5240-b67f-4502-96ee-15aed842570a 2026-04-30 02:28:21,853 - DEBUG - Requesting: http://10.0.0.249:8082/project/1b5cbb10-0179-4848-95d4-83cf82665920 2026-04-30 02:28:21,920 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47769f9c-e22a-4f09-a80f-c7355d4d4668 2026-04-30 02:28:21,930 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47769f9c-e22a-4f09-a80f-c7355d4d4668 2026-04-30 02:28:21,938 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/eed0be64-257e-4ea9-86dd-8d15924720c7 2026-04-30 02:28:21,946 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/eed0be64-257e-4ea9-86dd-8d15924720c7 2026-04-30 02:28:21,953 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b972c6a3-1208-4281-b8c5-f1ec60810744 2026-04-30 02:28:21,958 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 02:28:21,958 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47769f9c-e22a-4f09-a80f-c7355d4d4668 2026-04-30 02:28:21,967 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/eed0be64-257e-4ea9-86dd-8d15924720c7 2026-04-30 02:28:21,980 - INFO - Verified VN network id 11 for VN 47769f9c-e22a-4f09-a80f-c7355d4d4668 2026-04-30 02:28:21,981 - INFO - Verifications in API Server for VN ctest-vn-90024578 passed 2026-04-30 02:28:21,981 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47769f9c-e22a-4f09-a80f-c7355d4d4668 2026-04-30 02:28:21,989 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/eed0be64-257e-4ea9-86dd-8d15924720c7 2026-04-30 02:28:21,995 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/eed0be64-257e-4ea9-86dd-8d15924720c7 2026-04-30 02:28:22,002 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b972c6a3-1208-4281-b8c5-f1ec60810744 2026-04-30 02:28:22,012 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93643168:ctest-vn-90024578', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93643168', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5149478720102878985', 'uuid-lslong': '12110116955035092584'}, 'enable': 'true', 'created': '2026-04-30T02:28:19', 'last-modified': '2026-04-30T02:28:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.919547'} 2026-04-30 02:28:22,018 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 02:28:22,018 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90024578 passed 2026-04-30 02:28:22,018 - DEBUG - ====Verifying policy data for ctest-vn-90024578 in API_Server ====== 2026-04-30 02:28:22,018 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-30 02:28:22,023 - DEBUG - Requesting: http://10.0.0.249:8082/domain/de2f5240-b67f-4502-96ee-15aed842570a 2026-04-30 02:28:22,034 - DEBUG - Requesting: http://10.0.0.249:8082/project/1b5cbb10-0179-4848-95d4-83cf82665920 2026-04-30 02:28:22,100 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47769f9c-e22a-4f09-a80f-c7355d4d4668 2026-04-30 02:28:22,110 - DEBUG - ==>Verifying data for policy with id: 4dc4a7a4-7c62-442e-a436-ebdb7f94233d, fqn: ['default-domain', 'ctest-TestBasicPolicy-93643168', 'ctest-policy-allow-all-77015477'] 2026-04-30 02:28:22,110 - INFO - VN ctest-vn-90024578 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 02:28:22,110 - DEBUG - Verifying the vn in opserver 2026-04-30 02:28:22,110 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93643168:ctest-vn-90024578 virtual network link through opserver 10.0.0.249 2026-04-30 02:28:22,111 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-30 02:28:22,403 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-30 02:28:22,461 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93643168:ctest-vn-90024578', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93643168:ctest-vn-90024578?flat'} 2026-04-30 02:28:22,461 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93643168:ctest-vn-90024578 is found in opserver 2026-04-30 02:28:22,472 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 02:28:22,477 - DEBUG - VRF ids for VN ctest-vn-90024578: {} 2026-04-30 02:28:22,478 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-30 02:28:22,485 - DEBUG - Requesting: http://10.0.0.249:8082/domain/de2f5240-b67f-4502-96ee-15aed842570a 2026-04-30 02:28:22,498 - DEBUG - Requesting: http://10.0.0.249:8082/project/1b5cbb10-0179-4848-95d4-83cf82665920 2026-04-30 02:28:22,582 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1c7ac81a-d40a-4c13-968c-d3b702cc1c1a 2026-04-30 02:28:22,596 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1c7ac81a-d40a-4c13-968c-d3b702cc1c1a 2026-04-30 02:28:22,607 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9cc021a8-28e5-4635-a5f5-dad9765f247b 2026-04-30 02:28:22,615 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9cc021a8-28e5-4635-a5f5-dad9765f247b 2026-04-30 02:28:22,622 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/7e620325-bc45-462a-94c5-55012e3e6cc7 2026-04-30 02:28:22,630 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-30 02:28:22,630 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1c7ac81a-d40a-4c13-968c-d3b702cc1c1a 2026-04-30 02:28:22,640 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9cc021a8-28e5-4635-a5f5-dad9765f247b 2026-04-30 02:28:22,655 - INFO - Verified VN network id 12 for VN 1c7ac81a-d40a-4c13-968c-d3b702cc1c1a 2026-04-30 02:28:22,655 - INFO - Verifications in API Server for VN ctest-vn-07065684 passed 2026-04-30 02:28:22,655 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1c7ac81a-d40a-4c13-968c-d3b702cc1c1a 2026-04-30 02:28:22,665 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9cc021a8-28e5-4635-a5f5-dad9765f247b 2026-04-30 02:28:22,672 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9cc021a8-28e5-4635-a5f5-dad9765f247b 2026-04-30 02:28:22,679 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/7e620325-bc45-462a-94c5-55012e3e6cc7 2026-04-30 02:28:22,692 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93643168:ctest-vn-07065684', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93643168', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2052172597772831763', 'uuid-lslong': '10848278385408089114'}, 'enable': 'true', 'created': '2026-04-30T02:28:20', 'last-modified': '2026-04-30T02:28:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.362991'} 2026-04-30 02:28:22,700 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-30 02:28:22,700 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07065684 passed 2026-04-30 02:28:22,700 - DEBUG - ====Verifying policy data for ctest-vn-07065684 in API_Server ====== 2026-04-30 02:28:22,700 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-30 02:28:22,707 - DEBUG - Requesting: http://10.0.0.249:8082/domain/de2f5240-b67f-4502-96ee-15aed842570a 2026-04-30 02:28:22,720 - DEBUG - Requesting: http://10.0.0.249:8082/project/1b5cbb10-0179-4848-95d4-83cf82665920 2026-04-30 02:28:22,796 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1c7ac81a-d40a-4c13-968c-d3b702cc1c1a 2026-04-30 02:28:22,807 - DEBUG - ==>Verifying data for policy with id: 4dc4a7a4-7c62-442e-a436-ebdb7f94233d, fqn: ['default-domain', 'ctest-TestBasicPolicy-93643168', 'ctest-policy-allow-all-77015477'] 2026-04-30 02:28:22,807 - INFO - VN ctest-vn-07065684 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 02:28:22,807 - DEBUG - Verifying the vn in opserver 2026-04-30 02:28:22,807 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93643168:ctest-vn-07065684 virtual network link through opserver 10.0.0.249 2026-04-30 02:28:22,807 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-30 02:28:22,817 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93643168:ctest-vn-07065684', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93643168:ctest-vn-07065684?flat'} 2026-04-30 02:28:22,817 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93643168:ctest-vn-07065684 is found in opserver 2026-04-30 02:28:22,828 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 02:28:22,834 - DEBUG - VRF ids for VN ctest-vn-07065684: {} 2026-04-30 02:28:22,895 - DEBUG - Services list from nova: [, , ] 2026-04-30 02:28:23,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5724-1) 2026-04-30 02:28:25,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5724-1) 2026-04-30 02:28:25,019 - INFO - Waiting for VM ctest-TestBasicPolicy-93643168-37856769 to be up.. 2026-04-30 02:28:25,110 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 02:28:30,187 - DEBUG - VM is in ACTIVE state now 2026-04-30 02:28:30,187 - INFO - VM name : ctest-TestBasicPolicy-93643168-37856769 2026-04-30 02:28:30,269 - DEBUG - VM ctest-TestBasicPolicy-93643168-37856769 ID is 9187617d-0c4a-4d5c-aee6-b4b68bc2b60a 2026-04-30 02:28:30,295 - DEBUG - VM ctest-TestBasicPolicy-93643168-37856769 launched on Node cn-jenkins-deploy-platform-ansible-os-5724-1 2026-04-30 02:28:30,372 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9187617d-0c4a-4d5c-aee6-b4b68bc2b60a 2026-04-30 02:28:30,381 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/49e8283f-089d-4c82-ba90-b0863ac3545c 2026-04-30 02:28:33,643 - 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 1026ms') 2026-04-30 02:28:33,644 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93643168-37856769 failed! 2026-04-30 02:28:33,699 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93643168:ctest-vn-90024578 is 215.195.105.1 and allocation pool is NOT set 2026-04-30 02:28:35,764 - 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=8.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.580 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 = 0.580/4.580/8.581/4.000 ms') 2026-04-30 02:28:35,764 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93643168-37856769 passed 2026-04-30 02:28:35,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:28:35,912 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93643168-37856769, IP 215.195.105.3, Port 22 2026-04-30 02:28:36,087 - DEBUG - VM ctest-TestBasicPolicy-93643168-37856769 is ready for SSH connections 2026-04-30 02:28:36,087 - INFO - Waiting for VM ctest-TestBasicPolicy-93643168-22575280 to be up.. 2026-04-30 02:28:36,176 - DEBUG - VM is in ACTIVE state now 2026-04-30 02:28:36,176 - INFO - VM name : ctest-TestBasicPolicy-93643168-22575280 2026-04-30 02:28:36,259 - DEBUG - VM ctest-TestBasicPolicy-93643168-22575280 ID is ebe5a7e4-18bc-4163-a4ff-68a10af80c8d 2026-04-30 02:28:36,259 - DEBUG - VM ctest-TestBasicPolicy-93643168-22575280 launched on Node cn-jenkins-deploy-platform-ansible-os-5724-1 2026-04-30 02:28:36,341 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ebe5a7e4-18bc-4163-a4ff-68a10af80c8d 2026-04-30 02:28:36,349 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8954965d-50f9-41b3-86a5-06081d283725 2026-04-30 02:28:37,586 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.516 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.516/1.876/3.237/1.360 ms') 2026-04-30 02:28:37,586 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93643168-22575280 passed 2026-04-30 02:28:37,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:28:37,744 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93643168-22575280, IP 203.191.111.195, Port 22 2026-04-30 02:28:37,903 - DEBUG - VM ctest-TestBasicPolicy-93643168-22575280 is ready for SSH connections 2026-04-30 02:28:37,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:28:37,903 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.191.111.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-30 02:28:37,903 - DEBUG - ping -s 56 -c 3 -W 1 203.191.111.195 2026-04-30 02:28:41,948 - DEBUG - PING 203.191.111.195 (203.191.111.195): 56 data bytes 64 bytes from 203.191.111.195: seq=0 ttl=63 time=3.259 ms 64 bytes from 203.191.111.195: seq=1 ttl=63 time=0.833 ms 64 bytes from 203.191.111.195: seq=2 ttl=63 time=0.816 ms --- 203.191.111.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.636/3.259 ms 2026-04-30 02:28:41,948 - INFO - Ping to IP 203.191.111.195 from VM ctest-TestBasicPolicy-93643168-37856769 passed 2026-04-30 02:28:42,135 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4dc4a7a4-7c62-442e-a436-ebdb7f94233d", "href": "http://10.0.0.249:8082/network-policy/4dc4a7a4-7c62-442e-a436-ebdb7f94233d"}} 2026-04-30 02:28:42,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:28:42,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.191.111.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-30 02:28:42,136 - DEBUG - ping -s 56 -c 3 -W 1 203.191.111.195 2026-04-30 02:28:45,351 - DEBUG - PING 203.191.111.195 (203.191.111.195): 56 data bytes --- 203.191.111.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-30 02:28:45,351 - WARNING - Ping to IP 203.191.111.195 from VM ctest-TestBasicPolicy-93643168-37856769 failed 2026-04-30 02:28:45,351 - INFO - Deleting VM ctest-TestBasicPolicy-93643168-22575280 2026-04-30 02:28:45,429 - INFO - Deleting VM ctest-TestBasicPolicy-93643168-37856769 2026-04-30 02:28:45,784 - INFO - Deleted policy ctest-policy-allow-all-77015477 2026-04-30 02:28:45,784 - INFO - Deleting VN ctest-vn-07065684 2026-04-30 02:28:45,829 - DEBUG - VN 1c7ac81a-d40a-4c13-968c-d3b702cc1c1a still in use: Unable to complete operation on network 1c7ac81a-d40a-4c13-968c-d3b702cc1c1a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-60245e99-9093-4291-89aa-81fe8e6cbe99'] 2026-04-30 02:28:45,829 - WARNING - Deleting VN ctest-vn-07065684 failed..Will retry 2026-04-30 02:28:47,930 - DEBUG - Response for deleting network () 2026-04-30 02:28:47,930 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9cc021a8-28e5-4635-a5f5-dad9765f247b 2026-04-30 02:28:47,937 - DEBUG - Response Code: 404 2026-04-30 02:28:47,937 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-30 02:28:47,943 - DEBUG - Requesting: http://10.0.0.249:8082/domain/de2f5240-b67f-4502-96ee-15aed842570a 2026-04-30 02:28:47,996 - DEBUG - Requesting: http://10.0.0.249:8082/project/1b5cbb10-0179-4848-95d4-83cf82665920 2026-04-30 02:28:48,071 - INFO - Validated that VN ctest-vn-07065684 is not found in API Server 2026-04-30 02:28:48,081 - DEBUG - VN ctest-vn-07065684 is not present in Agent 10.0.0.249 2026-04-30 02:28:48,081 - INFO - Validated that VN ctest-vn-07065684 is not in any agent 2026-04-30 02:28:48,094 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07065684 info 2026-04-30 02:28:48,094 - INFO - Deleting VN ctest-vn-90024578 2026-04-30 02:28:48,196 - DEBUG - Response for deleting network () 2026-04-30 02:28:48,197 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/eed0be64-257e-4ea9-86dd-8d15924720c7 2026-04-30 02:28:48,202 - DEBUG - Response Code: 404 2026-04-30 02:28:48,202 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-30 02:28:48,209 - DEBUG - Requesting: http://10.0.0.249:8082/domain/de2f5240-b67f-4502-96ee-15aed842570a 2026-04-30 02:28:48,265 - DEBUG - Requesting: http://10.0.0.249:8082/project/1b5cbb10-0179-4848-95d4-83cf82665920 2026-04-30 02:28:48,344 - INFO - Validated that VN ctest-vn-90024578 is not found in API Server 2026-04-30 02:28:48,356 - DEBUG - VN ctest-vn-90024578 is not present in Agent 10.0.0.249 2026-04-30 02:28:48,356 - INFO - Validated that VN ctest-vn-90024578 is not in any agent 2026-04-30 02:28:48,377 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90024578 info 2026-04-30 02:28:48,645 - DEBUG - No XMPP flaps were noticed during the test 2026-04-30 02:28:48,645 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-04-30 02:28:48,645 - INFO - -------------------------------------------------------------------------------- 2026-04-30 02:28:49,341 - INFO - Deleted project: ctest-TestBasicPolicy-93643168, ID : 1b5cbb10-0179-4848-95d4-83cf82665920