2026-05-11 02:21:01,219 - INFO - Domain Default found not creating 2026-05-11 02:21:01,425 - INFO - Project ctest-TestBasicPolicy-70695101 not found, creating it 2026-05-11 02:21:01,892 - INFO - Created Project:ctest-TestBasicPolicy-70695101, ID : e720b153-5b33-470a-b989-ea98596afb5e 2026-05-11 02:21:03,393 - INFO - ================================================================================ 2026-05-11 02:21:03,393 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-11 02:21:03,393 - 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-11 02:21:03,649 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2026-05-11 02:21:03,649 - INFO - Initial checks done. Running the testcase now 2026-05-11 02:21:03,649 - INFO - 2026-05-11 02:21:04,195 - DEBUG - Response for create_network : {'network': {'id': 'd3a36cf7-9205-49ce-b997-1aa50b4643a4', 'name': 'ctest-vn-43349599', 'tenant_id': 'e720b1535b33470ab989ea98596afb5e', 'project_id': 'e720b1535b33470ab989ea98596afb5e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70695101', 'ctest-vn-43349599'], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:21:04,390 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7cfe97a-0ba8-4acd-bcb9-202a90b0d8fd', 'name': '', 'tenant_id': 'e720b1535b33470ab989ea98596afb5e', 'network_id': 'd3a36cf7-9205-49ce-b997-1aa50b4643a4', 'ip_version': 4, 'cidr': '220.22.1.192/26', 'allocation_pools': [{'start': '220.22.1.194', 'end': '220.22.1.254'}], 'gateway_ip': '220.22.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.22.1.194', 'tags': [], 'project_id': 'e720b1535b33470ab989ea98596afb5e'}} 2026-05-11 02:21:04,409 - INFO - Created VN ctest-vn-43349599 2026-05-11 02:21:04,460 - DEBUG - VN ctest-vn-43349599 UUID is d3a36cf7-9205-49ce-b997-1aa50b4643a4 2026-05-11 02:21:04,759 - DEBUG - Response for create_network : {'network': {'id': '72583b57-6088-45a3-a2bf-08cc8be31e6a', 'name': 'ctest-vn-50870646', 'tenant_id': 'e720b1535b33470ab989ea98596afb5e', 'project_id': 'e720b1535b33470ab989ea98596afb5e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70695101', 'ctest-vn-50870646'], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:21:04,935 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e09c6b5-6cd8-4a81-ae76-68b50d916ec2', 'name': '', 'tenant_id': 'e720b1535b33470ab989ea98596afb5e', 'network_id': '72583b57-6088-45a3-a2bf-08cc8be31e6a', 'ip_version': 4, 'cidr': '112.106.235.64/26', 'allocation_pools': [{'start': '112.106.235.66', 'end': '112.106.235.126'}], 'gateway_ip': '112.106.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.106.235.66', 'tags': [], 'project_id': 'e720b1535b33470ab989ea98596afb5e'}} 2026-05-11 02:21:04,954 - INFO - Created VN ctest-vn-50870646 2026-05-11 02:21:05,020 - DEBUG - VN ctest-vn-50870646 UUID is 72583b57-6088-45a3-a2bf-08cc8be31e6a 2026-05-11 02:21:05,145 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70695101:ctest-vn-43349599, 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-70695101:ctest-vn-50870646, 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-11 02:21:05,434 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3a36cf7-9205-49ce-b997-1aa50b4643a4', 'name': 'ctest-vn-43349599', 'tenant_id': 'e720b1535b33470ab989ea98596afb5e', 'project_id': 'e720b1535b33470ab989ea98596afb5e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d7cfe97a-0ba8-4acd-bcb9-202a90b0d8fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70695101', 'ctest-vn-43349599'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70695101', 'ctest-policy-allow-all-28422540']], 'subnet_ipam': [{'subnet_cidr': '220.22.1.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:21:05,673 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '72583b57-6088-45a3-a2bf-08cc8be31e6a', 'name': 'ctest-vn-50870646', 'tenant_id': 'e720b1535b33470ab989ea98596afb5e', 'project_id': 'e720b1535b33470ab989ea98596afb5e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e09c6b5-6cd8-4a81-ae76-68b50d916ec2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70695101', 'ctest-vn-50870646'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70695101', 'ctest-policy-allow-all-28422540']], 'subnet_ipam': [{'subnet_cidr': '112.106.235.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:21:05,848 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-11 02:21:06,143 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-11 02:21:06,177 - DEBUG - Requesting: http://10.0.0.22:8082/domain/59bf549c-572e-4c94-b962-23595d60dcf1 2026-05-11 02:21:06,189 - DEBUG - Requesting: http://10.0.0.22:8082/project/e720b153-5b33-470a-b989-ea98596afb5e 2026-05-11 02:21:06,259 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d3a36cf7-9205-49ce-b997-1aa50b4643a4 2026-05-11 02:21:06,272 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d3a36cf7-9205-49ce-b997-1aa50b4643a4 2026-05-11 02:21:06,281 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0bb6648b-43bc-4c8c-aa7b-f095394f594d 2026-05-11 02:21:06,289 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0bb6648b-43bc-4c8c-aa7b-f095394f594d 2026-05-11 02:21:06,296 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d505b871-ec5b-4add-8ab4-cece1855ae63 2026-05-11 02:21:06,303 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-11 02:21:06,303 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d3a36cf7-9205-49ce-b997-1aa50b4643a4 2026-05-11 02:21:06,315 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0bb6648b-43bc-4c8c-aa7b-f095394f594d 2026-05-11 02:21:06,332 - INFO - Verified VN network id 12 for VN d3a36cf7-9205-49ce-b997-1aa50b4643a4 2026-05-11 02:21:06,332 - INFO - Verifications in API Server for VN ctest-vn-43349599 passed 2026-05-11 02:21:06,332 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d3a36cf7-9205-49ce-b997-1aa50b4643a4 2026-05-11 02:21:06,343 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0bb6648b-43bc-4c8c-aa7b-f095394f594d 2026-05-11 02:21:06,350 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0bb6648b-43bc-4c8c-aa7b-f095394f594d 2026-05-11 02:21:06,358 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d505b871-ec5b-4add-8ab4-cece1855ae63 2026-05-11 02:21:06,371 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70695101:ctest-vn-43349599', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70695101', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15250152573769173454', 'uuid-lslong': '13373186914661057444'}, 'enable': 'true', 'created': '2026-05-11T02:21:04', 'last-modified': '2026-05-11T02:21:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.958653'} 2026-05-11 02:21:06,378 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-11 02:21:06,378 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43349599 passed 2026-05-11 02:21:06,379 - DEBUG - ====Verifying policy data for ctest-vn-43349599 in API_Server ====== 2026-05-11 02:21:06,379 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-11 02:21:06,385 - DEBUG - Requesting: http://10.0.0.22:8082/domain/59bf549c-572e-4c94-b962-23595d60dcf1 2026-05-11 02:21:06,396 - DEBUG - Requesting: http://10.0.0.22:8082/project/e720b153-5b33-470a-b989-ea98596afb5e 2026-05-11 02:21:06,471 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d3a36cf7-9205-49ce-b997-1aa50b4643a4 2026-05-11 02:21:06,480 - DEBUG - ==>Verifying data for policy with id: 3f24884f-f007-4253-a8e3-9c5f256da5e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-70695101', 'ctest-policy-allow-all-28422540'] 2026-05-11 02:21:06,480 - INFO - VN ctest-vn-43349599 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-11 02:21:06,480 - DEBUG - Verifying the vn in opserver 2026-05-11 02:21:06,480 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70695101:ctest-vn-43349599 virtual network link through opserver 10.0.0.22 2026-05-11 02:21:06,481 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-11 02:21:06,778 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-11 02:21:06,841 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70695101:ctest-vn-43349599', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70695101:ctest-vn-43349599?flat'} 2026-05-11 02:21:06,841 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70695101:ctest-vn-43349599 is found in opserver 2026-05-11 02:21:06,851 - DEBUG - Do not have enough data to verify VN in agent 2026-05-11 02:21:06,855 - DEBUG - VRF ids for VN ctest-vn-43349599: {} 2026-05-11 02:21:06,855 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-11 02:21:06,861 - DEBUG - Requesting: http://10.0.0.22:8082/domain/59bf549c-572e-4c94-b962-23595d60dcf1 2026-05-11 02:21:06,871 - DEBUG - Requesting: http://10.0.0.22:8082/project/e720b153-5b33-470a-b989-ea98596afb5e 2026-05-11 02:21:06,941 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/72583b57-6088-45a3-a2bf-08cc8be31e6a 2026-05-11 02:21:06,952 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/72583b57-6088-45a3-a2bf-08cc8be31e6a 2026-05-11 02:21:06,962 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6012489b-19c5-401c-a441-4bd435aa4dd1 2026-05-11 02:21:06,969 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6012489b-19c5-401c-a441-4bd435aa4dd1 2026-05-11 02:21:06,975 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6d2f2672-67a5-4727-a49c-ca5c52ce1b05 2026-05-11 02:21:06,982 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-11 02:21:06,982 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/72583b57-6088-45a3-a2bf-08cc8be31e6a 2026-05-11 02:21:06,990 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6012489b-19c5-401c-a441-4bd435aa4dd1 2026-05-11 02:21:07,004 - INFO - Verified VN network id 13 for VN 72583b57-6088-45a3-a2bf-08cc8be31e6a 2026-05-11 02:21:07,004 - INFO - Verifications in API Server for VN ctest-vn-50870646 passed 2026-05-11 02:21:07,005 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/72583b57-6088-45a3-a2bf-08cc8be31e6a 2026-05-11 02:21:07,016 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6012489b-19c5-401c-a441-4bd435aa4dd1 2026-05-11 02:21:07,025 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6012489b-19c5-401c-a441-4bd435aa4dd1 2026-05-11 02:21:07,033 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6d2f2672-67a5-4727-a49c-ca5c52ce1b05 2026-05-11 02:21:07,045 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70695101:ctest-vn-50870646', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70695101', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8239400764742059427', 'uuid-lslong': '11727101629309329002'}, 'enable': 'true', 'created': '2026-05-11T02:21:04', 'last-modified': '2026-05-11T02:21:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398998'} 2026-05-11 02:21:07,053 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-11 02:21:07,053 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50870646 passed 2026-05-11 02:21:07,053 - DEBUG - ====Verifying policy data for ctest-vn-50870646 in API_Server ====== 2026-05-11 02:21:07,053 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-11 02:21:07,058 - DEBUG - Requesting: http://10.0.0.22:8082/domain/59bf549c-572e-4c94-b962-23595d60dcf1 2026-05-11 02:21:07,070 - DEBUG - Requesting: http://10.0.0.22:8082/project/e720b153-5b33-470a-b989-ea98596afb5e 2026-05-11 02:21:07,143 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/72583b57-6088-45a3-a2bf-08cc8be31e6a 2026-05-11 02:21:07,152 - DEBUG - ==>Verifying data for policy with id: 3f24884f-f007-4253-a8e3-9c5f256da5e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-70695101', 'ctest-policy-allow-all-28422540'] 2026-05-11 02:21:07,152 - INFO - VN ctest-vn-50870646 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-11 02:21:07,152 - DEBUG - Verifying the vn in opserver 2026-05-11 02:21:07,152 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70695101:ctest-vn-50870646 virtual network link through opserver 10.0.0.22 2026-05-11 02:21:07,152 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-11 02:21:07,162 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70695101:ctest-vn-50870646', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70695101:ctest-vn-50870646?flat'} 2026-05-11 02:21:07,162 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70695101:ctest-vn-50870646 is found in opserver 2026-05-11 02:21:07,171 - DEBUG - Do not have enough data to verify VN in agent 2026-05-11 02:21:07,176 - DEBUG - VRF ids for VN ctest-vn-50870646: {} 2026-05-11 02:21:07,238 - DEBUG - Services list from nova: [, , ] 2026-05-11 02:21:08,303 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5764-1) 2026-05-11 02:21:09,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5764-1) 2026-05-11 02:21:09,538 - INFO - Waiting for VM ctest-TestBasicPolicy-70695101-68077807 to be up.. 2026-05-11 02:21:09,619 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-11 02:21:14,716 - DEBUG - VM is in ACTIVE state now 2026-05-11 02:21:14,716 - INFO - VM name : ctest-TestBasicPolicy-70695101-68077807 2026-05-11 02:21:14,809 - DEBUG - VM ctest-TestBasicPolicy-70695101-68077807 ID is a901de00-d05c-4df0-b7cb-5c65398a91c9 2026-05-11 02:21:14,837 - DEBUG - VM ctest-TestBasicPolicy-70695101-68077807 launched on Node cn-jenkins-deploy-platform-ansible-os-5764-1 2026-05-11 02:21:14,919 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a901de00-d05c-4df0-b7cb-5c65398a91c9 2026-05-11 02:21:14,928 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/62a86dfd-9e03-4b1b-af67-ec06840f608d 2026-05-11 02:21:18,166 - 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 1032ms') 2026-05-11 02:21:18,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70695101-68077807 failed! 2026-05-11 02:21:18,220 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70695101:ctest-vn-43349599 is 220.22.1.193 and allocation pool is NOT set 2026-05-11 02:21:20,282 - 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=9.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.032/5.080/9.129/4.048 ms') 2026-05-11 02:21:20,282 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70695101-68077807 passed 2026-05-11 02:21:20,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:21:20,432 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70695101-68077807, IP 220.22.1.195, Port 22 2026-05-11 02:21:20,588 - DEBUG - VM ctest-TestBasicPolicy-70695101-68077807 is ready for SSH connections 2026-05-11 02:21:20,588 - INFO - Waiting for VM ctest-TestBasicPolicy-70695101-56942704 to be up.. 2026-05-11 02:21:20,681 - DEBUG - VM is in ACTIVE state now 2026-05-11 02:21:20,681 - INFO - VM name : ctest-TestBasicPolicy-70695101-56942704 2026-05-11 02:21:20,787 - DEBUG - VM ctest-TestBasicPolicy-70695101-56942704 ID is 4516118a-b17d-4027-acf9-d632c0971be4 2026-05-11 02:21:20,787 - DEBUG - VM ctest-TestBasicPolicy-70695101-56942704 launched on Node cn-jenkins-deploy-platform-ansible-os-5764-1 2026-05-11 02:21:20,872 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4516118a-b17d-4027-acf9-d632c0971be4 2026-05-11 02:21:20,881 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/785c36bd-b0b0-4257-bd3b-2f931c6affc0 2026-05-11 02:21:22,133 - 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=9.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.016/5.195/9.374/4.179 ms') 2026-05-11 02:21:22,133 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70695101-56942704 passed 2026-05-11 02:21:22,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:21:22,288 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70695101-56942704, IP 112.106.235.67, Port 22 2026-05-11 02:21:22,463 - DEBUG - VM ctest-TestBasicPolicy-70695101-56942704 is ready for SSH connections 2026-05-11 02:21:22,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:21:22,463 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.106.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-05-11 02:21:22,464 - DEBUG - ping -s 56 -c 3 -W 1 112.106.235.67 2026-05-11 02:21:26,593 - DEBUG - PING 112.106.235.67 (112.106.235.67): 56 data bytes 64 bytes from 112.106.235.67: seq=0 ttl=63 time=3.803 ms 64 bytes from 112.106.235.67: seq=1 ttl=63 time=1.625 ms 64 bytes from 112.106.235.67: seq=2 ttl=63 time=1.223 ms --- 112.106.235.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.223/2.217/3.803 ms 2026-05-11 02:21:26,593 - INFO - Ping to IP 112.106.235.67 from VM ctest-TestBasicPolicy-70695101-68077807 passed 2026-05-11 02:21:26,771 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3f24884f-f007-4253-a8e3-9c5f256da5e3", "href": "http://10.0.0.22:8082/network-policy/3f24884f-f007-4253-a8e3-9c5f256da5e3"}} 2026-05-11 02:21:26,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:21:26,772 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.106.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-05-11 02:21:26,772 - DEBUG - ping -s 56 -c 3 -W 1 112.106.235.67 2026-05-11 02:21:30,009 - DEBUG - PING 112.106.235.67 (112.106.235.67): 56 data bytes --- 112.106.235.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-11 02:21:30,009 - WARNING - Ping to IP 112.106.235.67 from VM ctest-TestBasicPolicy-70695101-68077807 failed 2026-05-11 02:21:30,010 - INFO - Deleting VM ctest-TestBasicPolicy-70695101-56942704 2026-05-11 02:21:30,102 - INFO - Deleting VM ctest-TestBasicPolicy-70695101-68077807 2026-05-11 02:21:30,547 - INFO - Deleted policy ctest-policy-allow-all-28422540 2026-05-11 02:21:30,548 - INFO - Deleting VN ctest-vn-50870646 2026-05-11 02:21:30,599 - DEBUG - VN 72583b57-6088-45a3-a2bf-08cc8be31e6a still in use: Unable to complete operation on network 72583b57-6088-45a3-a2bf-08cc8be31e6a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-583de640-c634-4574-b337-10694e4dfe13'] 2026-05-11 02:21:30,599 - WARNING - Deleting VN ctest-vn-50870646 failed..Will retry 2026-05-11 02:21:32,700 - DEBUG - Response for deleting network () 2026-05-11 02:21:32,700 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6012489b-19c5-401c-a441-4bd435aa4dd1 2026-05-11 02:21:32,709 - DEBUG - Response Code: 404 2026-05-11 02:21:32,709 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-11 02:21:32,715 - DEBUG - Requesting: http://10.0.0.22:8082/domain/59bf549c-572e-4c94-b962-23595d60dcf1 2026-05-11 02:21:32,771 - DEBUG - Requesting: http://10.0.0.22:8082/project/e720b153-5b33-470a-b989-ea98596afb5e 2026-05-11 02:21:32,846 - INFO - Validated that VN ctest-vn-50870646 is not found in API Server 2026-05-11 02:21:32,856 - DEBUG - VN ctest-vn-50870646 is not present in Agent 10.0.0.22 2026-05-11 02:21:32,856 - INFO - Validated that VN ctest-vn-50870646 is not in any agent 2026-05-11 02:21:32,870 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50870646 info 2026-05-11 02:21:32,870 - INFO - Deleting VN ctest-vn-43349599 2026-05-11 02:21:32,978 - DEBUG - Response for deleting network () 2026-05-11 02:21:32,978 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0bb6648b-43bc-4c8c-aa7b-f095394f594d 2026-05-11 02:21:32,986 - DEBUG - Response Code: 404 2026-05-11 02:21:32,986 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-11 02:21:33,002 - DEBUG - Requesting: http://10.0.0.22:8082/domain/59bf549c-572e-4c94-b962-23595d60dcf1 2026-05-11 02:21:33,058 - DEBUG - Requesting: http://10.0.0.22:8082/project/e720b153-5b33-470a-b989-ea98596afb5e 2026-05-11 02:21:33,133 - INFO - Validated that VN ctest-vn-43349599 is not found in API Server 2026-05-11 02:21:33,145 - DEBUG - VN ctest-vn-43349599 is not present in Agent 10.0.0.22 2026-05-11 02:21:33,145 - INFO - Validated that VN ctest-vn-43349599 is not in any agent 2026-05-11 02:21:33,158 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43349599 info 2026-05-11 02:21:33,428 - DEBUG - No XMPP flaps were noticed during the test 2026-05-11 02:21:33,428 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-05-11 02:21:33,428 - INFO - -------------------------------------------------------------------------------- 2026-05-11 02:21:34,122 - INFO - Deleted project: ctest-TestBasicPolicy-70695101, ID : e720b153-5b33-470a-b989-ea98596afb5e