2026-01-07 14:36:00,496 - INFO - Domain Default found not creating 2026-01-07 14:36:00,650 - INFO - Project ctest-TestBasicPolicy-30622329 not found, creating it 2026-01-07 14:36:01,096 - INFO - Created Project:ctest-TestBasicPolicy-30622329, ID : f84be881-c761-4d8a-bd5d-8f6a450bc59b 2026-01-07 14:36:02,528 - INFO - ================================================================================ 2026-01-07 14:36:02,529 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-07 14:36:02,529 - 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-07 14:36:02,782 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-01-07 14:36:02,782 - INFO - Initial checks done. Running the testcase now 2026-01-07 14:36:02,782 - INFO - 2026-01-07 14:36:03,334 - DEBUG - Response for create_network : {'network': {'id': '1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a', 'name': 'ctest-vn-27967633', 'tenant_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'project_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-vn-27967633'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 14:36:03,529 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb51d4e7-441a-493f-8438-b019fba17efc', 'name': '', 'tenant_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'network_id': '1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a', 'ip_version': 4, 'cidr': '51.158.165.64/26', 'allocation_pools': [{'start': '51.158.165.66', 'end': '51.158.165.126'}], 'gateway_ip': '51.158.165.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.158.165.66', 'tags': [], 'project_id': 'f84be881c7614d8abd5d8f6a450bc59b'}} 2026-01-07 14:36:03,548 - INFO - Created VN ctest-vn-27967633 2026-01-07 14:36:03,601 - DEBUG - VN ctest-vn-27967633 UUID is 1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a 2026-01-07 14:36:03,907 - DEBUG - Response for create_network : {'network': {'id': '7174137e-1af3-4200-b880-ffdc774cd0bb', 'name': 'ctest-vn-63063358', 'tenant_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'project_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-vn-63063358'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 14:36:04,122 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fd1067b-1b8d-45f0-8c95-2aa49ae71d81', 'name': '', 'tenant_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'network_id': '7174137e-1af3-4200-b880-ffdc774cd0bb', 'ip_version': 4, 'cidr': '84.68.50.0/26', 'allocation_pools': [{'start': '84.68.50.2', 'end': '84.68.50.62'}], 'gateway_ip': '84.68.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.68.50.2', 'tags': [], 'project_id': 'f84be881c7614d8abd5d8f6a450bc59b'}} 2026-01-07 14:36:04,139 - INFO - Created VN ctest-vn-63063358 2026-01-07 14:36:04,193 - DEBUG - VN ctest-vn-63063358 UUID is 7174137e-1af3-4200-b880-ffdc774cd0bb 2026-01-07 14:36:04,345 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633, 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-30622329:ctest-vn-63063358, 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-07 14:36:04,637 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a', 'name': 'ctest-vn-27967633', 'tenant_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'project_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb51d4e7-441a-493f-8438-b019fba17efc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-vn-27967633'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-policy-allow-all-50863526']], 'subnet_ipam': [{'subnet_cidr': '51.158.165.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-07 14:36:04,862 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7174137e-1af3-4200-b880-ffdc774cd0bb', 'name': 'ctest-vn-63063358', 'tenant_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'project_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7fd1067b-1b8d-45f0-8c95-2aa49ae71d81'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-vn-63063358'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-policy-allow-all-50863526']], 'subnet_ipam': [{'subnet_cidr': '84.68.50.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-07 14:36:05,021 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-07 14:36:05,320 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-07 14:36:05,352 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5ff24043-93dc-47e2-a211-f7d7a5ceb3b5 2026-01-07 14:36:05,363 - DEBUG - Requesting: http://10.0.0.33:8082/project/f84be881-c761-4d8a-bd5d-8f6a450bc59b 2026-01-07 14:36:05,448 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a 2026-01-07 14:36:05,461 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a 2026-01-07 14:36:05,473 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7c53d1f2-7bef-4522-89fd-33eda6110729 2026-01-07 14:36:05,481 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7c53d1f2-7bef-4522-89fd-33eda6110729 2026-01-07 14:36:05,488 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c1c6bf6f-c904-4443-ab46-24513b560a91 2026-01-07 14:36:05,494 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-07 14:36:05,494 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a 2026-01-07 14:36:05,504 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7c53d1f2-7bef-4522-89fd-33eda6110729 2026-01-07 14:36:05,520 - INFO - Verified VN network id 11 for VN 1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a 2026-01-07 14:36:05,521 - INFO - Verifications in API Server for VN ctest-vn-27967633 passed 2026-01-07 14:36:05,521 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a 2026-01-07 14:36:05,531 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7c53d1f2-7bef-4522-89fd-33eda6110729 2026-01-07 14:36:05,539 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7c53d1f2-7bef-4522-89fd-33eda6110729 2026-01-07 14:36:05,546 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c1c6bf6f-c904-4443-ab46-24513b560a91 2026-01-07 14:36:05,557 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30622329', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2018638493410608609', 'uuid-lslong': '10233484491799407770'}, 'enable': 'true', 'created': '2026-01-07T14:36:03', 'last-modified': '2026-01-07T14:36:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936348'} 2026-01-07 14:36:05,563 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-07 14:36:05,563 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27967633 passed 2026-01-07 14:36:05,563 - DEBUG - ====Verifying policy data for ctest-vn-27967633 in API_Server ====== 2026-01-07 14:36:05,564 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-07 14:36:05,569 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5ff24043-93dc-47e2-a211-f7d7a5ceb3b5 2026-01-07 14:36:05,580 - DEBUG - Requesting: http://10.0.0.33:8082/project/f84be881-c761-4d8a-bd5d-8f6a450bc59b 2026-01-07 14:36:05,648 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a 2026-01-07 14:36:05,656 - DEBUG - ==>Verifying data for policy with id: d05c72d0-691e-4cc6-8440-960ead6e430d, fqn: ['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-policy-allow-all-50863526'] 2026-01-07 14:36:05,656 - INFO - VN ctest-vn-27967633 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-07 14:36:05,656 - DEBUG - Verifying the vn in opserver 2026-01-07 14:36:05,656 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633 virtual network link through opserver 10.0.0.33 2026-01-07 14:36:05,656 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-07 14:36:05,946 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-07 14:36:06,002 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633?flat'} 2026-01-07 14:36:06,002 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633 is found in opserver 2026-01-07 14:36:06,012 - DEBUG - Do not have enough data to verify VN in agent 2026-01-07 14:36:06,017 - DEBUG - VRF ids for VN ctest-vn-27967633: {} 2026-01-07 14:36:06,017 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-07 14:36:06,022 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5ff24043-93dc-47e2-a211-f7d7a5ceb3b5 2026-01-07 14:36:06,034 - DEBUG - Requesting: http://10.0.0.33:8082/project/f84be881-c761-4d8a-bd5d-8f6a450bc59b 2026-01-07 14:36:06,104 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7174137e-1af3-4200-b880-ffdc774cd0bb 2026-01-07 14:36:06,117 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7174137e-1af3-4200-b880-ffdc774cd0bb 2026-01-07 14:36:06,126 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d575941-5fbd-4e28-9401-9ec2a572ad61 2026-01-07 14:36:06,133 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d575941-5fbd-4e28-9401-9ec2a572ad61 2026-01-07 14:36:06,140 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/048f2085-bb71-4bb6-af6c-fb3aa0cef34f 2026-01-07 14:36:06,147 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-07 14:36:06,147 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7174137e-1af3-4200-b880-ffdc774cd0bb 2026-01-07 14:36:06,155 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d575941-5fbd-4e28-9401-9ec2a572ad61 2026-01-07 14:36:06,171 - INFO - Verified VN network id 12 for VN 7174137e-1af3-4200-b880-ffdc774cd0bb 2026-01-07 14:36:06,171 - INFO - Verifications in API Server for VN ctest-vn-63063358 passed 2026-01-07 14:36:06,172 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7174137e-1af3-4200-b880-ffdc774cd0bb 2026-01-07 14:36:06,182 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d575941-5fbd-4e28-9401-9ec2a572ad61 2026-01-07 14:36:06,189 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d575941-5fbd-4e28-9401-9ec2a572ad61 2026-01-07 14:36:06,197 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/048f2085-bb71-4bb6-af6c-fb3aa0cef34f 2026-01-07 14:36:06,208 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-63063358', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30622329', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8175180655923249664', 'uuid-lslong': '13294907422357115067'}, 'enable': 'true', 'created': '2026-01-07T14:36:03', 'last-modified': '2026-01-07T14:36:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.367074'} 2026-01-07 14:36:06,214 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-07 14:36:06,214 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63063358 passed 2026-01-07 14:36:06,214 - DEBUG - ====Verifying policy data for ctest-vn-63063358 in API_Server ====== 2026-01-07 14:36:06,214 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-07 14:36:06,223 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5ff24043-93dc-47e2-a211-f7d7a5ceb3b5 2026-01-07 14:36:06,234 - DEBUG - Requesting: http://10.0.0.33:8082/project/f84be881-c761-4d8a-bd5d-8f6a450bc59b 2026-01-07 14:36:06,301 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7174137e-1af3-4200-b880-ffdc774cd0bb 2026-01-07 14:36:06,312 - DEBUG - ==>Verifying data for policy with id: d05c72d0-691e-4cc6-8440-960ead6e430d, fqn: ['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-policy-allow-all-50863526'] 2026-01-07 14:36:06,312 - INFO - VN ctest-vn-63063358 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-07 14:36:06,312 - DEBUG - Verifying the vn in opserver 2026-01-07 14:36:06,312 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-63063358 virtual network link through opserver 10.0.0.33 2026-01-07 14:36:06,312 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-07 14:36:06,321 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-63063358', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-63063358?flat'} 2026-01-07 14:36:06,321 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-63063358 is found in opserver 2026-01-07 14:36:06,332 - DEBUG - Do not have enough data to verify VN in agent 2026-01-07 14:36:06,337 - DEBUG - VRF ids for VN ctest-vn-63063358: {} 2026-01-07 14:36:06,406 - DEBUG - Services list from nova: [, , ] 2026-01-07 14:36:07,420 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4973-1) 2026-01-07 14:36:08,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4973-1) 2026-01-07 14:36:08,569 - INFO - Waiting for VM ctest-TestBasicPolicy-30622329-13469878 to be up.. 2026-01-07 14:36:08,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-07 14:36:13,724 - DEBUG - VM is in ACTIVE state now 2026-01-07 14:36:13,724 - INFO - VM name : ctest-TestBasicPolicy-30622329-13469878 2026-01-07 14:36:13,794 - DEBUG - VM ctest-TestBasicPolicy-30622329-13469878 ID is 2fb6ba53-4836-4919-82d8-ccfa0d9bff10 2026-01-07 14:36:13,812 - DEBUG - VM ctest-TestBasicPolicy-30622329-13469878 launched on Node cn-jenkins-deploy-platform-ansible-os-4973-1 2026-01-07 14:36:13,884 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2fb6ba53-4836-4919-82d8-ccfa0d9bff10 2026-01-07 14:36:13,891 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/fc6d6fd0-cb9f-4158-b6e2-8ba84fc4b3b9 2026-01-07 14:36:17,160 - 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-01-07 14:36:17,160 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30622329-13469878 failed! 2026-01-07 14:36:17,213 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633 is 51.158.165.65 and allocation pool is NOT set 2026-01-07 14:36:19,275 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.827 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.827/4.474/8.122/3.647 ms') 2026-01-07 14:36:19,275 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30622329-13469878 passed 2026-01-07 14:36:19,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 14:36:19,421 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30622329-13469878, IP 51.158.165.67, Port 22 2026-01-07 14:36:19,591 - DEBUG - VM ctest-TestBasicPolicy-30622329-13469878 is ready for SSH connections 2026-01-07 14:36:19,591 - INFO - Waiting for VM ctest-TestBasicPolicy-30622329-77266395 to be up.. 2026-01-07 14:36:19,673 - DEBUG - VM is in ACTIVE state now 2026-01-07 14:36:19,673 - INFO - VM name : ctest-TestBasicPolicy-30622329-77266395 2026-01-07 14:36:19,772 - DEBUG - VM ctest-TestBasicPolicy-30622329-77266395 ID is 59480603-dafa-45b4-86ed-cdc7600f9796 2026-01-07 14:36:19,772 - DEBUG - VM ctest-TestBasicPolicy-30622329-77266395 launched on Node cn-jenkins-deploy-platform-ansible-os-4973-1 2026-01-07 14:36:19,862 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/59480603-dafa-45b4-86ed-cdc7600f9796 2026-01-07 14:36:19,871 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2e6ab9a5-7334-42a9-b9d0-ff712c2383d2 2026-01-07 14:36:21,116 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.690 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.690/1.761/2.833/1.071 ms') 2026-01-07 14:36:21,116 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30622329-77266395 passed 2026-01-07 14:36:21,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 14:36:21,266 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30622329-77266395, IP 84.68.50.3, Port 22 2026-01-07 14:36:21,420 - DEBUG - VM ctest-TestBasicPolicy-30622329-77266395 is ready for SSH connections 2026-01-07 14:36:21,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 14:36:21,421 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.68.50.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-01-07 14:36:21,421 - DEBUG - ping -s 56 -c 3 -W 1 84.68.50.3 2026-01-07 14:36:25,422 - DEBUG - PING 84.68.50.3 (84.68.50.3): 56 data bytes 64 bytes from 84.68.50.3: seq=0 ttl=63 time=3.596 ms 64 bytes from 84.68.50.3: seq=1 ttl=63 time=0.967 ms 64 bytes from 84.68.50.3: seq=2 ttl=63 time=0.762 ms --- 84.68.50.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.762/1.775/3.596 ms 2026-01-07 14:36:25,422 - INFO - Ping to IP 84.68.50.3 from VM ctest-TestBasicPolicy-30622329-13469878 passed 2026-01-07 14:36:25,593 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d05c72d0-691e-4cc6-8440-960ead6e430d", "href": "http://10.0.0.33:8082/network-policy/d05c72d0-691e-4cc6-8440-960ead6e430d"}} 2026-01-07 14:36:25,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 14:36:25,593 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.68.50.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-01-07 14:36:25,593 - DEBUG - ping -s 56 -c 3 -W 1 84.68.50.3 2026-01-07 14:36:28,800 - DEBUG - PING 84.68.50.3 (84.68.50.3): 56 data bytes --- 84.68.50.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-07 14:36:28,800 - WARNING - Ping to IP 84.68.50.3 from VM ctest-TestBasicPolicy-30622329-13469878 failed 2026-01-07 14:36:28,800 - INFO - Deleting VM ctest-TestBasicPolicy-30622329-77266395 2026-01-07 14:36:28,865 - INFO - Deleting VM ctest-TestBasicPolicy-30622329-13469878 2026-01-07 14:36:29,264 - INFO - Deleted policy ctest-policy-allow-all-50863526 2026-01-07 14:36:29,264 - INFO - Deleting VN ctest-vn-63063358 2026-01-07 14:36:29,295 - DEBUG - VN 7174137e-1af3-4200-b880-ffdc774cd0bb still in use: Unable to complete operation on network 7174137e-1af3-4200-b880-ffdc774cd0bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-88d3e81a-c3c6-443e-a59e-cf1ab0e16f79'] 2026-01-07 14:36:29,295 - WARNING - Deleting VN ctest-vn-63063358 failed..Will retry 2026-01-07 14:36:31,393 - DEBUG - Response for deleting network () 2026-01-07 14:36:31,393 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d575941-5fbd-4e28-9401-9ec2a572ad61 2026-01-07 14:36:31,397 - DEBUG - Response Code: 404 2026-01-07 14:36:31,397 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-07 14:36:31,403 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5ff24043-93dc-47e2-a211-f7d7a5ceb3b5 2026-01-07 14:36:31,454 - DEBUG - Requesting: http://10.0.0.33:8082/project/f84be881-c761-4d8a-bd5d-8f6a450bc59b 2026-01-07 14:36:31,520 - INFO - Validated that VN ctest-vn-63063358 is not found in API Server 2026-01-07 14:36:31,529 - DEBUG - VN ctest-vn-63063358 is not present in Agent 10.0.0.33 2026-01-07 14:36:31,529 - INFO - Validated that VN ctest-vn-63063358 is not in any agent 2026-01-07 14:36:31,542 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63063358 info 2026-01-07 14:36:31,542 - INFO - Deleting VN ctest-vn-27967633 2026-01-07 14:36:31,626 - DEBUG - Response for deleting network () 2026-01-07 14:36:31,626 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7c53d1f2-7bef-4522-89fd-33eda6110729 2026-01-07 14:36:31,631 - DEBUG - Response Code: 404 2026-01-07 14:36:31,631 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-07 14:36:31,636 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5ff24043-93dc-47e2-a211-f7d7a5ceb3b5 2026-01-07 14:36:31,690 - DEBUG - Requesting: http://10.0.0.33:8082/project/f84be881-c761-4d8a-bd5d-8f6a450bc59b 2026-01-07 14:36:31,754 - INFO - Validated that VN ctest-vn-27967633 is not found in API Server 2026-01-07 14:36:31,764 - DEBUG - VN ctest-vn-27967633 is not present in Agent 10.0.0.33 2026-01-07 14:36:31,764 - INFO - Validated that VN ctest-vn-27967633 is not in any agent 2026-01-07 14:36:31,778 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27967633 info 2026-01-07 14:36:32,030 - DEBUG - No XMPP flaps were noticed during the test 2026-01-07 14:36:32,030 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-01-07 14:36:32,030 - INFO - -------------------------------------------------------------------------------- 2026-01-07 14:36:32,705 - INFO - Deleted project: ctest-TestBasicPolicy-30622329, ID : f84be881-c761-4d8a-bd5d-8f6a450bc59b