2026-02-17 13:44:29,237 - INFO - Domain Default found not creating 2026-02-17 13:44:29,406 - INFO - Project ctest-TestBasicPolicy-94017738 not found, creating it 2026-02-17 13:44:29,854 - INFO - Created Project:ctest-TestBasicPolicy-94017738, ID : 194f8c72-7fd4-4c95-b561-8a938eb40745 2026-02-17 13:44:31,273 - INFO - ================================================================================ 2026-02-17 13:44:31,273 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-17 13:44:31,274 - 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-02-17 13:44:31,538 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-02-17 13:44:31,538 - INFO - Initial checks done. Running the testcase now 2026-02-17 13:44:31,538 - INFO - 2026-02-17 13:44:32,070 - DEBUG - Response for create_network : {'network': {'id': '3b91f7fc-afc3-4c75-b0ff-439a93fedf95', 'name': 'ctest-vn-92768164', 'tenant_id': '194f8c727fd44c95b5618a938eb40745', 'project_id': '194f8c727fd44c95b5618a938eb40745', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-vn-92768164'], 'port_security_enabled': True, 'description': ''}} 2026-02-17 13:44:32,210 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7539571-be40-4de8-898a-a086480b88ba', 'name': '', 'tenant_id': '194f8c727fd44c95b5618a938eb40745', 'network_id': '3b91f7fc-afc3-4c75-b0ff-439a93fedf95', 'ip_version': 4, 'cidr': '193.36.31.0/26', 'allocation_pools': [{'start': '193.36.31.2', 'end': '193.36.31.62'}], 'gateway_ip': '193.36.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.36.31.2', 'tags': [], 'project_id': '194f8c727fd44c95b5618a938eb40745'}} 2026-02-17 13:44:32,227 - INFO - Created VN ctest-vn-92768164 2026-02-17 13:44:32,278 - DEBUG - VN ctest-vn-92768164 UUID is 3b91f7fc-afc3-4c75-b0ff-439a93fedf95 2026-02-17 13:44:32,557 - DEBUG - Response for create_network : {'network': {'id': '4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46', 'name': 'ctest-vn-27119381', 'tenant_id': '194f8c727fd44c95b5618a938eb40745', 'project_id': '194f8c727fd44c95b5618a938eb40745', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-vn-27119381'], 'port_security_enabled': True, 'description': ''}} 2026-02-17 13:44:32,728 - DEBUG - Response for create_subnet : {'subnet': {'id': '32c9fa72-be82-4d63-8497-9549bb193d82', 'name': '', 'tenant_id': '194f8c727fd44c95b5618a938eb40745', 'network_id': '4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46', 'ip_version': 4, 'cidr': '211.76.244.192/26', 'allocation_pools': [{'start': '211.76.244.194', 'end': '211.76.244.254'}], 'gateway_ip': '211.76.244.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.76.244.194', 'tags': [], 'project_id': '194f8c727fd44c95b5618a938eb40745'}} 2026-02-17 13:44:32,748 - INFO - Created VN ctest-vn-27119381 2026-02-17 13:44:32,798 - DEBUG - VN ctest-vn-27119381 UUID is 4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46 2026-02-17 13:44:32,942 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164, 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-94017738:ctest-vn-27119381, 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-02-17 13:44:33,227 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b91f7fc-afc3-4c75-b0ff-439a93fedf95', 'name': 'ctest-vn-92768164', 'tenant_id': '194f8c727fd44c95b5618a938eb40745', 'project_id': '194f8c727fd44c95b5618a938eb40745', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b7539571-be40-4de8-898a-a086480b88ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-vn-92768164'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-policy-allow-all-18720245']], 'subnet_ipam': [{'subnet_cidr': '193.36.31.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-17 13:44:33,488 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46', 'name': 'ctest-vn-27119381', 'tenant_id': '194f8c727fd44c95b5618a938eb40745', 'project_id': '194f8c727fd44c95b5618a938eb40745', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32c9fa72-be82-4d63-8497-9549bb193d82'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-vn-27119381'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-policy-allow-all-18720245']], 'subnet_ipam': [{'subnet_cidr': '211.76.244.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-17 13:44:33,635 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-17 13:44:33,940 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-17 13:44:33,972 - DEBUG - Requesting: http://10.0.0.19:8082/domain/0a990a00-a3d7-47a7-a1f1-017e3dfbdadb 2026-02-17 13:44:33,984 - DEBUG - Requesting: http://10.0.0.19:8082/project/194f8c72-7fd4-4c95-b561-8a938eb40745 2026-02-17 13:44:34,051 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b91f7fc-afc3-4c75-b0ff-439a93fedf95 2026-02-17 13:44:34,062 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b91f7fc-afc3-4c75-b0ff-439a93fedf95 2026-02-17 13:44:34,070 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7abe23b2-01dc-45a8-a1c2-0c8cf6f7162b 2026-02-17 13:44:34,076 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7abe23b2-01dc-45a8-a1c2-0c8cf6f7162b 2026-02-17 13:44:34,082 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/bfe91162-260b-469a-ae50-17638ceedae7 2026-02-17 13:44:34,088 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-17 13:44:34,089 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b91f7fc-afc3-4c75-b0ff-439a93fedf95 2026-02-17 13:44:34,097 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7abe23b2-01dc-45a8-a1c2-0c8cf6f7162b 2026-02-17 13:44:34,111 - INFO - Verified VN network id 11 for VN 3b91f7fc-afc3-4c75-b0ff-439a93fedf95 2026-02-17 13:44:34,111 - INFO - Verifications in API Server for VN ctest-vn-92768164 passed 2026-02-17 13:44:34,111 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b91f7fc-afc3-4c75-b0ff-439a93fedf95 2026-02-17 13:44:34,119 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7abe23b2-01dc-45a8-a1c2-0c8cf6f7162b 2026-02-17 13:44:34,124 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7abe23b2-01dc-45a8-a1c2-0c8cf6f7162b 2026-02-17 13:44:34,129 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/bfe91162-260b-469a-ae50-17638ceedae7 2026-02-17 13:44:34,139 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94017738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4292484584513424501', 'uuid-lslong': '12753987000923512725'}, 'enable': 'true', 'created': '2026-02-17T13:44:32', 'last-modified': '2026-02-17T13:44:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933653'} 2026-02-17 13:44:34,144 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-17 13:44:34,144 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92768164 passed 2026-02-17 13:44:34,144 - DEBUG - ====Verifying policy data for ctest-vn-92768164 in API_Server ====== 2026-02-17 13:44:34,144 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-17 13:44:34,149 - DEBUG - Requesting: http://10.0.0.19:8082/domain/0a990a00-a3d7-47a7-a1f1-017e3dfbdadb 2026-02-17 13:44:34,158 - DEBUG - Requesting: http://10.0.0.19:8082/project/194f8c72-7fd4-4c95-b561-8a938eb40745 2026-02-17 13:44:34,232 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b91f7fc-afc3-4c75-b0ff-439a93fedf95 2026-02-17 13:44:34,244 - DEBUG - ==>Verifying data for policy with id: a5c235d7-4eac-4292-875b-4a826c9d6b09, fqn: ['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-policy-allow-all-18720245'] 2026-02-17 13:44:34,244 - INFO - VN ctest-vn-92768164 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-17 13:44:34,244 - DEBUG - Verifying the vn in opserver 2026-02-17 13:44:34,244 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164 virtual network link through opserver 10.0.0.19 2026-02-17 13:44:34,244 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-17 13:44:34,541 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-17 13:44:34,601 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164?flat'} 2026-02-17 13:44:34,601 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164 is found in opserver 2026-02-17 13:44:34,610 - DEBUG - Do not have enough data to verify VN in agent 2026-02-17 13:44:34,614 - DEBUG - VRF ids for VN ctest-vn-92768164: {} 2026-02-17 13:44:34,614 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-17 13:44:34,619 - DEBUG - Requesting: http://10.0.0.19:8082/domain/0a990a00-a3d7-47a7-a1f1-017e3dfbdadb 2026-02-17 13:44:34,628 - DEBUG - Requesting: http://10.0.0.19:8082/project/194f8c72-7fd4-4c95-b561-8a938eb40745 2026-02-17 13:44:34,701 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46 2026-02-17 13:44:34,711 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46 2026-02-17 13:44:34,719 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/39f5db38-6198-47bb-9b72-73fab44da87e 2026-02-17 13:44:34,726 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/39f5db38-6198-47bb-9b72-73fab44da87e 2026-02-17 13:44:34,733 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/28ac2c63-4b2c-4e17-81ed-e0548a92e08a 2026-02-17 13:44:34,739 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-17 13:44:34,739 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46 2026-02-17 13:44:34,747 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/39f5db38-6198-47bb-9b72-73fab44da87e 2026-02-17 13:44:34,759 - INFO - Verified VN network id 12 for VN 4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46 2026-02-17 13:44:34,760 - INFO - Verifications in API Server for VN ctest-vn-27119381 passed 2026-02-17 13:44:34,760 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46 2026-02-17 13:44:34,768 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/39f5db38-6198-47bb-9b72-73fab44da87e 2026-02-17 13:44:34,774 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/39f5db38-6198-47bb-9b72-73fab44da87e 2026-02-17 13:44:34,779 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/28ac2c63-4b2c-4e17-81ed-e0548a92e08a 2026-02-17 13:44:34,789 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-27119381', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94017738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5713257168817115109', 'uuid-lslong': '12276586324167384390'}, 'enable': 'true', 'created': '2026-02-17T13:44:32', 'last-modified': '2026-02-17T13:44:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.363953'} 2026-02-17 13:44:34,794 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-17 13:44:34,794 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27119381 passed 2026-02-17 13:44:34,794 - DEBUG - ====Verifying policy data for ctest-vn-27119381 in API_Server ====== 2026-02-17 13:44:34,794 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-17 13:44:34,808 - DEBUG - Requesting: http://10.0.0.19:8082/domain/0a990a00-a3d7-47a7-a1f1-017e3dfbdadb 2026-02-17 13:44:34,819 - DEBUG - Requesting: http://10.0.0.19:8082/project/194f8c72-7fd4-4c95-b561-8a938eb40745 2026-02-17 13:44:34,886 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46 2026-02-17 13:44:34,896 - DEBUG - ==>Verifying data for policy with id: a5c235d7-4eac-4292-875b-4a826c9d6b09, fqn: ['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-policy-allow-all-18720245'] 2026-02-17 13:44:34,896 - INFO - VN ctest-vn-27119381 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-17 13:44:34,896 - DEBUG - Verifying the vn in opserver 2026-02-17 13:44:34,896 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-27119381 virtual network link through opserver 10.0.0.19 2026-02-17 13:44:34,896 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-17 13:44:34,905 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-27119381', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-27119381?flat'} 2026-02-17 13:44:34,905 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-27119381 is found in opserver 2026-02-17 13:44:34,913 - DEBUG - Do not have enough data to verify VN in agent 2026-02-17 13:44:34,917 - DEBUG - VRF ids for VN ctest-vn-27119381: {} 2026-02-17 13:44:34,976 - DEBUG - Services list from nova: [, , ] 2026-02-17 13:44:35,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5344-1) 2026-02-17 13:44:37,072 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5344-1) 2026-02-17 13:44:37,072 - INFO - Waiting for VM ctest-TestBasicPolicy-94017738-11596196 to be up.. 2026-02-17 13:44:37,156 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-17 13:44:42,230 - DEBUG - VM is in ACTIVE state now 2026-02-17 13:44:42,231 - INFO - VM name : ctest-TestBasicPolicy-94017738-11596196 2026-02-17 13:44:42,321 - DEBUG - VM ctest-TestBasicPolicy-94017738-11596196 ID is 56595acb-9b1f-42ae-aec8-3b7267131b8f 2026-02-17 13:44:42,341 - DEBUG - VM ctest-TestBasicPolicy-94017738-11596196 launched on Node cn-jenkins-deploy-platform-ansible-os-5344-1 2026-02-17 13:44:42,417 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/56595acb-9b1f-42ae-aec8-3b7267131b8f 2026-02-17 13:44:42,425 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/2875da24-a953-4382-b70c-60d87fc30217 2026-02-17 13:44:45,672 - 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 1011ms') 2026-02-17 13:44:45,672 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94017738-11596196 failed! 2026-02-17 13:44:45,726 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164 is 193.36.31.1 and allocation pool is NOT set 2026-02-17 13:44:47,785 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.03 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.032/2.919/3.806/0.887 ms') 2026-02-17 13:44:47,785 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94017738-11596196 passed 2026-02-17 13:44:47,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-17 13:44:47,934 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94017738-11596196, IP 193.36.31.3, Port 22 2026-02-17 13:44:48,098 - DEBUG - VM ctest-TestBasicPolicy-94017738-11596196 is ready for SSH connections 2026-02-17 13:44:48,098 - INFO - Waiting for VM ctest-TestBasicPolicy-94017738-38558895 to be up.. 2026-02-17 13:44:48,186 - DEBUG - VM is in ACTIVE state now 2026-02-17 13:44:48,186 - INFO - VM name : ctest-TestBasicPolicy-94017738-38558895 2026-02-17 13:44:48,262 - DEBUG - VM ctest-TestBasicPolicy-94017738-38558895 ID is 69894ff9-8b98-4008-b3d6-7e8cbb4a8de0 2026-02-17 13:44:48,262 - DEBUG - VM ctest-TestBasicPolicy-94017738-38558895 launched on Node cn-jenkins-deploy-platform-ansible-os-5344-1 2026-02-17 13:44:48,342 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/69894ff9-8b98-4008-b3d6-7e8cbb4a8de0 2026-02-17 13:44:48,353 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a2cb37f2-9ccd-412d-9e4c-bab27dcf13f1 2026-02-17 13:44:49,592 - 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=2.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.681/2.948/1.266 ms') 2026-02-17 13:44:49,592 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94017738-38558895 passed 2026-02-17 13:44:49,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-17 13:44:49,742 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94017738-38558895, IP 211.76.244.195, Port 22 2026-02-17 13:44:49,898 - DEBUG - VM ctest-TestBasicPolicy-94017738-38558895 is ready for SSH connections 2026-02-17 13:44:49,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-17 13:44:49,898 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.76.244.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-17 13:44:49,898 - DEBUG - ping -s 56 -c 3 -W 1 211.76.244.195 2026-02-17 13:44:53,933 - DEBUG - PING 211.76.244.195 (211.76.244.195): 56 data bytes 64 bytes from 211.76.244.195: seq=0 ttl=63 time=4.626 ms 64 bytes from 211.76.244.195: seq=1 ttl=63 time=1.076 ms 64 bytes from 211.76.244.195: seq=2 ttl=63 time=0.882 ms --- 211.76.244.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/2.194/4.626 ms 2026-02-17 13:44:53,933 - INFO - Ping to IP 211.76.244.195 from VM ctest-TestBasicPolicy-94017738-11596196 passed 2026-02-17 13:44:54,102 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a5c235d7-4eac-4292-875b-4a826c9d6b09", "href": "http://10.0.0.19:8082/network-policy/a5c235d7-4eac-4292-875b-4a826c9d6b09"}} 2026-02-17 13:44:54,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-17 13:44:54,102 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.76.244.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-17 13:44:54,102 - DEBUG - ping -s 56 -c 3 -W 1 211.76.244.195 2026-02-17 13:44:57,330 - DEBUG - PING 211.76.244.195 (211.76.244.195): 56 data bytes --- 211.76.244.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-17 13:44:57,330 - WARNING - Ping to IP 211.76.244.195 from VM ctest-TestBasicPolicy-94017738-11596196 failed 2026-02-17 13:44:57,330 - INFO - Deleting VM ctest-TestBasicPolicy-94017738-38558895 2026-02-17 13:44:57,393 - INFO - Deleting VM ctest-TestBasicPolicy-94017738-11596196 2026-02-17 13:44:57,749 - INFO - Deleted policy ctest-policy-allow-all-18720245 2026-02-17 13:44:57,750 - INFO - Deleting VN ctest-vn-27119381 2026-02-17 13:44:57,783 - DEBUG - VN 4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46 still in use: Unable to complete operation on network 4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18d4631b-6e85-45d2-8098-ca2ba37fb3d2'] 2026-02-17 13:44:57,783 - WARNING - Deleting VN ctest-vn-27119381 failed..Will retry 2026-02-17 13:44:59,888 - DEBUG - Response for deleting network () 2026-02-17 13:44:59,889 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/39f5db38-6198-47bb-9b72-73fab44da87e 2026-02-17 13:44:59,894 - DEBUG - Response Code: 404 2026-02-17 13:44:59,894 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-17 13:44:59,899 - DEBUG - Requesting: http://10.0.0.19:8082/domain/0a990a00-a3d7-47a7-a1f1-017e3dfbdadb 2026-02-17 13:44:59,950 - DEBUG - Requesting: http://10.0.0.19:8082/project/194f8c72-7fd4-4c95-b561-8a938eb40745 2026-02-17 13:45:00,018 - INFO - Validated that VN ctest-vn-27119381 is not found in API Server 2026-02-17 13:45:00,027 - DEBUG - VN ctest-vn-27119381 is not present in Agent 10.0.0.19 2026-02-17 13:45:00,027 - INFO - Validated that VN ctest-vn-27119381 is not in any agent 2026-02-17 13:45:00,039 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27119381 info 2026-02-17 13:45:00,040 - INFO - Deleting VN ctest-vn-92768164 2026-02-17 13:45:00,128 - DEBUG - Response for deleting network () 2026-02-17 13:45:00,128 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7abe23b2-01dc-45a8-a1c2-0c8cf6f7162b 2026-02-17 13:45:00,133 - DEBUG - Response Code: 404 2026-02-17 13:45:00,133 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-17 13:45:00,138 - DEBUG - Requesting: http://10.0.0.19:8082/domain/0a990a00-a3d7-47a7-a1f1-017e3dfbdadb 2026-02-17 13:45:00,190 - DEBUG - Requesting: http://10.0.0.19:8082/project/194f8c72-7fd4-4c95-b561-8a938eb40745 2026-02-17 13:45:00,261 - INFO - Validated that VN ctest-vn-92768164 is not found in API Server 2026-02-17 13:45:00,270 - DEBUG - VN ctest-vn-92768164 is not present in Agent 10.0.0.19 2026-02-17 13:45:00,270 - INFO - Validated that VN ctest-vn-92768164 is not in any agent 2026-02-17 13:45:00,283 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92768164 info 2026-02-17 13:45:00,544 - DEBUG - No XMPP flaps were noticed during the test
2026-02-17 13:45:00,544 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-17 13:45:00,544 - INFO - -------------------------------------------------------------------------------- 2026-02-17 13:45:01,212 - INFO - Deleted project: ctest-TestBasicPolicy-94017738, ID : 194f8c72-7fd4-4c95-b561-8a938eb40745