2026-01-30 13:40:39,018 - INFO - Domain Default found not creating 2026-01-30 13:40:39,181 - INFO - Project ctest-TestBasicPolicy-71030602 not found, creating it 2026-01-30 13:40:39,639 - INFO - Created Project:ctest-TestBasicPolicy-71030602, ID : 317044f7-5cca-4b88-b191-4bb855d4775a 2026-01-30 13:40:41,084 - INFO - ================================================================================ 2026-01-30 13:40:41,084 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-30 13:40:41,084 - 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-01-30 13:40:41,346 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-30 13:40:41,346 - INFO - Initial checks done. Running the testcase now 2026-01-30 13:40:41,346 - INFO - 2026-01-30 13:40:41,895 - DEBUG - Response for create_network : {'network': {'id': '63dc2bfd-388c-4299-a4e3-eab2f19525c2', 'name': 'ctest-vn-09533703', 'tenant_id': '317044f75cca4b88b1914bb855d4775a', 'project_id': '317044f75cca4b88b1914bb855d4775a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71030602', 'ctest-vn-09533703'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 13:40:42,179 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e8deef7-ae2f-4790-a50d-28cd1bd4ad2a', 'name': '', 'tenant_id': '317044f75cca4b88b1914bb855d4775a', 'network_id': '63dc2bfd-388c-4299-a4e3-eab2f19525c2', 'ip_version': 4, 'cidr': '195.165.177.0/26', 'allocation_pools': [{'start': '195.165.177.2', 'end': '195.165.177.62'}], 'gateway_ip': '195.165.177.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.165.177.2', 'tags': [], 'project_id': '317044f75cca4b88b1914bb855d4775a'}} 2026-01-30 13:40:42,219 - INFO - Created VN ctest-vn-09533703 2026-01-30 13:40:42,277 - DEBUG - VN ctest-vn-09533703 UUID is 63dc2bfd-388c-4299-a4e3-eab2f19525c2 2026-01-30 13:40:42,679 - DEBUG - Response for create_network : {'network': {'id': '0659070b-ef65-4af4-a392-9f2cffd73fca', 'name': 'ctest-vn-27062067', 'tenant_id': '317044f75cca4b88b1914bb855d4775a', 'project_id': '317044f75cca4b88b1914bb855d4775a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71030602', 'ctest-vn-27062067'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 13:40:42,897 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4f06795-8760-40df-955a-12fcac5cce73', 'name': '', 'tenant_id': '317044f75cca4b88b1914bb855d4775a', 'network_id': '0659070b-ef65-4af4-a392-9f2cffd73fca', 'ip_version': 4, 'cidr': '203.215.19.0/26', 'allocation_pools': [{'start': '203.215.19.2', 'end': '203.215.19.62'}], 'gateway_ip': '203.215.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.215.19.2', 'tags': [], 'project_id': '317044f75cca4b88b1914bb855d4775a'}} 2026-01-30 13:40:42,913 - INFO - Created VN ctest-vn-27062067 2026-01-30 13:40:42,965 - DEBUG - VN ctest-vn-27062067 UUID is 0659070b-ef65-4af4-a392-9f2cffd73fca 2026-01-30 13:40:43,112 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71030602:ctest-vn-09533703, 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-71030602:ctest-vn-27062067, 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-01-30 13:40:43,394 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '63dc2bfd-388c-4299-a4e3-eab2f19525c2', 'name': 'ctest-vn-09533703', 'tenant_id': '317044f75cca4b88b1914bb855d4775a', 'project_id': '317044f75cca4b88b1914bb855d4775a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e8deef7-ae2f-4790-a50d-28cd1bd4ad2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71030602', 'ctest-vn-09533703'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71030602', 'ctest-policy-allow-all-62647666']], 'subnet_ipam': [{'subnet_cidr': '195.165.177.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 13:40:43,611 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0659070b-ef65-4af4-a392-9f2cffd73fca', 'name': 'ctest-vn-27062067', 'tenant_id': '317044f75cca4b88b1914bb855d4775a', 'project_id': '317044f75cca4b88b1914bb855d4775a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f4f06795-8760-40df-955a-12fcac5cce73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71030602', 'ctest-vn-27062067'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71030602', 'ctest-policy-allow-all-62647666']], 'subnet_ipam': [{'subnet_cidr': '203.215.19.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 13:40:43,773 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 13:40:44,077 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 13:40:44,108 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f092540-2be0-41f0-a91f-c975c7de479c 2026-01-30 13:40:44,119 - DEBUG - Requesting: http://10.0.0.38:8082/project/317044f7-5cca-4b88-b191-4bb855d4775a 2026-01-30 13:40:44,218 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63dc2bfd-388c-4299-a4e3-eab2f19525c2 2026-01-30 13:40:44,228 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63dc2bfd-388c-4299-a4e3-eab2f19525c2 2026-01-30 13:40:44,237 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b4a1f349-e864-4309-900d-99597007aaf3 2026-01-30 13:40:44,243 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b4a1f349-e864-4309-900d-99597007aaf3 2026-01-30 13:40:44,249 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/809a5703-3dd4-4b78-9ec6-bb1fe4b4b2a8 2026-01-30 13:40:44,255 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 13:40:44,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63dc2bfd-388c-4299-a4e3-eab2f19525c2 2026-01-30 13:40:44,264 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b4a1f349-e864-4309-900d-99597007aaf3 2026-01-30 13:40:44,277 - INFO - Verified VN network id 12 for VN 63dc2bfd-388c-4299-a4e3-eab2f19525c2 2026-01-30 13:40:44,277 - INFO - Verifications in API Server for VN ctest-vn-09533703 passed 2026-01-30 13:40:44,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63dc2bfd-388c-4299-a4e3-eab2f19525c2 2026-01-30 13:40:44,285 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b4a1f349-e864-4309-900d-99597007aaf3 2026-01-30 13:40:44,292 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b4a1f349-e864-4309-900d-99597007aaf3 2026-01-30 13:40:44,298 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/809a5703-3dd4-4b78-9ec6-bb1fe4b4b2a8 2026-01-30 13:40:44,307 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71030602:ctest-vn-09533703', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71030602', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7195674671206646425', 'uuid-lslong': '11881598296211662274'}, 'enable': 'true', 'created': '2026-01-30T13:40:41', 'last-modified': '2026-01-30T13:40:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934317'} 2026-01-30 13:40:44,313 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 13:40:44,313 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09533703 passed 2026-01-30 13:40:44,313 - DEBUG - ====Verifying policy data for ctest-vn-09533703 in API_Server ====== 2026-01-30 13:40:44,313 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 13:40:44,318 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f092540-2be0-41f0-a91f-c975c7de479c 2026-01-30 13:40:44,328 - DEBUG - Requesting: http://10.0.0.38:8082/project/317044f7-5cca-4b88-b191-4bb855d4775a 2026-01-30 13:40:44,398 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63dc2bfd-388c-4299-a4e3-eab2f19525c2 2026-01-30 13:40:44,407 - DEBUG - ==>Verifying data for policy with id: b4a1e036-90c5-4790-b577-6c06ccad9203, fqn: ['default-domain', 'ctest-TestBasicPolicy-71030602', 'ctest-policy-allow-all-62647666'] 2026-01-30 13:40:44,407 - INFO - VN ctest-vn-09533703 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 13:40:44,407 - DEBUG - Verifying the vn in opserver 2026-01-30 13:40:44,407 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71030602:ctest-vn-09533703 virtual network link through opserver 10.0.0.38 2026-01-30 13:40:44,407 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-30 13:40:44,709 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-30 13:40:44,769 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71030602:ctest-vn-09533703', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71030602:ctest-vn-09533703?flat'} 2026-01-30 13:40:44,769 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71030602:ctest-vn-09533703 is found in opserver 2026-01-30 13:40:44,778 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 13:40:44,783 - DEBUG - VRF ids for VN ctest-vn-09533703: {} 2026-01-30 13:40:44,783 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 13:40:44,787 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f092540-2be0-41f0-a91f-c975c7de479c 2026-01-30 13:40:44,797 - DEBUG - Requesting: http://10.0.0.38:8082/project/317044f7-5cca-4b88-b191-4bb855d4775a 2026-01-30 13:40:44,865 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0659070b-ef65-4af4-a392-9f2cffd73fca 2026-01-30 13:40:44,875 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0659070b-ef65-4af4-a392-9f2cffd73fca 2026-01-30 13:40:44,883 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a105422-0c88-4ff6-849c-4ddfaca77627 2026-01-30 13:40:44,889 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a105422-0c88-4ff6-849c-4ddfaca77627 2026-01-30 13:40:44,895 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/65de4eb9-af02-43e5-b0d6-2c6a3fbdf028 2026-01-30 13:40:44,901 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 13:40:44,901 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0659070b-ef65-4af4-a392-9f2cffd73fca 2026-01-30 13:40:44,909 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a105422-0c88-4ff6-849c-4ddfaca77627 2026-01-30 13:40:44,923 - INFO - Verified VN network id 13 for VN 0659070b-ef65-4af4-a392-9f2cffd73fca 2026-01-30 13:40:44,923 - INFO - Verifications in API Server for VN ctest-vn-27062067 passed 2026-01-30 13:40:44,923 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0659070b-ef65-4af4-a392-9f2cffd73fca 2026-01-30 13:40:44,933 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a105422-0c88-4ff6-849c-4ddfaca77627 2026-01-30 13:40:44,941 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a105422-0c88-4ff6-849c-4ddfaca77627 2026-01-30 13:40:44,948 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/65de4eb9-af02-43e5-b0d6-2c6a3fbdf028 2026-01-30 13:40:44,960 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71030602:ctest-vn-27062067', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71030602', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '457404584997243636', 'uuid-lslong': '11786658190401683402'}, 'enable': 'true', 'created': '2026-01-30T13:40:42', 'last-modified': '2026-01-30T13:40:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.375675'} 2026-01-30 13:40:44,966 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 13:40:44,966 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27062067 passed 2026-01-30 13:40:44,967 - DEBUG - ====Verifying policy data for ctest-vn-27062067 in API_Server ====== 2026-01-30 13:40:44,967 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 13:40:44,972 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f092540-2be0-41f0-a91f-c975c7de479c 2026-01-30 13:40:44,982 - DEBUG - Requesting: http://10.0.0.38:8082/project/317044f7-5cca-4b88-b191-4bb855d4775a 2026-01-30 13:40:45,051 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0659070b-ef65-4af4-a392-9f2cffd73fca 2026-01-30 13:40:45,059 - DEBUG - ==>Verifying data for policy with id: b4a1e036-90c5-4790-b577-6c06ccad9203, fqn: ['default-domain', 'ctest-TestBasicPolicy-71030602', 'ctest-policy-allow-all-62647666'] 2026-01-30 13:40:45,060 - INFO - VN ctest-vn-27062067 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 13:40:45,060 - DEBUG - Verifying the vn in opserver 2026-01-30 13:40:45,060 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71030602:ctest-vn-27062067 virtual network link through opserver 10.0.0.38 2026-01-30 13:40:45,060 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-30 13:40:45,069 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71030602:ctest-vn-27062067', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71030602:ctest-vn-27062067?flat'} 2026-01-30 13:40:45,069 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71030602:ctest-vn-27062067 is found in opserver 2026-01-30 13:40:45,078 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 13:40:45,082 - DEBUG - VRF ids for VN ctest-vn-27062067: {} 2026-01-30 13:40:45,135 - DEBUG - Services list from nova: [, , ] 2026-01-30 13:40:46,152 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5147-1) 2026-01-30 13:40:47,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5147-1) 2026-01-30 13:40:47,294 - INFO - Waiting for VM ctest-TestBasicPolicy-71030602-51022506 to be up.. 2026-01-30 13:40:47,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-30 13:40:52,447 - DEBUG - VM is in ACTIVE state now 2026-01-30 13:40:52,447 - INFO - VM name : ctest-TestBasicPolicy-71030602-51022506 2026-01-30 13:40:52,511 - DEBUG - VM ctest-TestBasicPolicy-71030602-51022506 ID is 7366b961-d753-4e08-809f-9b91be1c47e5 2026-01-30 13:40:52,528 - DEBUG - VM ctest-TestBasicPolicy-71030602-51022506 launched on Node cn-jenkins-deploy-platform-ansible-os-5147-1 2026-01-30 13:40:52,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7366b961-d753-4e08-809f-9b91be1c47e5 2026-01-30 13:40:52,601 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f4eed8bd-54be-4186-915b-3efcdb678e7f 2026-01-30 13:40:55,846 - 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 1010ms') 2026-01-30 13:40:55,846 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71030602-51022506 failed! 2026-01-30 13:40:55,901 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71030602:ctest-vn-09533703 is 195.165.177.1 and allocation pool is NOT set 2026-01-30 13:40:57,965 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.411 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.411/1.929/3.447/1.518 ms') 2026-01-30 13:40:57,965 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71030602-51022506 passed 2026-01-30 13:40:58,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 13:40:58,113 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71030602-51022506, IP 195.165.177.3, Port 22 2026-01-30 13:40:58,264 - DEBUG - VM ctest-TestBasicPolicy-71030602-51022506 is ready for SSH connections 2026-01-30 13:40:58,264 - INFO - Waiting for VM ctest-TestBasicPolicy-71030602-83805343 to be up.. 2026-01-30 13:40:58,331 - DEBUG - VM is in ACTIVE state now 2026-01-30 13:40:58,331 - INFO - VM name : ctest-TestBasicPolicy-71030602-83805343 2026-01-30 13:40:58,488 - DEBUG - VM ctest-TestBasicPolicy-71030602-83805343 ID is 558924cf-ddb7-4594-ad30-2fca4c1eaba9 2026-01-30 13:40:58,489 - DEBUG - VM ctest-TestBasicPolicy-71030602-83805343 launched on Node cn-jenkins-deploy-platform-ansible-os-5147-1 2026-01-30 13:40:58,560 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/558924cf-ddb7-4594-ad30-2fca4c1eaba9 2026-01-30 13:40:58,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/549dd81a-089c-41d6-8e13-80438276c473 2026-01-30 13:40:59,804 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.818/3.233/1.414 ms') 2026-01-30 13:40:59,805 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71030602-83805343 passed 2026-01-30 13:40:59,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 13:40:59,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71030602-83805343, IP 203.215.19.3, Port 22 2026-01-30 13:41:00,118 - DEBUG - VM ctest-TestBasicPolicy-71030602-83805343 is ready for SSH connections 2026-01-30 13:41:00,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 13:41:00,118 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.215.19.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-30 13:41:00,118 - DEBUG - ping -s 56 -c 3 -W 1 203.215.19.3 2026-01-30 13:41:03,787 - DEBUG - PING 203.215.19.3 (203.215.19.3): 56 data bytes 64 bytes from 203.215.19.3: seq=0 ttl=63 time=3.573 ms 64 bytes from 203.215.19.3: seq=1 ttl=63 time=0.966 ms 64 bytes from 203.215.19.3: seq=2 ttl=63 time=0.835 ms --- 203.215.19.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.791/3.573 ms 2026-01-30 13:41:03,787 - INFO - Ping to IP 203.215.19.3 from VM ctest-TestBasicPolicy-71030602-51022506 passed 2026-01-30 13:41:03,960 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b4a1e036-90c5-4790-b577-6c06ccad9203", "href": "http://10.0.0.38:8082/network-policy/b4a1e036-90c5-4790-b577-6c06ccad9203"}} 2026-01-30 13:41:03,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 13:41:03,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.215.19.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-30 13:41:03,961 - DEBUG - ping -s 56 -c 3 -W 1 203.215.19.3 2026-01-30 13:41:07,185 - DEBUG - PING 203.215.19.3 (203.215.19.3): 56 data bytes --- 203.215.19.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-30 13:41:07,185 - WARNING - Ping to IP 203.215.19.3 from VM ctest-TestBasicPolicy-71030602-51022506 failed 2026-01-30 13:41:07,185 - INFO - Deleting VM ctest-TestBasicPolicy-71030602-83805343 2026-01-30 13:41:07,256 - INFO - Deleting VM ctest-TestBasicPolicy-71030602-51022506 2026-01-30 13:41:07,593 - INFO - Deleted policy ctest-policy-allow-all-62647666 2026-01-30 13:41:07,593 - INFO - Deleting VN ctest-vn-27062067 2026-01-30 13:41:07,627 - DEBUG - VN 0659070b-ef65-4af4-a392-9f2cffd73fca still in use: Unable to complete operation on network 0659070b-ef65-4af4-a392-9f2cffd73fca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8ffa18e4-e90b-4e4b-9706-89124b6a80d1'] 2026-01-30 13:41:07,627 - WARNING - Deleting VN ctest-vn-27062067 failed..Will retry 2026-01-30 13:41:09,719 - DEBUG - Response for deleting network () 2026-01-30 13:41:09,719 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a105422-0c88-4ff6-849c-4ddfaca77627 2026-01-30 13:41:09,725 - DEBUG - Response Code: 404 2026-01-30 13:41:09,725 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 13:41:09,729 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f092540-2be0-41f0-a91f-c975c7de479c 2026-01-30 13:41:09,782 - DEBUG - Requesting: http://10.0.0.38:8082/project/317044f7-5cca-4b88-b191-4bb855d4775a 2026-01-30 13:41:09,852 - INFO - Validated that VN ctest-vn-27062067 is not found in API Server 2026-01-30 13:41:09,860 - DEBUG - VN ctest-vn-27062067 is not present in Agent 10.0.0.38 2026-01-30 13:41:09,860 - INFO - Validated that VN ctest-vn-27062067 is not in any agent 2026-01-30 13:41:09,871 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27062067 info 2026-01-30 13:41:09,871 - INFO - Deleting VN ctest-vn-09533703 2026-01-30 13:41:09,971 - DEBUG - Response for deleting network () 2026-01-30 13:41:09,971 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b4a1f349-e864-4309-900d-99597007aaf3 2026-01-30 13:41:09,978 - DEBUG - Response Code: 404 2026-01-30 13:41:09,978 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 13:41:09,983 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f092540-2be0-41f0-a91f-c975c7de479c 2026-01-30 13:41:10,033 - DEBUG - Requesting: http://10.0.0.38:8082/project/317044f7-5cca-4b88-b191-4bb855d4775a 2026-01-30 13:41:10,098 - INFO - Validated that VN ctest-vn-09533703 is not found in API Server 2026-01-30 13:41:10,108 - DEBUG - VN ctest-vn-09533703 is not present in Agent 10.0.0.38 2026-01-30 13:41:10,108 - INFO - Validated that VN ctest-vn-09533703 is not in any agent 2026-01-30 13:41:10,122 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09533703 info 2026-01-30 13:41:10,373 - DEBUG - No XMPP flaps were noticed during the test
2026-01-30 13:41:10,373 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-30 13:41:10,373 - INFO - -------------------------------------------------------------------------------- 2026-01-30 13:41:11,042 - INFO - Deleted project: ctest-TestBasicPolicy-71030602, ID : 317044f7-5cca-4b88-b191-4bb855d4775a