2025-12-09 12:08:34,241 - INFO - Domain Default found not creating 2025-12-09 12:08:34,417 - INFO - Project ctest-TestBasicPolicy-52793887 not found, creating it 2025-12-09 12:08:34,911 - INFO - Created Project:ctest-TestBasicPolicy-52793887, ID : a480bafb-4c6f-4008-a762-41902fb01831 2025-12-09 12:08:36,232 - INFO - ================================================================================ 2025-12-09 12:08:36,232 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-09 12:08:36,232 - 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 2025-12-09 12:08:36,486 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-09 12:08:36,487 - INFO - Initial checks done. Running the testcase now 2025-12-09 12:08:36,487 - INFO - 2025-12-09 12:08:36,975 - DEBUG - Response for create_network : {'network': {'id': 'a1220f50-d0cd-45c2-9f68-a9ccc13a6bdb', 'name': 'ctest-vn-76643827', 'tenant_id': 'a480bafb4c6f4008a76241902fb01831', 'project_id': 'a480bafb4c6f4008a76241902fb01831', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52793887', 'ctest-vn-76643827'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 12:08:37,139 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb5b6372-00fc-4923-acc5-192e76691fb1', 'name': '', 'tenant_id': 'a480bafb4c6f4008a76241902fb01831', 'network_id': 'a1220f50-d0cd-45c2-9f68-a9ccc13a6bdb', 'ip_version': 4, 'cidr': '11.168.176.0/26', 'allocation_pools': [{'start': '11.168.176.2', 'end': '11.168.176.62'}], 'gateway_ip': '11.168.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.168.176.2', 'tags': [], 'project_id': 'a480bafb4c6f4008a76241902fb01831'}} 2025-12-09 12:08:37,155 - INFO - Created VN ctest-vn-76643827 2025-12-09 12:08:37,208 - DEBUG - VN ctest-vn-76643827 UUID is a1220f50-d0cd-45c2-9f68-a9ccc13a6bdb 2025-12-09 12:08:37,523 - DEBUG - Response for create_network : {'network': {'id': 'e3d36cf7-245b-43fa-bad3-843eb4adb334', 'name': 'ctest-vn-41975647', 'tenant_id': 'a480bafb4c6f4008a76241902fb01831', 'project_id': 'a480bafb4c6f4008a76241902fb01831', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52793887', 'ctest-vn-41975647'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 12:08:37,741 - DEBUG - Response for create_subnet : {'subnet': {'id': '4293238c-af22-432a-9295-a997f0b8700b', 'name': '', 'tenant_id': 'a480bafb4c6f4008a76241902fb01831', 'network_id': 'e3d36cf7-245b-43fa-bad3-843eb4adb334', 'ip_version': 4, 'cidr': '41.99.242.0/26', 'allocation_pools': [{'start': '41.99.242.2', 'end': '41.99.242.62'}], 'gateway_ip': '41.99.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.99.242.2', 'tags': [], 'project_id': 'a480bafb4c6f4008a76241902fb01831'}} 2025-12-09 12:08:37,760 - INFO - Created VN ctest-vn-41975647 2025-12-09 12:08:37,812 - DEBUG - VN ctest-vn-41975647 UUID is e3d36cf7-245b-43fa-bad3-843eb4adb334 2025-12-09 12:08:37,964 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52793887:ctest-vn-76643827, 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-52793887:ctest-vn-41975647, 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] 2025-12-09 12:08:38,250 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1220f50-d0cd-45c2-9f68-a9ccc13a6bdb', 'name': 'ctest-vn-76643827', 'tenant_id': 'a480bafb4c6f4008a76241902fb01831', 'project_id': 'a480bafb4c6f4008a76241902fb01831', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb5b6372-00fc-4923-acc5-192e76691fb1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52793887', 'ctest-vn-76643827'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52793887', 'ctest-policy-allow-all-38580923']], 'subnet_ipam': [{'subnet_cidr': '11.168.176.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 12:08:38,486 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e3d36cf7-245b-43fa-bad3-843eb4adb334', 'name': 'ctest-vn-41975647', 'tenant_id': 'a480bafb4c6f4008a76241902fb01831', 'project_id': 'a480bafb4c6f4008a76241902fb01831', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4293238c-af22-432a-9295-a997f0b8700b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52793887', 'ctest-vn-41975647'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52793887', 'ctest-policy-allow-all-38580923']], 'subnet_ipam': [{'subnet_cidr': '41.99.242.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 12:08:38,648 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 12:08:38,917 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 12:08:38,945 - DEBUG - Requesting: http://10.0.0.38:8082/domain/74950727-4669-4385-884c-f729302b5d4d 2025-12-09 12:08:38,955 - DEBUG - Requesting: http://10.0.0.38:8082/project/a480bafb-4c6f-4008-a762-41902fb01831 2025-12-09 12:08:39,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a1220f50-d0cd-45c2-9f68-a9ccc13a6bdb 2025-12-09 12:08:39,040 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a1220f50-d0cd-45c2-9f68-a9ccc13a6bdb 2025-12-09 12:08:39,048 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8ab47237-e88b-4130-a49e-04a2becebb96 2025-12-09 12:08:39,054 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8ab47237-e88b-4130-a49e-04a2becebb96 2025-12-09 12:08:39,060 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/85bb4e75-704c-4881-a69f-69f88780867c 2025-12-09 12:08:39,065 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 12:08:39,066 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a1220f50-d0cd-45c2-9f68-a9ccc13a6bdb 2025-12-09 12:08:39,072 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8ab47237-e88b-4130-a49e-04a2becebb96 2025-12-09 12:08:39,083 - INFO - Verified VN network id 12 for VN a1220f50-d0cd-45c2-9f68-a9ccc13a6bdb 2025-12-09 12:08:39,084 - INFO - Verifications in API Server for VN ctest-vn-76643827 passed 2025-12-09 12:08:39,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a1220f50-d0cd-45c2-9f68-a9ccc13a6bdb 2025-12-09 12:08:39,092 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8ab47237-e88b-4130-a49e-04a2becebb96 2025-12-09 12:08:39,099 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8ab47237-e88b-4130-a49e-04a2becebb96 2025-12-09 12:08:39,105 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/85bb4e75-704c-4881-a69f-69f88780867c 2025-12-09 12:08:39,116 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52793887:ctest-vn-76643827', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52793887', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11610859629089473986', 'uuid-lslong': '11486617546488703963'}, 'enable': 'true', 'created': '2025-12-09T12:08:36', 'last-modified': '2025-12-09T12:08:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.884118'} 2025-12-09 12:08:39,121 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 12:08:39,121 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76643827 passed 2025-12-09 12:08:39,121 - DEBUG - ====Verifying policy data for ctest-vn-76643827 in API_Server ====== 2025-12-09 12:08:39,121 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 12:08:39,126 - DEBUG - Requesting: http://10.0.0.38:8082/domain/74950727-4669-4385-884c-f729302b5d4d 2025-12-09 12:08:39,137 - DEBUG - Requesting: http://10.0.0.38:8082/project/a480bafb-4c6f-4008-a762-41902fb01831 2025-12-09 12:08:39,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a1220f50-d0cd-45c2-9f68-a9ccc13a6bdb 2025-12-09 12:08:39,215 - DEBUG - ==>Verifying data for policy with id: d1474e93-3c44-4fd2-9a9c-b8b0621b3c4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-52793887', 'ctest-policy-allow-all-38580923'] 2025-12-09 12:08:39,215 - INFO - VN ctest-vn-76643827 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 12:08:39,215 - DEBUG - Verifying the vn in opserver 2025-12-09 12:08:39,215 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52793887:ctest-vn-76643827 virtual network link through opserver 10.0.0.38 2025-12-09 12:08:39,216 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 12:08:39,484 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 12:08:39,548 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52793887:ctest-vn-76643827', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52793887:ctest-vn-76643827?flat'} 2025-12-09 12:08:39,548 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52793887:ctest-vn-76643827 is found in opserver 2025-12-09 12:08:39,560 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 12:08:39,565 - DEBUG - VRF ids for VN ctest-vn-76643827: {} 2025-12-09 12:08:39,565 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 12:08:39,571 - DEBUG - Requesting: http://10.0.0.38:8082/domain/74950727-4669-4385-884c-f729302b5d4d 2025-12-09 12:08:39,581 - DEBUG - Requesting: http://10.0.0.38:8082/project/a480bafb-4c6f-4008-a762-41902fb01831 2025-12-09 12:08:39,651 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e3d36cf7-245b-43fa-bad3-843eb4adb334 2025-12-09 12:08:39,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e3d36cf7-245b-43fa-bad3-843eb4adb334 2025-12-09 12:08:39,668 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c5881548-4338-42e7-855d-9efbf120d3b3 2025-12-09 12:08:39,674 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c5881548-4338-42e7-855d-9efbf120d3b3 2025-12-09 12:08:39,680 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/827df9e1-b095-4d73-8c5f-c792a8795c4d 2025-12-09 12:08:39,685 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 12:08:39,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e3d36cf7-245b-43fa-bad3-843eb4adb334 2025-12-09 12:08:39,693 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c5881548-4338-42e7-855d-9efbf120d3b3 2025-12-09 12:08:39,705 - INFO - Verified VN network id 13 for VN e3d36cf7-245b-43fa-bad3-843eb4adb334 2025-12-09 12:08:39,705 - INFO - Verifications in API Server for VN ctest-vn-41975647 passed 2025-12-09 12:08:39,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e3d36cf7-245b-43fa-bad3-843eb4adb334 2025-12-09 12:08:39,717 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c5881548-4338-42e7-855d-9efbf120d3b3 2025-12-09 12:08:39,723 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c5881548-4338-42e7-855d-9efbf120d3b3 2025-12-09 12:08:39,730 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/827df9e1-b095-4d73-8c5f-c792a8795c4d 2025-12-09 12:08:39,742 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52793887:ctest-vn-41975647', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52793887', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16416584875418272762', 'uuid-lslong': '13462249115994665780'}, 'enable': 'true', 'created': '2025-12-09T12:08:37', 'last-modified': '2025-12-09T12:08:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.275072'} 2025-12-09 12:08:39,749 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 12:08:39,749 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41975647 passed 2025-12-09 12:08:39,749 - DEBUG - ====Verifying policy data for ctest-vn-41975647 in API_Server ====== 2025-12-09 12:08:39,751 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 12:08:39,758 - DEBUG - Requesting: http://10.0.0.38:8082/domain/74950727-4669-4385-884c-f729302b5d4d 2025-12-09 12:08:39,770 - DEBUG - Requesting: http://10.0.0.38:8082/project/a480bafb-4c6f-4008-a762-41902fb01831 2025-12-09 12:08:39,837 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e3d36cf7-245b-43fa-bad3-843eb4adb334 2025-12-09 12:08:39,845 - DEBUG - ==>Verifying data for policy with id: d1474e93-3c44-4fd2-9a9c-b8b0621b3c4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-52793887', 'ctest-policy-allow-all-38580923'] 2025-12-09 12:08:39,845 - INFO - VN ctest-vn-41975647 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 12:08:39,845 - DEBUG - Verifying the vn in opserver 2025-12-09 12:08:39,845 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52793887:ctest-vn-41975647 virtual network link through opserver 10.0.0.38 2025-12-09 12:08:39,845 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 12:08:39,853 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52793887:ctest-vn-41975647', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52793887:ctest-vn-41975647?flat'} 2025-12-09 12:08:39,853 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52793887:ctest-vn-41975647 is found in opserver 2025-12-09 12:08:39,863 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 12:08:39,867 - DEBUG - VRF ids for VN ctest-vn-41975647: {} 2025-12-09 12:08:39,919 - DEBUG - Services list from nova: [, , ] 2025-12-09 12:08:40,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4869-1) 2025-12-09 12:08:41,936 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4869-1) 2025-12-09 12:08:41,936 - INFO - Waiting for VM ctest-TestBasicPolicy-52793887-74175954 to be up.. 2025-12-09 12:08:42,012 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 12:08:47,090 - DEBUG - VM is in ACTIVE state now 2025-12-09 12:08:47,090 - INFO - VM name : ctest-TestBasicPolicy-52793887-74175954 2025-12-09 12:08:47,161 - DEBUG - VM ctest-TestBasicPolicy-52793887-74175954 ID is 09d705db-c2dd-4d03-8683-2322db905630 2025-12-09 12:08:47,182 - DEBUG - VM ctest-TestBasicPolicy-52793887-74175954 launched on Node cn-jenkins-deploy-platform-ansible-os-4869-1 2025-12-09 12:08:47,254 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/09d705db-c2dd-4d03-8683-2322db905630 2025-12-09 12:08:47,262 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ba67f9ac-fcc5-400e-b60c-3169b7ebe258 2025-12-09 12:08:50,514 - 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 1019ms') 2025-12-09 12:08:50,514 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52793887-74175954 failed! 2025-12-09 12:08:50,568 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52793887:ctest-vn-76643827 is 11.168.176.1 and allocation pool is NOT set 2025-12-09 12:08:52,630 - 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=2.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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 = 0.444/1.578/2.713/1.134 ms') 2025-12-09 12:08:52,630 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52793887-74175954 passed 2025-12-09 12:08:52,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:08:52,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52793887-74175954, IP 11.168.176.3, Port 22 2025-12-09 12:08:52,928 - DEBUG - VM ctest-TestBasicPolicy-52793887-74175954 is ready for SSH connections 2025-12-09 12:08:52,929 - INFO - Waiting for VM ctest-TestBasicPolicy-52793887-40428258 to be up.. 2025-12-09 12:08:53,013 - DEBUG - VM is in ACTIVE state now 2025-12-09 12:08:53,013 - INFO - VM name : ctest-TestBasicPolicy-52793887-40428258 2025-12-09 12:08:53,081 - DEBUG - VM ctest-TestBasicPolicy-52793887-40428258 ID is 3698b98b-d704-4746-ab4f-a1f746881d5c 2025-12-09 12:08:53,081 - DEBUG - VM ctest-TestBasicPolicy-52793887-40428258 launched on Node cn-jenkins-deploy-platform-ansible-os-4869-1 2025-12-09 12:08:53,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3698b98b-d704-4746-ab4f-a1f746881d5c 2025-12-09 12:08:53,158 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/859bd54b-b24f-46cb-895e-66a523a62d3e 2025-12-09 12:08:54,395 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.715 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.715/1.743/2.771/1.028 ms') 2025-12-09 12:08:54,395 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52793887-40428258 passed 2025-12-09 12:08:54,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:08:54,545 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52793887-40428258, IP 41.99.242.3, Port 22 2025-12-09 12:08:54,700 - DEBUG - VM ctest-TestBasicPolicy-52793887-40428258 is ready for SSH connections 2025-12-09 12:08:54,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:08:54,700 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.99.242.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 12:08:54,700 - DEBUG - ping -s 56 -c 3 -W 1 41.99.242.3 2025-12-09 12:08:58,627 - DEBUG - PING 41.99.242.3 (41.99.242.3): 56 data bytes 64 bytes from 41.99.242.3: seq=0 ttl=63 time=3.095 ms 64 bytes from 41.99.242.3: seq=1 ttl=63 time=0.830 ms 64 bytes from 41.99.242.3: seq=2 ttl=63 time=0.792 ms --- 41.99.242.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/1.572/3.095 ms 2025-12-09 12:08:58,627 - INFO - Ping to IP 41.99.242.3 from VM ctest-TestBasicPolicy-52793887-74175954 passed 2025-12-09 12:08:58,796 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d1474e93-3c44-4fd2-9a9c-b8b0621b3c4d", "href": "http://10.0.0.38:8082/network-policy/d1474e93-3c44-4fd2-9a9c-b8b0621b3c4d"}} 2025-12-09 12:08:58,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:08:58,796 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.99.242.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 12:08:58,797 - DEBUG - ping -s 56 -c 3 -W 1 41.99.242.3 2025-12-09 12:09:02,008 - DEBUG - PING 41.99.242.3 (41.99.242.3): 56 data bytes --- 41.99.242.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 12:09:02,008 - WARNING - Ping to IP 41.99.242.3 from VM ctest-TestBasicPolicy-52793887-74175954 failed 2025-12-09 12:09:02,008 - INFO - Deleting VM ctest-TestBasicPolicy-52793887-40428258 2025-12-09 12:09:02,082 - INFO - Deleting VM ctest-TestBasicPolicy-52793887-74175954 2025-12-09 12:09:02,511 - INFO - Deleted policy ctest-policy-allow-all-38580923 2025-12-09 12:09:02,511 - INFO - Deleting VN ctest-vn-41975647 2025-12-09 12:09:02,554 - DEBUG - VN e3d36cf7-245b-43fa-bad3-843eb4adb334 still in use: Unable to complete operation on network e3d36cf7-245b-43fa-bad3-843eb4adb334. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-08383d2d-1e4d-4023-918b-bf16fd29c659'] 2025-12-09 12:09:02,554 - WARNING - Deleting VN ctest-vn-41975647 failed..Will retry 2025-12-09 12:09:04,652 - DEBUG - Response for deleting network () 2025-12-09 12:09:04,652 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c5881548-4338-42e7-855d-9efbf120d3b3 2025-12-09 12:09:04,658 - DEBUG - Response Code: 404 2025-12-09 12:09:04,658 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 12:09:04,663 - DEBUG - Requesting: http://10.0.0.38:8082/domain/74950727-4669-4385-884c-f729302b5d4d 2025-12-09 12:09:04,718 - DEBUG - Requesting: http://10.0.0.38:8082/project/a480bafb-4c6f-4008-a762-41902fb01831 2025-12-09 12:09:04,790 - INFO - Validated that VN ctest-vn-41975647 is not found in API Server 2025-12-09 12:09:04,800 - DEBUG - VN ctest-vn-41975647 is not present in Agent 10.0.0.38 2025-12-09 12:09:04,800 - INFO - Validated that VN ctest-vn-41975647 is not in any agent 2025-12-09 12:09:04,811 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41975647 info 2025-12-09 12:09:04,811 - INFO - Deleting VN ctest-vn-76643827 2025-12-09 12:09:04,899 - DEBUG - Response for deleting network () 2025-12-09 12:09:04,899 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8ab47237-e88b-4130-a49e-04a2becebb96 2025-12-09 12:09:04,904 - DEBUG - Response Code: 404 2025-12-09 12:09:04,904 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 12:09:04,910 - DEBUG - Requesting: http://10.0.0.38:8082/domain/74950727-4669-4385-884c-f729302b5d4d 2025-12-09 12:09:04,965 - DEBUG - Requesting: http://10.0.0.38:8082/project/a480bafb-4c6f-4008-a762-41902fb01831 2025-12-09 12:09:05,033 - INFO - Validated that VN ctest-vn-76643827 is not found in API Server 2025-12-09 12:09:05,041 - DEBUG - VN ctest-vn-76643827 is not present in Agent 10.0.0.38 2025-12-09 12:09:05,041 - INFO - Validated that VN ctest-vn-76643827 is not in any agent 2025-12-09 12:09:05,052 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76643827 info 2025-12-09 12:09:05,309 - DEBUG - No XMPP flaps were noticed during the test 2025-12-09 12:09:05,310 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-12-09 12:09:05,310 - INFO - -------------------------------------------------------------------------------- 2025-12-09 12:09:05,957 - INFO - Deleted project: ctest-TestBasicPolicy-52793887, ID : a480bafb-4c6f-4008-a762-41902fb01831