2026-02-20 16:34:28,715 - INFO - Domain Default found not creating 2026-02-20 16:34:28,892 - INFO - Project ctest-TestBasicPolicy-88417279 not found, creating it 2026-02-20 16:34:29,342 - INFO - Created Project:ctest-TestBasicPolicy-88417279, ID : d1d0f12e-b866-417f-a6c5-cb53b0b0af2c 2026-02-20 16:34:30,977 - INFO - ================================================================================ 2026-02-20 16:34:30,977 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-20 16:34:30,977 - 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-02-20 16:34:31,232 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-20 16:34:31,233 - INFO - Initial checks done. Running the testcase now 2026-02-20 16:34:31,233 - INFO - 2026-02-20 16:34:31,857 - DEBUG - Response for create_network : {'network': {'id': 'b9b37800-017f-4194-9b2c-9b8121aa2bb4', 'name': 'ctest-vn-87938846', 'tenant_id': 'd1d0f12eb866417fa6c5cb53b0b0af2c', 'project_id': 'd1d0f12eb866417fa6c5cb53b0b0af2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88417279', 'ctest-vn-87938846'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 16:34:32,041 - DEBUG - Response for create_subnet : {'subnet': {'id': '856cb8d8-5103-45b0-b76f-27e390ab1fe0', 'name': '', 'tenant_id': 'd1d0f12eb866417fa6c5cb53b0b0af2c', 'network_id': 'b9b37800-017f-4194-9b2c-9b8121aa2bb4', 'ip_version': 4, 'cidr': '8.19.43.192/26', 'allocation_pools': [{'start': '8.19.43.194', 'end': '8.19.43.254'}], 'gateway_ip': '8.19.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.19.43.194', 'tags': [], 'project_id': 'd1d0f12eb866417fa6c5cb53b0b0af2c'}} 2026-02-20 16:34:32,060 - INFO - Created VN ctest-vn-87938846 2026-02-20 16:34:32,112 - DEBUG - VN ctest-vn-87938846 UUID is b9b37800-017f-4194-9b2c-9b8121aa2bb4 2026-02-20 16:34:32,414 - DEBUG - Response for create_network : {'network': {'id': 'a4776651-bc8c-4163-b69b-85d6aafa950c', 'name': 'ctest-vn-68134297', 'tenant_id': 'd1d0f12eb866417fa6c5cb53b0b0af2c', 'project_id': 'd1d0f12eb866417fa6c5cb53b0b0af2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88417279', 'ctest-vn-68134297'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 16:34:32,600 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f35a3bf-66d0-4e3a-98f1-1e4d04db3a63', 'name': '', 'tenant_id': 'd1d0f12eb866417fa6c5cb53b0b0af2c', 'network_id': 'a4776651-bc8c-4163-b69b-85d6aafa950c', 'ip_version': 4, 'cidr': '104.37.160.192/26', 'allocation_pools': [{'start': '104.37.160.194', 'end': '104.37.160.254'}], 'gateway_ip': '104.37.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.37.160.194', 'tags': [], 'project_id': 'd1d0f12eb866417fa6c5cb53b0b0af2c'}} 2026-02-20 16:34:32,621 - INFO - Created VN ctest-vn-68134297 2026-02-20 16:34:32,676 - DEBUG - VN ctest-vn-68134297 UUID is a4776651-bc8c-4163-b69b-85d6aafa950c 2026-02-20 16:34:32,828 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88417279:ctest-vn-87938846, 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-88417279:ctest-vn-68134297, 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-02-20 16:34:33,138 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b9b37800-017f-4194-9b2c-9b8121aa2bb4', 'name': 'ctest-vn-87938846', 'tenant_id': 'd1d0f12eb866417fa6c5cb53b0b0af2c', 'project_id': 'd1d0f12eb866417fa6c5cb53b0b0af2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['856cb8d8-5103-45b0-b76f-27e390ab1fe0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88417279', 'ctest-vn-87938846'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88417279', 'ctest-policy-allow-all-72730211']], 'subnet_ipam': [{'subnet_cidr': '8.19.43.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 16:34:33,411 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4776651-bc8c-4163-b69b-85d6aafa950c', 'name': 'ctest-vn-68134297', 'tenant_id': 'd1d0f12eb866417fa6c5cb53b0b0af2c', 'project_id': 'd1d0f12eb866417fa6c5cb53b0b0af2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f35a3bf-66d0-4e3a-98f1-1e4d04db3a63'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88417279', 'ctest-vn-68134297'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88417279', 'ctest-policy-allow-all-72730211']], 'subnet_ipam': [{'subnet_cidr': '104.37.160.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 16:34:33,560 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 16:34:33,869 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 16:34:33,903 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f0a8dcb-e910-4fbf-86c4-779b8554a4bb 2026-02-20 16:34:33,916 - DEBUG - Requesting: http://10.0.0.38:8082/project/d1d0f12e-b866-417f-a6c5-cb53b0b0af2c 2026-02-20 16:34:33,990 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b37800-017f-4194-9b2c-9b8121aa2bb4 2026-02-20 16:34:33,999 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b37800-017f-4194-9b2c-9b8121aa2bb4 2026-02-20 16:34:34,014 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a780e45d-f44d-4bad-99af-68187504eab8 2026-02-20 16:34:34,022 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a780e45d-f44d-4bad-99af-68187504eab8 2026-02-20 16:34:34,028 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/076d56f9-ce0a-49ba-87fe-abab34204bcc 2026-02-20 16:34:34,034 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 16:34:34,034 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b37800-017f-4194-9b2c-9b8121aa2bb4 2026-02-20 16:34:34,042 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a780e45d-f44d-4bad-99af-68187504eab8 2026-02-20 16:34:34,056 - INFO - Verified VN network id 12 for VN b9b37800-017f-4194-9b2c-9b8121aa2bb4 2026-02-20 16:34:34,056 - INFO - Verifications in API Server for VN ctest-vn-87938846 passed 2026-02-20 16:34:34,056 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b37800-017f-4194-9b2c-9b8121aa2bb4 2026-02-20 16:34:34,065 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a780e45d-f44d-4bad-99af-68187504eab8 2026-02-20 16:34:34,072 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a780e45d-f44d-4bad-99af-68187504eab8 2026-02-20 16:34:34,079 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/076d56f9-ce0a-49ba-87fe-abab34204bcc 2026-02-20 16:34:34,091 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88417279:ctest-vn-87938846', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88417279', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13381170859268325780', 'uuid-lslong': '11181482953771985844'}, 'enable': 'true', 'created': '2026-02-20T16:34:31', 'last-modified': '2026-02-20T16:34:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976269'} 2026-02-20 16:34:34,097 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 16:34:34,097 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87938846 passed 2026-02-20 16:34:34,097 - DEBUG - ====Verifying policy data for ctest-vn-87938846 in API_Server ====== 2026-02-20 16:34:34,098 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 16:34:34,103 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f0a8dcb-e910-4fbf-86c4-779b8554a4bb 2026-02-20 16:34:34,113 - DEBUG - Requesting: http://10.0.0.38:8082/project/d1d0f12e-b866-417f-a6c5-cb53b0b0af2c 2026-02-20 16:34:34,183 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b37800-017f-4194-9b2c-9b8121aa2bb4 2026-02-20 16:34:34,192 - DEBUG - ==>Verifying data for policy with id: 6fa391b2-dde5-41c7-b971-fc0c10a3ff5c, fqn: ['default-domain', 'ctest-TestBasicPolicy-88417279', 'ctest-policy-allow-all-72730211'] 2026-02-20 16:34:34,192 - INFO - VN ctest-vn-87938846 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 16:34:34,192 - DEBUG - Verifying the vn in opserver 2026-02-20 16:34:34,192 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88417279:ctest-vn-87938846 virtual network link through opserver 10.0.0.38 2026-02-20 16:34:34,193 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-20 16:34:34,498 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-20 16:34:34,561 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88417279:ctest-vn-87938846', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88417279:ctest-vn-87938846?flat'} 2026-02-20 16:34:34,561 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88417279:ctest-vn-87938846 is found in opserver 2026-02-20 16:34:34,570 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 16:34:34,575 - DEBUG - VRF ids for VN ctest-vn-87938846: {} 2026-02-20 16:34:34,575 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 16:34:34,581 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f0a8dcb-e910-4fbf-86c4-779b8554a4bb 2026-02-20 16:34:34,594 - DEBUG - Requesting: http://10.0.0.38:8082/project/d1d0f12e-b866-417f-a6c5-cb53b0b0af2c 2026-02-20 16:34:34,667 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4776651-bc8c-4163-b69b-85d6aafa950c 2026-02-20 16:34:34,678 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4776651-bc8c-4163-b69b-85d6aafa950c 2026-02-20 16:34:34,686 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/99cec555-bc49-42d9-bac9-5cd5e88756d2 2026-02-20 16:34:34,692 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/99cec555-bc49-42d9-bac9-5cd5e88756d2 2026-02-20 16:34:34,699 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8090d6e8-1dba-4f51-ad39-4c394720ac9d 2026-02-20 16:34:34,705 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 16:34:34,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4776651-bc8c-4163-b69b-85d6aafa950c 2026-02-20 16:34:34,713 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/99cec555-bc49-42d9-bac9-5cd5e88756d2 2026-02-20 16:34:34,724 - INFO - Verified VN network id 13 for VN a4776651-bc8c-4163-b69b-85d6aafa950c 2026-02-20 16:34:34,725 - INFO - Verifications in API Server for VN ctest-vn-68134297 passed 2026-02-20 16:34:34,725 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4776651-bc8c-4163-b69b-85d6aafa950c 2026-02-20 16:34:34,733 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/99cec555-bc49-42d9-bac9-5cd5e88756d2 2026-02-20 16:34:34,739 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/99cec555-bc49-42d9-bac9-5cd5e88756d2 2026-02-20 16:34:34,744 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8090d6e8-1dba-4f51-ad39-4c394720ac9d 2026-02-20 16:34:34,754 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88417279:ctest-vn-68134297', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88417279', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11851053445690442083', 'uuid-lslong': '13158257893331080460'}, 'enable': 'true', 'created': '2026-02-20T16:34:32', 'last-modified': '2026-02-20T16:34:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.415894'} 2026-02-20 16:34:34,759 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 16:34:34,759 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68134297 passed 2026-02-20 16:34:34,759 - DEBUG - ====Verifying policy data for ctest-vn-68134297 in API_Server ====== 2026-02-20 16:34:34,759 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 16:34:34,764 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f0a8dcb-e910-4fbf-86c4-779b8554a4bb 2026-02-20 16:34:34,773 - DEBUG - Requesting: http://10.0.0.38:8082/project/d1d0f12e-b866-417f-a6c5-cb53b0b0af2c 2026-02-20 16:34:34,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4776651-bc8c-4163-b69b-85d6aafa950c 2026-02-20 16:34:34,847 - DEBUG - ==>Verifying data for policy with id: 6fa391b2-dde5-41c7-b971-fc0c10a3ff5c, fqn: ['default-domain', 'ctest-TestBasicPolicy-88417279', 'ctest-policy-allow-all-72730211'] 2026-02-20 16:34:34,847 - INFO - VN ctest-vn-68134297 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 16:34:34,847 - DEBUG - Verifying the vn in opserver 2026-02-20 16:34:34,847 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88417279:ctest-vn-68134297 virtual network link through opserver 10.0.0.38 2026-02-20 16:34:34,847 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-20 16:34:34,856 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88417279:ctest-vn-68134297', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88417279:ctest-vn-68134297?flat'} 2026-02-20 16:34:34,856 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88417279:ctest-vn-68134297 is found in opserver 2026-02-20 16:34:34,866 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 16:34:34,870 - DEBUG - VRF ids for VN ctest-vn-68134297: {} 2026-02-20 16:34:34,925 - DEBUG - Services list from nova: [, , ] 2026-02-20 16:34:35,955 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5377-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5377-1) 2026-02-20 16:34:37,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5377-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5377-1) 2026-02-20 16:34:37,094 - INFO - Waiting for VM ctest-TestBasicPolicy-88417279-70154645 to be up.. 2026-02-20 16:34:37,190 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 16:34:42,267 - DEBUG - VM is in ACTIVE state now 2026-02-20 16:34:42,268 - INFO - VM name : ctest-TestBasicPolicy-88417279-70154645 2026-02-20 16:34:42,335 - DEBUG - VM ctest-TestBasicPolicy-88417279-70154645 ID is b1527b78-8cdf-459d-9e95-e34f6ce73202 2026-02-20 16:34:42,354 - DEBUG - VM ctest-TestBasicPolicy-88417279-70154645 launched on Node cn-jenkins-deploy-platform-ansible-os-5377-1 2026-02-20 16:34:42,436 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b1527b78-8cdf-459d-9e95-e34f6ce73202 2026-02-20 16:34:42,444 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fd054c43-a5f7-4471-b3db-269b791af44a 2026-02-20 16:34:45,698 - 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 1011ms') 2026-02-20 16:34:45,698 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88417279-70154645 failed! 2026-02-20 16:34:45,752 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88417279:ctest-vn-87938846 is 8.19.43.193 and allocation pool is NOT set 2026-02-20 16:34:47,813 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/4.938/9.455/4.516 ms') 2026-02-20 16:34:47,813 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88417279-70154645 passed 2026-02-20 16:34:47,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 16:34:47,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88417279-70154645, IP 8.19.43.195, Port 22 2026-02-20 16:34:48,130 - DEBUG - VM ctest-TestBasicPolicy-88417279-70154645 is ready for SSH connections 2026-02-20 16:34:48,130 - INFO - Waiting for VM ctest-TestBasicPolicy-88417279-47777053 to be up.. 2026-02-20 16:34:48,207 - DEBUG - VM is in ACTIVE state now 2026-02-20 16:34:48,207 - INFO - VM name : ctest-TestBasicPolicy-88417279-47777053 2026-02-20 16:34:48,279 - DEBUG - VM ctest-TestBasicPolicy-88417279-47777053 ID is 97c26804-8b16-4e1d-88a0-698e6992d4be 2026-02-20 16:34:48,279 - DEBUG - VM ctest-TestBasicPolicy-88417279-47777053 launched on Node cn-jenkins-deploy-platform-ansible-os-5377-1 2026-02-20 16:34:48,360 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/97c26804-8b16-4e1d-88a0-698e6992d4be 2026-02-20 16:34:48,369 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5825a0de-3e8a-4d7d-bb1c-dd927739c086 2026-02-20 16:34:49,617 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.567 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.567/1.700/2.833/1.133 ms') 2026-02-20 16:34:49,617 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88417279-47777053 passed 2026-02-20 16:34:49,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 16:34:49,772 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88417279-47777053, IP 104.37.160.195, Port 22 2026-02-20 16:34:49,942 - DEBUG - VM ctest-TestBasicPolicy-88417279-47777053 is ready for SSH connections 2026-02-20 16:34:49,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 16:34:49,943 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.37.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-20 16:34:49,943 - DEBUG - ping -s 56 -c 3 -W 1 104.37.160.195 2026-02-20 16:34:53,674 - DEBUG - PING 104.37.160.195 (104.37.160.195): 56 data bytes 64 bytes from 104.37.160.195: seq=0 ttl=63 time=5.863 ms 64 bytes from 104.37.160.195: seq=1 ttl=63 time=1.088 ms 64 bytes from 104.37.160.195: seq=2 ttl=63 time=1.405 ms --- 104.37.160.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.088/2.785/5.863 ms 2026-02-20 16:34:53,674 - INFO - Ping to IP 104.37.160.195 from VM ctest-TestBasicPolicy-88417279-70154645 passed 2026-02-20 16:34:53,856 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6fa391b2-dde5-41c7-b971-fc0c10a3ff5c", "href": "http://10.0.0.38:8082/network-policy/6fa391b2-dde5-41c7-b971-fc0c10a3ff5c"}} 2026-02-20 16:34:53,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 16:34:53,856 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.37.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-20 16:34:53,856 - DEBUG - ping -s 56 -c 3 -W 1 104.37.160.195 2026-02-20 16:34:57,073 - DEBUG - PING 104.37.160.195 (104.37.160.195): 56 data bytes --- 104.37.160.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-20 16:34:57,073 - WARNING - Ping to IP 104.37.160.195 from VM ctest-TestBasicPolicy-88417279-70154645 failed 2026-02-20 16:34:57,073 - INFO - Deleting VM ctest-TestBasicPolicy-88417279-47777053 2026-02-20 16:34:57,142 - INFO - Deleting VM ctest-TestBasicPolicy-88417279-70154645 2026-02-20 16:34:57,513 - INFO - Deleted policy ctest-policy-allow-all-72730211 2026-02-20 16:34:57,513 - INFO - Deleting VN ctest-vn-68134297 2026-02-20 16:34:57,550 - DEBUG - VN a4776651-bc8c-4163-b69b-85d6aafa950c still in use: Unable to complete operation on network a4776651-bc8c-4163-b69b-85d6aafa950c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1fd1c4a2-47dd-4995-a1cf-cc0e649bf7d1'] 2026-02-20 16:34:57,550 - WARNING - Deleting VN ctest-vn-68134297 failed..Will retry 2026-02-20 16:34:59,651 - DEBUG - Response for deleting network () 2026-02-20 16:34:59,651 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/99cec555-bc49-42d9-bac9-5cd5e88756d2 2026-02-20 16:34:59,656 - DEBUG - Response Code: 404 2026-02-20 16:34:59,657 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 16:34:59,667 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f0a8dcb-e910-4fbf-86c4-779b8554a4bb 2026-02-20 16:34:59,725 - DEBUG - Requesting: http://10.0.0.38:8082/project/d1d0f12e-b866-417f-a6c5-cb53b0b0af2c 2026-02-20 16:34:59,798 - INFO - Validated that VN ctest-vn-68134297 is not found in API Server 2026-02-20 16:34:59,807 - DEBUG - VN ctest-vn-68134297 is not present in Agent 10.0.0.38 2026-02-20 16:34:59,807 - INFO - Validated that VN ctest-vn-68134297 is not in any agent 2026-02-20 16:34:59,822 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68134297 info 2026-02-20 16:34:59,822 - INFO - Deleting VN ctest-vn-87938846 2026-02-20 16:34:59,920 - DEBUG - Response for deleting network () 2026-02-20 16:34:59,920 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a780e45d-f44d-4bad-99af-68187504eab8 2026-02-20 16:34:59,925 - DEBUG - Response Code: 404 2026-02-20 16:34:59,926 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 16:34:59,933 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f0a8dcb-e910-4fbf-86c4-779b8554a4bb 2026-02-20 16:34:59,984 - DEBUG - Requesting: http://10.0.0.38:8082/project/d1d0f12e-b866-417f-a6c5-cb53b0b0af2c 2026-02-20 16:35:00,066 - INFO - Validated that VN ctest-vn-87938846 is not found in API Server 2026-02-20 16:35:00,074 - DEBUG - VN ctest-vn-87938846 is not present in Agent 10.0.0.38 2026-02-20 16:35:00,075 - INFO - Validated that VN ctest-vn-87938846 is not in any agent 2026-02-20 16:35:00,087 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87938846 info 2026-02-20 16:35:00,341 - DEBUG - No XMPP flaps were noticed during the test 2026-02-20 16:35:00,341 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-02-20 16:35:00,341 - INFO - -------------------------------------------------------------------------------- 2026-02-20 16:35:01,032 - INFO - Deleted project: ctest-TestBasicPolicy-88417279, ID : d1d0f12e-b866-417f-a6c5-cb53b0b0af2c