2026-05-19 15:44:00,864 - INFO - Domain Default found not creating 2026-05-19 15:44:01,057 - INFO - Project ctest-TestBasicPolicy-10755622 not found, creating it 2026-05-19 15:44:01,547 - INFO - Created Project:ctest-TestBasicPolicy-10755622, ID : fbfaa60e-4b29-4cab-a929-2bac8a6c19f0 2026-05-19 15:44:03,142 - INFO - ================================================================================ 2026-05-19 15:44:03,142 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-19 15:44:03,142 - 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-05-19 15:44:03,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-05-19 15:44:03,396 - INFO - Initial checks done. Running the testcase now 2026-05-19 15:44:03,396 - INFO - 2026-05-19 15:44:03,953 - DEBUG - Response for create_network : {'network': {'id': 'd2274212-a490-4add-94c1-e75076b29e8c', 'name': 'ctest-vn-90324947', 'tenant_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'project_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-vn-90324947'], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:44:04,144 - DEBUG - Response for create_subnet : {'subnet': {'id': 'daff50be-eb18-4d0e-8246-adc19aad6a56', 'name': '', 'tenant_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'network_id': 'd2274212-a490-4add-94c1-e75076b29e8c', 'ip_version': 4, 'cidr': '94.175.174.0/26', 'allocation_pools': [{'start': '94.175.174.2', 'end': '94.175.174.62'}], 'gateway_ip': '94.175.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.175.174.2', 'tags': [], 'project_id': 'fbfaa60e4b294caba9292bac8a6c19f0'}} 2026-05-19 15:44:04,163 - INFO - Created VN ctest-vn-90324947 2026-05-19 15:44:04,218 - DEBUG - VN ctest-vn-90324947 UUID is d2274212-a490-4add-94c1-e75076b29e8c 2026-05-19 15:44:04,514 - DEBUG - Response for create_network : {'network': {'id': 'c0629a19-6138-4586-860c-fa712285bd79', 'name': 'ctest-vn-98886417', 'tenant_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'project_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-vn-98886417'], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:44:04,681 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a57b0cbc-2c99-4235-9daa-3ab14421a8aa', 'name': '', 'tenant_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'network_id': 'c0629a19-6138-4586-860c-fa712285bd79', 'ip_version': 4, 'cidr': '36.105.209.0/26', 'allocation_pools': [{'start': '36.105.209.2', 'end': '36.105.209.62'}], 'gateway_ip': '36.105.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.105.209.2', 'tags': [], 'project_id': 'fbfaa60e4b294caba9292bac8a6c19f0'}} 2026-05-19 15:44:04,701 - INFO - Created VN ctest-vn-98886417 2026-05-19 15:44:04,754 - DEBUG - VN ctest-vn-98886417 UUID is c0629a19-6138-4586-860c-fa712285bd79 2026-05-19 15:44:04,875 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947, 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-10755622:ctest-vn-98886417, 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-05-19 15:44:05,182 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd2274212-a490-4add-94c1-e75076b29e8c', 'name': 'ctest-vn-90324947', 'tenant_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'project_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['daff50be-eb18-4d0e-8246-adc19aad6a56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-vn-90324947'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-policy-allow-all-48834331']], 'subnet_ipam': [{'subnet_cidr': '94.175.174.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:44:05,414 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c0629a19-6138-4586-860c-fa712285bd79', 'name': 'ctest-vn-98886417', 'tenant_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'project_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a57b0cbc-2c99-4235-9daa-3ab14421a8aa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-vn-98886417'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-policy-allow-all-48834331']], 'subnet_ipam': [{'subnet_cidr': '36.105.209.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:44:05,586 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-19 15:44:05,885 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-19 15:44:05,926 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5f0da55d-23b0-4dab-8815-139d8cab4a2c 2026-05-19 15:44:05,939 - DEBUG - Requesting: http://10.0.0.19:8082/project/fbfaa60e-4b29-4cab-a929-2bac8a6c19f0 2026-05-19 15:44:06,017 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d2274212-a490-4add-94c1-e75076b29e8c 2026-05-19 15:44:06,029 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d2274212-a490-4add-94c1-e75076b29e8c 2026-05-19 15:44:06,038 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/50609d55-e567-425c-93d2-32f0b25c400c 2026-05-19 15:44:06,046 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/50609d55-e567-425c-93d2-32f0b25c400c 2026-05-19 15:44:06,054 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/13f98e69-353d-489b-854c-8d956ecb3aab 2026-05-19 15:44:06,061 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-19 15:44:06,061 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d2274212-a490-4add-94c1-e75076b29e8c 2026-05-19 15:44:06,072 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/50609d55-e567-425c-93d2-32f0b25c400c 2026-05-19 15:44:06,088 - INFO - Verified VN network id 11 for VN d2274212-a490-4add-94c1-e75076b29e8c 2026-05-19 15:44:06,088 - INFO - Verifications in API Server for VN ctest-vn-90324947 passed 2026-05-19 15:44:06,088 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d2274212-a490-4add-94c1-e75076b29e8c 2026-05-19 15:44:06,098 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/50609d55-e567-425c-93d2-32f0b25c400c 2026-05-19 15:44:06,105 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/50609d55-e567-425c-93d2-32f0b25c400c 2026-05-19 15:44:06,112 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/13f98e69-353d-489b-854c-8d956ecb3aab 2026-05-19 15:44:06,124 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10755622', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15143144919894346461', 'uuid-lslong': '10719102920893308556'}, 'enable': 'true', 'created': '2026-05-19T15:44:03', 'last-modified': '2026-05-19T15:44:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.963328'} 2026-05-19 15:44:06,130 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-19 15:44:06,130 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90324947 passed 2026-05-19 15:44:06,130 - DEBUG - ====Verifying policy data for ctest-vn-90324947 in API_Server ====== 2026-05-19 15:44:06,130 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-19 15:44:06,136 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5f0da55d-23b0-4dab-8815-139d8cab4a2c 2026-05-19 15:44:06,146 - DEBUG - Requesting: http://10.0.0.19:8082/project/fbfaa60e-4b29-4cab-a929-2bac8a6c19f0 2026-05-19 15:44:06,214 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d2274212-a490-4add-94c1-e75076b29e8c 2026-05-19 15:44:06,223 - DEBUG - ==>Verifying data for policy with id: 77e59b46-de0e-4d29-90d1-2d1050288370, fqn: ['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-policy-allow-all-48834331'] 2026-05-19 15:44:06,223 - INFO - VN ctest-vn-90324947 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-19 15:44:06,223 - DEBUG - Verifying the vn in opserver 2026-05-19 15:44:06,223 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947 virtual network link through opserver 10.0.0.19 2026-05-19 15:44:06,223 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-19 15:44:06,534 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-19 15:44:06,605 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947?flat'} 2026-05-19 15:44:06,605 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947 is found in opserver 2026-05-19 15:44:06,614 - DEBUG - Do not have enough data to verify VN in agent 2026-05-19 15:44:06,619 - DEBUG - VRF ids for VN ctest-vn-90324947: {} 2026-05-19 15:44:06,619 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-19 15:44:06,624 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5f0da55d-23b0-4dab-8815-139d8cab4a2c 2026-05-19 15:44:06,634 - DEBUG - Requesting: http://10.0.0.19:8082/project/fbfaa60e-4b29-4cab-a929-2bac8a6c19f0 2026-05-19 15:44:06,709 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0629a19-6138-4586-860c-fa712285bd79 2026-05-19 15:44:06,724 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0629a19-6138-4586-860c-fa712285bd79 2026-05-19 15:44:06,735 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6f5595ad-2083-41e6-b1ec-d2e619fec929 2026-05-19 15:44:06,743 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6f5595ad-2083-41e6-b1ec-d2e619fec929 2026-05-19 15:44:06,749 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/5644e5e1-7601-4806-8a6e-8ba56c604bf6 2026-05-19 15:44:06,757 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-19 15:44:06,757 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0629a19-6138-4586-860c-fa712285bd79 2026-05-19 15:44:06,767 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6f5595ad-2083-41e6-b1ec-d2e619fec929 2026-05-19 15:44:06,786 - INFO - Verified VN network id 12 for VN c0629a19-6138-4586-860c-fa712285bd79 2026-05-19 15:44:06,787 - INFO - Verifications in API Server for VN ctest-vn-98886417 passed 2026-05-19 15:44:06,787 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0629a19-6138-4586-860c-fa712285bd79 2026-05-19 15:44:06,798 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6f5595ad-2083-41e6-b1ec-d2e619fec929 2026-05-19 15:44:06,807 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6f5595ad-2083-41e6-b1ec-d2e619fec929 2026-05-19 15:44:06,815 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/5644e5e1-7601-4806-8a6e-8ba56c604bf6 2026-05-19 15:44:06,830 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-98886417', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10755622', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13862812036795745670', 'uuid-lslong': '9659370664620309881'}, 'enable': 'true', 'created': '2026-05-19T15:44:04', 'last-modified': '2026-05-19T15:44:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.433960'} 2026-05-19 15:44:06,836 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-19 15:44:06,837 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98886417 passed 2026-05-19 15:44:06,837 - DEBUG - ====Verifying policy data for ctest-vn-98886417 in API_Server ====== 2026-05-19 15:44:06,837 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-19 15:44:06,842 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5f0da55d-23b0-4dab-8815-139d8cab4a2c 2026-05-19 15:44:06,853 - DEBUG - Requesting: http://10.0.0.19:8082/project/fbfaa60e-4b29-4cab-a929-2bac8a6c19f0 2026-05-19 15:44:06,923 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0629a19-6138-4586-860c-fa712285bd79 2026-05-19 15:44:06,945 - DEBUG - ==>Verifying data for policy with id: 77e59b46-de0e-4d29-90d1-2d1050288370, fqn: ['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-policy-allow-all-48834331'] 2026-05-19 15:44:06,946 - INFO - VN ctest-vn-98886417 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-19 15:44:06,946 - DEBUG - Verifying the vn in opserver 2026-05-19 15:44:06,946 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-98886417 virtual network link through opserver 10.0.0.19 2026-05-19 15:44:06,946 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-19 15:44:06,956 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-98886417', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-98886417?flat'} 2026-05-19 15:44:06,956 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-98886417 is found in opserver 2026-05-19 15:44:06,967 - DEBUG - Do not have enough data to verify VN in agent 2026-05-19 15:44:06,972 - DEBUG - VRF ids for VN ctest-vn-98886417: {} 2026-05-19 15:44:07,033 - DEBUG - Services list from nova: [, , ] 2026-05-19 15:44:08,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5798-1) 2026-05-19 15:44:09,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5798-1) 2026-05-19 15:44:09,316 - INFO - Waiting for VM ctest-TestBasicPolicy-10755622-49935904 to be up.. 2026-05-19 15:44:09,398 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-19 15:44:14,482 - DEBUG - VM is in ACTIVE state now 2026-05-19 15:44:14,482 - INFO - VM name : ctest-TestBasicPolicy-10755622-49935904 2026-05-19 15:44:14,566 - DEBUG - VM ctest-TestBasicPolicy-10755622-49935904 ID is ab31501e-5887-4ee9-a1e4-8732da2c459f 2026-05-19 15:44:14,590 - DEBUG - VM ctest-TestBasicPolicy-10755622-49935904 launched on Node cn-jenkins-deploy-platform-ansible-os-5798-1 2026-05-19 15:44:14,672 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ab31501e-5887-4ee9-a1e4-8732da2c459f 2026-05-19 15:44:14,682 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/089a8234-29c7-4e81-bdbe-7dad3ddf5923 2026-05-19 15:44:17,933 - 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 1002ms') 2026-05-19 15:44:17,933 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10755622-49935904 failed! 2026-05-19 15:44:17,995 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947 is 94.175.174.1 and allocation pool is NOT set 2026-05-19 15:44:20,063 - 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=7.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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 = 1.017/4.385/7.753/3.368 ms') 2026-05-19 15:44:20,063 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10755622-49935904 passed 2026-05-19 15:44:20,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:44:20,218 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10755622-49935904, IP 94.175.174.3, Port 22 2026-05-19 15:44:20,374 - DEBUG - VM ctest-TestBasicPolicy-10755622-49935904 is ready for SSH connections 2026-05-19 15:44:20,374 - INFO - Waiting for VM ctest-TestBasicPolicy-10755622-34431053 to be up.. 2026-05-19 15:44:20,465 - DEBUG - VM is in ACTIVE state now 2026-05-19 15:44:20,465 - INFO - VM name : ctest-TestBasicPolicy-10755622-34431053 2026-05-19 15:44:20,551 - DEBUG - VM ctest-TestBasicPolicy-10755622-34431053 ID is c67d97d8-0fa5-4722-8225-f35a0cf8f5b2 2026-05-19 15:44:20,552 - DEBUG - VM ctest-TestBasicPolicy-10755622-34431053 launched on Node cn-jenkins-deploy-platform-ansible-os-5798-1 2026-05-19 15:44:20,643 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c67d97d8-0fa5-4722-8225-f35a0cf8f5b2 2026-05-19 15:44:20,651 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9d389bef-c57f-47e3-bd08-3b1ea157ab00 2026-05-19 15:44:21,891 - 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=2.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.515 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.515/1.724/2.933/1.209 ms') 2026-05-19 15:44:21,891 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10755622-34431053 passed 2026-05-19 15:44:22,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:44:22,042 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10755622-34431053, IP 36.105.209.3, Port 22 2026-05-19 15:44:22,198 - DEBUG - VM ctest-TestBasicPolicy-10755622-34431053 is ready for SSH connections 2026-05-19 15:44:22,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:44:22,198 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.105.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-19 15:44:22,198 - DEBUG - ping -s 56 -c 3 -W 1 36.105.209.3 2026-05-19 15:44:26,288 - DEBUG - PING 36.105.209.3 (36.105.209.3): 56 data bytes 64 bytes from 36.105.209.3: seq=0 ttl=63 time=3.962 ms 64 bytes from 36.105.209.3: seq=1 ttl=63 time=0.956 ms 64 bytes from 36.105.209.3: seq=2 ttl=63 time=1.128 ms --- 36.105.209.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.956/2.015/3.962 ms 2026-05-19 15:44:26,288 - INFO - Ping to IP 36.105.209.3 from VM ctest-TestBasicPolicy-10755622-49935904 passed 2026-05-19 15:44:26,466 - DEBUG - Policy Update Response {"network-policy": {"uuid": "77e59b46-de0e-4d29-90d1-2d1050288370", "href": "http://10.0.0.19:8082/network-policy/77e59b46-de0e-4d29-90d1-2d1050288370"}} 2026-05-19 15:44:26,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:44:26,466 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.105.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-19 15:44:26,466 - DEBUG - ping -s 56 -c 3 -W 1 36.105.209.3 2026-05-19 15:44:29,684 - DEBUG - PING 36.105.209.3 (36.105.209.3): 56 data bytes --- 36.105.209.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-19 15:44:29,684 - WARNING - Ping to IP 36.105.209.3 from VM ctest-TestBasicPolicy-10755622-49935904 failed 2026-05-19 15:44:29,684 - INFO - Deleting VM ctest-TestBasicPolicy-10755622-34431053 2026-05-19 15:44:29,781 - INFO - Deleting VM ctest-TestBasicPolicy-10755622-49935904 2026-05-19 15:44:30,199 - INFO - Deleted policy ctest-policy-allow-all-48834331 2026-05-19 15:44:30,199 - INFO - Deleting VN ctest-vn-98886417 2026-05-19 15:44:30,248 - DEBUG - VN c0629a19-6138-4586-860c-fa712285bd79 still in use: Unable to complete operation on network c0629a19-6138-4586-860c-fa712285bd79. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6e701282-1b8b-40eb-8298-a83b2f54e271'] 2026-05-19 15:44:30,248 - WARNING - Deleting VN ctest-vn-98886417 failed..Will retry 2026-05-19 15:44:32,355 - DEBUG - Response for deleting network () 2026-05-19 15:44:32,356 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6f5595ad-2083-41e6-b1ec-d2e619fec929 2026-05-19 15:44:32,361 - DEBUG - Response Code: 404 2026-05-19 15:44:32,361 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-19 15:44:32,369 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5f0da55d-23b0-4dab-8815-139d8cab4a2c 2026-05-19 15:44:32,425 - DEBUG - Requesting: http://10.0.0.19:8082/project/fbfaa60e-4b29-4cab-a929-2bac8a6c19f0 2026-05-19 15:44:32,497 - INFO - Validated that VN ctest-vn-98886417 is not found in API Server 2026-05-19 15:44:32,508 - DEBUG - VN ctest-vn-98886417 is not present in Agent 10.0.0.19 2026-05-19 15:44:32,508 - INFO - Validated that VN ctest-vn-98886417 is not in any agent 2026-05-19 15:44:32,523 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98886417 info 2026-05-19 15:44:32,523 - INFO - Deleting VN ctest-vn-90324947 2026-05-19 15:44:32,640 - DEBUG - Response for deleting network () 2026-05-19 15:44:32,640 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/50609d55-e567-425c-93d2-32f0b25c400c 2026-05-19 15:44:32,648 - DEBUG - Response Code: 404 2026-05-19 15:44:32,649 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-19 15:44:32,654 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5f0da55d-23b0-4dab-8815-139d8cab4a2c 2026-05-19 15:44:32,707 - DEBUG - Requesting: http://10.0.0.19:8082/project/fbfaa60e-4b29-4cab-a929-2bac8a6c19f0 2026-05-19 15:44:32,782 - INFO - Validated that VN ctest-vn-90324947 is not found in API Server 2026-05-19 15:44:32,793 - DEBUG - VN ctest-vn-90324947 is not present in Agent 10.0.0.19 2026-05-19 15:44:32,793 - INFO - Validated that VN ctest-vn-90324947 is not in any agent 2026-05-19 15:44:32,810 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90324947 info 2026-05-19 15:44:33,063 - DEBUG - No XMPP flaps were noticed during the test
2026-05-19 15:44:33,064 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-19 15:44:33,064 - INFO - -------------------------------------------------------------------------------- 2026-05-19 15:44:33,756 - INFO - Deleted project: ctest-TestBasicPolicy-10755622, ID : fbfaa60e-4b29-4cab-a929-2bac8a6c19f0