2026-06-23 02:59:00,237 - INFO - Domain Default found not creating 2026-06-23 02:59:00,368 - INFO - Project ctest-TestBasicPolicy-02065238 not found, creating it 2026-06-23 02:59:00,805 - INFO - Created Project:ctest-TestBasicPolicy-02065238, ID : 45f2853f-1a22-4c16-94db-0a012045cc03 2026-06-23 02:59:02,359 - INFO - ================================================================================ 2026-06-23 02:59:02,359 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-23 02:59:02,359 - 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-06-23 02:59:02,624 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-23 02:59:02,624 - INFO - Initial checks done. Running the testcase now 2026-06-23 02:59:02,624 - INFO - 2026-06-23 02:59:03,117 - DEBUG - Response for create_network : {'network': {'id': '8234c832-3bfe-4ac4-8641-b2ec503d7277', 'name': 'ctest-vn-23092947', 'tenant_id': '45f2853f1a224c1694db0a012045cc03', 'project_id': '45f2853f1a224c1694db0a012045cc03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02065238', 'ctest-vn-23092947'], 'port_security_enabled': True, 'description': ''}} 2026-06-23 02:59:03,319 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b26820b-17b8-4b9a-b5e1-cdc6f6bb10cf', 'name': '', 'tenant_id': '45f2853f1a224c1694db0a012045cc03', 'network_id': '8234c832-3bfe-4ac4-8641-b2ec503d7277', 'ip_version': 4, 'cidr': '60.227.121.64/26', 'allocation_pools': [{'start': '60.227.121.66', 'end': '60.227.121.126'}], 'gateway_ip': '60.227.121.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.227.121.66', 'tags': [], 'project_id': '45f2853f1a224c1694db0a012045cc03'}} 2026-06-23 02:59:03,331 - INFO - Created VN ctest-vn-23092947 2026-06-23 02:59:03,379 - DEBUG - VN ctest-vn-23092947 UUID is 8234c832-3bfe-4ac4-8641-b2ec503d7277 2026-06-23 02:59:03,668 - DEBUG - Response for create_network : {'network': {'id': '4779c1f6-feae-45a3-8e4c-94c153cf8001', 'name': 'ctest-vn-83830971', 'tenant_id': '45f2853f1a224c1694db0a012045cc03', 'project_id': '45f2853f1a224c1694db0a012045cc03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02065238', 'ctest-vn-83830971'], 'port_security_enabled': True, 'description': ''}} 2026-06-23 02:59:03,861 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f75d60b7-34f4-48d7-b2f0-f01e3e1c27d6', 'name': '', 'tenant_id': '45f2853f1a224c1694db0a012045cc03', 'network_id': '4779c1f6-feae-45a3-8e4c-94c153cf8001', 'ip_version': 4, 'cidr': '24.109.199.0/26', 'allocation_pools': [{'start': '24.109.199.2', 'end': '24.109.199.62'}], 'gateway_ip': '24.109.199.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.109.199.2', 'tags': [], 'project_id': '45f2853f1a224c1694db0a012045cc03'}} 2026-06-23 02:59:03,874 - INFO - Created VN ctest-vn-83830971 2026-06-23 02:59:03,923 - DEBUG - VN ctest-vn-83830971 UUID is 4779c1f6-feae-45a3-8e4c-94c153cf8001 2026-06-23 02:59:04,055 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02065238:ctest-vn-23092947, 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-02065238:ctest-vn-83830971, 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-06-23 02:59:04,327 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8234c832-3bfe-4ac4-8641-b2ec503d7277', 'name': 'ctest-vn-23092947', 'tenant_id': '45f2853f1a224c1694db0a012045cc03', 'project_id': '45f2853f1a224c1694db0a012045cc03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b26820b-17b8-4b9a-b5e1-cdc6f6bb10cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02065238', 'ctest-vn-23092947'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02065238', 'ctest-policy-allow-all-38157063']], 'subnet_ipam': [{'subnet_cidr': '60.227.121.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-23 02:59:04,554 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4779c1f6-feae-45a3-8e4c-94c153cf8001', 'name': 'ctest-vn-83830971', 'tenant_id': '45f2853f1a224c1694db0a012045cc03', 'project_id': '45f2853f1a224c1694db0a012045cc03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f75d60b7-34f4-48d7-b2f0-f01e3e1c27d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02065238', 'ctest-vn-83830971'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02065238', 'ctest-policy-allow-all-38157063']], 'subnet_ipam': [{'subnet_cidr': '24.109.199.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-23 02:59:04,711 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 02:59:05,026 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 02:59:05,048 - DEBUG - Requesting: http://10.0.0.50:8082/domain/63e6debd-e1b5-484d-ab89-80f9428c6f51 2026-06-23 02:59:05,060 - DEBUG - Requesting: http://10.0.0.50:8082/project/45f2853f-1a22-4c16-94db-0a012045cc03 2026-06-23 02:59:05,126 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8234c832-3bfe-4ac4-8641-b2ec503d7277 2026-06-23 02:59:05,135 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8234c832-3bfe-4ac4-8641-b2ec503d7277 2026-06-23 02:59:05,142 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/48732a34-d9a9-4b15-8926-9eeb2a5add4e 2026-06-23 02:59:05,147 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/48732a34-d9a9-4b15-8926-9eeb2a5add4e 2026-06-23 02:59:05,152 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0aa2dfb1-1d6c-407a-bfba-e6da0d19f0d1 2026-06-23 02:59:05,156 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-23 02:59:05,156 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8234c832-3bfe-4ac4-8641-b2ec503d7277 2026-06-23 02:59:05,163 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/48732a34-d9a9-4b15-8926-9eeb2a5add4e 2026-06-23 02:59:05,174 - INFO - Verified VN network id 11 for VN 8234c832-3bfe-4ac4-8641-b2ec503d7277 2026-06-23 02:59:05,174 - INFO - Verifications in API Server for VN ctest-vn-23092947 passed 2026-06-23 02:59:05,175 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8234c832-3bfe-4ac4-8641-b2ec503d7277 2026-06-23 02:59:05,183 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/48732a34-d9a9-4b15-8926-9eeb2a5add4e 2026-06-23 02:59:05,189 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/48732a34-d9a9-4b15-8926-9eeb2a5add4e 2026-06-23 02:59:05,193 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0aa2dfb1-1d6c-407a-bfba-e6da0d19f0d1 2026-06-23 02:59:05,204 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02065238:ctest-vn-23092947', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02065238', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9382344041800026820', 'uuid-lslong': '9674210202596766327'}, 'enable': 'true', 'created': '2026-06-23T02:59:03', 'last-modified': '2026-06-23T02:59:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.891920'} 2026-06-23 02:59:05,209 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-23 02:59:05,210 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23092947 passed 2026-06-23 02:59:05,210 - DEBUG - ====Verifying policy data for ctest-vn-23092947 in API_Server ====== 2026-06-23 02:59:05,210 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 02:59:05,213 - DEBUG - Requesting: http://10.0.0.50:8082/domain/63e6debd-e1b5-484d-ab89-80f9428c6f51 2026-06-23 02:59:05,221 - DEBUG - Requesting: http://10.0.0.50:8082/project/45f2853f-1a22-4c16-94db-0a012045cc03 2026-06-23 02:59:05,287 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8234c832-3bfe-4ac4-8641-b2ec503d7277 2026-06-23 02:59:05,294 - DEBUG - ==>Verifying data for policy with id: 28fa5ceb-d8bf-4d06-aad3-64da1d9d6aa1, fqn: ['default-domain', 'ctest-TestBasicPolicy-02065238', 'ctest-policy-allow-all-38157063'] 2026-06-23 02:59:05,294 - INFO - VN ctest-vn-23092947 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-23 02:59:05,294 - DEBUG - Verifying the vn in opserver 2026-06-23 02:59:05,294 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02065238:ctest-vn-23092947 virtual network link through opserver 10.0.0.50 2026-06-23 02:59:05,294 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-23 02:59:05,607 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-23 02:59:05,650 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02065238:ctest-vn-23092947', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02065238:ctest-vn-23092947?flat'} 2026-06-23 02:59:05,650 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02065238:ctest-vn-23092947 is found in opserver 2026-06-23 02:59:05,658 - DEBUG - Do not have enough data to verify VN in agent 2026-06-23 02:59:05,662 - DEBUG - VRF ids for VN ctest-vn-23092947: {} 2026-06-23 02:59:05,662 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 02:59:05,667 - DEBUG - Requesting: http://10.0.0.50:8082/domain/63e6debd-e1b5-484d-ab89-80f9428c6f51 2026-06-23 02:59:05,676 - DEBUG - Requesting: http://10.0.0.50:8082/project/45f2853f-1a22-4c16-94db-0a012045cc03 2026-06-23 02:59:05,744 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4779c1f6-feae-45a3-8e4c-94c153cf8001 2026-06-23 02:59:05,753 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4779c1f6-feae-45a3-8e4c-94c153cf8001 2026-06-23 02:59:05,760 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b99af3a7-0396-43b9-8140-e760d6d05d12 2026-06-23 02:59:05,765 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b99af3a7-0396-43b9-8140-e760d6d05d12 2026-06-23 02:59:05,770 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9900eec8-63b8-4db5-88ae-0384dcd41b92 2026-06-23 02:59:05,775 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-23 02:59:05,775 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4779c1f6-feae-45a3-8e4c-94c153cf8001 2026-06-23 02:59:05,782 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b99af3a7-0396-43b9-8140-e760d6d05d12 2026-06-23 02:59:05,792 - INFO - Verified VN network id 12 for VN 4779c1f6-feae-45a3-8e4c-94c153cf8001 2026-06-23 02:59:05,792 - INFO - Verifications in API Server for VN ctest-vn-83830971 passed 2026-06-23 02:59:05,792 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4779c1f6-feae-45a3-8e4c-94c153cf8001 2026-06-23 02:59:05,800 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b99af3a7-0396-43b9-8140-e760d6d05d12 2026-06-23 02:59:05,804 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b99af3a7-0396-43b9-8140-e760d6d05d12 2026-06-23 02:59:05,810 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9900eec8-63b8-4db5-88ae-0384dcd41b92 2026-06-23 02:59:05,819 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02065238:ctest-vn-83830971', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02065238', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5150360915453822371', 'uuid-lslong': '10253734009671483393'}, 'enable': 'true', 'created': '2026-06-23T02:59:03', 'last-modified': '2026-06-23T02:59:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.288246'} 2026-06-23 02:59:05,824 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-23 02:59:05,824 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83830971 passed 2026-06-23 02:59:05,824 - DEBUG - ====Verifying policy data for ctest-vn-83830971 in API_Server ====== 2026-06-23 02:59:05,824 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 02:59:05,828 - DEBUG - Requesting: http://10.0.0.50:8082/domain/63e6debd-e1b5-484d-ab89-80f9428c6f51 2026-06-23 02:59:05,836 - DEBUG - Requesting: http://10.0.0.50:8082/project/45f2853f-1a22-4c16-94db-0a012045cc03 2026-06-23 02:59:05,923 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4779c1f6-feae-45a3-8e4c-94c153cf8001 2026-06-23 02:59:05,930 - DEBUG - ==>Verifying data for policy with id: 28fa5ceb-d8bf-4d06-aad3-64da1d9d6aa1, fqn: ['default-domain', 'ctest-TestBasicPolicy-02065238', 'ctest-policy-allow-all-38157063'] 2026-06-23 02:59:05,930 - INFO - VN ctest-vn-83830971 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-23 02:59:05,930 - DEBUG - Verifying the vn in opserver 2026-06-23 02:59:05,930 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02065238:ctest-vn-83830971 virtual network link through opserver 10.0.0.50 2026-06-23 02:59:05,930 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-23 02:59:05,938 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02065238:ctest-vn-83830971', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02065238:ctest-vn-83830971?flat'} 2026-06-23 02:59:05,938 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02065238:ctest-vn-83830971 is found in opserver 2026-06-23 02:59:05,946 - DEBUG - Do not have enough data to verify VN in agent 2026-06-23 02:59:05,950 - DEBUG - VRF ids for VN ctest-vn-83830971: {} 2026-06-23 02:59:05,997 - DEBUG - Services list from nova: [, , ] 2026-06-23 02:59:07,019 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6023-1) 2026-06-23 02:59:08,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6023-1) 2026-06-23 02:59:08,109 - INFO - Waiting for VM ctest-TestBasicPolicy-02065238-72359040 to be up.. 2026-06-23 02:59:08,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 02:59:13,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 02:59:18,307 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 02:59:23,406 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 02:59:28,489 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 02:59:33,561 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 02:59:38,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 02:59:43,708 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 02:59:48,779 - DEBUG - VM is in ACTIVE state now 2026-06-23 02:59:48,779 - INFO - VM name : ctest-TestBasicPolicy-02065238-72359040 2026-06-23 02:59:48,844 - DEBUG - VM ctest-TestBasicPolicy-02065238-72359040 ID is cac4d61a-3afc-4c53-94ea-1d6100aa702d 2026-06-23 02:59:48,865 - DEBUG - VM ctest-TestBasicPolicy-02065238-72359040 launched on Node cn-jenkins-deploy-platform-ansible-os-6023-1 2026-06-23 02:59:48,934 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cac4d61a-3afc-4c53-94ea-1d6100aa702d 2026-06-23 02:59:48,941 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8d171471-f4bc-43f0-841a-e329e8f667c7 2026-06-23 02:59:50,134 - 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=6.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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 = 1.202/3.822/6.442/2.620 ms') 2026-06-23 02:59:50,134 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02065238-72359040 passed 2026-06-23 02:59:50,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 02:59:50,283 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02065238-72359040, IP 60.227.121.67, Port 22 2026-06-23 02:59:50,443 - DEBUG - VM ctest-TestBasicPolicy-02065238-72359040 is ready for SSH connections 2026-06-23 02:59:50,443 - INFO - Waiting for VM ctest-TestBasicPolicy-02065238-32391793 to be up.. 2026-06-23 02:59:50,513 - DEBUG - VM is in ACTIVE state now 2026-06-23 02:59:50,513 - INFO - VM name : ctest-TestBasicPolicy-02065238-32391793 2026-06-23 02:59:50,586 - DEBUG - VM ctest-TestBasicPolicy-02065238-32391793 ID is 9d3d91d6-5f45-43b9-891f-7281fafe9ee7 2026-06-23 02:59:50,587 - DEBUG - VM ctest-TestBasicPolicy-02065238-32391793 launched on Node cn-jenkins-deploy-platform-ansible-os-6023-1 2026-06-23 02:59:50,663 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9d3d91d6-5f45-43b9-891f-7281fafe9ee7 2026-06-23 02:59:50,672 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6248b58d-2314-469d-beb5-c820e7edf804 2026-06-23 02:59:51,913 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/2.068/3.721/1.652 ms') 2026-06-23 02:59:51,913 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02065238-32391793 passed 2026-06-23 02:59:52,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 02:59:52,059 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02065238-32391793, IP 24.109.199.3, Port 22 2026-06-23 02:59:52,225 - DEBUG - VM ctest-TestBasicPolicy-02065238-32391793 is ready for SSH connections 2026-06-23 02:59:52,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 02:59:52,225 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.109.199.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-23 02:59:52,226 - DEBUG - ping -s 56 -c 3 -W 1 24.109.199.3 2026-06-23 02:59:56,075 - DEBUG - PING 24.109.199.3 (24.109.199.3): 56 data bytes 64 bytes from 24.109.199.3: seq=0 ttl=63 time=3.584 ms 64 bytes from 24.109.199.3: seq=1 ttl=63 time=0.808 ms 64 bytes from 24.109.199.3: seq=2 ttl=63 time=0.946 ms --- 24.109.199.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.779/3.584 ms 2026-06-23 02:59:56,075 - INFO - Ping to IP 24.109.199.3 from VM ctest-TestBasicPolicy-02065238-72359040 passed 2026-06-23 02:59:56,251 - DEBUG - Policy Update Response {"network-policy": {"uuid": "28fa5ceb-d8bf-4d06-aad3-64da1d9d6aa1", "href": "http://10.0.0.50:8082/network-policy/28fa5ceb-d8bf-4d06-aad3-64da1d9d6aa1"}} 2026-06-23 02:59:56,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 02:59:56,251 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.109.199.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-23 02:59:56,251 - DEBUG - ping -s 56 -c 3 -W 1 24.109.199.3 2026-06-23 02:59:59,364 - DEBUG - PING 24.109.199.3 (24.109.199.3): 56 data bytes 64 bytes from 24.109.199.3: seq=0 ttl=63 time=1.402 ms --- 24.109.199.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.402/1.402/1.402 ms 2026-06-23 02:59:59,364 - WARNING - Ping to IP 24.109.199.3 from VM ctest-TestBasicPolicy-02065238-72359040 failed 2026-06-23 02:59:59,364 - INFO - Deleting VM ctest-TestBasicPolicy-02065238-32391793 2026-06-23 02:59:59,432 - INFO - Deleting VM ctest-TestBasicPolicy-02065238-72359040 2026-06-23 02:59:59,778 - INFO - Deleted policy ctest-policy-allow-all-38157063 2026-06-23 02:59:59,778 - INFO - Deleting VN ctest-vn-83830971 2026-06-23 02:59:59,806 - DEBUG - VN 4779c1f6-feae-45a3-8e4c-94c153cf8001 still in use: Unable to complete operation on network 4779c1f6-feae-45a3-8e4c-94c153cf8001. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fab2bcb3-9928-4ece-a694-db50309fadbf'] 2026-06-23 02:59:59,807 - WARNING - Deleting VN ctest-vn-83830971 failed..Will retry 2026-06-23 03:00:01,895 - DEBUG - Response for deleting network () 2026-06-23 03:00:01,895 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b99af3a7-0396-43b9-8140-e760d6d05d12 2026-06-23 03:00:01,899 - DEBUG - Response Code: 404 2026-06-23 03:00:01,900 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 03:00:01,904 - DEBUG - Requesting: http://10.0.0.50:8082/domain/63e6debd-e1b5-484d-ab89-80f9428c6f51 2026-06-23 03:00:01,955 - DEBUG - Requesting: http://10.0.0.50:8082/project/45f2853f-1a22-4c16-94db-0a012045cc03 2026-06-23 03:00:02,022 - INFO - Validated that VN ctest-vn-83830971 is not found in API Server 2026-06-23 03:00:02,033 - DEBUG - VN ctest-vn-83830971 is not present in Agent 10.0.0.50 2026-06-23 03:00:02,033 - INFO - Validated that VN ctest-vn-83830971 is not in any agent 2026-06-23 03:00:02,048 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83830971 info 2026-06-23 03:00:02,048 - INFO - Deleting VN ctest-vn-23092947 2026-06-23 03:00:02,139 - DEBUG - Response for deleting network () 2026-06-23 03:00:02,139 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/48732a34-d9a9-4b15-8926-9eeb2a5add4e 2026-06-23 03:00:02,143 - DEBUG - Response Code: 404 2026-06-23 03:00:02,143 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 03:00:02,148 - DEBUG - Requesting: http://10.0.0.50:8082/domain/63e6debd-e1b5-484d-ab89-80f9428c6f51 2026-06-23 03:00:02,204 - DEBUG - Requesting: http://10.0.0.50:8082/project/45f2853f-1a22-4c16-94db-0a012045cc03 2026-06-23 03:00:02,273 - INFO - Validated that VN ctest-vn-23092947 is not found in API Server 2026-06-23 03:00:02,282 - DEBUG - VN ctest-vn-23092947 is not present in Agent 10.0.0.50 2026-06-23 03:00:02,282 - INFO - Validated that VN ctest-vn-23092947 is not in any agent 2026-06-23 03:00:02,293 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23092947 info 2026-06-23 03:00:02,558 - DEBUG - No XMPP flaps were noticed during the test 2026-06-23 03:00:02,558 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:00] 2026-06-23 03:00:02,558 - INFO - -------------------------------------------------------------------------------- 2026-06-23 03:00:03,240 - INFO - Deleted project: ctest-TestBasicPolicy-02065238, ID : 45f2853f-1a22-4c16-94db-0a012045cc03