2026-05-26 16:07:47,050 - INFO - Domain Default found not creating 2026-05-26 16:07:47,203 - INFO - Project ctest-TestBasicPolicy-17996449 not found, creating it 2026-05-26 16:07:47,637 - INFO - Created Project:ctest-TestBasicPolicy-17996449, ID : 7d1a35e2-2076-4f48-b08d-e62e25e581ed 2026-05-26 16:07:49,711 - INFO - ================================================================================ 2026-05-26 16:07:49,712 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-26 16:07:49,712 - 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-26 16:07:49,969 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2026-05-26 16:07:49,969 - INFO - Initial checks done. Running the testcase now 2026-05-26 16:07:49,969 - INFO - 2026-05-26 16:07:50,514 - DEBUG - Response for create_network : {'network': {'id': '20398efd-11d9-4df1-9823-fb7ca9de1e39', 'name': 'ctest-vn-17626251', 'tenant_id': '7d1a35e220764f48b08de62e25e581ed', 'project_id': '7d1a35e220764f48b08de62e25e581ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17996449', 'ctest-vn-17626251'], 'port_security_enabled': True, 'description': ''}} 2026-05-26 16:07:50,663 - DEBUG - Response for create_subnet : {'subnet': {'id': '357aeec5-9dfd-4528-a452-28d5c33e2c0c', 'name': '', 'tenant_id': '7d1a35e220764f48b08de62e25e581ed', 'network_id': '20398efd-11d9-4df1-9823-fb7ca9de1e39', 'ip_version': 4, 'cidr': '11.141.123.64/26', 'allocation_pools': [{'start': '11.141.123.66', 'end': '11.141.123.126'}], 'gateway_ip': '11.141.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.141.123.66', 'tags': [], 'project_id': '7d1a35e220764f48b08de62e25e581ed'}} 2026-05-26 16:07:50,680 - INFO - Created VN ctest-vn-17626251 2026-05-26 16:07:50,733 - DEBUG - VN ctest-vn-17626251 UUID is 20398efd-11d9-4df1-9823-fb7ca9de1e39 2026-05-26 16:07:51,066 - DEBUG - Response for create_network : {'network': {'id': '17655209-3097-442d-83a1-9a3b32214f2c', 'name': 'ctest-vn-88313894', 'tenant_id': '7d1a35e220764f48b08de62e25e581ed', 'project_id': '7d1a35e220764f48b08de62e25e581ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17996449', 'ctest-vn-88313894'], 'port_security_enabled': True, 'description': ''}} 2026-05-26 16:07:51,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d140418-398c-46ad-af3c-83b76833af37', 'name': '', 'tenant_id': '7d1a35e220764f48b08de62e25e581ed', 'network_id': '17655209-3097-442d-83a1-9a3b32214f2c', 'ip_version': 4, 'cidr': '213.127.181.128/26', 'allocation_pools': [{'start': '213.127.181.130', 'end': '213.127.181.190'}], 'gateway_ip': '213.127.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.127.181.130', 'tags': [], 'project_id': '7d1a35e220764f48b08de62e25e581ed'}} 2026-05-26 16:07:51,266 - INFO - Created VN ctest-vn-88313894 2026-05-26 16:07:51,317 - DEBUG - VN ctest-vn-88313894 UUID is 17655209-3097-442d-83a1-9a3b32214f2c 2026-05-26 16:07:51,461 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17996449:ctest-vn-17626251, 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-17996449:ctest-vn-88313894, 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-26 16:07:51,743 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '20398efd-11d9-4df1-9823-fb7ca9de1e39', 'name': 'ctest-vn-17626251', 'tenant_id': '7d1a35e220764f48b08de62e25e581ed', 'project_id': '7d1a35e220764f48b08de62e25e581ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['357aeec5-9dfd-4528-a452-28d5c33e2c0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17996449', 'ctest-vn-17626251'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17996449', 'ctest-policy-allow-all-66856310']], 'subnet_ipam': [{'subnet_cidr': '11.141.123.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-26 16:07:51,961 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17655209-3097-442d-83a1-9a3b32214f2c', 'name': 'ctest-vn-88313894', 'tenant_id': '7d1a35e220764f48b08de62e25e581ed', 'project_id': '7d1a35e220764f48b08de62e25e581ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d140418-398c-46ad-af3c-83b76833af37'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17996449', 'ctest-vn-88313894'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17996449', 'ctest-policy-allow-all-66856310']], 'subnet_ipam': [{'subnet_cidr': '213.127.181.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-26 16:07:52,116 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-26 16:07:52,408 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-26 16:07:52,436 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aff26475-242c-466d-b46d-129e4259877d 2026-05-26 16:07:52,448 - DEBUG - Requesting: http://10.0.0.38:8082/project/7d1a35e2-2076-4f48-b08d-e62e25e581ed 2026-05-26 16:07:52,518 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20398efd-11d9-4df1-9823-fb7ca9de1e39 2026-05-26 16:07:52,530 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20398efd-11d9-4df1-9823-fb7ca9de1e39 2026-05-26 16:07:52,539 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/78468325-c54c-4b69-b1f9-d19142d61cd4 2026-05-26 16:07:52,546 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/78468325-c54c-4b69-b1f9-d19142d61cd4 2026-05-26 16:07:52,552 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/488f6df4-83e5-46f2-a43b-eb457780bcdf 2026-05-26 16:07:52,558 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-26 16:07:52,558 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20398efd-11d9-4df1-9823-fb7ca9de1e39 2026-05-26 16:07:52,566 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/78468325-c54c-4b69-b1f9-d19142d61cd4 2026-05-26 16:07:52,579 - INFO - Verified VN network id 10 for VN 20398efd-11d9-4df1-9823-fb7ca9de1e39 2026-05-26 16:07:52,580 - INFO - Verifications in API Server for VN ctest-vn-17626251 passed 2026-05-26 16:07:52,580 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20398efd-11d9-4df1-9823-fb7ca9de1e39 2026-05-26 16:07:52,589 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/78468325-c54c-4b69-b1f9-d19142d61cd4 2026-05-26 16:07:52,596 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/78468325-c54c-4b69-b1f9-d19142d61cd4 2026-05-26 16:07:52,602 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/488f6df4-83e5-46f2-a43b-eb457780bcdf 2026-05-26 16:07:52,611 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17996449:ctest-vn-17626251', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17996449', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2322044300463525361', 'uuid-lslong': '10962882430794341945'}, 'enable': 'true', 'created': '2026-05-26T16:07:50', 'last-modified': '2026-05-26T16:07:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.885317'} 2026-05-26 16:07:52,617 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-26 16:07:52,617 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17626251 passed 2026-05-26 16:07:52,617 - DEBUG - ====Verifying policy data for ctest-vn-17626251 in API_Server ====== 2026-05-26 16:07:52,617 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-26 16:07:52,622 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aff26475-242c-466d-b46d-129e4259877d 2026-05-26 16:07:52,632 - DEBUG - Requesting: http://10.0.0.38:8082/project/7d1a35e2-2076-4f48-b08d-e62e25e581ed 2026-05-26 16:07:52,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20398efd-11d9-4df1-9823-fb7ca9de1e39 2026-05-26 16:07:52,713 - DEBUG - ==>Verifying data for policy with id: d87a8495-6bc8-4d92-a875-7271ee3f7b26, fqn: ['default-domain', 'ctest-TestBasicPolicy-17996449', 'ctest-policy-allow-all-66856310'] 2026-05-26 16:07:52,713 - INFO - VN ctest-vn-17626251 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-26 16:07:52,713 - DEBUG - Verifying the vn in opserver 2026-05-26 16:07:52,713 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17996449:ctest-vn-17626251 virtual network link through opserver 10.0.0.38 2026-05-26 16:07:52,713 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-26 16:07:53,010 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-26 16:07:53,076 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17996449:ctest-vn-17626251', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17996449:ctest-vn-17626251?flat'} 2026-05-26 16:07:53,076 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17996449:ctest-vn-17626251 is found in opserver 2026-05-26 16:07:53,087 - DEBUG - Do not have enough data to verify VN in agent 2026-05-26 16:07:53,093 - DEBUG - VRF ids for VN ctest-vn-17626251: {} 2026-05-26 16:07:53,093 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-26 16:07:53,098 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aff26475-242c-466d-b46d-129e4259877d 2026-05-26 16:07:53,109 - DEBUG - Requesting: http://10.0.0.38:8082/project/7d1a35e2-2076-4f48-b08d-e62e25e581ed 2026-05-26 16:07:53,179 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/17655209-3097-442d-83a1-9a3b32214f2c 2026-05-26 16:07:53,191 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/17655209-3097-442d-83a1-9a3b32214f2c 2026-05-26 16:07:53,199 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e71d1750-05a0-4842-99b7-e5fb5741c13c 2026-05-26 16:07:53,206 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e71d1750-05a0-4842-99b7-e5fb5741c13c 2026-05-26 16:07:53,212 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d5678e1f-a14e-4f96-9398-a2b5a0c22606 2026-05-26 16:07:53,219 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-26 16:07:53,219 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/17655209-3097-442d-83a1-9a3b32214f2c 2026-05-26 16:07:53,228 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e71d1750-05a0-4842-99b7-e5fb5741c13c 2026-05-26 16:07:53,242 - INFO - Verified VN network id 11 for VN 17655209-3097-442d-83a1-9a3b32214f2c 2026-05-26 16:07:53,242 - INFO - Verifications in API Server for VN ctest-vn-88313894 passed 2026-05-26 16:07:53,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/17655209-3097-442d-83a1-9a3b32214f2c 2026-05-26 16:07:53,254 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e71d1750-05a0-4842-99b7-e5fb5741c13c 2026-05-26 16:07:53,261 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e71d1750-05a0-4842-99b7-e5fb5741c13c 2026-05-26 16:07:53,267 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d5678e1f-a14e-4f96-9398-a2b5a0c22606 2026-05-26 16:07:53,277 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17996449:ctest-vn-88313894', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17996449', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1685843834943521837', 'uuid-lslong': '9485031869253766956'}, 'enable': 'true', 'created': '2026-05-26T16:07:51', 'last-modified': '2026-05-26T16:07:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.331633'} 2026-05-26 16:07:53,282 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-26 16:07:53,282 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88313894 passed 2026-05-26 16:07:53,282 - DEBUG - ====Verifying policy data for ctest-vn-88313894 in API_Server ====== 2026-05-26 16:07:53,282 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-26 16:07:53,287 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aff26475-242c-466d-b46d-129e4259877d 2026-05-26 16:07:53,298 - DEBUG - Requesting: http://10.0.0.38:8082/project/7d1a35e2-2076-4f48-b08d-e62e25e581ed 2026-05-26 16:07:53,364 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/17655209-3097-442d-83a1-9a3b32214f2c 2026-05-26 16:07:53,374 - DEBUG - ==>Verifying data for policy with id: d87a8495-6bc8-4d92-a875-7271ee3f7b26, fqn: ['default-domain', 'ctest-TestBasicPolicy-17996449', 'ctest-policy-allow-all-66856310'] 2026-05-26 16:07:53,374 - INFO - VN ctest-vn-88313894 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-26 16:07:53,374 - DEBUG - Verifying the vn in opserver 2026-05-26 16:07:53,374 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17996449:ctest-vn-88313894 virtual network link through opserver 10.0.0.38 2026-05-26 16:07:53,374 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-26 16:07:53,382 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17996449:ctest-vn-88313894', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17996449:ctest-vn-88313894?flat'} 2026-05-26 16:07:53,383 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17996449:ctest-vn-88313894 is found in opserver 2026-05-26 16:07:53,392 - DEBUG - Do not have enough data to verify VN in agent 2026-05-26 16:07:53,396 - DEBUG - VRF ids for VN ctest-vn-88313894: {} 2026-05-26 16:07:53,453 - DEBUG - Services list from nova: [, , ] 2026-05-26 16:07:54,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5829-1) 2026-05-26 16:07:55,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5829-1) 2026-05-26 16:07:55,703 - INFO - Waiting for VM ctest-TestBasicPolicy-17996449-82489085 to be up.. 2026-05-26 16:07:55,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-26 16:08:00,865 - DEBUG - VM is in ACTIVE state now 2026-05-26 16:08:00,865 - INFO - VM name : ctest-TestBasicPolicy-17996449-82489085 2026-05-26 16:08:00,936 - DEBUG - VM ctest-TestBasicPolicy-17996449-82489085 ID is 35000bd0-0725-4a3a-b46f-881190c12a58 2026-05-26 16:08:00,955 - DEBUG - VM ctest-TestBasicPolicy-17996449-82489085 launched on Node cn-jenkins-deploy-platform-ansible-os-5829-1 2026-05-26 16:08:01,031 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/35000bd0-0725-4a3a-b46f-881190c12a58 2026-05-26 16:08:01,039 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cebefd6f-2ef5-415c-8fbf-27b99757200d 2026-05-26 16:08:04,311 - 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 1027ms') 2026-05-26 16:08:04,311 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17996449-82489085 failed! 2026-05-26 16:08:04,365 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17996449:ctest-vn-17626251 is 11.141.123.65 and allocation pool is NOT set 2026-05-26 16:08:06,426 - 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=3.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.442/1.877/3.312/1.435 ms') 2026-05-26 16:08:06,426 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17996449-82489085 passed 2026-05-26 16:08:06,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-26 16:08:06,577 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17996449-82489085, IP 11.141.123.67, Port 22 2026-05-26 16:08:06,747 - DEBUG - VM ctest-TestBasicPolicy-17996449-82489085 is ready for SSH connections 2026-05-26 16:08:06,747 - INFO - Waiting for VM ctest-TestBasicPolicy-17996449-73567628 to be up.. 2026-05-26 16:08:06,824 - DEBUG - VM is in ACTIVE state now 2026-05-26 16:08:06,824 - INFO - VM name : ctest-TestBasicPolicy-17996449-73567628 2026-05-26 16:08:06,994 - DEBUG - VM ctest-TestBasicPolicy-17996449-73567628 ID is d29c1e4c-47fc-4b5b-9be4-9c0402a23740 2026-05-26 16:08:06,995 - DEBUG - VM ctest-TestBasicPolicy-17996449-73567628 launched on Node cn-jenkins-deploy-platform-ansible-os-5829-1 2026-05-26 16:08:07,068 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d29c1e4c-47fc-4b5b-9be4-9c0402a23740 2026-05-26 16:08:07,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/db4e5bfd-7f82-46f2-ad5b-7d7f7282acf2 2026-05-26 16:08:08,316 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.600/2.794/1.194 ms') 2026-05-26 16:08:08,316 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17996449-73567628 passed 2026-05-26 16:08:08,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-26 16:08:08,465 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17996449-73567628, IP 213.127.181.131, Port 22 2026-05-26 16:08:08,628 - DEBUG - VM ctest-TestBasicPolicy-17996449-73567628 is ready for SSH connections 2026-05-26 16:08:08,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-26 16:08:08,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.127.181.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-26 16:08:08,628 - DEBUG - ping -s 56 -c 3 -W 1 213.127.181.131 2026-05-26 16:08:12,623 - DEBUG - PING 213.127.181.131 (213.127.181.131): 56 data bytes 64 bytes from 213.127.181.131: seq=0 ttl=63 time=3.540 ms 64 bytes from 213.127.181.131: seq=1 ttl=63 time=0.957 ms 64 bytes from 213.127.181.131: seq=2 ttl=63 time=0.841 ms --- 213.127.181.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.841/1.779/3.540 ms 2026-05-26 16:08:12,624 - INFO - Ping to IP 213.127.181.131 from VM ctest-TestBasicPolicy-17996449-82489085 passed 2026-05-26 16:08:12,800 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d87a8495-6bc8-4d92-a875-7271ee3f7b26", "href": "http://10.0.0.38:8082/network-policy/d87a8495-6bc8-4d92-a875-7271ee3f7b26"}} 2026-05-26 16:08:12,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-26 16:08:12,801 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.127.181.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-26 16:08:12,801 - DEBUG - ping -s 56 -c 3 -W 1 213.127.181.131 2026-05-26 16:08:16,000 - DEBUG - PING 213.127.181.131 (213.127.181.131): 56 data bytes --- 213.127.181.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-26 16:08:16,000 - WARNING - Ping to IP 213.127.181.131 from VM ctest-TestBasicPolicy-17996449-82489085 failed 2026-05-26 16:08:16,000 - INFO - Deleting VM ctest-TestBasicPolicy-17996449-73567628 2026-05-26 16:08:16,081 - INFO - Deleting VM ctest-TestBasicPolicy-17996449-82489085 2026-05-26 16:08:16,429 - INFO - Deleted policy ctest-policy-allow-all-66856310 2026-05-26 16:08:16,429 - INFO - Deleting VN ctest-vn-88313894 2026-05-26 16:08:16,465 - DEBUG - VN 17655209-3097-442d-83a1-9a3b32214f2c still in use: Unable to complete operation on network 17655209-3097-442d-83a1-9a3b32214f2c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-333d80ce-a353-4730-81c9-011c5a160df3'] 2026-05-26 16:08:16,465 - WARNING - Deleting VN ctest-vn-88313894 failed..Will retry 2026-05-26 16:08:18,557 - DEBUG - Response for deleting network () 2026-05-26 16:08:18,557 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e71d1750-05a0-4842-99b7-e5fb5741c13c 2026-05-26 16:08:18,561 - DEBUG - Response Code: 404 2026-05-26 16:08:18,561 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-26 16:08:18,566 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aff26475-242c-466d-b46d-129e4259877d 2026-05-26 16:08:18,617 - DEBUG - Requesting: http://10.0.0.38:8082/project/7d1a35e2-2076-4f48-b08d-e62e25e581ed 2026-05-26 16:08:18,683 - INFO - Validated that VN ctest-vn-88313894 is not found in API Server 2026-05-26 16:08:18,692 - DEBUG - VN ctest-vn-88313894 is not present in Agent 10.0.0.38 2026-05-26 16:08:18,692 - INFO - Validated that VN ctest-vn-88313894 is not in any agent 2026-05-26 16:08:18,704 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88313894 info 2026-05-26 16:08:18,704 - INFO - Deleting VN ctest-vn-17626251 2026-05-26 16:08:18,786 - DEBUG - Response for deleting network () 2026-05-26 16:08:18,786 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/78468325-c54c-4b69-b1f9-d19142d61cd4 2026-05-26 16:08:18,790 - DEBUG - Response Code: 404 2026-05-26 16:08:18,790 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-26 16:08:18,798 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aff26475-242c-466d-b46d-129e4259877d 2026-05-26 16:08:18,849 - DEBUG - Requesting: http://10.0.0.38:8082/project/7d1a35e2-2076-4f48-b08d-e62e25e581ed 2026-05-26 16:08:18,914 - INFO - Validated that VN ctest-vn-17626251 is not found in API Server 2026-05-26 16:08:18,923 - DEBUG - VN ctest-vn-17626251 is not present in Agent 10.0.0.38 2026-05-26 16:08:18,923 - INFO - Validated that VN ctest-vn-17626251 is not in any agent 2026-05-26 16:08:18,936 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17626251 info 2026-05-26 16:08:19,193 - DEBUG - No XMPP flaps were noticed during the test
2026-05-26 16:08:19,193 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-26 16:08:19,193 - INFO - -------------------------------------------------------------------------------- 2026-05-26 16:08:19,866 - INFO - Deleted project: ctest-TestBasicPolicy-17996449, ID : 7d1a35e2-2076-4f48-b08d-e62e25e581ed