2026-05-28 02:08:06,341 - INFO - Domain Default found not creating 2026-05-28 02:08:06,542 - INFO - Project ctest-TestBasicPolicy-62320383 not found, creating it 2026-05-28 02:08:07,013 - INFO - Created Project:ctest-TestBasicPolicy-62320383, ID : 12a93e1d-23cd-4cde-980f-97bfb4892d7f 2026-05-28 02:08:08,564 - INFO - ================================================================================ 2026-05-28 02:08:08,564 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-28 02:08:08,564 - 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-05-28 02:08:08,818 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.200': '0'}} with 2026-05-28 02:08:08,818 - INFO - Initial checks done. Running the testcase now 2026-05-28 02:08:08,818 - INFO - 2026-05-28 02:08:09,387 - DEBUG - Response for create_network : {'network': {'id': '9b8482ef-054a-4c05-8471-a89e7b0532ce', 'name': 'ctest-vn-01713315', 'tenant_id': '12a93e1d23cd4cde980f97bfb4892d7f', 'project_id': '12a93e1d23cd4cde980f97bfb4892d7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62320383', 'ctest-vn-01713315'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 02:08:09,601 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ddbdad1-3364-4aa8-85ce-24043e011c3c', 'name': '', 'tenant_id': '12a93e1d23cd4cde980f97bfb4892d7f', 'network_id': '9b8482ef-054a-4c05-8471-a89e7b0532ce', 'ip_version': 4, 'cidr': '210.142.25.128/26', 'allocation_pools': [{'start': '210.142.25.130', 'end': '210.142.25.190'}], 'gateway_ip': '210.142.25.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.142.25.130', 'tags': [], 'project_id': '12a93e1d23cd4cde980f97bfb4892d7f'}} 2026-05-28 02:08:09,621 - INFO - Created VN ctest-vn-01713315 2026-05-28 02:08:09,676 - DEBUG - VN ctest-vn-01713315 UUID is 9b8482ef-054a-4c05-8471-a89e7b0532ce 2026-05-28 02:08:09,991 - DEBUG - Response for create_network : {'network': {'id': 'a2c947f0-c379-43da-89a0-246a5547eb00', 'name': 'ctest-vn-83651226', 'tenant_id': '12a93e1d23cd4cde980f97bfb4892d7f', 'project_id': '12a93e1d23cd4cde980f97bfb4892d7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62320383', 'ctest-vn-83651226'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 02:08:10,209 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f92a190-843b-4baf-a41d-9b902c20b6b9', 'name': '', 'tenant_id': '12a93e1d23cd4cde980f97bfb4892d7f', 'network_id': 'a2c947f0-c379-43da-89a0-246a5547eb00', 'ip_version': 4, 'cidr': '32.116.157.128/26', 'allocation_pools': [{'start': '32.116.157.130', 'end': '32.116.157.190'}], 'gateway_ip': '32.116.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.116.157.130', 'tags': [], 'project_id': '12a93e1d23cd4cde980f97bfb4892d7f'}} 2026-05-28 02:08:10,227 - INFO - Created VN ctest-vn-83651226 2026-05-28 02:08:10,280 - DEBUG - VN ctest-vn-83651226 UUID is a2c947f0-c379-43da-89a0-246a5547eb00 2026-05-28 02:08:10,399 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62320383:ctest-vn-01713315, 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-62320383:ctest-vn-83651226, 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-05-28 02:08:10,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b8482ef-054a-4c05-8471-a89e7b0532ce', 'name': 'ctest-vn-01713315', 'tenant_id': '12a93e1d23cd4cde980f97bfb4892d7f', 'project_id': '12a93e1d23cd4cde980f97bfb4892d7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7ddbdad1-3364-4aa8-85ce-24043e011c3c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62320383', 'ctest-vn-01713315'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62320383', 'ctest-policy-allow-all-80965946']], 'subnet_ipam': [{'subnet_cidr': '210.142.25.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 02:08:10,949 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a2c947f0-c379-43da-89a0-246a5547eb00', 'name': 'ctest-vn-83651226', 'tenant_id': '12a93e1d23cd4cde980f97bfb4892d7f', 'project_id': '12a93e1d23cd4cde980f97bfb4892d7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f92a190-843b-4baf-a41d-9b902c20b6b9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62320383', 'ctest-vn-83651226'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62320383', 'ctest-policy-allow-all-80965946']], 'subnet_ipam': [{'subnet_cidr': '32.116.157.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 02:08:11,128 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-28 02:08:11,424 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-28 02:08:11,460 - DEBUG - Requesting: http://10.0.0.242:8082/domain/835cf756-9b77-471d-ab84-cb65b49d7eb9 2026-05-28 02:08:11,473 - DEBUG - Requesting: http://10.0.0.242:8082/project/12a93e1d-23cd-4cde-980f-97bfb4892d7f 2026-05-28 02:08:11,543 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9b8482ef-054a-4c05-8471-a89e7b0532ce 2026-05-28 02:08:11,553 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9b8482ef-054a-4c05-8471-a89e7b0532ce 2026-05-28 02:08:11,563 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fc8a784f-0095-4b2f-bc61-256f405e38e8 2026-05-28 02:08:11,570 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fc8a784f-0095-4b2f-bc61-256f405e38e8 2026-05-28 02:08:11,577 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/f179d2d6-36e1-477e-b8d8-72a1b2fc0a80 2026-05-28 02:08:11,584 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 02:08:11,584 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9b8482ef-054a-4c05-8471-a89e7b0532ce 2026-05-28 02:08:11,598 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fc8a784f-0095-4b2f-bc61-256f405e38e8 2026-05-28 02:08:11,612 - INFO - Verified VN network id 11 for VN 9b8482ef-054a-4c05-8471-a89e7b0532ce 2026-05-28 02:08:11,612 - INFO - Verifications in API Server for VN ctest-vn-01713315 passed 2026-05-28 02:08:11,612 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9b8482ef-054a-4c05-8471-a89e7b0532ce 2026-05-28 02:08:11,622 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fc8a784f-0095-4b2f-bc61-256f405e38e8 2026-05-28 02:08:11,629 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fc8a784f-0095-4b2f-bc61-256f405e38e8 2026-05-28 02:08:11,638 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/f179d2d6-36e1-477e-b8d8-72a1b2fc0a80 2026-05-28 02:08:11,653 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62320383:ctest-vn-01713315', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62320383', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11206225735902186501', 'uuid-lslong': '9543594483997029070'}, 'enable': 'true', 'created': '2026-05-28T02:08:09', 'last-modified': '2026-05-28T02:08:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.969735'} 2026-05-28 02:08:11,660 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 02:08:11,660 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01713315 passed 2026-05-28 02:08:11,660 - DEBUG - ====Verifying policy data for ctest-vn-01713315 in API_Server ====== 2026-05-28 02:08:11,661 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-28 02:08:11,667 - DEBUG - Requesting: http://10.0.0.242:8082/domain/835cf756-9b77-471d-ab84-cb65b49d7eb9 2026-05-28 02:08:11,678 - DEBUG - Requesting: http://10.0.0.242:8082/project/12a93e1d-23cd-4cde-980f-97bfb4892d7f 2026-05-28 02:08:11,755 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9b8482ef-054a-4c05-8471-a89e7b0532ce 2026-05-28 02:08:11,764 - DEBUG - ==>Verifying data for policy with id: 18c199db-0c46-4d34-86fa-dd93ae0f29db, fqn: ['default-domain', 'ctest-TestBasicPolicy-62320383', 'ctest-policy-allow-all-80965946'] 2026-05-28 02:08:11,765 - INFO - VN ctest-vn-01713315 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 02:08:11,765 - DEBUG - Verifying the vn in opserver 2026-05-28 02:08:11,765 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62320383:ctest-vn-01713315 virtual network link through opserver 10.0.0.242 2026-05-28 02:08:11,765 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-28 02:08:12,062 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-28 02:08:12,131 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62320383:ctest-vn-01713315', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62320383:ctest-vn-01713315?flat'} 2026-05-28 02:08:12,131 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62320383:ctest-vn-01713315 is found in opserver 2026-05-28 02:08:12,141 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 02:08:12,146 - DEBUG - VRF ids for VN ctest-vn-01713315: {} 2026-05-28 02:08:12,146 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-28 02:08:12,151 - DEBUG - Requesting: http://10.0.0.242:8082/domain/835cf756-9b77-471d-ab84-cb65b49d7eb9 2026-05-28 02:08:12,163 - DEBUG - Requesting: http://10.0.0.242:8082/project/12a93e1d-23cd-4cde-980f-97bfb4892d7f 2026-05-28 02:08:12,235 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a2c947f0-c379-43da-89a0-246a5547eb00 2026-05-28 02:08:12,246 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a2c947f0-c379-43da-89a0-246a5547eb00 2026-05-28 02:08:12,255 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dcb037ce-bfb3-4734-8645-7110b5e18ae1 2026-05-28 02:08:12,262 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dcb037ce-bfb3-4734-8645-7110b5e18ae1 2026-05-28 02:08:12,269 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/bfd5d2c9-0d22-4424-ba98-220f9779074b 2026-05-28 02:08:12,275 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 02:08:12,275 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a2c947f0-c379-43da-89a0-246a5547eb00 2026-05-28 02:08:12,284 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dcb037ce-bfb3-4734-8645-7110b5e18ae1 2026-05-28 02:08:12,298 - INFO - Verified VN network id 12 for VN a2c947f0-c379-43da-89a0-246a5547eb00 2026-05-28 02:08:12,298 - INFO - Verifications in API Server for VN ctest-vn-83651226 passed 2026-05-28 02:08:12,298 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a2c947f0-c379-43da-89a0-246a5547eb00 2026-05-28 02:08:12,307 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dcb037ce-bfb3-4734-8645-7110b5e18ae1 2026-05-28 02:08:12,313 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dcb037ce-bfb3-4734-8645-7110b5e18ae1 2026-05-28 02:08:12,319 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/bfd5d2c9-0d22-4424-ba98-220f9779074b 2026-05-28 02:08:12,330 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62320383:ctest-vn-83651226', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62320383', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11729985803860394970', 'uuid-lslong': '9916966418585742080'}, 'enable': 'true', 'created': '2026-05-28T02:08:09', 'last-modified': '2026-05-28T02:08:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.403387'} 2026-05-28 02:08:12,339 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 02:08:12,339 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83651226 passed 2026-05-28 02:08:12,339 - DEBUG - ====Verifying policy data for ctest-vn-83651226 in API_Server ====== 2026-05-28 02:08:12,339 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-28 02:08:12,346 - DEBUG - Requesting: http://10.0.0.242:8082/domain/835cf756-9b77-471d-ab84-cb65b49d7eb9 2026-05-28 02:08:12,358 - DEBUG - Requesting: http://10.0.0.242:8082/project/12a93e1d-23cd-4cde-980f-97bfb4892d7f 2026-05-28 02:08:12,426 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a2c947f0-c379-43da-89a0-246a5547eb00 2026-05-28 02:08:12,439 - DEBUG - ==>Verifying data for policy with id: 18c199db-0c46-4d34-86fa-dd93ae0f29db, fqn: ['default-domain', 'ctest-TestBasicPolicy-62320383', 'ctest-policy-allow-all-80965946'] 2026-05-28 02:08:12,439 - INFO - VN ctest-vn-83651226 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 02:08:12,439 - DEBUG - Verifying the vn in opserver 2026-05-28 02:08:12,439 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62320383:ctest-vn-83651226 virtual network link through opserver 10.0.0.242 2026-05-28 02:08:12,439 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-28 02:08:12,451 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62320383:ctest-vn-83651226', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62320383:ctest-vn-83651226?flat'} 2026-05-28 02:08:12,451 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62320383:ctest-vn-83651226 is found in opserver 2026-05-28 02:08:12,461 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 02:08:12,468 - DEBUG - VRF ids for VN ctest-vn-83651226: {} 2026-05-28 02:08:12,531 - DEBUG - Services list from nova: [, , ] 2026-05-28 02:08:13,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5838-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5838-1) 2026-05-28 02:08:14,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5838-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5838-1) 2026-05-28 02:08:14,809 - INFO - Waiting for VM ctest-TestBasicPolicy-62320383-31215590 to be up.. 2026-05-28 02:08:14,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 02:08:19,980 - DEBUG - VM is in ACTIVE state now 2026-05-28 02:08:19,980 - INFO - VM name : ctest-TestBasicPolicy-62320383-31215590 2026-05-28 02:08:20,069 - DEBUG - VM ctest-TestBasicPolicy-62320383-31215590 ID is 8ff80c72-3907-42a2-8657-d4ab2bbd891b 2026-05-28 02:08:20,099 - DEBUG - VM ctest-TestBasicPolicy-62320383-31215590 launched on Node cn-jenkins-deploy-platform-ansible-os-5838-1 2026-05-28 02:08:20,184 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/8ff80c72-3907-42a2-8657-d4ab2bbd891b 2026-05-28 02:08:20,193 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/1192067b-08bd-4792-922d-b98d172c742d 2026-05-28 02:08:23,418 - 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 1024ms') 2026-05-28 02:08:23,418 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62320383-31215590 failed! 2026-05-28 02:08:23,472 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62320383:ctest-vn-01713315 is 210.142.25.129 and allocation pool is NOT set 2026-05-28 02:08:25,537 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.69 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 = 2.689/6.347/10.006/3.658 ms') 2026-05-28 02:08:25,537 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62320383-31215590 passed 2026-05-28 02:08:25,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:08:25,688 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62320383-31215590, IP 210.142.25.131, Port 22 2026-05-28 02:08:25,853 - DEBUG - VM ctest-TestBasicPolicy-62320383-31215590 is ready for SSH connections 2026-05-28 02:08:25,853 - INFO - Waiting for VM ctest-TestBasicPolicy-62320383-65674383 to be up.. 2026-05-28 02:08:25,937 - DEBUG - VM is in ACTIVE state now 2026-05-28 02:08:25,937 - INFO - VM name : ctest-TestBasicPolicy-62320383-65674383 2026-05-28 02:08:26,032 - DEBUG - VM ctest-TestBasicPolicy-62320383-65674383 ID is 83591f2c-1378-4523-a6d4-c37381c1d6a4 2026-05-28 02:08:26,032 - DEBUG - VM ctest-TestBasicPolicy-62320383-65674383 launched on Node cn-jenkins-deploy-platform-ansible-os-5838-1 2026-05-28 02:08:26,126 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/83591f2c-1378-4523-a6d4-c37381c1d6a4 2026-05-28 02:08:26,136 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0d64109d-b30f-432e-9992-8cb2d4ecc352 2026-05-28 02:08:27,391 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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.479/2.223/3.968/1.744 ms') 2026-05-28 02:08:27,391 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62320383-65674383 passed 2026-05-28 02:08:27,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:08:27,545 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62320383-65674383, IP 32.116.157.131, Port 22 2026-05-28 02:08:27,708 - DEBUG - VM ctest-TestBasicPolicy-62320383-65674383 is ready for SSH connections 2026-05-28 02:08:27,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:08:27,708 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.116.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-28 02:08:27,708 - DEBUG - ping -s 56 -c 3 -W 1 32.116.157.131 2026-05-28 02:08:31,754 - DEBUG - PING 32.116.157.131 (32.116.157.131): 56 data bytes 64 bytes from 32.116.157.131: seq=0 ttl=63 time=3.784 ms 64 bytes from 32.116.157.131: seq=1 ttl=63 time=0.952 ms 64 bytes from 32.116.157.131: seq=2 ttl=63 time=1.332 ms --- 32.116.157.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.952/2.022/3.784 ms 2026-05-28 02:08:31,754 - INFO - Ping to IP 32.116.157.131 from VM ctest-TestBasicPolicy-62320383-31215590 passed 2026-05-28 02:08:31,932 - DEBUG - Policy Update Response {"network-policy": {"uuid": "18c199db-0c46-4d34-86fa-dd93ae0f29db", "href": "http://10.0.0.242:8082/network-policy/18c199db-0c46-4d34-86fa-dd93ae0f29db"}} 2026-05-28 02:08:31,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:08:31,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.116.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-28 02:08:31,933 - DEBUG - ping -s 56 -c 3 -W 1 32.116.157.131 2026-05-28 02:08:35,154 - DEBUG - PING 32.116.157.131 (32.116.157.131): 56 data bytes --- 32.116.157.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-28 02:08:35,154 - WARNING - Ping to IP 32.116.157.131 from VM ctest-TestBasicPolicy-62320383-31215590 failed 2026-05-28 02:08:35,154 - INFO - Deleting VM ctest-TestBasicPolicy-62320383-65674383 2026-05-28 02:08:35,223 - INFO - Deleting VM ctest-TestBasicPolicy-62320383-31215590 2026-05-28 02:08:35,595 - INFO - Deleted policy ctest-policy-allow-all-80965946 2026-05-28 02:08:35,595 - INFO - Deleting VN ctest-vn-83651226 2026-05-28 02:08:35,636 - DEBUG - VN a2c947f0-c379-43da-89a0-246a5547eb00 still in use: Unable to complete operation on network a2c947f0-c379-43da-89a0-246a5547eb00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d477f0be-7b40-4247-8ffa-ad36efac3b9d'] 2026-05-28 02:08:35,636 - WARNING - Deleting VN ctest-vn-83651226 failed..Will retry 2026-05-28 02:08:37,738 - DEBUG - Response for deleting network () 2026-05-28 02:08:37,738 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dcb037ce-bfb3-4734-8645-7110b5e18ae1 2026-05-28 02:08:37,743 - DEBUG - Response Code: 404 2026-05-28 02:08:37,743 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-28 02:08:37,750 - DEBUG - Requesting: http://10.0.0.242:8082/domain/835cf756-9b77-471d-ab84-cb65b49d7eb9 2026-05-28 02:08:37,807 - DEBUG - Requesting: http://10.0.0.242:8082/project/12a93e1d-23cd-4cde-980f-97bfb4892d7f 2026-05-28 02:08:37,882 - INFO - Validated that VN ctest-vn-83651226 is not found in API Server 2026-05-28 02:08:37,892 - DEBUG - VN ctest-vn-83651226 is not present in Agent 10.0.0.242 2026-05-28 02:08:37,892 - INFO - Validated that VN ctest-vn-83651226 is not in any agent 2026-05-28 02:08:37,907 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83651226 info 2026-05-28 02:08:37,907 - INFO - Deleting VN ctest-vn-01713315 2026-05-28 02:08:38,030 - DEBUG - Response for deleting network () 2026-05-28 02:08:38,030 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fc8a784f-0095-4b2f-bc61-256f405e38e8 2026-05-28 02:08:38,037 - DEBUG - Response Code: 404 2026-05-28 02:08:38,037 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-28 02:08:38,044 - DEBUG - Requesting: http://10.0.0.242:8082/domain/835cf756-9b77-471d-ab84-cb65b49d7eb9 2026-05-28 02:08:38,097 - DEBUG - Requesting: http://10.0.0.242:8082/project/12a93e1d-23cd-4cde-980f-97bfb4892d7f 2026-05-28 02:08:38,173 - INFO - Validated that VN ctest-vn-01713315 is not found in API Server 2026-05-28 02:08:38,182 - DEBUG - VN ctest-vn-01713315 is not present in Agent 10.0.0.242 2026-05-28 02:08:38,182 - INFO - Validated that VN ctest-vn-01713315 is not in any agent 2026-05-28 02:08:38,198 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01713315 info 2026-05-28 02:08:38,469 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 02:08:38,469 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-28 02:08:38,469 - INFO - -------------------------------------------------------------------------------- 2026-05-28 02:08:39,221 - INFO - Deleted project: ctest-TestBasicPolicy-62320383, ID : 12a93e1d-23cd-4cde-980f-97bfb4892d7f