2026-03-12 02:10:52,699 - INFO - Domain Default found not creating 2026-03-12 02:10:52,872 - INFO - Project ctest-TestBasicPolicy-90415056 not found, creating it 2026-03-12 02:10:53,339 - INFO - Created Project:ctest-TestBasicPolicy-90415056, ID : c59b1c1a-abac-4ce7-bca5-3e054c251fb7 2026-03-12 02:10:54,821 - INFO - ================================================================================ 2026-03-12 02:10:54,821 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-12 02:10:54,821 - 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-03-12 02:10:55,076 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0'}} with 2026-03-12 02:10:55,076 - INFO - Initial checks done. Running the testcase now 2026-03-12 02:10:55,076 - INFO - 2026-03-12 02:10:55,636 - DEBUG - Response for create_network : {'network': {'id': 'f7c206b1-eedb-4781-9325-2a3e3f8cd522', 'name': 'ctest-vn-94012158', 'tenant_id': 'c59b1c1aabac4ce7bca53e054c251fb7', 'project_id': 'c59b1c1aabac4ce7bca53e054c251fb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90415056', 'ctest-vn-94012158'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 02:10:55,783 - DEBUG - Response for create_subnet : {'subnet': {'id': '3addb146-42c7-413f-81f4-8644aea60cc9', 'name': '', 'tenant_id': 'c59b1c1aabac4ce7bca53e054c251fb7', 'network_id': 'f7c206b1-eedb-4781-9325-2a3e3f8cd522', 'ip_version': 4, 'cidr': '140.111.34.192/26', 'allocation_pools': [{'start': '140.111.34.194', 'end': '140.111.34.254'}], 'gateway_ip': '140.111.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.111.34.194', 'tags': [], 'project_id': 'c59b1c1aabac4ce7bca53e054c251fb7'}} 2026-03-12 02:10:55,800 - INFO - Created VN ctest-vn-94012158 2026-03-12 02:10:55,851 - DEBUG - VN ctest-vn-94012158 UUID is f7c206b1-eedb-4781-9325-2a3e3f8cd522 2026-03-12 02:10:56,125 - DEBUG - Response for create_network : {'network': {'id': '2cc2385d-0bb0-4ce1-85ca-bf23c883a1f6', 'name': 'ctest-vn-08657354', 'tenant_id': 'c59b1c1aabac4ce7bca53e054c251fb7', 'project_id': 'c59b1c1aabac4ce7bca53e054c251fb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90415056', 'ctest-vn-08657354'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 02:10:56,296 - DEBUG - Response for create_subnet : {'subnet': {'id': '16d5d82b-183f-4153-81c0-ca43f386468a', 'name': '', 'tenant_id': 'c59b1c1aabac4ce7bca53e054c251fb7', 'network_id': '2cc2385d-0bb0-4ce1-85ca-bf23c883a1f6', 'ip_version': 4, 'cidr': '50.121.155.64/26', 'allocation_pools': [{'start': '50.121.155.66', 'end': '50.121.155.126'}], 'gateway_ip': '50.121.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.121.155.66', 'tags': [], 'project_id': 'c59b1c1aabac4ce7bca53e054c251fb7'}} 2026-03-12 02:10:56,312 - INFO - Created VN ctest-vn-08657354 2026-03-12 02:10:56,363 - DEBUG - VN ctest-vn-08657354 UUID is 2cc2385d-0bb0-4ce1-85ca-bf23c883a1f6 2026-03-12 02:10:56,511 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90415056:ctest-vn-94012158, 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-90415056:ctest-vn-08657354, 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-03-12 02:10:56,800 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f7c206b1-eedb-4781-9325-2a3e3f8cd522', 'name': 'ctest-vn-94012158', 'tenant_id': 'c59b1c1aabac4ce7bca53e054c251fb7', 'project_id': 'c59b1c1aabac4ce7bca53e054c251fb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3addb146-42c7-413f-81f4-8644aea60cc9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90415056', 'ctest-vn-94012158'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90415056', 'ctest-policy-allow-all-06902101']], 'subnet_ipam': [{'subnet_cidr': '140.111.34.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-12 02:10:57,030 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2cc2385d-0bb0-4ce1-85ca-bf23c883a1f6', 'name': 'ctest-vn-08657354', 'tenant_id': 'c59b1c1aabac4ce7bca53e054c251fb7', 'project_id': 'c59b1c1aabac4ce7bca53e054c251fb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16d5d82b-183f-4153-81c0-ca43f386468a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90415056', 'ctest-vn-08657354'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90415056', 'ctest-policy-allow-all-06902101']], 'subnet_ipam': [{'subnet_cidr': '50.121.155.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-12 02:10:57,199 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-12 02:10:57,501 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-12 02:10:57,534 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e96e6af1-e7e5-48c9-b7da-16ab33608450 2026-03-12 02:10:57,546 - DEBUG - Requesting: http://10.0.0.19:8082/project/c59b1c1a-abac-4ce7-bca5-3e054c251fb7 2026-03-12 02:10:57,623 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f7c206b1-eedb-4781-9325-2a3e3f8cd522 2026-03-12 02:10:57,633 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f7c206b1-eedb-4781-9325-2a3e3f8cd522 2026-03-12 02:10:57,641 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/946b95c4-f817-47b8-8dd7-1cb2592fdf56 2026-03-12 02:10:57,648 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/946b95c4-f817-47b8-8dd7-1cb2592fdf56 2026-03-12 02:10:57,654 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/c446e8e1-c8f3-4257-b415-411181078952 2026-03-12 02:10:57,660 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-12 02:10:57,660 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f7c206b1-eedb-4781-9325-2a3e3f8cd522 2026-03-12 02:10:57,668 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/946b95c4-f817-47b8-8dd7-1cb2592fdf56 2026-03-12 02:10:57,681 - INFO - Verified VN network id 11 for VN f7c206b1-eedb-4781-9325-2a3e3f8cd522 2026-03-12 02:10:57,682 - INFO - Verifications in API Server for VN ctest-vn-94012158 passed 2026-03-12 02:10:57,682 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f7c206b1-eedb-4781-9325-2a3e3f8cd522 2026-03-12 02:10:57,690 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/946b95c4-f817-47b8-8dd7-1cb2592fdf56 2026-03-12 02:10:57,697 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/946b95c4-f817-47b8-8dd7-1cb2592fdf56 2026-03-12 02:10:57,704 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/c446e8e1-c8f3-4257-b415-411181078952 2026-03-12 02:10:57,717 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90415056:ctest-vn-94012158', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90415056', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17852839234136393601', 'uuid-lslong': '10602927344556234018'}, 'enable': 'true', 'created': '2026-03-12T02:10:55', 'last-modified': '2026-03-12T02:10:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933179'} 2026-03-12 02:10:57,722 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-12 02:10:57,723 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94012158 passed 2026-03-12 02:10:57,723 - DEBUG - ====Verifying policy data for ctest-vn-94012158 in API_Server ====== 2026-03-12 02:10:57,723 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-12 02:10:57,729 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e96e6af1-e7e5-48c9-b7da-16ab33608450 2026-03-12 02:10:57,741 - DEBUG - Requesting: http://10.0.0.19:8082/project/c59b1c1a-abac-4ce7-bca5-3e054c251fb7 2026-03-12 02:10:57,807 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f7c206b1-eedb-4781-9325-2a3e3f8cd522 2026-03-12 02:10:57,816 - DEBUG - ==>Verifying data for policy with id: 8353dff0-16e9-43a5-9d59-58c10e2cc522, fqn: ['default-domain', 'ctest-TestBasicPolicy-90415056', 'ctest-policy-allow-all-06902101'] 2026-03-12 02:10:57,816 - INFO - VN ctest-vn-94012158 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-12 02:10:57,816 - DEBUG - Verifying the vn in opserver 2026-03-12 02:10:57,816 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90415056:ctest-vn-94012158 virtual network link through opserver 10.0.0.19 2026-03-12 02:10:57,816 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-03-12 02:10:58,109 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-03-12 02:10:58,169 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90415056:ctest-vn-94012158', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90415056:ctest-vn-94012158?flat'} 2026-03-12 02:10:58,170 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90415056:ctest-vn-94012158 is found in opserver 2026-03-12 02:10:58,179 - DEBUG - Do not have enough data to verify VN in agent 2026-03-12 02:10:58,183 - DEBUG - VRF ids for VN ctest-vn-94012158: {} 2026-03-12 02:10:58,184 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-12 02:10:58,189 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e96e6af1-e7e5-48c9-b7da-16ab33608450 2026-03-12 02:10:58,199 - DEBUG - Requesting: http://10.0.0.19:8082/project/c59b1c1a-abac-4ce7-bca5-3e054c251fb7 2026-03-12 02:10:58,273 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2cc2385d-0bb0-4ce1-85ca-bf23c883a1f6 2026-03-12 02:10:58,284 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2cc2385d-0bb0-4ce1-85ca-bf23c883a1f6 2026-03-12 02:10:58,294 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/65e4c40d-b033-473b-9949-039e9107a4e7 2026-03-12 02:10:58,302 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/65e4c40d-b033-473b-9949-039e9107a4e7 2026-03-12 02:10:58,308 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/89dcd9d0-a9dd-42a9-9935-7f5e58fb646a 2026-03-12 02:10:58,316 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-12 02:10:58,316 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2cc2385d-0bb0-4ce1-85ca-bf23c883a1f6 2026-03-12 02:10:58,324 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/65e4c40d-b033-473b-9949-039e9107a4e7 2026-03-12 02:10:58,340 - INFO - Verified VN network id 12 for VN 2cc2385d-0bb0-4ce1-85ca-bf23c883a1f6 2026-03-12 02:10:58,340 - INFO - Verifications in API Server for VN ctest-vn-08657354 passed 2026-03-12 02:10:58,340 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2cc2385d-0bb0-4ce1-85ca-bf23c883a1f6 2026-03-12 02:10:58,351 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/65e4c40d-b033-473b-9949-039e9107a4e7 2026-03-12 02:10:58,360 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/65e4c40d-b033-473b-9949-039e9107a4e7 2026-03-12 02:10:58,367 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/89dcd9d0-a9dd-42a9-9935-7f5e58fb646a 2026-03-12 02:10:58,378 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90415056:ctest-vn-08657354', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90415056', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3225202255429913825', 'uuid-lslong': '9640728112748798454'}, 'enable': 'true', 'created': '2026-03-12T02:10:56', 'last-modified': '2026-03-12T02:10:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364048'} 2026-03-12 02:10:58,383 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-12 02:10:58,383 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08657354 passed 2026-03-12 02:10:58,383 - DEBUG - ====Verifying policy data for ctest-vn-08657354 in API_Server ====== 2026-03-12 02:10:58,383 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-12 02:10:58,389 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e96e6af1-e7e5-48c9-b7da-16ab33608450 2026-03-12 02:10:58,400 - DEBUG - Requesting: http://10.0.0.19:8082/project/c59b1c1a-abac-4ce7-bca5-3e054c251fb7 2026-03-12 02:10:58,468 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2cc2385d-0bb0-4ce1-85ca-bf23c883a1f6 2026-03-12 02:10:58,477 - DEBUG - ==>Verifying data for policy with id: 8353dff0-16e9-43a5-9d59-58c10e2cc522, fqn: ['default-domain', 'ctest-TestBasicPolicy-90415056', 'ctest-policy-allow-all-06902101'] 2026-03-12 02:10:58,477 - INFO - VN ctest-vn-08657354 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-12 02:10:58,477 - DEBUG - Verifying the vn in opserver 2026-03-12 02:10:58,477 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90415056:ctest-vn-08657354 virtual network link through opserver 10.0.0.19 2026-03-12 02:10:58,477 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-03-12 02:10:58,488 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90415056:ctest-vn-08657354', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90415056:ctest-vn-08657354?flat'} 2026-03-12 02:10:58,488 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90415056:ctest-vn-08657354 is found in opserver 2026-03-12 02:10:58,497 - DEBUG - Do not have enough data to verify VN in agent 2026-03-12 02:10:58,501 - DEBUG - VRF ids for VN ctest-vn-08657354: {} 2026-03-12 02:10:58,562 - DEBUG - Services list from nova: [, , ] 2026-03-12 02:10:59,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5461-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5461-1) 2026-03-12 02:11:00,756 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5461-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5461-1) 2026-03-12 02:11:00,756 - INFO - Waiting for VM ctest-TestBasicPolicy-90415056-14720710 to be up.. 2026-03-12 02:11:00,834 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-12 02:11:05,919 - DEBUG - VM is in ACTIVE state now 2026-03-12 02:11:05,919 - INFO - VM name : ctest-TestBasicPolicy-90415056-14720710 2026-03-12 02:11:05,995 - DEBUG - VM ctest-TestBasicPolicy-90415056-14720710 ID is 07f15568-04c9-4547-83b0-811bf51b8cef 2026-03-12 02:11:06,020 - DEBUG - VM ctest-TestBasicPolicy-90415056-14720710 launched on Node cn-jenkins-deploy-platform-ansible-os-5461-1 2026-03-12 02:11:06,110 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/07f15568-04c9-4547-83b0-811bf51b8cef 2026-03-12 02:11:06,122 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/6bc1cd59-3b86-465c-8e7e-67c7b27fd6e2 2026-03-12 02:11:09,390 - 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-03-12 02:11:09,390 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90415056-14720710 failed! 2026-03-12 02:11:09,447 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90415056:ctest-vn-94012158 is 140.111.34.193 and allocation pool is NOT set 2026-03-12 02:11:11,514 - 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=8.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.535 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.535/4.551/8.568/4.016 ms') 2026-03-12 02:11:11,514 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90415056-14720710 passed 2026-03-12 02:11:11,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:11:11,667 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90415056-14720710, IP 140.111.34.195, Port 22 2026-03-12 02:11:11,823 - DEBUG - VM ctest-TestBasicPolicy-90415056-14720710 is ready for SSH connections 2026-03-12 02:11:11,823 - INFO - Waiting for VM ctest-TestBasicPolicy-90415056-67593187 to be up.. 2026-03-12 02:11:11,897 - DEBUG - VM is in ACTIVE state now 2026-03-12 02:11:11,898 - INFO - VM name : ctest-TestBasicPolicy-90415056-67593187 2026-03-12 02:11:11,973 - DEBUG - VM ctest-TestBasicPolicy-90415056-67593187 ID is a2ae0f1c-23e3-4987-b73e-82ffb60b734a 2026-03-12 02:11:11,973 - DEBUG - VM ctest-TestBasicPolicy-90415056-67593187 launched on Node cn-jenkins-deploy-platform-ansible-os-5461-1 2026-03-12 02:11:12,055 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a2ae0f1c-23e3-4987-b73e-82ffb60b734a 2026-03-12 02:11:12,064 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/2d8033e1-364b-4e55-9f0e-fb8a0d058012 2026-03-12 02:11:13,297 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.608 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.608/1.797/2.986/1.189 ms') 2026-03-12 02:11:13,297 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90415056-67593187 passed 2026-03-12 02:11:13,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:11:13,451 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90415056-67593187, IP 50.121.155.67, Port 22 2026-03-12 02:11:13,607 - DEBUG - VM ctest-TestBasicPolicy-90415056-67593187 is ready for SSH connections 2026-03-12 02:11:13,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:11:13,607 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.121.155.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-03-12 02:11:13,607 - DEBUG - ping -s 56 -c 3 -W 1 50.121.155.67 2026-03-12 02:11:17,677 - DEBUG - PING 50.121.155.67 (50.121.155.67): 56 data bytes 64 bytes from 50.121.155.67: seq=0 ttl=63 time=3.191 ms 64 bytes from 50.121.155.67: seq=1 ttl=63 time=1.010 ms 64 bytes from 50.121.155.67: seq=2 ttl=63 time=0.905 ms --- 50.121.155.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.905/1.702/3.191 ms 2026-03-12 02:11:17,677 - INFO - Ping to IP 50.121.155.67 from VM ctest-TestBasicPolicy-90415056-14720710 passed 2026-03-12 02:11:17,851 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8353dff0-16e9-43a5-9d59-58c10e2cc522", "href": "http://10.0.0.19:8082/network-policy/8353dff0-16e9-43a5-9d59-58c10e2cc522"}} 2026-03-12 02:11:17,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:11:17,851 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.121.155.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-03-12 02:11:17,851 - DEBUG - ping -s 56 -c 3 -W 1 50.121.155.67 2026-03-12 02:11:21,054 - DEBUG - PING 50.121.155.67 (50.121.155.67): 56 data bytes --- 50.121.155.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-12 02:11:21,054 - WARNING - Ping to IP 50.121.155.67 from VM ctest-TestBasicPolicy-90415056-14720710 failed 2026-03-12 02:11:21,055 - INFO - Deleting VM ctest-TestBasicPolicy-90415056-67593187 2026-03-12 02:11:21,127 - INFO - Deleting VM ctest-TestBasicPolicy-90415056-14720710 2026-03-12 02:11:21,511 - INFO - Deleted policy ctest-policy-allow-all-06902101 2026-03-12 02:11:21,511 - INFO - Deleting VN ctest-vn-08657354 2026-03-12 02:11:21,545 - DEBUG - VN 2cc2385d-0bb0-4ce1-85ca-bf23c883a1f6 still in use: Unable to complete operation on network 2cc2385d-0bb0-4ce1-85ca-bf23c883a1f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7a26a35a-8b80-4498-8f2c-b0e812a41426'] 2026-03-12 02:11:21,545 - WARNING - Deleting VN ctest-vn-08657354 failed..Will retry 2026-03-12 02:11:23,653 - DEBUG - Response for deleting network () 2026-03-12 02:11:23,653 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/65e4c40d-b033-473b-9949-039e9107a4e7 2026-03-12 02:11:23,659 - DEBUG - Response Code: 404 2026-03-12 02:11:23,659 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-12 02:11:23,664 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e96e6af1-e7e5-48c9-b7da-16ab33608450 2026-03-12 02:11:23,716 - DEBUG - Requesting: http://10.0.0.19:8082/project/c59b1c1a-abac-4ce7-bca5-3e054c251fb7 2026-03-12 02:11:23,785 - INFO - Validated that VN ctest-vn-08657354 is not found in API Server 2026-03-12 02:11:23,795 - DEBUG - VN ctest-vn-08657354 is not present in Agent 10.0.0.19 2026-03-12 02:11:23,795 - INFO - Validated that VN ctest-vn-08657354 is not in any agent 2026-03-12 02:11:23,807 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08657354 info 2026-03-12 02:11:23,807 - INFO - Deleting VN ctest-vn-94012158 2026-03-12 02:11:23,906 - DEBUG - Response for deleting network () 2026-03-12 02:11:23,906 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/946b95c4-f817-47b8-8dd7-1cb2592fdf56 2026-03-12 02:11:23,913 - DEBUG - Response Code: 404 2026-03-12 02:11:23,913 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-12 02:11:23,918 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e96e6af1-e7e5-48c9-b7da-16ab33608450 2026-03-12 02:11:23,968 - DEBUG - Requesting: http://10.0.0.19:8082/project/c59b1c1a-abac-4ce7-bca5-3e054c251fb7 2026-03-12 02:11:24,037 - INFO - Validated that VN ctest-vn-94012158 is not found in API Server 2026-03-12 02:11:24,046 - DEBUG - VN ctest-vn-94012158 is not present in Agent 10.0.0.19 2026-03-12 02:11:24,046 - INFO - Validated that VN ctest-vn-94012158 is not in any agent 2026-03-12 02:11:24,061 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94012158 info 2026-03-12 02:11:24,317 - DEBUG - No XMPP flaps were noticed during the test
2026-03-12 02:11:24,317 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-03-12 02:11:24,317 - INFO - -------------------------------------------------------------------------------- 2026-03-12 02:11:25,001 - INFO - Deleted project: ctest-TestBasicPolicy-90415056, ID : c59b1c1a-abac-4ce7-bca5-3e054c251fb7