2026-06-15 15:48:53,381 - INFO - Domain Default found not creating 2026-06-15 15:48:53,514 - INFO - Project ctest-TestBasicPolicy-37133457 not found, creating it 2026-06-15 15:48:53,953 - INFO - Created Project:ctest-TestBasicPolicy-37133457, ID : 5902024d-4af1-4c4d-82fc-ca04a777b469 2026-06-15 15:48:55,307 - INFO - ================================================================================ 2026-06-15 15:48:55,307 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-15 15:48:55,307 - 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-06-15 15:48:55,572 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-15 15:48:55,572 - INFO - Initial checks done. Running the testcase now 2026-06-15 15:48:55,572 - INFO - 2026-06-15 15:48:56,085 - DEBUG - Response for create_network : {'network': {'id': '3bf97323-fe72-4efe-b645-6559f08d48e0', 'name': 'ctest-vn-61632326', 'tenant_id': '5902024d4af14c4d82fcca04a777b469', 'project_id': '5902024d4af14c4d82fcca04a777b469', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-vn-61632326'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 15:48:56,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d0cc443-4d94-429c-af30-7b3ae5344db7', 'name': '', 'tenant_id': '5902024d4af14c4d82fcca04a777b469', 'network_id': '3bf97323-fe72-4efe-b645-6559f08d48e0', 'ip_version': 4, 'cidr': '37.239.183.192/26', 'allocation_pools': [{'start': '37.239.183.194', 'end': '37.239.183.254'}], 'gateway_ip': '37.239.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.239.183.194', 'tags': [], 'project_id': '5902024d4af14c4d82fcca04a777b469'}} 2026-06-15 15:48:56,251 - INFO - Created VN ctest-vn-61632326 2026-06-15 15:48:56,299 - DEBUG - VN ctest-vn-61632326 UUID is 3bf97323-fe72-4efe-b645-6559f08d48e0 2026-06-15 15:48:56,574 - DEBUG - Response for create_network : {'network': {'id': '80be3f0c-6d9b-4582-b0b2-9affb6c03cf1', 'name': 'ctest-vn-87057704', 'tenant_id': '5902024d4af14c4d82fcca04a777b469', 'project_id': '5902024d4af14c4d82fcca04a777b469', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-vn-87057704'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 15:48:56,779 - DEBUG - Response for create_subnet : {'subnet': {'id': '21d3a462-f40d-443f-8b55-072739379519', 'name': '', 'tenant_id': '5902024d4af14c4d82fcca04a777b469', 'network_id': '80be3f0c-6d9b-4582-b0b2-9affb6c03cf1', 'ip_version': 4, 'cidr': '121.33.253.0/26', 'allocation_pools': [{'start': '121.33.253.2', 'end': '121.33.253.62'}], 'gateway_ip': '121.33.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.33.253.2', 'tags': [], 'project_id': '5902024d4af14c4d82fcca04a777b469'}} 2026-06-15 15:48:56,790 - INFO - Created VN ctest-vn-87057704 2026-06-15 15:48:56,839 - DEBUG - VN ctest-vn-87057704 UUID is 80be3f0c-6d9b-4582-b0b2-9affb6c03cf1 2026-06-15 15:48:56,967 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326, 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-37133457:ctest-vn-87057704, 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-06-15 15:48:57,251 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3bf97323-fe72-4efe-b645-6559f08d48e0', 'name': 'ctest-vn-61632326', 'tenant_id': '5902024d4af14c4d82fcca04a777b469', 'project_id': '5902024d4af14c4d82fcca04a777b469', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d0cc443-4d94-429c-af30-7b3ae5344db7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-vn-61632326'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-policy-allow-all-90258911']], 'subnet_ipam': [{'subnet_cidr': '37.239.183.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-15 15:48:57,456 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '80be3f0c-6d9b-4582-b0b2-9affb6c03cf1', 'name': 'ctest-vn-87057704', 'tenant_id': '5902024d4af14c4d82fcca04a777b469', 'project_id': '5902024d4af14c4d82fcca04a777b469', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['21d3a462-f40d-443f-8b55-072739379519'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-vn-87057704'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-policy-allow-all-90258911']], 'subnet_ipam': [{'subnet_cidr': '121.33.253.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-15 15:48:57,607 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 15:48:57,919 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 15:48:57,941 - DEBUG - Requesting: http://10.0.0.50:8082/domain/523b4a15-bd43-4e34-938c-4416669f21aa 2026-06-15 15:48:57,951 - DEBUG - Requesting: http://10.0.0.50:8082/project/5902024d-4af1-4c4d-82fc-ca04a777b469 2026-06-15 15:48:58,015 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bf97323-fe72-4efe-b645-6559f08d48e0 2026-06-15 15:48:58,025 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bf97323-fe72-4efe-b645-6559f08d48e0 2026-06-15 15:48:58,031 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab482843-76dc-48c8-a76c-f5d7b89e8a1b 2026-06-15 15:48:58,036 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab482843-76dc-48c8-a76c-f5d7b89e8a1b 2026-06-15 15:48:58,041 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/92c33f9d-d5b7-4def-8139-145f2e837e09 2026-06-15 15:48:58,045 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 15:48:58,045 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bf97323-fe72-4efe-b645-6559f08d48e0 2026-06-15 15:48:58,051 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab482843-76dc-48c8-a76c-f5d7b89e8a1b 2026-06-15 15:48:58,061 - INFO - Verified VN network id 11 for VN 3bf97323-fe72-4efe-b645-6559f08d48e0 2026-06-15 15:48:58,061 - INFO - Verifications in API Server for VN ctest-vn-61632326 passed 2026-06-15 15:48:58,061 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bf97323-fe72-4efe-b645-6559f08d48e0 2026-06-15 15:48:58,068 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab482843-76dc-48c8-a76c-f5d7b89e8a1b 2026-06-15 15:48:58,072 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab482843-76dc-48c8-a76c-f5d7b89e8a1b 2026-06-15 15:48:58,077 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/92c33f9d-d5b7-4def-8139-145f2e837e09 2026-06-15 15:48:58,085 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37133457', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4321611915868655358', 'uuid-lslong': '13134015325258205408'}, 'enable': 'true', 'created': '2026-06-15T15:48:56', 'last-modified': '2026-06-15T15:48:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.851265'} 2026-06-15 15:48:58,090 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 15:48:58,090 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61632326 passed 2026-06-15 15:48:58,090 - DEBUG - ====Verifying policy data for ctest-vn-61632326 in API_Server ====== 2026-06-15 15:48:58,090 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 15:48:58,094 - DEBUG - Requesting: http://10.0.0.50:8082/domain/523b4a15-bd43-4e34-938c-4416669f21aa 2026-06-15 15:48:58,101 - DEBUG - Requesting: http://10.0.0.50:8082/project/5902024d-4af1-4c4d-82fc-ca04a777b469 2026-06-15 15:48:58,172 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bf97323-fe72-4efe-b645-6559f08d48e0 2026-06-15 15:48:58,180 - DEBUG - ==>Verifying data for policy with id: e973f873-7036-404c-979c-84448ddb6fe2, fqn: ['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-policy-allow-all-90258911'] 2026-06-15 15:48:58,180 - INFO - VN ctest-vn-61632326 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 15:48:58,180 - DEBUG - Verifying the vn in opserver 2026-06-15 15:48:58,180 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326 virtual network link through opserver 10.0.0.50 2026-06-15 15:48:58,180 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-15 15:48:58,497 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-15 15:48:58,546 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326?flat'} 2026-06-15 15:48:58,546 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326 is found in opserver 2026-06-15 15:48:58,554 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 15:48:58,558 - DEBUG - VRF ids for VN ctest-vn-61632326: {} 2026-06-15 15:48:58,558 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 15:48:58,562 - DEBUG - Requesting: http://10.0.0.50:8082/domain/523b4a15-bd43-4e34-938c-4416669f21aa 2026-06-15 15:48:58,570 - DEBUG - Requesting: http://10.0.0.50:8082/project/5902024d-4af1-4c4d-82fc-ca04a777b469 2026-06-15 15:48:58,633 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/80be3f0c-6d9b-4582-b0b2-9affb6c03cf1 2026-06-15 15:48:58,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/80be3f0c-6d9b-4582-b0b2-9affb6c03cf1 2026-06-15 15:48:58,648 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03b4636d-4d03-42d2-8dfb-537a40ded96e 2026-06-15 15:48:58,653 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03b4636d-4d03-42d2-8dfb-537a40ded96e 2026-06-15 15:48:58,658 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/064b18c6-483c-401a-815a-ccd70487ce44 2026-06-15 15:48:58,662 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 15:48:58,663 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/80be3f0c-6d9b-4582-b0b2-9affb6c03cf1 2026-06-15 15:48:58,669 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03b4636d-4d03-42d2-8dfb-537a40ded96e 2026-06-15 15:48:58,679 - INFO - Verified VN network id 12 for VN 80be3f0c-6d9b-4582-b0b2-9affb6c03cf1 2026-06-15 15:48:58,679 - INFO - Verifications in API Server for VN ctest-vn-87057704 passed 2026-06-15 15:48:58,679 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/80be3f0c-6d9b-4582-b0b2-9affb6c03cf1 2026-06-15 15:48:58,686 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03b4636d-4d03-42d2-8dfb-537a40ded96e 2026-06-15 15:48:58,691 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03b4636d-4d03-42d2-8dfb-537a40ded96e 2026-06-15 15:48:58,695 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/064b18c6-483c-401a-815a-ccd70487ce44 2026-06-15 15:48:58,704 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-87057704', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37133457', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9276921605040850306', 'uuid-lslong': '12732409519603203313'}, 'enable': 'true', 'created': '2026-06-15T15:48:56', 'last-modified': '2026-06-15T15:48:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.264319'} 2026-06-15 15:48:58,708 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 15:48:58,708 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87057704 passed 2026-06-15 15:48:58,708 - DEBUG - ====Verifying policy data for ctest-vn-87057704 in API_Server ====== 2026-06-15 15:48:58,708 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 15:48:58,712 - DEBUG - Requesting: http://10.0.0.50:8082/domain/523b4a15-bd43-4e34-938c-4416669f21aa 2026-06-15 15:48:58,720 - DEBUG - Requesting: http://10.0.0.50:8082/project/5902024d-4af1-4c4d-82fc-ca04a777b469 2026-06-15 15:48:58,786 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/80be3f0c-6d9b-4582-b0b2-9affb6c03cf1 2026-06-15 15:48:58,793 - DEBUG - ==>Verifying data for policy with id: e973f873-7036-404c-979c-84448ddb6fe2, fqn: ['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-policy-allow-all-90258911'] 2026-06-15 15:48:58,793 - INFO - VN ctest-vn-87057704 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 15:48:58,793 - DEBUG - Verifying the vn in opserver 2026-06-15 15:48:58,793 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-87057704 virtual network link through opserver 10.0.0.50 2026-06-15 15:48:58,793 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-15 15:48:58,800 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-87057704', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-87057704?flat'} 2026-06-15 15:48:58,800 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-87057704 is found in opserver 2026-06-15 15:48:58,807 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 15:48:58,811 - DEBUG - VRF ids for VN ctest-vn-87057704: {} 2026-06-15 15:48:58,863 - DEBUG - Services list from nova: [, , ] 2026-06-15 15:48:59,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5947-1) 2026-06-15 15:49:00,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5947-1) 2026-06-15 15:49:00,843 - INFO - Waiting for VM ctest-TestBasicPolicy-37133457-41761874 to be up.. 2026-06-15 15:49:00,883 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 15:49:05,942 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 15:49:11,010 - DEBUG - VM is in ACTIVE state now 2026-06-15 15:49:11,010 - INFO - VM name : ctest-TestBasicPolicy-37133457-41761874 2026-06-15 15:49:11,070 - DEBUG - VM ctest-TestBasicPolicy-37133457-41761874 ID is a2aa60fb-b507-4561-a087-48f601a9a788 2026-06-15 15:49:11,086 - DEBUG - VM ctest-TestBasicPolicy-37133457-41761874 launched on Node cn-jenkins-deploy-platform-ansible-os-5947-1 2026-06-15 15:49:11,146 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a2aa60fb-b507-4561-a087-48f601a9a788 2026-06-15 15:49:11,154 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/792aa8ea-b962-45c3-b0ba-8ef86bbbde8c 2026-06-15 15:49:14,392 - 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 1008ms') 2026-06-15 15:49:14,392 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37133457-41761874 failed! 2026-06-15 15:49:14,443 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326 is 37.239.183.193 and allocation pool is NOT set 2026-06-15 15:49:16,506 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.369 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.369/1.602/2.836/1.233 ms') 2026-06-15 15:49:16,506 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37133457-41761874 passed 2026-06-15 15:49:16,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 15:49:16,659 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37133457-41761874, IP 37.239.183.195, Port 22 2026-06-15 15:49:16,823 - DEBUG - VM ctest-TestBasicPolicy-37133457-41761874 is ready for SSH connections 2026-06-15 15:49:16,823 - INFO - Waiting for VM ctest-TestBasicPolicy-37133457-04526687 to be up.. 2026-06-15 15:49:16,888 - DEBUG - VM is in ACTIVE state now 2026-06-15 15:49:16,888 - INFO - VM name : ctest-TestBasicPolicy-37133457-04526687 2026-06-15 15:49:16,948 - DEBUG - VM ctest-TestBasicPolicy-37133457-04526687 ID is 7dd86b15-a249-4b4b-9432-8cc28fb6be36 2026-06-15 15:49:16,949 - DEBUG - VM ctest-TestBasicPolicy-37133457-04526687 launched on Node cn-jenkins-deploy-platform-ansible-os-5947-1 2026-06-15 15:49:17,013 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7dd86b15-a249-4b4b-9432-8cc28fb6be36 2026-06-15 15:49:17,020 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1016ba3c-8799-4a8c-a4a3-a516880c96f8 2026-06-15 15:49:18,257 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.308 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.308/2.035/3.763/1.727 ms') 2026-06-15 15:49:18,257 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37133457-04526687 passed 2026-06-15 15:49:18,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 15:49:18,407 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37133457-04526687, IP 121.33.253.3, Port 22 2026-06-15 15:49:18,563 - DEBUG - VM ctest-TestBasicPolicy-37133457-04526687 is ready for SSH connections 2026-06-15 15:49:18,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 15:49:18,563 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.33.253.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-15 15:49:18,563 - DEBUG - ping -s 56 -c 3 -W 1 121.33.253.3 2026-06-15 15:49:22,409 - DEBUG - PING 121.33.253.3 (121.33.253.3): 56 data bytes 64 bytes from 121.33.253.3: seq=0 ttl=63 time=3.500 ms 64 bytes from 121.33.253.3: seq=1 ttl=63 time=0.721 ms 64 bytes from 121.33.253.3: seq=2 ttl=63 time=1.077 ms --- 121.33.253.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.721/1.766/3.500 ms 2026-06-15 15:49:22,410 - INFO - Ping to IP 121.33.253.3 from VM ctest-TestBasicPolicy-37133457-41761874 passed 2026-06-15 15:49:22,583 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e973f873-7036-404c-979c-84448ddb6fe2", "href": "http://10.0.0.50:8082/network-policy/e973f873-7036-404c-979c-84448ddb6fe2"}} 2026-06-15 15:49:22,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 15:49:22,583 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.33.253.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-15 15:49:22,584 - DEBUG - ping -s 56 -c 3 -W 1 121.33.253.3 2026-06-15 15:49:25,692 - DEBUG - PING 121.33.253.3 (121.33.253.3): 56 data bytes --- 121.33.253.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-15 15:49:25,692 - WARNING - Ping to IP 121.33.253.3 from VM ctest-TestBasicPolicy-37133457-41761874 failed 2026-06-15 15:49:25,692 - INFO - Deleting VM ctest-TestBasicPolicy-37133457-04526687 2026-06-15 15:49:25,761 - INFO - Deleting VM ctest-TestBasicPolicy-37133457-41761874 2026-06-15 15:49:26,097 - INFO - Deleted policy ctest-policy-allow-all-90258911 2026-06-15 15:49:26,097 - INFO - Deleting VN ctest-vn-87057704 2026-06-15 15:49:26,128 - DEBUG - VN 80be3f0c-6d9b-4582-b0b2-9affb6c03cf1 still in use: Unable to complete operation on network 80be3f0c-6d9b-4582-b0b2-9affb6c03cf1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5e152009-fdc0-41fb-a169-37f70fa07366'] 2026-06-15 15:49:26,128 - WARNING - Deleting VN ctest-vn-87057704 failed..Will retry 2026-06-15 15:49:28,213 - DEBUG - Response for deleting network () 2026-06-15 15:49:28,213 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03b4636d-4d03-42d2-8dfb-537a40ded96e 2026-06-15 15:49:28,220 - DEBUG - Response Code: 404 2026-06-15 15:49:28,220 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 15:49:28,224 - DEBUG - Requesting: http://10.0.0.50:8082/domain/523b4a15-bd43-4e34-938c-4416669f21aa 2026-06-15 15:49:28,276 - DEBUG - Requesting: http://10.0.0.50:8082/project/5902024d-4af1-4c4d-82fc-ca04a777b469 2026-06-15 15:49:28,352 - INFO - Validated that VN ctest-vn-87057704 is not found in API Server 2026-06-15 15:49:28,360 - DEBUG - VN ctest-vn-87057704 is not present in Agent 10.0.0.50 2026-06-15 15:49:28,360 - INFO - Validated that VN ctest-vn-87057704 is not in any agent 2026-06-15 15:49:28,370 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87057704 info 2026-06-15 15:49:28,370 - INFO - Deleting VN ctest-vn-61632326 2026-06-15 15:49:28,457 - DEBUG - Response for deleting network () 2026-06-15 15:49:28,457 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab482843-76dc-48c8-a76c-f5d7b89e8a1b 2026-06-15 15:49:28,461 - DEBUG - Response Code: 404 2026-06-15 15:49:28,461 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 15:49:28,468 - DEBUG - Requesting: http://10.0.0.50:8082/domain/523b4a15-bd43-4e34-938c-4416669f21aa 2026-06-15 15:49:28,523 - DEBUG - Requesting: http://10.0.0.50:8082/project/5902024d-4af1-4c4d-82fc-ca04a777b469 2026-06-15 15:49:28,589 - INFO - Validated that VN ctest-vn-61632326 is not found in API Server 2026-06-15 15:49:28,597 - DEBUG - VN ctest-vn-61632326 is not present in Agent 10.0.0.50 2026-06-15 15:49:28,597 - INFO - Validated that VN ctest-vn-61632326 is not in any agent 2026-06-15 15:49:28,608 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61632326 info 2026-06-15 15:49:28,859 - DEBUG - No XMPP flaps were noticed during the test
2026-06-15 15:49:28,859 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33]
2026-06-15 15:49:28,859 - INFO - -------------------------------------------------------------------------------- 2026-06-15 15:49:29,519 - INFO - Deleted project: ctest-TestBasicPolicy-37133457, ID : 5902024d-4af1-4c4d-82fc-ca04a777b469