2026-04-21 22:14:59,748 - INFO - Domain Default found not creating 2026-04-21 22:14:59,943 - INFO - Project ctest-TestBasicPolicy-69512835 not found, creating it 2026-04-21 22:15:00,433 - INFO - Created Project:ctest-TestBasicPolicy-69512835, ID : 4596a8c2-e0f5-4ab6-9d51-2ffab476762a 2026-04-21 22:15:02,029 - INFO - ================================================================================ 2026-04-21 22:15:02,029 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-21 22:15:02,030 - 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-21 22:15:02,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-21 22:15:02,300 - INFO - Initial checks done. Running the testcase now 2026-04-21 22:15:02,300 - INFO - 2026-04-21 22:15:02,961 - DEBUG - Response for create_network : {'network': {'id': 'c50dcdca-f525-43cd-b2bc-1e4ea0b5a57f', 'name': 'ctest-vn-65685355', 'tenant_id': '4596a8c2e0f54ab69d512ffab476762a', 'project_id': '4596a8c2e0f54ab69d512ffab476762a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69512835', 'ctest-vn-65685355'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 22:15:03,130 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bee48ad-029c-4195-95b6-165fa2f9fdad', 'name': '', 'tenant_id': '4596a8c2e0f54ab69d512ffab476762a', 'network_id': 'c50dcdca-f525-43cd-b2bc-1e4ea0b5a57f', 'ip_version': 4, 'cidr': '52.248.12.0/26', 'allocation_pools': [{'start': '52.248.12.2', 'end': '52.248.12.62'}], 'gateway_ip': '52.248.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.248.12.2', 'tags': [], 'project_id': '4596a8c2e0f54ab69d512ffab476762a'}} 2026-04-21 22:15:03,149 - INFO - Created VN ctest-vn-65685355 2026-04-21 22:15:03,202 - DEBUG - VN ctest-vn-65685355 UUID is c50dcdca-f525-43cd-b2bc-1e4ea0b5a57f 2026-04-21 22:15:03,523 - DEBUG - Response for create_network : {'network': {'id': 'ab9e1feb-2e18-4949-bcc2-647911ded1c2', 'name': 'ctest-vn-41702955', 'tenant_id': '4596a8c2e0f54ab69d512ffab476762a', 'project_id': '4596a8c2e0f54ab69d512ffab476762a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69512835', 'ctest-vn-41702955'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 22:15:03,767 - DEBUG - Response for create_subnet : {'subnet': {'id': 'faf41237-202b-4775-b9ce-47c44a0bb323', 'name': '', 'tenant_id': '4596a8c2e0f54ab69d512ffab476762a', 'network_id': 'ab9e1feb-2e18-4949-bcc2-647911ded1c2', 'ip_version': 4, 'cidr': '114.212.36.64/26', 'allocation_pools': [{'start': '114.212.36.66', 'end': '114.212.36.126'}], 'gateway_ip': '114.212.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.212.36.66', 'tags': [], 'project_id': '4596a8c2e0f54ab69d512ffab476762a'}} 2026-04-21 22:15:03,788 - INFO - Created VN ctest-vn-41702955 2026-04-21 22:15:03,842 - DEBUG - VN ctest-vn-41702955 UUID is ab9e1feb-2e18-4949-bcc2-647911ded1c2 2026-04-21 22:15:03,960 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69512835:ctest-vn-65685355, 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-69512835:ctest-vn-41702955, 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-21 22:15:04,265 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c50dcdca-f525-43cd-b2bc-1e4ea0b5a57f', 'name': 'ctest-vn-65685355', 'tenant_id': '4596a8c2e0f54ab69d512ffab476762a', 'project_id': '4596a8c2e0f54ab69d512ffab476762a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2bee48ad-029c-4195-95b6-165fa2f9fdad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69512835', 'ctest-vn-65685355'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69512835', 'ctest-policy-allow-all-63556803']], 'subnet_ipam': [{'subnet_cidr': '52.248.12.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-21 22:15:04,498 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab9e1feb-2e18-4949-bcc2-647911ded1c2', 'name': 'ctest-vn-41702955', 'tenant_id': '4596a8c2e0f54ab69d512ffab476762a', 'project_id': '4596a8c2e0f54ab69d512ffab476762a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['faf41237-202b-4775-b9ce-47c44a0bb323'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69512835', 'ctest-vn-41702955'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69512835', 'ctest-policy-allow-all-63556803']], 'subnet_ipam': [{'subnet_cidr': '114.212.36.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-21 22:15:04,662 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 22:15:04,957 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 22:15:04,997 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33208cc1-0030-4a05-8a55-a4435d63b726 2026-04-21 22:15:05,010 - DEBUG - Requesting: http://10.0.0.38:8082/project/4596a8c2-e0f5-4ab6-9d51-2ffab476762a 2026-04-21 22:15:05,078 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c50dcdca-f525-43cd-b2bc-1e4ea0b5a57f 2026-04-21 22:15:05,089 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c50dcdca-f525-43cd-b2bc-1e4ea0b5a57f 2026-04-21 22:15:05,097 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ceb0188f-1d05-4e9d-b686-ce182f129ffc 2026-04-21 22:15:05,104 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ceb0188f-1d05-4e9d-b686-ce182f129ffc 2026-04-21 22:15:05,110 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/dbabc491-cc3e-4029-82c0-cda983fa3aac 2026-04-21 22:15:05,116 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-21 22:15:05,117 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c50dcdca-f525-43cd-b2bc-1e4ea0b5a57f 2026-04-21 22:15:05,126 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ceb0188f-1d05-4e9d-b686-ce182f129ffc 2026-04-21 22:15:05,141 - INFO - Verified VN network id 11 for VN c50dcdca-f525-43cd-b2bc-1e4ea0b5a57f 2026-04-21 22:15:05,141 - INFO - Verifications in API Server for VN ctest-vn-65685355 passed 2026-04-21 22:15:05,141 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c50dcdca-f525-43cd-b2bc-1e4ea0b5a57f 2026-04-21 22:15:05,151 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ceb0188f-1d05-4e9d-b686-ce182f129ffc 2026-04-21 22:15:05,159 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ceb0188f-1d05-4e9d-b686-ce182f129ffc 2026-04-21 22:15:05,167 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/dbabc491-cc3e-4029-82c0-cda983fa3aac 2026-04-21 22:15:05,181 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69512835:ctest-vn-65685355', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69512835', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14199231471748989901', 'uuid-lslong': '12879202357425317247'}, 'enable': 'true', 'created': '2026-04-21T22:15:02', 'last-modified': '2026-04-21T22:15:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946399'} 2026-04-21 22:15:05,187 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-21 22:15:05,187 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65685355 passed 2026-04-21 22:15:05,187 - DEBUG - ====Verifying policy data for ctest-vn-65685355 in API_Server ====== 2026-04-21 22:15:05,187 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 22:15:05,194 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33208cc1-0030-4a05-8a55-a4435d63b726 2026-04-21 22:15:05,205 - DEBUG - Requesting: http://10.0.0.38:8082/project/4596a8c2-e0f5-4ab6-9d51-2ffab476762a 2026-04-21 22:15:05,274 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c50dcdca-f525-43cd-b2bc-1e4ea0b5a57f 2026-04-21 22:15:05,283 - DEBUG - ==>Verifying data for policy with id: ce45febd-76f0-4830-b955-f60070d50c74, fqn: ['default-domain', 'ctest-TestBasicPolicy-69512835', 'ctest-policy-allow-all-63556803'] 2026-04-21 22:15:05,283 - INFO - VN ctest-vn-65685355 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-21 22:15:05,283 - DEBUG - Verifying the vn in opserver 2026-04-21 22:15:05,283 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69512835:ctest-vn-65685355 virtual network link through opserver 10.0.0.38 2026-04-21 22:15:05,283 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-21 22:15:05,577 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-21 22:15:05,646 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69512835:ctest-vn-65685355', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69512835:ctest-vn-65685355?flat'} 2026-04-21 22:15:05,646 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69512835:ctest-vn-65685355 is found in opserver 2026-04-21 22:15:05,655 - DEBUG - Do not have enough data to verify VN in agent 2026-04-21 22:15:05,659 - DEBUG - VRF ids for VN ctest-vn-65685355: {} 2026-04-21 22:15:05,659 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 22:15:05,665 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33208cc1-0030-4a05-8a55-a4435d63b726 2026-04-21 22:15:05,675 - DEBUG - Requesting: http://10.0.0.38:8082/project/4596a8c2-e0f5-4ab6-9d51-2ffab476762a 2026-04-21 22:15:05,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab9e1feb-2e18-4949-bcc2-647911ded1c2 2026-04-21 22:15:05,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab9e1feb-2e18-4949-bcc2-647911ded1c2 2026-04-21 22:15:05,772 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e0213d2-7724-4168-b745-d9e317a0c879 2026-04-21 22:15:05,779 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e0213d2-7724-4168-b745-d9e317a0c879 2026-04-21 22:15:05,786 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37a14e38-c3a6-4a48-a1fe-31facebbb6c3 2026-04-21 22:15:05,792 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-21 22:15:05,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab9e1feb-2e18-4949-bcc2-647911ded1c2 2026-04-21 22:15:05,801 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e0213d2-7724-4168-b745-d9e317a0c879 2026-04-21 22:15:05,815 - INFO - Verified VN network id 12 for VN ab9e1feb-2e18-4949-bcc2-647911ded1c2 2026-04-21 22:15:05,815 - INFO - Verifications in API Server for VN ctest-vn-41702955 passed 2026-04-21 22:15:05,816 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab9e1feb-2e18-4949-bcc2-647911ded1c2 2026-04-21 22:15:05,824 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e0213d2-7724-4168-b745-d9e317a0c879 2026-04-21 22:15:05,832 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e0213d2-7724-4168-b745-d9e317a0c879 2026-04-21 22:15:05,839 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37a14e38-c3a6-4a48-a1fe-31facebbb6c3 2026-04-21 22:15:05,852 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69512835:ctest-vn-41702955', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69512835', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12366356721757079881', 'uuid-lslong': '13601544295765955010'}, 'enable': 'true', 'created': '2026-04-21T22:15:03', 'last-modified': '2026-04-21T22:15:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.380150'} 2026-04-21 22:15:05,858 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-21 22:15:05,858 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41702955 passed 2026-04-21 22:15:05,858 - DEBUG - ====Verifying policy data for ctest-vn-41702955 in API_Server ====== 2026-04-21 22:15:05,858 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 22:15:05,864 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33208cc1-0030-4a05-8a55-a4435d63b726 2026-04-21 22:15:05,876 - DEBUG - Requesting: http://10.0.0.38:8082/project/4596a8c2-e0f5-4ab6-9d51-2ffab476762a 2026-04-21 22:15:05,949 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab9e1feb-2e18-4949-bcc2-647911ded1c2 2026-04-21 22:15:05,957 - DEBUG - ==>Verifying data for policy with id: ce45febd-76f0-4830-b955-f60070d50c74, fqn: ['default-domain', 'ctest-TestBasicPolicy-69512835', 'ctest-policy-allow-all-63556803'] 2026-04-21 22:15:05,957 - INFO - VN ctest-vn-41702955 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-21 22:15:05,958 - DEBUG - Verifying the vn in opserver 2026-04-21 22:15:05,958 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69512835:ctest-vn-41702955 virtual network link through opserver 10.0.0.38 2026-04-21 22:15:05,958 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-21 22:15:05,968 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69512835:ctest-vn-41702955', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69512835:ctest-vn-41702955?flat'} 2026-04-21 22:15:05,968 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69512835:ctest-vn-41702955 is found in opserver 2026-04-21 22:15:05,978 - DEBUG - Do not have enough data to verify VN in agent 2026-04-21 22:15:05,985 - DEBUG - VRF ids for VN ctest-vn-41702955: {} 2026-04-21 22:15:06,050 - DEBUG - Services list from nova: [, , ] 2026-04-21 22:15:07,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5664-1) 2026-04-21 22:15:08,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5664-1) 2026-04-21 22:15:08,309 - INFO - Waiting for VM ctest-TestBasicPolicy-69512835-03442518 to be up.. 2026-04-21 22:15:08,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-21 22:15:13,475 - DEBUG - VM is in ACTIVE state now 2026-04-21 22:15:13,475 - INFO - VM name : ctest-TestBasicPolicy-69512835-03442518 2026-04-21 22:15:13,558 - DEBUG - VM ctest-TestBasicPolicy-69512835-03442518 ID is 7c0baf0e-6ff2-4d73-909f-befbc8ecb547 2026-04-21 22:15:13,580 - DEBUG - VM ctest-TestBasicPolicy-69512835-03442518 launched on Node cn-jenkins-deploy-platform-ansible-os-5664-1 2026-04-21 22:15:13,662 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7c0baf0e-6ff2-4d73-909f-befbc8ecb547 2026-04-21 22:15:13,670 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d2332b43-46b8-43f2-9e64-ede4ec8f5512 2026-04-21 22:15:16,927 - 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 1022ms') 2026-04-21 22:15:16,928 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69512835-03442518 failed! 2026-04-21 22:15:16,982 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69512835:ctest-vn-65685355 is 52.248.12.1 and allocation pool is NOT set 2026-04-21 22:15:19,050 - 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=9.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.82 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.820/5.558/9.297/3.738 ms') 2026-04-21 22:15:19,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69512835-03442518 passed 2026-04-21 22:15:19,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 22:15:19,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69512835-03442518, IP 52.248.12.3, Port 22 2026-04-21 22:15:19,361 - DEBUG - VM ctest-TestBasicPolicy-69512835-03442518 is ready for SSH connections 2026-04-21 22:15:19,361 - INFO - Waiting for VM ctest-TestBasicPolicy-69512835-13444817 to be up.. 2026-04-21 22:15:19,459 - DEBUG - VM is in ACTIVE state now 2026-04-21 22:15:19,459 - INFO - VM name : ctest-TestBasicPolicy-69512835-13444817 2026-04-21 22:15:19,540 - DEBUG - VM ctest-TestBasicPolicy-69512835-13444817 ID is 315fc53e-bd1b-4915-a0d8-3b427772b222 2026-04-21 22:15:19,540 - DEBUG - VM ctest-TestBasicPolicy-69512835-13444817 launched on Node cn-jenkins-deploy-platform-ansible-os-5664-1 2026-04-21 22:15:19,618 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/315fc53e-bd1b-4915-a0d8-3b427772b222 2026-04-21 22:15:19,627 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4bc05503-975b-4e1f-abcf-b14e422c5264 2026-04-21 22:15:20,863 - 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=4.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.948 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.948/2.502/4.056/1.554 ms') 2026-04-21 22:15:20,863 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69512835-13444817 passed 2026-04-21 22:15:21,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 22:15:21,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69512835-13444817, IP 114.212.36.67, Port 22 2026-04-21 22:15:21,178 - DEBUG - VM ctest-TestBasicPolicy-69512835-13444817 is ready for SSH connections 2026-04-21 22:15:21,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 22:15:21,178 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.212.36.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-21 22:15:21,178 - DEBUG - ping -s 56 -c 3 -W 1 114.212.36.67 2026-04-21 22:15:25,271 - DEBUG - PING 114.212.36.67 (114.212.36.67): 56 data bytes 64 bytes from 114.212.36.67: seq=0 ttl=63 time=4.136 ms 64 bytes from 114.212.36.67: seq=1 ttl=63 time=1.238 ms 64 bytes from 114.212.36.67: seq=2 ttl=63 time=1.163 ms --- 114.212.36.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.163/2.179/4.136 ms 2026-04-21 22:15:25,271 - INFO - Ping to IP 114.212.36.67 from VM ctest-TestBasicPolicy-69512835-03442518 passed 2026-04-21 22:15:25,449 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ce45febd-76f0-4830-b955-f60070d50c74", "href": "http://10.0.0.38:8082/network-policy/ce45febd-76f0-4830-b955-f60070d50c74"}} 2026-04-21 22:15:25,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 22:15:25,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.212.36.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-21 22:15:25,450 - DEBUG - ping -s 56 -c 3 -W 1 114.212.36.67 2026-04-21 22:15:28,655 - DEBUG - PING 114.212.36.67 (114.212.36.67): 56 data bytes --- 114.212.36.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-21 22:15:28,655 - WARNING - Ping to IP 114.212.36.67 from VM ctest-TestBasicPolicy-69512835-03442518 failed 2026-04-21 22:15:28,656 - INFO - Deleting VM ctest-TestBasicPolicy-69512835-13444817 2026-04-21 22:15:28,758 - INFO - Deleting VM ctest-TestBasicPolicy-69512835-03442518 2026-04-21 22:15:29,189 - INFO - Deleted policy ctest-policy-allow-all-63556803 2026-04-21 22:15:29,189 - INFO - Deleting VN ctest-vn-41702955 2026-04-21 22:15:29,232 - DEBUG - VN ab9e1feb-2e18-4949-bcc2-647911ded1c2 still in use: Unable to complete operation on network ab9e1feb-2e18-4949-bcc2-647911ded1c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5191e63d-c473-4bd2-a1e0-e25a716f23c6'] 2026-04-21 22:15:29,233 - WARNING - Deleting VN ctest-vn-41702955 failed..Will retry 2026-04-21 22:15:31,342 - DEBUG - Response for deleting network () 2026-04-21 22:15:31,342 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e0213d2-7724-4168-b745-d9e317a0c879 2026-04-21 22:15:31,347 - DEBUG - Response Code: 404 2026-04-21 22:15:31,347 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 22:15:31,353 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33208cc1-0030-4a05-8a55-a4435d63b726 2026-04-21 22:15:31,408 - DEBUG - Requesting: http://10.0.0.38:8082/project/4596a8c2-e0f5-4ab6-9d51-2ffab476762a 2026-04-21 22:15:31,483 - INFO - Validated that VN ctest-vn-41702955 is not found in API Server 2026-04-21 22:15:31,494 - DEBUG - VN ctest-vn-41702955 is not present in Agent 10.0.0.38 2026-04-21 22:15:31,494 - INFO - Validated that VN ctest-vn-41702955 is not in any agent 2026-04-21 22:15:31,510 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41702955 info 2026-04-21 22:15:31,510 - INFO - Deleting VN ctest-vn-65685355 2026-04-21 22:15:31,618 - DEBUG - Response for deleting network () 2026-04-21 22:15:31,618 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ceb0188f-1d05-4e9d-b686-ce182f129ffc 2026-04-21 22:15:31,624 - DEBUG - Response Code: 404 2026-04-21 22:15:31,624 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 22:15:31,630 - DEBUG - Requesting: http://10.0.0.38:8082/domain/33208cc1-0030-4a05-8a55-a4435d63b726 2026-04-21 22:15:31,688 - DEBUG - Requesting: http://10.0.0.38:8082/project/4596a8c2-e0f5-4ab6-9d51-2ffab476762a 2026-04-21 22:15:31,764 - INFO - Validated that VN ctest-vn-65685355 is not found in API Server 2026-04-21 22:15:31,775 - DEBUG - VN ctest-vn-65685355 is not present in Agent 10.0.0.38 2026-04-21 22:15:31,775 - INFO - Validated that VN ctest-vn-65685355 is not in any agent 2026-04-21 22:15:31,792 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65685355 info 2026-04-21 22:15:32,056 - DEBUG - No XMPP flaps were noticed during the test 2026-04-21 22:15:32,056 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-04-21 22:15:32,056 - INFO - -------------------------------------------------------------------------------- 2026-04-21 22:15:32,960 - INFO - Deleted project: ctest-TestBasicPolicy-69512835, ID : 4596a8c2-e0f5-4ab6-9d51-2ffab476762a