2026-05-05 11:20:30,542 - INFO - Domain Default found not creating 2026-05-05 11:20:30,723 - INFO - Project ctest-TestBasicPolicy-77626367 not found, creating it 2026-05-05 11:20:31,214 - INFO - Created Project:ctest-TestBasicPolicy-77626367, ID : f2bcca68-7605-4a4d-9a06-2812a2079ccd 2026-05-05 11:20:32,711 - INFO - ================================================================================ 2026-05-05 11:20:32,711 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-05 11:20:32,711 - 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-05 11:20:32,965 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-05 11:20:32,965 - INFO - Initial checks done. Running the testcase now 2026-05-05 11:20:32,965 - INFO - 2026-05-05 11:20:33,562 - DEBUG - Response for create_network : {'network': {'id': '4043b675-45d1-4b91-8279-8df2f81b9577', 'name': 'ctest-vn-64848203', 'tenant_id': 'f2bcca6876054a4d9a062812a2079ccd', 'project_id': 'f2bcca6876054a4d9a062812a2079ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77626367', 'ctest-vn-64848203'], 'port_security_enabled': True, 'description': ''}} 2026-05-05 11:20:33,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d080a81-a8e0-4bd6-99b7-84e14cd1fdad', 'name': '', 'tenant_id': 'f2bcca6876054a4d9a062812a2079ccd', 'network_id': '4043b675-45d1-4b91-8279-8df2f81b9577', 'ip_version': 4, 'cidr': '156.74.222.64/26', 'allocation_pools': [{'start': '156.74.222.66', 'end': '156.74.222.126'}], 'gateway_ip': '156.74.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.74.222.66', 'tags': [], 'project_id': 'f2bcca6876054a4d9a062812a2079ccd'}} 2026-05-05 11:20:33,769 - INFO - Created VN ctest-vn-64848203 2026-05-05 11:20:33,823 - DEBUG - VN ctest-vn-64848203 UUID is 4043b675-45d1-4b91-8279-8df2f81b9577 2026-05-05 11:20:34,126 - DEBUG - Response for create_network : {'network': {'id': '023c4a93-53d7-49d8-834d-e9045b60c7d7', 'name': 'ctest-vn-07852231', 'tenant_id': 'f2bcca6876054a4d9a062812a2079ccd', 'project_id': 'f2bcca6876054a4d9a062812a2079ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77626367', 'ctest-vn-07852231'], 'port_security_enabled': True, 'description': ''}} 2026-05-05 11:20:34,292 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5380619-5fee-4729-b330-0c160f04950e', 'name': '', 'tenant_id': 'f2bcca6876054a4d9a062812a2079ccd', 'network_id': '023c4a93-53d7-49d8-834d-e9045b60c7d7', 'ip_version': 4, 'cidr': '164.6.64.0/26', 'allocation_pools': [{'start': '164.6.64.2', 'end': '164.6.64.62'}], 'gateway_ip': '164.6.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.6.64.2', 'tags': [], 'project_id': 'f2bcca6876054a4d9a062812a2079ccd'}} 2026-05-05 11:20:34,311 - INFO - Created VN ctest-vn-07852231 2026-05-05 11:20:34,363 - DEBUG - VN ctest-vn-07852231 UUID is 023c4a93-53d7-49d8-834d-e9045b60c7d7 2026-05-05 11:20:34,482 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77626367:ctest-vn-64848203, 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-77626367:ctest-vn-07852231, 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-05 11:20:34,786 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4043b675-45d1-4b91-8279-8df2f81b9577', 'name': 'ctest-vn-64848203', 'tenant_id': 'f2bcca6876054a4d9a062812a2079ccd', 'project_id': 'f2bcca6876054a4d9a062812a2079ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8d080a81-a8e0-4bd6-99b7-84e14cd1fdad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77626367', 'ctest-vn-64848203'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77626367', 'ctest-policy-allow-all-16283015']], 'subnet_ipam': [{'subnet_cidr': '156.74.222.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-05 11:20:35,014 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '023c4a93-53d7-49d8-834d-e9045b60c7d7', 'name': 'ctest-vn-07852231', 'tenant_id': 'f2bcca6876054a4d9a062812a2079ccd', 'project_id': 'f2bcca6876054a4d9a062812a2079ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a5380619-5fee-4729-b330-0c160f04950e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77626367', 'ctest-vn-07852231'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77626367', 'ctest-policy-allow-all-16283015']], 'subnet_ipam': [{'subnet_cidr': '164.6.64.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-05 11:20:35,191 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 11:20:35,486 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 11:20:35,519 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5e05166-0929-4b8c-b37c-e184f4a91b0c 2026-05-05 11:20:35,534 - DEBUG - Requesting: http://10.0.0.50:8082/project/f2bcca68-7605-4a4d-9a06-2812a2079ccd 2026-05-05 11:20:35,612 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4043b675-45d1-4b91-8279-8df2f81b9577 2026-05-05 11:20:35,626 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4043b675-45d1-4b91-8279-8df2f81b9577 2026-05-05 11:20:35,637 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/527042a9-5114-45c3-9c4d-62784f1cf0fc 2026-05-05 11:20:35,645 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/527042a9-5114-45c3-9c4d-62784f1cf0fc 2026-05-05 11:20:35,652 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cde366a9-246f-483b-a7b4-62df95513f19 2026-05-05 11:20:35,658 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-05 11:20:35,659 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4043b675-45d1-4b91-8279-8df2f81b9577 2026-05-05 11:20:35,669 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/527042a9-5114-45c3-9c4d-62784f1cf0fc 2026-05-05 11:20:35,684 - INFO - Verified VN network id 11 for VN 4043b675-45d1-4b91-8279-8df2f81b9577 2026-05-05 11:20:35,684 - INFO - Verifications in API Server for VN ctest-vn-64848203 passed 2026-05-05 11:20:35,684 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4043b675-45d1-4b91-8279-8df2f81b9577 2026-05-05 11:20:35,695 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/527042a9-5114-45c3-9c4d-62784f1cf0fc 2026-05-05 11:20:35,703 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/527042a9-5114-45c3-9c4d-62784f1cf0fc 2026-05-05 11:20:35,710 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cde366a9-246f-483b-a7b4-62df95513f19 2026-05-05 11:20:35,722 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77626367:ctest-vn-64848203', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77626367', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4630745456665774993', 'uuid-lslong': '9401701771796780407'}, 'enable': 'true', 'created': '2026-05-05T11:20:33', 'last-modified': '2026-05-05T11:20:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950084'} 2026-05-05 11:20:35,727 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-05 11:20:35,727 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64848203 passed 2026-05-05 11:20:35,727 - DEBUG - ====Verifying policy data for ctest-vn-64848203 in API_Server ====== 2026-05-05 11:20:35,727 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 11:20:35,733 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5e05166-0929-4b8c-b37c-e184f4a91b0c 2026-05-05 11:20:35,746 - DEBUG - Requesting: http://10.0.0.50:8082/project/f2bcca68-7605-4a4d-9a06-2812a2079ccd 2026-05-05 11:20:35,820 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4043b675-45d1-4b91-8279-8df2f81b9577 2026-05-05 11:20:35,830 - DEBUG - ==>Verifying data for policy with id: ea7db0ea-1f57-40a0-875b-991b705f195b, fqn: ['default-domain', 'ctest-TestBasicPolicy-77626367', 'ctest-policy-allow-all-16283015'] 2026-05-05 11:20:35,830 - INFO - VN ctest-vn-64848203 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-05 11:20:35,830 - DEBUG - Verifying the vn in opserver 2026-05-05 11:20:35,830 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77626367:ctest-vn-64848203 virtual network link through opserver 10.0.0.50 2026-05-05 11:20:35,830 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-05 11:20:36,122 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-05 11:20:36,188 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77626367:ctest-vn-64848203', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77626367:ctest-vn-64848203?flat'} 2026-05-05 11:20:36,189 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77626367:ctest-vn-64848203 is found in opserver 2026-05-05 11:20:36,201 - DEBUG - Do not have enough data to verify VN in agent 2026-05-05 11:20:36,207 - DEBUG - VRF ids for VN ctest-vn-64848203: {} 2026-05-05 11:20:36,207 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 11:20:36,213 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5e05166-0929-4b8c-b37c-e184f4a91b0c 2026-05-05 11:20:36,226 - DEBUG - Requesting: http://10.0.0.50:8082/project/f2bcca68-7605-4a4d-9a06-2812a2079ccd 2026-05-05 11:20:36,302 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/023c4a93-53d7-49d8-834d-e9045b60c7d7 2026-05-05 11:20:36,315 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/023c4a93-53d7-49d8-834d-e9045b60c7d7 2026-05-05 11:20:36,325 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2dfb18a8-732c-484c-b803-0b74816f0114 2026-05-05 11:20:36,334 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2dfb18a8-732c-484c-b803-0b74816f0114 2026-05-05 11:20:36,343 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/075ee65f-2bdd-47f1-b9d2-3d93d811a653 2026-05-05 11:20:36,351 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-05 11:20:36,351 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/023c4a93-53d7-49d8-834d-e9045b60c7d7 2026-05-05 11:20:36,362 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2dfb18a8-732c-484c-b803-0b74816f0114 2026-05-05 11:20:36,380 - INFO - Verified VN network id 12 for VN 023c4a93-53d7-49d8-834d-e9045b60c7d7 2026-05-05 11:20:36,380 - INFO - Verifications in API Server for VN ctest-vn-07852231 passed 2026-05-05 11:20:36,380 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/023c4a93-53d7-49d8-834d-e9045b60c7d7 2026-05-05 11:20:36,392 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2dfb18a8-732c-484c-b803-0b74816f0114 2026-05-05 11:20:36,401 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2dfb18a8-732c-484c-b803-0b74816f0114 2026-05-05 11:20:36,409 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/075ee65f-2bdd-47f1-b9d2-3d93d811a653 2026-05-05 11:20:36,422 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77626367:ctest-vn-07852231', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77626367', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '161085683305761240', 'uuid-lslong': '9461474597097490391'}, 'enable': 'true', 'created': '2026-05-05T11:20:34', 'last-modified': '2026-05-05T11:20:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.431593'} 2026-05-05 11:20:36,428 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-05 11:20:36,428 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07852231 passed 2026-05-05 11:20:36,429 - DEBUG - ====Verifying policy data for ctest-vn-07852231 in API_Server ====== 2026-05-05 11:20:36,429 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 11:20:36,436 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5e05166-0929-4b8c-b37c-e184f4a91b0c 2026-05-05 11:20:36,451 - DEBUG - Requesting: http://10.0.0.50:8082/project/f2bcca68-7605-4a4d-9a06-2812a2079ccd 2026-05-05 11:20:36,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/023c4a93-53d7-49d8-834d-e9045b60c7d7 2026-05-05 11:20:36,534 - DEBUG - ==>Verifying data for policy with id: ea7db0ea-1f57-40a0-875b-991b705f195b, fqn: ['default-domain', 'ctest-TestBasicPolicy-77626367', 'ctest-policy-allow-all-16283015'] 2026-05-05 11:20:36,534 - INFO - VN ctest-vn-07852231 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-05 11:20:36,534 - DEBUG - Verifying the vn in opserver 2026-05-05 11:20:36,534 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77626367:ctest-vn-07852231 virtual network link through opserver 10.0.0.50 2026-05-05 11:20:36,534 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-05 11:20:36,545 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77626367:ctest-vn-07852231', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77626367:ctest-vn-07852231?flat'} 2026-05-05 11:20:36,545 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77626367:ctest-vn-07852231 is found in opserver 2026-05-05 11:20:36,556 - DEBUG - Do not have enough data to verify VN in agent 2026-05-05 11:20:36,561 - DEBUG - VRF ids for VN ctest-vn-07852231: {} 2026-05-05 11:20:36,636 - DEBUG - Services list from nova: [, , ] 2026-05-05 11:20:37,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5744-1) 2026-05-05 11:20:38,967 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5744-1) 2026-05-05 11:20:38,967 - INFO - Waiting for VM ctest-TestBasicPolicy-77626367-46939182 to be up.. 2026-05-05 11:20:39,068 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-05 11:20:44,149 - DEBUG - VM is in ACTIVE state now 2026-05-05 11:20:44,150 - INFO - VM name : ctest-TestBasicPolicy-77626367-46939182 2026-05-05 11:20:44,229 - DEBUG - VM ctest-TestBasicPolicy-77626367-46939182 ID is 9750a659-ee18-40fe-b89d-eaa1ea0d30fb 2026-05-05 11:20:44,248 - DEBUG - VM ctest-TestBasicPolicy-77626367-46939182 launched on Node cn-jenkins-deploy-platform-ansible-os-5744-1 2026-05-05 11:20:44,322 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9750a659-ee18-40fe-b89d-eaa1ea0d30fb 2026-05-05 11:20:44,331 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9cd1e39c-3fe4-428e-8172-605322a80125 2026-05-05 11:20:47,599 - 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 1031ms') 2026-05-05 11:20:47,599 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77626367-46939182 failed! 2026-05-05 11:20:47,655 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77626367:ctest-vn-64848203 is 156.74.222.65 and allocation pool is NOT set 2026-05-05 11:20:49,718 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.550/5.027/7.505/2.477 ms') 2026-05-05 11:20:49,718 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77626367-46939182 passed 2026-05-05 11:20:49,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:20:49,872 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77626367-46939182, IP 156.74.222.67, Port 22 2026-05-05 11:20:50,027 - DEBUG - VM ctest-TestBasicPolicy-77626367-46939182 is ready for SSH connections 2026-05-05 11:20:50,027 - INFO - Waiting for VM ctest-TestBasicPolicy-77626367-75861623 to be up.. 2026-05-05 11:20:50,110 - DEBUG - VM is in ACTIVE state now 2026-05-05 11:20:50,110 - INFO - VM name : ctest-TestBasicPolicy-77626367-75861623 2026-05-05 11:20:50,193 - DEBUG - VM ctest-TestBasicPolicy-77626367-75861623 ID is e9aa514b-a5a0-467b-bbde-440cc043bd1d 2026-05-05 11:20:50,193 - DEBUG - VM ctest-TestBasicPolicy-77626367-75861623 launched on Node cn-jenkins-deploy-platform-ansible-os-5744-1 2026-05-05 11:20:50,276 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e9aa514b-a5a0-467b-bbde-440cc043bd1d 2026-05-05 11:20:50,285 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2df21b07-3f5e-4bdd-903a-e280c701957d 2026-05-05 11:20:51,520 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.11 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 = 1.114/2.763/4.413/1.649 ms') 2026-05-05 11:20:51,521 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77626367-75861623 passed 2026-05-05 11:20:51,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:20:51,672 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77626367-75861623, IP 164.6.64.3, Port 22 2026-05-05 11:20:51,827 - DEBUG - VM ctest-TestBasicPolicy-77626367-75861623 is ready for SSH connections 2026-05-05 11:20:51,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:20:51,828 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.6.64.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-05 11:20:51,828 - DEBUG - ping -s 56 -c 3 -W 1 164.6.64.3 2026-05-05 11:20:55,862 - DEBUG - PING 164.6.64.3 (164.6.64.3): 56 data bytes 64 bytes from 164.6.64.3: seq=0 ttl=63 time=4.122 ms 64 bytes from 164.6.64.3: seq=1 ttl=63 time=1.045 ms 64 bytes from 164.6.64.3: seq=2 ttl=63 time=0.853 ms --- 164.6.64.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/2.006/4.122 ms 2026-05-05 11:20:55,862 - INFO - Ping to IP 164.6.64.3 from VM ctest-TestBasicPolicy-77626367-46939182 passed 2026-05-05 11:20:56,039 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ea7db0ea-1f57-40a0-875b-991b705f195b", "href": "http://10.0.0.50:8082/network-policy/ea7db0ea-1f57-40a0-875b-991b705f195b"}} 2026-05-05 11:20:56,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:20:56,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.6.64.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-05 11:20:56,040 - DEBUG - ping -s 56 -c 3 -W 1 164.6.64.3 2026-05-05 11:20:59,268 - DEBUG - PING 164.6.64.3 (164.6.64.3): 56 data bytes --- 164.6.64.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-05 11:20:59,268 - WARNING - Ping to IP 164.6.64.3 from VM ctest-TestBasicPolicy-77626367-46939182 failed 2026-05-05 11:20:59,268 - INFO - Deleting VM ctest-TestBasicPolicy-77626367-75861623 2026-05-05 11:20:59,342 - INFO - Deleting VM ctest-TestBasicPolicy-77626367-46939182 2026-05-05 11:20:59,741 - INFO - Deleted policy ctest-policy-allow-all-16283015 2026-05-05 11:20:59,741 - INFO - Deleting VN ctest-vn-07852231 2026-05-05 11:20:59,782 - DEBUG - VN 023c4a93-53d7-49d8-834d-e9045b60c7d7 still in use: Unable to complete operation on network 023c4a93-53d7-49d8-834d-e9045b60c7d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-41bf5167-229e-4b97-b508-c4a4f032662f'] 2026-05-05 11:20:59,782 - WARNING - Deleting VN ctest-vn-07852231 failed..Will retry 2026-05-05 11:21:01,881 - DEBUG - Response for deleting network () 2026-05-05 11:21:01,881 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2dfb18a8-732c-484c-b803-0b74816f0114 2026-05-05 11:21:01,891 - DEBUG - Response Code: 404 2026-05-05 11:21:01,891 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 11:21:01,899 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5e05166-0929-4b8c-b37c-e184f4a91b0c 2026-05-05 11:21:01,954 - DEBUG - Requesting: http://10.0.0.50:8082/project/f2bcca68-7605-4a4d-9a06-2812a2079ccd 2026-05-05 11:21:02,027 - INFO - Validated that VN ctest-vn-07852231 is not found in API Server 2026-05-05 11:21:02,038 - DEBUG - VN ctest-vn-07852231 is not present in Agent 10.0.0.50 2026-05-05 11:21:02,038 - INFO - Validated that VN ctest-vn-07852231 is not in any agent 2026-05-05 11:21:02,052 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07852231 info 2026-05-05 11:21:02,052 - INFO - Deleting VN ctest-vn-64848203 2026-05-05 11:21:02,165 - DEBUG - Response for deleting network () 2026-05-05 11:21:02,165 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/527042a9-5114-45c3-9c4d-62784f1cf0fc 2026-05-05 11:21:02,171 - DEBUG - Response Code: 404 2026-05-05 11:21:02,172 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 11:21:02,177 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5e05166-0929-4b8c-b37c-e184f4a91b0c 2026-05-05 11:21:02,238 - DEBUG - Requesting: http://10.0.0.50:8082/project/f2bcca68-7605-4a4d-9a06-2812a2079ccd 2026-05-05 11:21:02,309 - INFO - Validated that VN ctest-vn-64848203 is not found in API Server 2026-05-05 11:21:02,317 - DEBUG - VN ctest-vn-64848203 is not present in Agent 10.0.0.50 2026-05-05 11:21:02,317 - INFO - Validated that VN ctest-vn-64848203 is not in any agent 2026-05-05 11:21:02,331 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64848203 info 2026-05-05 11:21:02,584 - DEBUG - No XMPP flaps were noticed during the test 2026-05-05 11:21:02,585 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-05-05 11:21:02,585 - INFO - -------------------------------------------------------------------------------- 2026-05-05 11:21:03,272 - INFO - Deleted project: ctest-TestBasicPolicy-77626367, ID : f2bcca68-7605-4a4d-9a06-2812a2079ccd