2026-06-16 21:32:03,453 - INFO - Domain Default found not creating 2026-06-16 21:32:03,592 - INFO - Project ctest-TestBasicPolicy-98025354 not found, creating it 2026-06-16 21:32:04,059 - INFO - Created Project:ctest-TestBasicPolicy-98025354, ID : 52b3207a-9a64-4ac7-b562-7140f575bd1c 2026-06-16 21:32:05,484 - INFO - ================================================================================ 2026-06-16 21:32:05,484 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-16 21:32:05,484 - 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-16 21:32:05,736 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-06-16 21:32:05,736 - INFO - Initial checks done. Running the testcase now 2026-06-16 21:32:05,736 - INFO - 2026-06-16 21:32:06,272 - DEBUG - Response for create_network : {'network': {'id': 'bdc8f011-4a97-4b3e-bfde-be7636efbd44', 'name': 'ctest-vn-92577450', 'tenant_id': '52b3207a9a644ac7b5627140f575bd1c', 'project_id': '52b3207a9a644ac7b5627140f575bd1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98025354', 'ctest-vn-92577450'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 21:32:06,454 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dcd4e98-a795-489e-988d-527fee723576', 'name': '', 'tenant_id': '52b3207a9a644ac7b5627140f575bd1c', 'network_id': 'bdc8f011-4a97-4b3e-bfde-be7636efbd44', 'ip_version': 4, 'cidr': '206.226.171.0/26', 'allocation_pools': [{'start': '206.226.171.2', 'end': '206.226.171.62'}], 'gateway_ip': '206.226.171.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.226.171.2', 'tags': [], 'project_id': '52b3207a9a644ac7b5627140f575bd1c'}} 2026-06-16 21:32:06,473 - INFO - Created VN ctest-vn-92577450 2026-06-16 21:32:06,523 - DEBUG - VN ctest-vn-92577450 UUID is bdc8f011-4a97-4b3e-bfde-be7636efbd44 2026-06-16 21:32:06,829 - DEBUG - Response for create_network : {'network': {'id': '163c8d76-8afb-4cc0-81f7-a68b83967572', 'name': 'ctest-vn-49203376', 'tenant_id': '52b3207a9a644ac7b5627140f575bd1c', 'project_id': '52b3207a9a644ac7b5627140f575bd1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98025354', 'ctest-vn-49203376'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 21:32:06,970 - DEBUG - Response for create_subnet : {'subnet': {'id': '79c63ead-a5c6-45e8-8525-c96f7c8f8b26', 'name': '', 'tenant_id': '52b3207a9a644ac7b5627140f575bd1c', 'network_id': '163c8d76-8afb-4cc0-81f7-a68b83967572', 'ip_version': 4, 'cidr': '200.240.203.0/26', 'allocation_pools': [{'start': '200.240.203.2', 'end': '200.240.203.62'}], 'gateway_ip': '200.240.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.240.203.2', 'tags': [], 'project_id': '52b3207a9a644ac7b5627140f575bd1c'}} 2026-06-16 21:32:06,985 - INFO - Created VN ctest-vn-49203376 2026-06-16 21:32:07,035 - DEBUG - VN ctest-vn-49203376 UUID is 163c8d76-8afb-4cc0-81f7-a68b83967572 2026-06-16 21:32:07,175 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98025354:ctest-vn-92577450, 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-98025354:ctest-vn-49203376, 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-16 21:32:07,468 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bdc8f011-4a97-4b3e-bfde-be7636efbd44', 'name': 'ctest-vn-92577450', 'tenant_id': '52b3207a9a644ac7b5627140f575bd1c', 'project_id': '52b3207a9a644ac7b5627140f575bd1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7dcd4e98-a795-489e-988d-527fee723576'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98025354', 'ctest-vn-92577450'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98025354', 'ctest-policy-allow-all-50289197']], 'subnet_ipam': [{'subnet_cidr': '206.226.171.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-16 21:32:07,685 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '163c8d76-8afb-4cc0-81f7-a68b83967572', 'name': 'ctest-vn-49203376', 'tenant_id': '52b3207a9a644ac7b5627140f575bd1c', 'project_id': '52b3207a9a644ac7b5627140f575bd1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['79c63ead-a5c6-45e8-8525-c96f7c8f8b26'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98025354', 'ctest-vn-49203376'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98025354', 'ctest-policy-allow-all-50289197']], 'subnet_ipam': [{'subnet_cidr': '200.240.203.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-16 21:32:07,863 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-16 21:32:08,181 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-16 21:32:08,205 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5ab18d03-1622-41ab-b02f-1fa297dbb326 2026-06-16 21:32:08,215 - DEBUG - Requesting: http://10.0.0.249:8082/project/52b3207a-9a64-4ac7-b562-7140f575bd1c 2026-06-16 21:32:08,285 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bdc8f011-4a97-4b3e-bfde-be7636efbd44 2026-06-16 21:32:08,294 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bdc8f011-4a97-4b3e-bfde-be7636efbd44 2026-06-16 21:32:08,302 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e8765a94-4541-40dc-af9f-a5defe3a3a2d 2026-06-16 21:32:08,308 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e8765a94-4541-40dc-af9f-a5defe3a3a2d 2026-06-16 21:32:08,313 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/633fe7f7-fc3d-496d-91b6-97d9179179eb 2026-06-16 21:32:08,319 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-16 21:32:08,319 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bdc8f011-4a97-4b3e-bfde-be7636efbd44 2026-06-16 21:32:08,327 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e8765a94-4541-40dc-af9f-a5defe3a3a2d 2026-06-16 21:32:08,339 - INFO - Verified VN network id 11 for VN bdc8f011-4a97-4b3e-bfde-be7636efbd44 2026-06-16 21:32:08,339 - INFO - Verifications in API Server for VN ctest-vn-92577450 passed 2026-06-16 21:32:08,339 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bdc8f011-4a97-4b3e-bfde-be7636efbd44 2026-06-16 21:32:08,348 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e8765a94-4541-40dc-af9f-a5defe3a3a2d 2026-06-16 21:32:08,354 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e8765a94-4541-40dc-af9f-a5defe3a3a2d 2026-06-16 21:32:08,360 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/633fe7f7-fc3d-496d-91b6-97d9179179eb 2026-06-16 21:32:08,370 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98025354:ctest-vn-92577450', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98025354', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13675444225567050558', 'uuid-lslong': '13825697321011100996'}, 'enable': 'true', 'created': '2026-06-16T21:32:06', 'last-modified': '2026-06-16T21:32:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927011'} 2026-06-16 21:32:08,375 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-16 21:32:08,375 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92577450 passed 2026-06-16 21:32:08,375 - DEBUG - ====Verifying policy data for ctest-vn-92577450 in API_Server ====== 2026-06-16 21:32:08,375 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-16 21:32:08,381 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5ab18d03-1622-41ab-b02f-1fa297dbb326 2026-06-16 21:32:08,390 - DEBUG - Requesting: http://10.0.0.249:8082/project/52b3207a-9a64-4ac7-b562-7140f575bd1c 2026-06-16 21:32:08,466 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bdc8f011-4a97-4b3e-bfde-be7636efbd44 2026-06-16 21:32:08,478 - DEBUG - ==>Verifying data for policy with id: 27a6f481-165c-48ef-bbd4-a2a3e2a244c6, fqn: ['default-domain', 'ctest-TestBasicPolicy-98025354', 'ctest-policy-allow-all-50289197'] 2026-06-16 21:32:08,478 - INFO - VN ctest-vn-92577450 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-16 21:32:08,478 - DEBUG - Verifying the vn in opserver 2026-06-16 21:32:08,478 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98025354:ctest-vn-92577450 virtual network link through opserver 10.0.0.249 2026-06-16 21:32:08,478 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-16 21:32:08,799 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-16 21:32:08,843 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98025354:ctest-vn-92577450', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98025354:ctest-vn-92577450?flat'} 2026-06-16 21:32:08,843 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98025354:ctest-vn-92577450 is found in opserver 2026-06-16 21:32:08,853 - DEBUG - Do not have enough data to verify VN in agent 2026-06-16 21:32:08,858 - DEBUG - VRF ids for VN ctest-vn-92577450: {} 2026-06-16 21:32:08,858 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-16 21:32:08,862 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5ab18d03-1622-41ab-b02f-1fa297dbb326 2026-06-16 21:32:08,872 - DEBUG - Requesting: http://10.0.0.249:8082/project/52b3207a-9a64-4ac7-b562-7140f575bd1c 2026-06-16 21:32:08,945 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/163c8d76-8afb-4cc0-81f7-a68b83967572 2026-06-16 21:32:08,955 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/163c8d76-8afb-4cc0-81f7-a68b83967572 2026-06-16 21:32:08,965 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/468ed4b5-bf1b-431e-964b-0a9d97d1b5a2 2026-06-16 21:32:08,971 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/468ed4b5-bf1b-431e-964b-0a9d97d1b5a2 2026-06-16 21:32:08,977 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/e2ac9fb1-589e-4e45-a506-ab931fe622b8 2026-06-16 21:32:08,982 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-16 21:32:08,982 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/163c8d76-8afb-4cc0-81f7-a68b83967572 2026-06-16 21:32:08,989 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/468ed4b5-bf1b-431e-964b-0a9d97d1b5a2 2026-06-16 21:32:08,999 - INFO - Verified VN network id 12 for VN 163c8d76-8afb-4cc0-81f7-a68b83967572 2026-06-16 21:32:09,000 - INFO - Verifications in API Server for VN ctest-vn-49203376 passed 2026-06-16 21:32:09,000 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/163c8d76-8afb-4cc0-81f7-a68b83967572 2026-06-16 21:32:09,007 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/468ed4b5-bf1b-431e-964b-0a9d97d1b5a2 2026-06-16 21:32:09,013 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/468ed4b5-bf1b-431e-964b-0a9d97d1b5a2 2026-06-16 21:32:09,019 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/e2ac9fb1-589e-4e45-a506-ab931fe622b8 2026-06-16 21:32:09,028 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98025354:ctest-vn-49203376', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98025354', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1602311107714436288', 'uuid-lslong': '9365137068278576498'}, 'enable': 'true', 'created': '2026-06-16T21:32:06', 'last-modified': '2026-06-16T21:32:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.362169'} 2026-06-16 21:32:09,032 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-16 21:32:09,032 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49203376 passed 2026-06-16 21:32:09,033 - DEBUG - ====Verifying policy data for ctest-vn-49203376 in API_Server ====== 2026-06-16 21:32:09,033 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-16 21:32:09,040 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5ab18d03-1622-41ab-b02f-1fa297dbb326 2026-06-16 21:32:09,048 - DEBUG - Requesting: http://10.0.0.249:8082/project/52b3207a-9a64-4ac7-b562-7140f575bd1c 2026-06-16 21:32:09,118 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/163c8d76-8afb-4cc0-81f7-a68b83967572 2026-06-16 21:32:09,126 - DEBUG - ==>Verifying data for policy with id: 27a6f481-165c-48ef-bbd4-a2a3e2a244c6, fqn: ['default-domain', 'ctest-TestBasicPolicy-98025354', 'ctest-policy-allow-all-50289197'] 2026-06-16 21:32:09,126 - INFO - VN ctest-vn-49203376 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-16 21:32:09,126 - DEBUG - Verifying the vn in opserver 2026-06-16 21:32:09,126 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98025354:ctest-vn-49203376 virtual network link through opserver 10.0.0.249 2026-06-16 21:32:09,126 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-16 21:32:09,134 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98025354:ctest-vn-49203376', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98025354:ctest-vn-49203376?flat'} 2026-06-16 21:32:09,134 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98025354:ctest-vn-49203376 is found in opserver 2026-06-16 21:32:09,142 - DEBUG - Do not have enough data to verify VN in agent 2026-06-16 21:32:09,145 - DEBUG - VRF ids for VN ctest-vn-49203376: {} 2026-06-16 21:32:09,198 - DEBUG - Services list from nova: [, , ] 2026-06-16 21:32:10,227 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5955-1) 2026-06-16 21:32:11,250 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5955-1) 2026-06-16 21:32:11,250 - INFO - Waiting for VM ctest-TestBasicPolicy-98025354-37811251 to be up.. 2026-06-16 21:32:11,295 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 21:32:16,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 21:32:21,434 - DEBUG - VM is in ACTIVE state now 2026-06-16 21:32:21,434 - INFO - VM name : ctest-TestBasicPolicy-98025354-37811251 2026-06-16 21:32:21,510 - DEBUG - VM ctest-TestBasicPolicy-98025354-37811251 ID is ac6ae573-8bcd-4784-afe7-58c28735aa01 2026-06-16 21:32:21,527 - DEBUG - VM ctest-TestBasicPolicy-98025354-37811251 launched on Node cn-jenkins-deploy-platform-ansible-os-5955-1 2026-06-16 21:32:21,589 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ac6ae573-8bcd-4784-afe7-58c28735aa01 2026-06-16 21:32:21,597 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/45562d6d-8612-4e27-9550-597e2df6bd19 2026-06-16 21:32:24,835 - 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 1008ms') 2026-06-16 21:32:24,835 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98025354-37811251 failed! 2026-06-16 21:32:24,891 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98025354:ctest-vn-92577450 is 206.226.171.1 and allocation pool is NOT set 2026-06-16 21:32:26,955 - 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=7.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.10 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 = 3.098/5.240/7.383/2.142 ms') 2026-06-16 21:32:26,955 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98025354-37811251 passed 2026-06-16 21:32:27,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 21:32:27,103 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98025354-37811251, IP 206.226.171.3, Port 22 2026-06-16 21:32:27,266 - DEBUG - VM ctest-TestBasicPolicy-98025354-37811251 is ready for SSH connections 2026-06-16 21:32:27,267 - INFO - Waiting for VM ctest-TestBasicPolicy-98025354-03199949 to be up.. 2026-06-16 21:32:27,333 - DEBUG - VM is in ACTIVE state now 2026-06-16 21:32:27,333 - INFO - VM name : ctest-TestBasicPolicy-98025354-03199949 2026-06-16 21:32:27,402 - DEBUG - VM ctest-TestBasicPolicy-98025354-03199949 ID is e092f0e8-757c-40b6-91cc-377c89b1b335 2026-06-16 21:32:27,402 - DEBUG - VM ctest-TestBasicPolicy-98025354-03199949 launched on Node cn-jenkins-deploy-platform-ansible-os-5955-1 2026-06-16 21:32:27,473 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e092f0e8-757c-40b6-91cc-377c89b1b335 2026-06-16 21:32:27,481 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/849d50ba-ce25-4230-818a-598e313bf160 2026-06-16 21:32:28,709 - 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=4.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.867 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.867/2.668/4.470/1.801 ms') 2026-06-16 21:32:28,709 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98025354-03199949 passed 2026-06-16 21:32:28,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 21:32:28,855 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98025354-03199949, IP 200.240.203.3, Port 22 2026-06-16 21:32:29,025 - DEBUG - VM ctest-TestBasicPolicy-98025354-03199949 is ready for SSH connections 2026-06-16 21:32:29,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 21:32:29,025 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.240.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-16 21:32:29,025 - DEBUG - ping -s 56 -c 3 -W 1 200.240.203.3 2026-06-16 21:32:32,861 - DEBUG - PING 200.240.203.3 (200.240.203.3): 56 data bytes 64 bytes from 200.240.203.3: seq=0 ttl=63 time=4.158 ms 64 bytes from 200.240.203.3: seq=1 ttl=63 time=1.022 ms 64 bytes from 200.240.203.3: seq=2 ttl=63 time=0.887 ms --- 200.240.203.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.887/2.022/4.158 ms 2026-06-16 21:32:32,861 - INFO - Ping to IP 200.240.203.3 from VM ctest-TestBasicPolicy-98025354-37811251 passed 2026-06-16 21:32:33,027 - DEBUG - Policy Update Response {"network-policy": {"uuid": "27a6f481-165c-48ef-bbd4-a2a3e2a244c6", "href": "http://10.0.0.249:8082/network-policy/27a6f481-165c-48ef-bbd4-a2a3e2a244c6"}} 2026-06-16 21:32:33,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 21:32:33,027 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.240.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-16 21:32:33,027 - DEBUG - ping -s 56 -c 3 -W 1 200.240.203.3 2026-06-16 21:32:36,133 - DEBUG - PING 200.240.203.3 (200.240.203.3): 56 data bytes --- 200.240.203.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-16 21:32:36,133 - WARNING - Ping to IP 200.240.203.3 from VM ctest-TestBasicPolicy-98025354-37811251 failed 2026-06-16 21:32:36,134 - INFO - Deleting VM ctest-TestBasicPolicy-98025354-03199949 2026-06-16 21:32:36,200 - INFO - Deleting VM ctest-TestBasicPolicy-98025354-37811251 2026-06-16 21:32:36,528 - INFO - Deleted policy ctest-policy-allow-all-50289197 2026-06-16 21:32:36,528 - INFO - Deleting VN ctest-vn-49203376 2026-06-16 21:32:36,555 - DEBUG - VN 163c8d76-8afb-4cc0-81f7-a68b83967572 still in use: Unable to complete operation on network 163c8d76-8afb-4cc0-81f7-a68b83967572. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2ca1f040-17ec-42d5-9567-6ee7f8fa3222'] 2026-06-16 21:32:36,555 - WARNING - Deleting VN ctest-vn-49203376 failed..Will retry 2026-06-16 21:32:38,655 - DEBUG - Response for deleting network () 2026-06-16 21:32:38,655 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/468ed4b5-bf1b-431e-964b-0a9d97d1b5a2 2026-06-16 21:32:38,660 - DEBUG - Response Code: 404 2026-06-16 21:32:38,660 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-16 21:32:38,664 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5ab18d03-1622-41ab-b02f-1fa297dbb326 2026-06-16 21:32:38,717 - DEBUG - Requesting: http://10.0.0.249:8082/project/52b3207a-9a64-4ac7-b562-7140f575bd1c 2026-06-16 21:32:38,801 - INFO - Validated that VN ctest-vn-49203376 is not found in API Server 2026-06-16 21:32:38,809 - DEBUG - VN ctest-vn-49203376 is not present in Agent 10.0.0.249 2026-06-16 21:32:38,809 - INFO - Validated that VN ctest-vn-49203376 is not in any agent 2026-06-16 21:32:38,823 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49203376 info 2026-06-16 21:32:38,823 - INFO - Deleting VN ctest-vn-92577450 2026-06-16 21:32:38,922 - DEBUG - Response for deleting network () 2026-06-16 21:32:38,923 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e8765a94-4541-40dc-af9f-a5defe3a3a2d 2026-06-16 21:32:38,926 - DEBUG - Response Code: 404 2026-06-16 21:32:38,929 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-16 21:32:38,936 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5ab18d03-1622-41ab-b02f-1fa297dbb326 2026-06-16 21:32:38,991 - DEBUG - Requesting: http://10.0.0.249:8082/project/52b3207a-9a64-4ac7-b562-7140f575bd1c 2026-06-16 21:32:39,058 - INFO - Validated that VN ctest-vn-92577450 is not found in API Server 2026-06-16 21:32:39,067 - DEBUG - VN ctest-vn-92577450 is not present in Agent 10.0.0.249 2026-06-16 21:32:39,067 - INFO - Validated that VN ctest-vn-92577450 is not in any agent 2026-06-16 21:32:39,083 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92577450 info 2026-06-16 21:32:39,339 - DEBUG - No XMPP flaps were noticed during the test 2026-06-16 21:32:39,339 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-06-16 21:32:39,339 - INFO - -------------------------------------------------------------------------------- 2026-06-16 21:32:40,037 - INFO - Deleted project: ctest-TestBasicPolicy-98025354, ID : 52b3207a-9a64-4ac7-b562-7140f575bd1c