2026-06-16 10:54:47,734 - INFO - Domain Default found not creating 2026-06-16 10:54:47,910 - INFO - Project ctest-TestBasicPolicy-07752155 not found, creating it 2026-06-16 10:54:48,401 - INFO - Created Project:ctest-TestBasicPolicy-07752155, ID : 26c3d8f6-b1fd-4ae7-98c7-caeb8455efcd 2026-06-16 10:54:49,967 - INFO - ================================================================================ 2026-06-16 10:54:49,967 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-16 10:54:49,968 - 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 10:54:50,238 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-16 10:54:50,238 - INFO - Initial checks done. Running the testcase now 2026-06-16 10:54:50,238 - INFO - 2026-06-16 10:54:50,897 - DEBUG - Response for create_network : {'network': {'id': '1a103236-85a2-4d11-ac74-e93d1bf658be', 'name': 'ctest-vn-75096406', 'tenant_id': '26c3d8f6b1fd4ae798c7caeb8455efcd', 'project_id': '26c3d8f6b1fd4ae798c7caeb8455efcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07752155', 'ctest-vn-75096406'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 10:54:51,083 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa64e48c-c526-4840-81fb-602c2354f102', 'name': '', 'tenant_id': '26c3d8f6b1fd4ae798c7caeb8455efcd', 'network_id': '1a103236-85a2-4d11-ac74-e93d1bf658be', 'ip_version': 4, 'cidr': '218.89.10.0/26', 'allocation_pools': [{'start': '218.89.10.2', 'end': '218.89.10.62'}], 'gateway_ip': '218.89.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.89.10.2', 'tags': [], 'project_id': '26c3d8f6b1fd4ae798c7caeb8455efcd'}} 2026-06-16 10:54:51,098 - INFO - Created VN ctest-vn-75096406 2026-06-16 10:54:51,151 - DEBUG - VN ctest-vn-75096406 UUID is 1a103236-85a2-4d11-ac74-e93d1bf658be 2026-06-16 10:54:51,479 - DEBUG - Response for create_network : {'network': {'id': '04fd2bc8-ea05-4120-9b1c-efa7637efffc', 'name': 'ctest-vn-04385359', 'tenant_id': '26c3d8f6b1fd4ae798c7caeb8455efcd', 'project_id': '26c3d8f6b1fd4ae798c7caeb8455efcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07752155', 'ctest-vn-04385359'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 10:54:51,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '8560a842-8ccb-4965-9535-8ff89bb04aec', 'name': '', 'tenant_id': '26c3d8f6b1fd4ae798c7caeb8455efcd', 'network_id': '04fd2bc8-ea05-4120-9b1c-efa7637efffc', 'ip_version': 4, 'cidr': '85.190.109.192/26', 'allocation_pools': [{'start': '85.190.109.194', 'end': '85.190.109.254'}], 'gateway_ip': '85.190.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.190.109.194', 'tags': [], 'project_id': '26c3d8f6b1fd4ae798c7caeb8455efcd'}} 2026-06-16 10:54:51,720 - INFO - Created VN ctest-vn-04385359 2026-06-16 10:54:51,771 - DEBUG - VN ctest-vn-04385359 UUID is 04fd2bc8-ea05-4120-9b1c-efa7637efffc 2026-06-16 10:54:51,883 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07752155:ctest-vn-75096406, 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-07752155:ctest-vn-04385359, 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 10:54:52,224 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1a103236-85a2-4d11-ac74-e93d1bf658be', 'name': 'ctest-vn-75096406', 'tenant_id': '26c3d8f6b1fd4ae798c7caeb8455efcd', 'project_id': '26c3d8f6b1fd4ae798c7caeb8455efcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa64e48c-c526-4840-81fb-602c2354f102'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07752155', 'ctest-vn-75096406'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07752155', 'ctest-policy-allow-all-44004601']], 'subnet_ipam': [{'subnet_cidr': '218.89.10.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-16 10:54:52,463 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '04fd2bc8-ea05-4120-9b1c-efa7637efffc', 'name': 'ctest-vn-04385359', 'tenant_id': '26c3d8f6b1fd4ae798c7caeb8455efcd', 'project_id': '26c3d8f6b1fd4ae798c7caeb8455efcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8560a842-8ccb-4965-9535-8ff89bb04aec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07752155', 'ctest-vn-04385359'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07752155', 'ctest-policy-allow-all-44004601']], 'subnet_ipam': [{'subnet_cidr': '85.190.109.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-16 10:54:52,627 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 10:54:52,956 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 10:54:52,991 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d144f4fc-0984-409e-b738-0f5352836e54 2026-06-16 10:54:53,003 - DEBUG - Requesting: http://10.0.0.50:8082/project/26c3d8f6-b1fd-4ae7-98c7-caeb8455efcd 2026-06-16 10:54:53,079 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1a103236-85a2-4d11-ac74-e93d1bf658be 2026-06-16 10:54:53,097 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1a103236-85a2-4d11-ac74-e93d1bf658be 2026-06-16 10:54:53,115 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3477953f-1e30-4df5-97f6-cfc5d37a6de2 2026-06-16 10:54:53,125 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3477953f-1e30-4df5-97f6-cfc5d37a6de2 2026-06-16 10:54:53,134 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d14a6f66-3d73-47e1-831b-ff34fedc7c05 2026-06-16 10:54:53,141 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-16 10:54:53,142 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1a103236-85a2-4d11-ac74-e93d1bf658be 2026-06-16 10:54:53,154 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3477953f-1e30-4df5-97f6-cfc5d37a6de2 2026-06-16 10:54:53,173 - INFO - Verified VN network id 9 for VN 1a103236-85a2-4d11-ac74-e93d1bf658be 2026-06-16 10:54:53,173 - INFO - Verifications in API Server for VN ctest-vn-75096406 passed 2026-06-16 10:54:53,173 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1a103236-85a2-4d11-ac74-e93d1bf658be 2026-06-16 10:54:53,184 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3477953f-1e30-4df5-97f6-cfc5d37a6de2 2026-06-16 10:54:53,191 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3477953f-1e30-4df5-97f6-cfc5d37a6de2 2026-06-16 10:54:53,200 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d14a6f66-3d73-47e1-831b-ff34fedc7c05 2026-06-16 10:54:53,215 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07752155:ctest-vn-75096406', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07752155', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1878056254365125905', 'uuid-lslong': '12426813720493447358'}, 'enable': 'true', 'created': '2026-06-16T10:54:50', 'last-modified': '2026-06-16T10:54:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.026808'} 2026-06-16 10:54:53,223 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-16 10:54:53,223 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75096406 passed 2026-06-16 10:54:53,223 - DEBUG - ====Verifying policy data for ctest-vn-75096406 in API_Server ====== 2026-06-16 10:54:53,223 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 10:54:53,232 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d144f4fc-0984-409e-b738-0f5352836e54 2026-06-16 10:54:53,243 - DEBUG - Requesting: http://10.0.0.50:8082/project/26c3d8f6-b1fd-4ae7-98c7-caeb8455efcd 2026-06-16 10:54:53,314 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1a103236-85a2-4d11-ac74-e93d1bf658be 2026-06-16 10:54:53,325 - DEBUG - ==>Verifying data for policy with id: 4e0fbcad-7c45-41b8-a575-22c7efcc136e, fqn: ['default-domain', 'ctest-TestBasicPolicy-07752155', 'ctest-policy-allow-all-44004601'] 2026-06-16 10:54:53,325 - INFO - VN ctest-vn-75096406 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-16 10:54:53,325 - DEBUG - Verifying the vn in opserver 2026-06-16 10:54:53,325 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07752155:ctest-vn-75096406 virtual network link through opserver 10.0.0.50 2026-06-16 10:54:53,325 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-16 10:54:53,664 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-16 10:54:53,736 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07752155:ctest-vn-75096406', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07752155:ctest-vn-75096406?flat'} 2026-06-16 10:54:53,736 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07752155:ctest-vn-75096406 is found in opserver 2026-06-16 10:54:53,748 - DEBUG - Do not have enough data to verify VN in agent 2026-06-16 10:54:53,753 - DEBUG - VRF ids for VN ctest-vn-75096406: {} 2026-06-16 10:54:53,753 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 10:54:53,759 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d144f4fc-0984-409e-b738-0f5352836e54 2026-06-16 10:54:53,769 - DEBUG - Requesting: http://10.0.0.50:8082/project/26c3d8f6-b1fd-4ae7-98c7-caeb8455efcd 2026-06-16 10:54:53,838 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/04fd2bc8-ea05-4120-9b1c-efa7637efffc 2026-06-16 10:54:53,849 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/04fd2bc8-ea05-4120-9b1c-efa7637efffc 2026-06-16 10:54:53,858 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8e036e9-b281-49e4-946f-3bfd02082c7c 2026-06-16 10:54:53,865 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8e036e9-b281-49e4-946f-3bfd02082c7c 2026-06-16 10:54:53,872 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/00da6651-1cbc-4808-83b5-3703117e8001 2026-06-16 10:54:53,880 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-16 10:54:53,880 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/04fd2bc8-ea05-4120-9b1c-efa7637efffc 2026-06-16 10:54:53,888 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8e036e9-b281-49e4-946f-3bfd02082c7c 2026-06-16 10:54:53,905 - INFO - Verified VN network id 10 for VN 04fd2bc8-ea05-4120-9b1c-efa7637efffc 2026-06-16 10:54:53,905 - INFO - Verifications in API Server for VN ctest-vn-04385359 passed 2026-06-16 10:54:53,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/04fd2bc8-ea05-4120-9b1c-efa7637efffc 2026-06-16 10:54:53,914 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8e036e9-b281-49e4-946f-3bfd02082c7c 2026-06-16 10:54:53,922 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8e036e9-b281-49e4-946f-3bfd02082c7c 2026-06-16 10:54:53,930 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/00da6651-1cbc-4808-83b5-3703117e8001 2026-06-16 10:54:53,943 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07752155:ctest-vn-04385359', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07752155', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '359491687179174176', 'uuid-lslong': '11177071877434572796'}, 'enable': 'true', 'created': '2026-06-16T10:54:51', 'last-modified': '2026-06-16T10:54:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.509481'} 2026-06-16 10:54:53,952 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-16 10:54:53,952 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04385359 passed 2026-06-16 10:54:53,952 - DEBUG - ====Verifying policy data for ctest-vn-04385359 in API_Server ====== 2026-06-16 10:54:53,952 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 10:54:53,958 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d144f4fc-0984-409e-b738-0f5352836e54 2026-06-16 10:54:53,970 - DEBUG - Requesting: http://10.0.0.50:8082/project/26c3d8f6-b1fd-4ae7-98c7-caeb8455efcd 2026-06-16 10:54:54,043 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/04fd2bc8-ea05-4120-9b1c-efa7637efffc 2026-06-16 10:54:54,053 - DEBUG - ==>Verifying data for policy with id: 4e0fbcad-7c45-41b8-a575-22c7efcc136e, fqn: ['default-domain', 'ctest-TestBasicPolicy-07752155', 'ctest-policy-allow-all-44004601'] 2026-06-16 10:54:54,053 - INFO - VN ctest-vn-04385359 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-16 10:54:54,053 - DEBUG - Verifying the vn in opserver 2026-06-16 10:54:54,054 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07752155:ctest-vn-04385359 virtual network link through opserver 10.0.0.50 2026-06-16 10:54:54,054 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-16 10:54:54,065 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07752155:ctest-vn-04385359', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07752155:ctest-vn-04385359?flat'} 2026-06-16 10:54:54,065 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07752155:ctest-vn-04385359 is found in opserver 2026-06-16 10:54:54,083 - DEBUG - Do not have enough data to verify VN in agent 2026-06-16 10:54:54,090 - DEBUG - VRF ids for VN ctest-vn-04385359: {} 2026-06-16 10:54:54,161 - DEBUG - Services list from nova: [, , ] 2026-06-16 10:54:55,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5951-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5951-1) 2026-06-16 10:54:56,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5951-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5951-1) 2026-06-16 10:54:56,729 - INFO - Waiting for VM ctest-TestBasicPolicy-07752155-55243091 to be up.. 2026-06-16 10:54:56,810 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 10:55:01,898 - DEBUG - VM is in ACTIVE state now 2026-06-16 10:55:01,898 - INFO - VM name : ctest-TestBasicPolicy-07752155-55243091 2026-06-16 10:55:01,986 - DEBUG - VM ctest-TestBasicPolicy-07752155-55243091 ID is 9ba66c69-a707-44b7-ba0a-963404b530a6 2026-06-16 10:55:02,011 - DEBUG - VM ctest-TestBasicPolicy-07752155-55243091 launched on Node cn-jenkins-deploy-platform-ansible-os-5951-1 2026-06-16 10:55:02,090 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9ba66c69-a707-44b7-ba0a-963404b530a6 2026-06-16 10:55:02,101 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f974b8ac-5aeb-4464-ad85-76af5d63a5fc 2026-06-16 10:55:05,374 - 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 1022ms') 2026-06-16 10:55:05,375 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07752155-55243091 failed! 2026-06-16 10:55:05,427 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07752155:ctest-vn-75096406 is 218.89.10.1 and allocation pool is NOT set 2026-06-16 10:55:07,495 - 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=3.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.375 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 = 0.375/1.912/3.449/1.537 ms') 2026-06-16 10:55:07,495 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07752155-55243091 passed 2026-06-16 10:55:07,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 10:55:07,647 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07752155-55243091, IP 218.89.10.3, Port 22 2026-06-16 10:55:07,802 - DEBUG - VM ctest-TestBasicPolicy-07752155-55243091 is ready for SSH connections 2026-06-16 10:55:07,802 - INFO - Waiting for VM ctest-TestBasicPolicy-07752155-12738644 to be up.. 2026-06-16 10:55:07,878 - DEBUG - VM is in ACTIVE state now 2026-06-16 10:55:07,878 - INFO - VM name : ctest-TestBasicPolicy-07752155-12738644 2026-06-16 10:55:07,956 - DEBUG - VM ctest-TestBasicPolicy-07752155-12738644 ID is 22506be1-2fa7-4d25-8e6d-b92a4ee73821 2026-06-16 10:55:07,956 - DEBUG - VM ctest-TestBasicPolicy-07752155-12738644 launched on Node cn-jenkins-deploy-platform-ansible-os-5951-1 2026-06-16 10:55:08,027 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/22506be1-2fa7-4d25-8e6d-b92a4ee73821 2026-06-16 10:55:08,035 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9b0cef8f-d134-4a58-aa4f-46f9143d0e50 2026-06-16 10:55:09,273 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 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.457/1.855/3.254/1.398 ms') 2026-06-16 10:55:09,273 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07752155-12738644 passed 2026-06-16 10:55:09,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 10:55:09,423 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07752155-12738644, IP 85.190.109.195, Port 22 2026-06-16 10:55:09,578 - DEBUG - VM ctest-TestBasicPolicy-07752155-12738644 is ready for SSH connections 2026-06-16 10:55:09,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 10:55:09,578 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.190.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-16 10:55:09,578 - DEBUG - ping -s 56 -c 3 -W 1 85.190.109.195 2026-06-16 10:55:13,546 - DEBUG - PING 85.190.109.195 (85.190.109.195): 56 data bytes 64 bytes from 85.190.109.195: seq=0 ttl=63 time=3.360 ms 64 bytes from 85.190.109.195: seq=1 ttl=63 time=0.911 ms 64 bytes from 85.190.109.195: seq=2 ttl=63 time=1.266 ms --- 85.190.109.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/1.845/3.360 ms 2026-06-16 10:55:13,546 - INFO - Ping to IP 85.190.109.195 from VM ctest-TestBasicPolicy-07752155-55243091 passed 2026-06-16 10:55:13,727 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4e0fbcad-7c45-41b8-a575-22c7efcc136e", "href": "http://10.0.0.50:8082/network-policy/4e0fbcad-7c45-41b8-a575-22c7efcc136e"}} 2026-06-16 10:55:13,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 10:55:13,727 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.190.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-16 10:55:13,727 - DEBUG - ping -s 56 -c 3 -W 1 85.190.109.195 2026-06-16 10:55:16,863 - DEBUG - PING 85.190.109.195 (85.190.109.195): 56 data bytes --- 85.190.109.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-16 10:55:16,863 - WARNING - Ping to IP 85.190.109.195 from VM ctest-TestBasicPolicy-07752155-55243091 failed 2026-06-16 10:55:16,863 - INFO - Deleting VM ctest-TestBasicPolicy-07752155-12738644 2026-06-16 10:55:16,935 - INFO - Deleting VM ctest-TestBasicPolicy-07752155-55243091 2026-06-16 10:55:17,316 - INFO - Deleted policy ctest-policy-allow-all-44004601 2026-06-16 10:55:17,316 - INFO - Deleting VN ctest-vn-04385359 2026-06-16 10:55:17,364 - DEBUG - VN 04fd2bc8-ea05-4120-9b1c-efa7637efffc still in use: Unable to complete operation on network 04fd2bc8-ea05-4120-9b1c-efa7637efffc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-57dd8a9d-2999-47bc-951d-9343cc8f3c1e'] 2026-06-16 10:55:17,364 - WARNING - Deleting VN ctest-vn-04385359 failed..Will retry 2026-06-16 10:55:19,473 - DEBUG - Response for deleting network () 2026-06-16 10:55:19,473 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8e036e9-b281-49e4-946f-3bfd02082c7c 2026-06-16 10:55:19,479 - DEBUG - Response Code: 404 2026-06-16 10:55:19,479 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 10:55:19,485 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d144f4fc-0984-409e-b738-0f5352836e54 2026-06-16 10:55:19,536 - DEBUG - Requesting: http://10.0.0.50:8082/project/26c3d8f6-b1fd-4ae7-98c7-caeb8455efcd 2026-06-16 10:55:19,605 - INFO - Validated that VN ctest-vn-04385359 is not found in API Server 2026-06-16 10:55:19,615 - DEBUG - VN ctest-vn-04385359 is not present in Agent 10.0.0.50 2026-06-16 10:55:19,615 - INFO - Validated that VN ctest-vn-04385359 is not in any agent 2026-06-16 10:55:19,629 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04385359 info 2026-06-16 10:55:19,630 - INFO - Deleting VN ctest-vn-75096406 2026-06-16 10:55:19,725 - DEBUG - Response for deleting network () 2026-06-16 10:55:19,725 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3477953f-1e30-4df5-97f6-cfc5d37a6de2 2026-06-16 10:55:19,731 - DEBUG - Response Code: 404 2026-06-16 10:55:19,732 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 10:55:19,738 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d144f4fc-0984-409e-b738-0f5352836e54 2026-06-16 10:55:19,791 - DEBUG - Requesting: http://10.0.0.50:8082/project/26c3d8f6-b1fd-4ae7-98c7-caeb8455efcd 2026-06-16 10:55:19,860 - INFO - Validated that VN ctest-vn-75096406 is not found in API Server 2026-06-16 10:55:19,872 - DEBUG - VN ctest-vn-75096406 is not present in Agent 10.0.0.50 2026-06-16 10:55:19,872 - INFO - Validated that VN ctest-vn-75096406 is not in any agent 2026-06-16 10:55:19,892 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75096406 info 2026-06-16 10:55:20,169 - DEBUG - No XMPP flaps were noticed during the test 2026-06-16 10:55:20,169 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2026-06-16 10:55:20,169 - INFO - -------------------------------------------------------------------------------- 2026-06-16 10:55:20,874 - INFO - Deleted project: ctest-TestBasicPolicy-07752155, ID : 26c3d8f6-b1fd-4ae7-98c7-caeb8455efcd