2026-01-16 12:47:33,659 - INFO - Domain Default found not creating 2026-01-16 12:47:33,834 - INFO - Project ctest-TestBasicPolicy-65720372 not found, creating it 2026-01-16 12:47:34,312 - INFO - Created Project:ctest-TestBasicPolicy-65720372, ID : 7bacda43-6930-40b5-85bb-6ff8192ba86d 2026-01-16 12:47:35,849 - INFO - ================================================================================ 2026-01-16 12:47:35,849 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-16 12:47:35,849 - 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-16 12:47:36,114 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.249': '0'}} with 2026-01-16 12:47:36,114 - INFO - Initial checks done. Running the testcase now 2026-01-16 12:47:36,114 - INFO - 2026-01-16 12:47:36,684 - DEBUG - Response for create_network : {'network': {'id': '894804b7-eeb5-4ae9-aaa0-ccc63632fd32', 'name': 'ctest-vn-70259990', 'tenant_id': '7bacda43693040b585bb6ff8192ba86d', 'project_id': '7bacda43693040b585bb6ff8192ba86d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65720372', 'ctest-vn-70259990'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 12:47:36,841 - DEBUG - Response for create_subnet : {'subnet': {'id': '9130cbb3-9259-46da-877b-8e45d91528c2', 'name': '', 'tenant_id': '7bacda43693040b585bb6ff8192ba86d', 'network_id': '894804b7-eeb5-4ae9-aaa0-ccc63632fd32', 'ip_version': 4, 'cidr': '96.63.167.64/26', 'allocation_pools': [{'start': '96.63.167.66', 'end': '96.63.167.126'}], 'gateway_ip': '96.63.167.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.63.167.66', 'tags': [], 'project_id': '7bacda43693040b585bb6ff8192ba86d'}} 2026-01-16 12:47:36,858 - INFO - Created VN ctest-vn-70259990 2026-01-16 12:47:36,908 - DEBUG - VN ctest-vn-70259990 UUID is 894804b7-eeb5-4ae9-aaa0-ccc63632fd32 2026-01-16 12:47:37,182 - DEBUG - Response for create_network : {'network': {'id': '232bf32c-1bc4-48ec-988b-bd4ff45f8b44', 'name': 'ctest-vn-40197645', 'tenant_id': '7bacda43693040b585bb6ff8192ba86d', 'project_id': '7bacda43693040b585bb6ff8192ba86d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65720372', 'ctest-vn-40197645'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 12:47:37,337 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb782e40-ef2e-4885-b0a0-217dc0d8a791', 'name': '', 'tenant_id': '7bacda43693040b585bb6ff8192ba86d', 'network_id': '232bf32c-1bc4-48ec-988b-bd4ff45f8b44', 'ip_version': 4, 'cidr': '126.164.204.64/26', 'allocation_pools': [{'start': '126.164.204.66', 'end': '126.164.204.126'}], 'gateway_ip': '126.164.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.164.204.66', 'tags': [], 'project_id': '7bacda43693040b585bb6ff8192ba86d'}} 2026-01-16 12:47:37,355 - INFO - Created VN ctest-vn-40197645 2026-01-16 12:47:37,408 - DEBUG - VN ctest-vn-40197645 UUID is 232bf32c-1bc4-48ec-988b-bd4ff45f8b44 2026-01-16 12:47:37,522 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65720372:ctest-vn-70259990, 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-65720372:ctest-vn-40197645, 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-16 12:47:37,828 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '894804b7-eeb5-4ae9-aaa0-ccc63632fd32', 'name': 'ctest-vn-70259990', 'tenant_id': '7bacda43693040b585bb6ff8192ba86d', 'project_id': '7bacda43693040b585bb6ff8192ba86d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9130cbb3-9259-46da-877b-8e45d91528c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65720372', 'ctest-vn-70259990'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65720372', 'ctest-policy-allow-all-43628443']], 'subnet_ipam': [{'subnet_cidr': '96.63.167.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-16 12:47:38,052 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '232bf32c-1bc4-48ec-988b-bd4ff45f8b44', 'name': 'ctest-vn-40197645', 'tenant_id': '7bacda43693040b585bb6ff8192ba86d', 'project_id': '7bacda43693040b585bb6ff8192ba86d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb782e40-ef2e-4885-b0a0-217dc0d8a791'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65720372', 'ctest-vn-40197645'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65720372', 'ctest-policy-allow-all-43628443']], 'subnet_ipam': [{'subnet_cidr': '126.164.204.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-16 12:47:38,216 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-01-16 12:47:38,516 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-01-16 12:47:38,550 - DEBUG - Requesting: http://10.0.0.49:8082/domain/4750843a-6ad4-4a3e-a1e7-dd958d1665bc 2026-01-16 12:47:38,564 - DEBUG - Requesting: http://10.0.0.49:8082/project/7bacda43-6930-40b5-85bb-6ff8192ba86d 2026-01-16 12:47:38,636 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/894804b7-eeb5-4ae9-aaa0-ccc63632fd32 2026-01-16 12:47:38,646 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/894804b7-eeb5-4ae9-aaa0-ccc63632fd32 2026-01-16 12:47:38,654 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/869fb65f-cf1f-4d42-b476-a10583c08e1e 2026-01-16 12:47:38,662 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/869fb65f-cf1f-4d42-b476-a10583c08e1e 2026-01-16 12:47:38,669 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/19d5e57f-295e-4bca-83eb-b9eb5088e2d7 2026-01-16 12:47:38,679 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-16 12:47:38,679 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/894804b7-eeb5-4ae9-aaa0-ccc63632fd32 2026-01-16 12:47:38,694 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/869fb65f-cf1f-4d42-b476-a10583c08e1e 2026-01-16 12:47:38,709 - INFO - Verified VN network id 11 for VN 894804b7-eeb5-4ae9-aaa0-ccc63632fd32 2026-01-16 12:47:38,709 - INFO - Verifications in API Server for VN ctest-vn-70259990 passed 2026-01-16 12:47:38,709 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/894804b7-eeb5-4ae9-aaa0-ccc63632fd32 2026-01-16 12:47:38,718 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/869fb65f-cf1f-4d42-b476-a10583c08e1e 2026-01-16 12:47:38,726 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/869fb65f-cf1f-4d42-b476-a10583c08e1e 2026-01-16 12:47:38,736 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/19d5e57f-295e-4bca-83eb-b9eb5088e2d7 2026-01-16 12:47:38,749 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65720372:ctest-vn-70259990', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65720372', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9892161769549679337', 'uuid-lslong': '12295052134406356274'}, 'enable': 'true', 'created': '2026-01-16T12:47:36', 'last-modified': '2026-01-16T12:47:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947178'} 2026-01-16 12:47:38,756 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-16 12:47:38,756 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70259990 passed 2026-01-16 12:47:38,756 - DEBUG - ====Verifying policy data for ctest-vn-70259990 in API_Server ====== 2026-01-16 12:47:38,756 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-01-16 12:47:38,762 - DEBUG - Requesting: http://10.0.0.49:8082/domain/4750843a-6ad4-4a3e-a1e7-dd958d1665bc 2026-01-16 12:47:38,773 - DEBUG - Requesting: http://10.0.0.49:8082/project/7bacda43-6930-40b5-85bb-6ff8192ba86d 2026-01-16 12:47:38,843 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/894804b7-eeb5-4ae9-aaa0-ccc63632fd32 2026-01-16 12:47:38,851 - DEBUG - ==>Verifying data for policy with id: 1a808c65-b652-4001-84fb-584f2835a0c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-65720372', 'ctest-policy-allow-all-43628443'] 2026-01-16 12:47:38,851 - INFO - VN ctest-vn-70259990 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-16 12:47:38,851 - DEBUG - Verifying the vn in opserver 2026-01-16 12:47:38,851 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65720372:ctest-vn-70259990 virtual network link through opserver 10.0.0.49 2026-01-16 12:47:38,851 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2026-01-16 12:47:39,147 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2026-01-16 12:47:39,214 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65720372:ctest-vn-70259990', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65720372:ctest-vn-70259990?flat'} 2026-01-16 12:47:39,214 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65720372:ctest-vn-70259990 is found in opserver 2026-01-16 12:47:39,224 - DEBUG - Do not have enough data to verify VN in agent 2026-01-16 12:47:39,229 - DEBUG - VRF ids for VN ctest-vn-70259990: {} 2026-01-16 12:47:39,229 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-01-16 12:47:39,235 - DEBUG - Requesting: http://10.0.0.49:8082/domain/4750843a-6ad4-4a3e-a1e7-dd958d1665bc 2026-01-16 12:47:39,246 - DEBUG - Requesting: http://10.0.0.49:8082/project/7bacda43-6930-40b5-85bb-6ff8192ba86d 2026-01-16 12:47:39,310 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/232bf32c-1bc4-48ec-988b-bd4ff45f8b44 2026-01-16 12:47:39,321 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/232bf32c-1bc4-48ec-988b-bd4ff45f8b44 2026-01-16 12:47:39,330 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/16570721-6bfc-436d-bcf8-6fbe8bd9cea5 2026-01-16 12:47:39,336 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/16570721-6bfc-436d-bcf8-6fbe8bd9cea5 2026-01-16 12:47:39,342 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/2a075f91-1061-46c0-bb43-066ab9b74058 2026-01-16 12:47:39,348 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-16 12:47:39,349 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/232bf32c-1bc4-48ec-988b-bd4ff45f8b44 2026-01-16 12:47:39,357 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/16570721-6bfc-436d-bcf8-6fbe8bd9cea5 2026-01-16 12:47:39,369 - INFO - Verified VN network id 12 for VN 232bf32c-1bc4-48ec-988b-bd4ff45f8b44 2026-01-16 12:47:39,370 - INFO - Verifications in API Server for VN ctest-vn-40197645 passed 2026-01-16 12:47:39,370 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/232bf32c-1bc4-48ec-988b-bd4ff45f8b44 2026-01-16 12:47:39,378 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/16570721-6bfc-436d-bcf8-6fbe8bd9cea5 2026-01-16 12:47:39,384 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/16570721-6bfc-436d-bcf8-6fbe8bd9cea5 2026-01-16 12:47:39,389 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/2a075f91-1061-46c0-bb43-066ab9b74058 2026-01-16 12:47:39,400 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65720372:ctest-vn-40197645', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65720372', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2534386586095995116', 'uuid-lslong': '10992087466627795780'}, 'enable': 'true', 'created': '2026-01-16T12:47:37', 'last-modified': '2026-01-16T12:47:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.368604'} 2026-01-16 12:47:39,405 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-16 12:47:39,405 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40197645 passed 2026-01-16 12:47:39,405 - DEBUG - ====Verifying policy data for ctest-vn-40197645 in API_Server ====== 2026-01-16 12:47:39,405 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-01-16 12:47:39,413 - DEBUG - Requesting: http://10.0.0.49:8082/domain/4750843a-6ad4-4a3e-a1e7-dd958d1665bc 2026-01-16 12:47:39,424 - DEBUG - Requesting: http://10.0.0.49:8082/project/7bacda43-6930-40b5-85bb-6ff8192ba86d 2026-01-16 12:47:39,495 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/232bf32c-1bc4-48ec-988b-bd4ff45f8b44 2026-01-16 12:47:39,506 - DEBUG - ==>Verifying data for policy with id: 1a808c65-b652-4001-84fb-584f2835a0c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-65720372', 'ctest-policy-allow-all-43628443'] 2026-01-16 12:47:39,506 - INFO - VN ctest-vn-40197645 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-16 12:47:39,506 - DEBUG - Verifying the vn in opserver 2026-01-16 12:47:39,507 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65720372:ctest-vn-40197645 virtual network link through opserver 10.0.0.49 2026-01-16 12:47:39,507 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2026-01-16 12:47:39,517 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65720372:ctest-vn-40197645', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65720372:ctest-vn-40197645?flat'} 2026-01-16 12:47:39,517 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65720372:ctest-vn-40197645 is found in opserver 2026-01-16 12:47:39,528 - DEBUG - Do not have enough data to verify VN in agent 2026-01-16 12:47:39,532 - DEBUG - VRF ids for VN ctest-vn-40197645: {} 2026-01-16 12:47:39,592 - DEBUG - Services list from nova: [, , ] 2026-01-16 12:47:40,635 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5031-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5031-1) 2026-01-16 12:47:41,812 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5031-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5031-1) 2026-01-16 12:47:41,812 - INFO - Waiting for VM ctest-TestBasicPolicy-65720372-91676740 to be up.. 2026-01-16 12:47:41,902 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-16 12:47:46,979 - DEBUG - VM is in ACTIVE state now 2026-01-16 12:47:46,979 - INFO - VM name : ctest-TestBasicPolicy-65720372-91676740 2026-01-16 12:47:47,056 - DEBUG - VM ctest-TestBasicPolicy-65720372-91676740 ID is 6ab1c387-8e90-4d97-b261-3d8bc6bb3e0f 2026-01-16 12:47:47,077 - DEBUG - VM ctest-TestBasicPolicy-65720372-91676740 launched on Node cn-jenkins-deploy-platform-ansible-os-5031-1 2026-01-16 12:47:47,161 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/6ab1c387-8e90-4d97-b261-3d8bc6bb3e0f 2026-01-16 12:47:47,169 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/243227a4-f1cb-4262-971b-0fb60f343a64 2026-01-16 12:47:50,369 - 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 1007ms') 2026-01-16 12:47:50,369 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65720372-91676740 failed! 2026-01-16 12:47:50,424 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65720372:ctest-vn-70259990 is 96.63.167.65 and allocation pool is NOT set 2026-01-16 12:47:52,486 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/1.831/3.178/1.346 ms') 2026-01-16 12:47:52,486 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65720372-91676740 passed 2026-01-16 12:47:52,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 12:47:52,636 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65720372-91676740, IP 96.63.167.67, Port 22 2026-01-16 12:47:52,799 - DEBUG - VM ctest-TestBasicPolicy-65720372-91676740 is ready for SSH connections 2026-01-16 12:47:52,799 - INFO - Waiting for VM ctest-TestBasicPolicy-65720372-41143168 to be up.. 2026-01-16 12:47:52,893 - DEBUG - VM is in ACTIVE state now 2026-01-16 12:47:52,893 - INFO - VM name : ctest-TestBasicPolicy-65720372-41143168 2026-01-16 12:47:52,979 - DEBUG - VM ctest-TestBasicPolicy-65720372-41143168 ID is 285f4233-632d-46a0-8d71-4cf8ac7bc315 2026-01-16 12:47:52,979 - DEBUG - VM ctest-TestBasicPolicy-65720372-41143168 launched on Node cn-jenkins-deploy-platform-ansible-os-5031-1 2026-01-16 12:47:53,056 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/285f4233-632d-46a0-8d71-4cf8ac7bc315 2026-01-16 12:47:53,065 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c16b5f7e-1c94-428d-9ea3-913581cccf71 2026-01-16 12:47:54,315 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.527 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.527/1.618/2.710/1.091 ms') 2026-01-16 12:47:54,315 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65720372-41143168 passed 2026-01-16 12:47:54,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 12:47:54,464 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65720372-41143168, IP 126.164.204.67, Port 22 2026-01-16 12:47:54,620 - DEBUG - VM ctest-TestBasicPolicy-65720372-41143168 is ready for SSH connections 2026-01-16 12:47:54,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 12:47:54,620 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.164.204.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2026-01-16 12:47:54,620 - DEBUG - ping -s 56 -c 3 -W 1 126.164.204.67 2026-01-16 12:47:58,658 - DEBUG - PING 126.164.204.67 (126.164.204.67): 56 data bytes 64 bytes from 126.164.204.67: seq=0 ttl=63 time=3.709 ms 64 bytes from 126.164.204.67: seq=1 ttl=63 time=0.976 ms 64 bytes from 126.164.204.67: seq=2 ttl=63 time=1.244 ms --- 126.164.204.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.976/1.976/3.709 ms 2026-01-16 12:47:58,658 - INFO - Ping to IP 126.164.204.67 from VM ctest-TestBasicPolicy-65720372-91676740 passed 2026-01-16 12:47:58,840 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1a808c65-b652-4001-84fb-584f2835a0c1", "href": "http://10.0.0.49:8082/network-policy/1a808c65-b652-4001-84fb-584f2835a0c1"}} 2026-01-16 12:47:58,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 12:47:58,840 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.164.204.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2026-01-16 12:47:58,840 - DEBUG - ping -s 56 -c 3 -W 1 126.164.204.67 2026-01-16 12:48:02,066 - DEBUG - PING 126.164.204.67 (126.164.204.67): 56 data bytes --- 126.164.204.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-16 12:48:02,066 - WARNING - Ping to IP 126.164.204.67 from VM ctest-TestBasicPolicy-65720372-91676740 failed 2026-01-16 12:48:02,067 - INFO - Deleting VM ctest-TestBasicPolicy-65720372-41143168 2026-01-16 12:48:02,132 - INFO - Deleting VM ctest-TestBasicPolicy-65720372-91676740 2026-01-16 12:48:02,510 - INFO - Deleted policy ctest-policy-allow-all-43628443 2026-01-16 12:48:02,510 - INFO - Deleting VN ctest-vn-40197645 2026-01-16 12:48:02,550 - DEBUG - VN 232bf32c-1bc4-48ec-988b-bd4ff45f8b44 still in use: Unable to complete operation on network 232bf32c-1bc4-48ec-988b-bd4ff45f8b44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-41f7d006-7a26-4559-81c6-34dd070cd736'] 2026-01-16 12:48:02,550 - WARNING - Deleting VN ctest-vn-40197645 failed..Will retry 2026-01-16 12:48:04,658 - DEBUG - Response for deleting network () 2026-01-16 12:48:04,658 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/16570721-6bfc-436d-bcf8-6fbe8bd9cea5 2026-01-16 12:48:04,665 - DEBUG - Response Code: 404 2026-01-16 12:48:04,665 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-01-16 12:48:04,670 - DEBUG - Requesting: http://10.0.0.49:8082/domain/4750843a-6ad4-4a3e-a1e7-dd958d1665bc 2026-01-16 12:48:04,725 - DEBUG - Requesting: http://10.0.0.49:8082/project/7bacda43-6930-40b5-85bb-6ff8192ba86d 2026-01-16 12:48:04,791 - INFO - Validated that VN ctest-vn-40197645 is not found in API Server 2026-01-16 12:48:04,800 - DEBUG - VN ctest-vn-40197645 is not present in Agent 10.0.0.49 2026-01-16 12:48:04,800 - INFO - Validated that VN ctest-vn-40197645 is not in any agent 2026-01-16 12:48:04,812 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40197645 info 2026-01-16 12:48:04,813 - INFO - Deleting VN ctest-vn-70259990 2026-01-16 12:48:04,925 - DEBUG - Response for deleting network () 2026-01-16 12:48:04,925 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/869fb65f-cf1f-4d42-b476-a10583c08e1e 2026-01-16 12:48:04,935 - DEBUG - Response Code: 404 2026-01-16 12:48:04,935 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-01-16 12:48:04,950 - DEBUG - Requesting: http://10.0.0.49:8082/domain/4750843a-6ad4-4a3e-a1e7-dd958d1665bc 2026-01-16 12:48:04,979 - DEBUG - Requesting: http://10.0.0.49:8082/project/7bacda43-6930-40b5-85bb-6ff8192ba86d 2026-01-16 12:48:05,067 - INFO - Validated that VN ctest-vn-70259990 is not found in API Server 2026-01-16 12:48:05,076 - DEBUG - VN ctest-vn-70259990 is not present in Agent 10.0.0.49 2026-01-16 12:48:05,076 - INFO - Validated that VN ctest-vn-70259990 is not in any agent 2026-01-16 12:48:05,091 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70259990 info 2026-01-16 12:48:05,364 - DEBUG - No XMPP flaps were noticed during the test 2026-01-16 12:48:05,364 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-01-16 12:48:05,364 - INFO - -------------------------------------------------------------------------------- 2026-01-16 12:48:06,095 - INFO - Deleted project: ctest-TestBasicPolicy-65720372, ID : 7bacda43-6930-40b5-85bb-6ff8192ba86d