2026-08-14 11:41:52,479 - INFO - Domain Default found not creating 2026-08-14 11:41:52,651 - INFO - Project ctest-TestBasicPolicy-69452430 not found, creating it 2026-08-14 11:41:53,251 - INFO - Created Project:ctest-TestBasicPolicy-69452430, ID : eed29908-8aa2-48da-a3b2-e427d98c8538 2026-08-14 11:41:54,807 - INFO - ================================================================================ 2026-08-14 11:41:54,807 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-14 11:41:54,807 - 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-14 11:41:55,072 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-08-14 11:41:55,072 - INFO - Initial checks done. Running the testcase now 2026-08-14 11:41:55,073 - INFO - 2026-08-14 11:41:55,648 - DEBUG - Response for create_network : {'network': {'id': 'e08fac3e-877e-4ef1-ad3c-152ba1f72a80', 'name': 'ctest-vn-32071653', 'tenant_id': 'eed299088aa248daa3b2e427d98c8538', 'project_id': 'eed299088aa248daa3b2e427d98c8538', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-vn-32071653'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 11:41:55,846 - DEBUG - Response for create_subnet : {'subnet': {'id': '6588311c-9568-453c-94e2-24142f9b0e72', 'name': '', 'tenant_id': 'eed299088aa248daa3b2e427d98c8538', 'network_id': 'e08fac3e-877e-4ef1-ad3c-152ba1f72a80', 'ip_version': 4, 'cidr': '132.215.6.0/26', 'allocation_pools': [{'start': '132.215.6.2', 'end': '132.215.6.62'}], 'gateway_ip': '132.215.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.215.6.2', 'tags': [], 'project_id': 'eed299088aa248daa3b2e427d98c8538'}} 2026-08-14 11:41:55,864 - INFO - Created VN ctest-vn-32071653 2026-08-14 11:41:55,917 - DEBUG - VN ctest-vn-32071653 UUID is e08fac3e-877e-4ef1-ad3c-152ba1f72a80 2026-08-14 11:41:56,226 - DEBUG - Response for create_network : {'network': {'id': '2071c42a-30c3-4217-bac3-2f0de701c1b9', 'name': 'ctest-vn-91794436', 'tenant_id': 'eed299088aa248daa3b2e427d98c8538', 'project_id': 'eed299088aa248daa3b2e427d98c8538', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-vn-91794436'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 11:41:56,442 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd04deeb0-fb3e-4dfa-9f6c-489afef6ce59', 'name': '', 'tenant_id': 'eed299088aa248daa3b2e427d98c8538', 'network_id': '2071c42a-30c3-4217-bac3-2f0de701c1b9', 'ip_version': 4, 'cidr': '27.65.111.128/26', 'allocation_pools': [{'start': '27.65.111.130', 'end': '27.65.111.190'}], 'gateway_ip': '27.65.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.65.111.130', 'tags': [], 'project_id': 'eed299088aa248daa3b2e427d98c8538'}} 2026-08-14 11:41:56,460 - INFO - Created VN ctest-vn-91794436 2026-08-14 11:41:56,513 - DEBUG - VN ctest-vn-91794436 UUID is 2071c42a-30c3-4217-bac3-2f0de701c1b9 2026-08-14 11:41:56,669 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-32071653, 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-69452430:ctest-vn-91794436, 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-14 11:41:56,981 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e08fac3e-877e-4ef1-ad3c-152ba1f72a80', 'name': 'ctest-vn-32071653', 'tenant_id': 'eed299088aa248daa3b2e427d98c8538', 'project_id': 'eed299088aa248daa3b2e427d98c8538', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6588311c-9568-453c-94e2-24142f9b0e72'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-vn-32071653'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-policy-allow-all-71905597']], 'subnet_ipam': [{'subnet_cidr': '132.215.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 11:41:57,233 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2071c42a-30c3-4217-bac3-2f0de701c1b9', 'name': 'ctest-vn-91794436', 'tenant_id': 'eed299088aa248daa3b2e427d98c8538', 'project_id': 'eed299088aa248daa3b2e427d98c8538', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d04deeb0-fb3e-4dfa-9f6c-489afef6ce59'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-vn-91794436'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-policy-allow-all-71905597']], 'subnet_ipam': [{'subnet_cidr': '27.65.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 11:41:57,409 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-14 11:41:57,737 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-14 11:41:57,767 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cda30dd0-4093-44c1-848a-eac380395ace 2026-08-14 11:41:57,780 - DEBUG - Requesting: http://10.0.0.38:8082/project/eed29908-8aa2-48da-a3b2-e427d98c8538 2026-08-14 11:41:57,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e08fac3e-877e-4ef1-ad3c-152ba1f72a80 2026-08-14 11:41:57,874 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e08fac3e-877e-4ef1-ad3c-152ba1f72a80 2026-08-14 11:41:57,883 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ff5407bc-4f0f-4f3b-827a-b4226a97eb52 2026-08-14 11:41:57,892 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ff5407bc-4f0f-4f3b-827a-b4226a97eb52 2026-08-14 11:41:57,901 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1120f396-923c-4d21-af67-f2bcafc1eda5 2026-08-14 11:41:57,909 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-14 11:41:57,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e08fac3e-877e-4ef1-ad3c-152ba1f72a80 2026-08-14 11:41:57,919 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ff5407bc-4f0f-4f3b-827a-b4226a97eb52 2026-08-14 11:41:57,934 - INFO - Verified VN network id 11 for VN e08fac3e-877e-4ef1-ad3c-152ba1f72a80 2026-08-14 11:41:57,934 - INFO - Verifications in API Server for VN ctest-vn-32071653 passed 2026-08-14 11:41:57,935 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e08fac3e-877e-4ef1-ad3c-152ba1f72a80 2026-08-14 11:41:57,944 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ff5407bc-4f0f-4f3b-827a-b4226a97eb52 2026-08-14 11:41:57,953 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ff5407bc-4f0f-4f3b-827a-b4226a97eb52 2026-08-14 11:41:57,962 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1120f396-923c-4d21-af67-f2bcafc1eda5 2026-08-14 11:41:57,975 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-32071653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69452430', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16181341370726633201', 'uuid-lslong': '12482875544309279360'}, 'enable': 'true', 'created': '2026-08-14T11:41:55', 'last-modified': '2026-08-14T11:41:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019937'} 2026-08-14 11:41:57,983 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-14 11:41:57,983 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32071653 passed 2026-08-14 11:41:57,983 - DEBUG - ====Verifying policy data for ctest-vn-32071653 in API_Server ====== 2026-08-14 11:41:57,983 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-14 11:41:57,990 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cda30dd0-4093-44c1-848a-eac380395ace 2026-08-14 11:41:58,002 - DEBUG - Requesting: http://10.0.0.38:8082/project/eed29908-8aa2-48da-a3b2-e427d98c8538 2026-08-14 11:41:58,086 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e08fac3e-877e-4ef1-ad3c-152ba1f72a80 2026-08-14 11:41:58,095 - DEBUG - ==>Verifying data for policy with id: 7a4d6477-f5f7-4184-9b57-46e2d0cc4a2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-policy-allow-all-71905597'] 2026-08-14 11:41:58,096 - INFO - VN ctest-vn-32071653 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 11:41:58,096 - DEBUG - Verifying the vn in opserver 2026-08-14 11:41:58,096 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-32071653 virtual network link through opserver 10.0.0.38 2026-08-14 11:41:58,096 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-14 11:41:58,427 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-14 11:41:58,480 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-32071653', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-32071653?flat'} 2026-08-14 11:41:58,480 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-32071653 is found in opserver 2026-08-14 11:41:58,494 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 11:41:58,500 - DEBUG - VRF ids for VN ctest-vn-32071653: {} 2026-08-14 11:41:58,500 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-14 11:41:58,506 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cda30dd0-4093-44c1-848a-eac380395ace 2026-08-14 11:41:58,520 - DEBUG - Requesting: http://10.0.0.38:8082/project/eed29908-8aa2-48da-a3b2-e427d98c8538 2026-08-14 11:41:58,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2071c42a-30c3-4217-bac3-2f0de701c1b9 2026-08-14 11:41:58,607 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2071c42a-30c3-4217-bac3-2f0de701c1b9 2026-08-14 11:41:58,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96bd15b6-114f-405e-9aa3-7ff3bf82075a 2026-08-14 11:41:58,625 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96bd15b6-114f-405e-9aa3-7ff3bf82075a 2026-08-14 11:41:58,632 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9d5b280d-7319-48f3-8517-f979c08c373f 2026-08-14 11:41:58,639 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 11:41:58,639 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2071c42a-30c3-4217-bac3-2f0de701c1b9 2026-08-14 11:41:58,648 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96bd15b6-114f-405e-9aa3-7ff3bf82075a 2026-08-14 11:41:58,663 - INFO - Verified VN network id 12 for VN 2071c42a-30c3-4217-bac3-2f0de701c1b9 2026-08-14 11:41:58,664 - INFO - Verifications in API Server for VN ctest-vn-91794436 passed 2026-08-14 11:41:58,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2071c42a-30c3-4217-bac3-2f0de701c1b9 2026-08-14 11:41:58,676 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96bd15b6-114f-405e-9aa3-7ff3bf82075a 2026-08-14 11:41:58,685 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96bd15b6-114f-405e-9aa3-7ff3bf82075a 2026-08-14 11:41:58,693 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9d5b280d-7319-48f3-8517-f979c08c373f 2026-08-14 11:41:58,705 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-91794436', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69452430', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2337865367067771415', 'uuid-lslong': '13457651848269906361'}, 'enable': 'true', 'created': '2026-08-14T11:41:56', 'last-modified': '2026-08-14T11:41:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.497062'} 2026-08-14 11:41:58,712 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 11:41:58,712 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91794436 passed 2026-08-14 11:41:58,712 - DEBUG - ====Verifying policy data for ctest-vn-91794436 in API_Server ====== 2026-08-14 11:41:58,712 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-14 11:41:58,718 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cda30dd0-4093-44c1-848a-eac380395ace 2026-08-14 11:41:58,730 - DEBUG - Requesting: http://10.0.0.38:8082/project/eed29908-8aa2-48da-a3b2-e427d98c8538 2026-08-14 11:41:58,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2071c42a-30c3-4217-bac3-2f0de701c1b9 2026-08-14 11:41:58,815 - DEBUG - ==>Verifying data for policy with id: 7a4d6477-f5f7-4184-9b57-46e2d0cc4a2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-69452430', 'ctest-policy-allow-all-71905597'] 2026-08-14 11:41:58,815 - INFO - VN ctest-vn-91794436 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 11:41:58,815 - DEBUG - Verifying the vn in opserver 2026-08-14 11:41:58,815 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-91794436 virtual network link through opserver 10.0.0.38 2026-08-14 11:41:58,815 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-14 11:41:58,827 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-91794436', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-91794436?flat'} 2026-08-14 11:41:58,827 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69452430:ctest-vn-91794436 is found in opserver 2026-08-14 11:41:58,838 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 11:41:58,844 - DEBUG - VRF ids for VN ctest-vn-91794436: {} 2026-08-14 11:41:58,908 - DEBUG - Services list from nova: [, , ] 2026-08-14 11:41:59,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6161-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6161-1) 2026-08-14 11:41:59,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6161-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6161-1) 2026-08-14 11:41:59,757 - INFO - Waiting for VM ctest-TestBasicPolicy-69452430-51175114 to be up.. 2026-08-14 11:41:59,807 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:42:04,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:42:09,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:42:15,057 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:42:20,136 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:42:25,216 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:42:30,306 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:42:35,401 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:42:40,495 - DEBUG - VM is in ACTIVE state now 2026-08-14 11:42:40,495 - INFO - VM name : ctest-TestBasicPolicy-69452430-51175114 2026-08-14 11:42:40,598 - DEBUG - VM ctest-TestBasicPolicy-69452430-51175114 ID is 6eaef11b-a111-4ace-bdff-5fa11b4e1b10 2026-08-14 11:42:40,618 - DEBUG - VM ctest-TestBasicPolicy-69452430-51175114 launched on Node cn-jenkins-deploy-platform-ansible-os-6161-1 2026-08-14 11:42:40,718 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6eaef11b-a111-4ace-bdff-5fa11b4e1b10 2026-08-14 11:42:40,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f68f1714-dfb9-4a7a-8579-614f784c2f8c 2026-08-14 11:42:44,013 - 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=10.5 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 10.538/10.538/10.538/0.000 ms') 2026-08-14 11:42:44,013 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69452430-51175114 passed 2026-08-14 11:42:44,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 11:42:44,169 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69452430-51175114, IP 132.215.6.3, Port 22 2026-08-14 11:42:44,335 - DEBUG - VM ctest-TestBasicPolicy-69452430-51175114 is ready for SSH connections 2026-08-14 11:42:44,335 - INFO - Waiting for VM ctest-TestBasicPolicy-69452430-99582497 to be up.. 2026-08-14 11:42:44,413 - DEBUG - VM is in ACTIVE state now 2026-08-14 11:42:44,413 - INFO - VM name : ctest-TestBasicPolicy-69452430-99582497 2026-08-14 11:42:44,492 - DEBUG - VM ctest-TestBasicPolicy-69452430-99582497 ID is 44f5d050-f89e-4226-9d85-2bdfc4ed6590 2026-08-14 11:42:44,492 - DEBUG - VM ctest-TestBasicPolicy-69452430-99582497 launched on Node cn-jenkins-deploy-platform-ansible-os-6161-1 2026-08-14 11:42:44,572 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/44f5d050-f89e-4226-9d85-2bdfc4ed6590 2026-08-14 11:42:44,581 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bf6cee94-c5d7-4b66-ae3e-5a0b8d9ae5ed 2026-08-14 11:42:45,823 - 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=8.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.575 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.575/4.598/8.622/4.023 ms') 2026-08-14 11:42:45,823 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69452430-99582497 passed 2026-08-14 11:42:45,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 11:42:45,974 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69452430-99582497, IP 27.65.111.131, Port 22 2026-08-14 11:42:46,139 - DEBUG - VM ctest-TestBasicPolicy-69452430-99582497 is ready for SSH connections 2026-08-14 11:42:46,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 11:42:46,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.65.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-14 11:42:46,140 - DEBUG - ping -s 56 -c 3 -W 1 27.65.111.131 2026-08-14 11:42:50,115 - DEBUG - PING 27.65.111.131 (27.65.111.131): 56 data bytes 64 bytes from 27.65.111.131: seq=0 ttl=63 time=4.255 ms 64 bytes from 27.65.111.131: seq=1 ttl=63 time=1.373 ms 64 bytes from 27.65.111.131: seq=2 ttl=63 time=0.963 ms --- 27.65.111.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/2.197/4.255 ms 2026-08-14 11:42:50,116 - INFO - Ping to IP 27.65.111.131 from VM ctest-TestBasicPolicy-69452430-51175114 passed 2026-08-14 11:42:50,305 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7a4d6477-f5f7-4184-9b57-46e2d0cc4a2b", "href": "http://10.0.0.38:8082/network-policy/7a4d6477-f5f7-4184-9b57-46e2d0cc4a2b"}} 2026-08-14 11:42:50,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 11:42:50,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.65.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-14 11:42:50,306 - DEBUG - ping -s 56 -c 3 -W 1 27.65.111.131 2026-08-14 11:42:53,438 - DEBUG - PING 27.65.111.131 (27.65.111.131): 56 data bytes 64 bytes from 27.65.111.131: seq=0 ttl=63 time=1.543 ms --- 27.65.111.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.543/1.543/1.543 ms 2026-08-14 11:42:53,438 - WARNING - Ping to IP 27.65.111.131 from VM ctest-TestBasicPolicy-69452430-51175114 failed 2026-08-14 11:42:53,438 - INFO - Deleting VM ctest-TestBasicPolicy-69452430-99582497 2026-08-14 11:42:53,512 - INFO - Deleting VM ctest-TestBasicPolicy-69452430-51175114 2026-08-14 11:42:53,890 - INFO - Deleted policy ctest-policy-allow-all-71905597 2026-08-14 11:42:53,890 - INFO - Deleting VN ctest-vn-91794436 2026-08-14 11:42:53,931 - DEBUG - VN 2071c42a-30c3-4217-bac3-2f0de701c1b9 still in use: Unable to complete operation on network 2071c42a-30c3-4217-bac3-2f0de701c1b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9dd6b90b-75d4-4b33-a4c9-28f920087acc'] 2026-08-14 11:42:53,931 - WARNING - Deleting VN ctest-vn-91794436 failed..Will retry 2026-08-14 11:42:56,042 - DEBUG - Response for deleting network () 2026-08-14 11:42:56,042 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/96bd15b6-114f-405e-9aa3-7ff3bf82075a 2026-08-14 11:42:56,050 - DEBUG - Response Code: 404 2026-08-14 11:42:56,050 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-14 11:42:56,057 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cda30dd0-4093-44c1-848a-eac380395ace 2026-08-14 11:42:56,112 - DEBUG - Requesting: http://10.0.0.38:8082/project/eed29908-8aa2-48da-a3b2-e427d98c8538 2026-08-14 11:42:56,186 - INFO - Validated that VN ctest-vn-91794436 is not found in API Server 2026-08-14 11:42:56,200 - DEBUG - VN ctest-vn-91794436 is not present in Agent 10.0.0.38 2026-08-14 11:42:56,200 - INFO - Validated that VN ctest-vn-91794436 is not in any agent 2026-08-14 11:42:56,218 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91794436 info 2026-08-14 11:42:56,218 - INFO - Deleting VN ctest-vn-32071653 2026-08-14 11:42:56,335 - DEBUG - Response for deleting network () 2026-08-14 11:42:56,335 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ff5407bc-4f0f-4f3b-827a-b4226a97eb52 2026-08-14 11:42:56,342 - DEBUG - Response Code: 404 2026-08-14 11:42:56,342 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-14 11:42:56,347 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cda30dd0-4093-44c1-848a-eac380395ace 2026-08-14 11:42:56,398 - DEBUG - Requesting: http://10.0.0.38:8082/project/eed29908-8aa2-48da-a3b2-e427d98c8538 2026-08-14 11:42:56,480 - INFO - Validated that VN ctest-vn-32071653 is not found in API Server 2026-08-14 11:42:56,491 - DEBUG - VN ctest-vn-32071653 is not present in Agent 10.0.0.38 2026-08-14 11:42:56,491 - INFO - Validated that VN ctest-vn-32071653 is not in any agent 2026-08-14 11:42:56,508 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32071653 info 2026-08-14 11:42:56,768 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 11:42:56,768 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:02]
2026-08-14 11:42:56,768 - INFO - -------------------------------------------------------------------------------- 2026-08-14 11:42:57,490 - INFO - Deleted project: ctest-TestBasicPolicy-69452430, ID : eed29908-8aa2-48da-a3b2-e427d98c8538