2026-02-13 15:52:09,836 - INFO - Domain Default found not creating 2026-02-13 15:52:10,009 - INFO - Project ctest-TestBasicPolicy-54725806 not found, creating it 2026-02-13 15:52:10,495 - INFO - Created Project:ctest-TestBasicPolicy-54725806, ID : 4b776e93-6b32-4f5c-9faf-da7a49419062 2026-02-13 15:52:12,086 - INFO - ================================================================================ 2026-02-13 15:52:12,086 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-13 15:52:12,086 - 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-13 15:52:12,345 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2026-02-13 15:52:12,345 - INFO - Initial checks done. Running the testcase now 2026-02-13 15:52:12,345 - INFO - 2026-02-13 15:52:12,930 - DEBUG - Response for create_network : {'network': {'id': '2af84a50-1c79-4ae8-9861-3d3ae02d6718', 'name': 'ctest-vn-84638312', 'tenant_id': '4b776e936b324f5c9fafda7a49419062', 'project_id': '4b776e936b324f5c9fafda7a49419062', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-vn-84638312'], 'port_security_enabled': True, 'description': ''}} 2026-02-13 15:52:13,127 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ef57fd3-f7c7-4a62-bd9f-a1af9f3910a9', 'name': '', 'tenant_id': '4b776e936b324f5c9fafda7a49419062', 'network_id': '2af84a50-1c79-4ae8-9861-3d3ae02d6718', 'ip_version': 4, 'cidr': '51.233.251.192/26', 'allocation_pools': [{'start': '51.233.251.194', 'end': '51.233.251.254'}], 'gateway_ip': '51.233.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.233.251.194', 'tags': [], 'project_id': '4b776e936b324f5c9fafda7a49419062'}} 2026-02-13 15:52:13,145 - INFO - Created VN ctest-vn-84638312 2026-02-13 15:52:13,195 - DEBUG - VN ctest-vn-84638312 UUID is 2af84a50-1c79-4ae8-9861-3d3ae02d6718 2026-02-13 15:52:13,480 - DEBUG - Response for create_network : {'network': {'id': '524954e2-5b59-4375-88a6-f562ebd2ead8', 'name': 'ctest-vn-76538422', 'tenant_id': '4b776e936b324f5c9fafda7a49419062', 'project_id': '4b776e936b324f5c9fafda7a49419062', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-vn-76538422'], 'port_security_enabled': True, 'description': ''}} 2026-02-13 15:52:13,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '845ff3fe-693c-4a29-bf22-c8a9c09e5705', 'name': '', 'tenant_id': '4b776e936b324f5c9fafda7a49419062', 'network_id': '524954e2-5b59-4375-88a6-f562ebd2ead8', 'ip_version': 4, 'cidr': '51.180.153.192/26', 'allocation_pools': [{'start': '51.180.153.194', 'end': '51.180.153.254'}], 'gateway_ip': '51.180.153.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.180.153.194', 'tags': [], 'project_id': '4b776e936b324f5c9fafda7a49419062'}} 2026-02-13 15:52:13,657 - INFO - Created VN ctest-vn-76538422 2026-02-13 15:52:13,711 - DEBUG - VN ctest-vn-76538422 UUID is 524954e2-5b59-4375-88a6-f562ebd2ead8 2026-02-13 15:52:13,827 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312, 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-54725806:ctest-vn-76538422, 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-13 15:52:14,141 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2af84a50-1c79-4ae8-9861-3d3ae02d6718', 'name': 'ctest-vn-84638312', 'tenant_id': '4b776e936b324f5c9fafda7a49419062', 'project_id': '4b776e936b324f5c9fafda7a49419062', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0ef57fd3-f7c7-4a62-bd9f-a1af9f3910a9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-vn-84638312'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-policy-allow-all-02267859']], 'subnet_ipam': [{'subnet_cidr': '51.233.251.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-13 15:52:14,367 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '524954e2-5b59-4375-88a6-f562ebd2ead8', 'name': 'ctest-vn-76538422', 'tenant_id': '4b776e936b324f5c9fafda7a49419062', 'project_id': '4b776e936b324f5c9fafda7a49419062', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['845ff3fe-693c-4a29-bf22-c8a9c09e5705'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-vn-76538422'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-policy-allow-all-02267859']], 'subnet_ipam': [{'subnet_cidr': '51.180.153.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-13 15:52:14,535 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-13 15:52:14,870 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-13 15:52:14,901 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a7a198eb-3549-4178-a90c-88c6afd240a2 2026-02-13 15:52:14,914 - DEBUG - Requesting: http://10.0.0.27:8082/project/4b776e93-6b32-4f5c-9faf-da7a49419062 2026-02-13 15:52:14,981 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2af84a50-1c79-4ae8-9861-3d3ae02d6718 2026-02-13 15:52:15,000 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2af84a50-1c79-4ae8-9861-3d3ae02d6718 2026-02-13 15:52:15,009 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/27e2e2fc-bdee-4570-b6c8-8120753ee1eb 2026-02-13 15:52:15,016 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/27e2e2fc-bdee-4570-b6c8-8120753ee1eb 2026-02-13 15:52:15,022 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b6516dd9-d038-4b1c-bd25-e9cf1a3e86fa 2026-02-13 15:52:15,028 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-13 15:52:15,028 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2af84a50-1c79-4ae8-9861-3d3ae02d6718 2026-02-13 15:52:15,037 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/27e2e2fc-bdee-4570-b6c8-8120753ee1eb 2026-02-13 15:52:15,050 - INFO - Verified VN network id 9 for VN 2af84a50-1c79-4ae8-9861-3d3ae02d6718 2026-02-13 15:52:15,050 - INFO - Verifications in API Server for VN ctest-vn-84638312 passed 2026-02-13 15:52:15,051 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2af84a50-1c79-4ae8-9861-3d3ae02d6718 2026-02-13 15:52:15,059 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/27e2e2fc-bdee-4570-b6c8-8120753ee1eb 2026-02-13 15:52:15,066 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/27e2e2fc-bdee-4570-b6c8-8120753ee1eb 2026-02-13 15:52:15,073 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b6516dd9-d038-4b1c-bd25-e9cf1a3e86fa 2026-02-13 15:52:15,086 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54725806', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3096306451752766184', 'uuid-lslong': '10980124689584449304'}, 'enable': 'true', 'created': '2026-02-13T15:52:12', 'last-modified': '2026-02-13T15:52:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.979706'} 2026-02-13 15:52:15,093 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-13 15:52:15,093 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84638312 passed 2026-02-13 15:52:15,093 - DEBUG - ====Verifying policy data for ctest-vn-84638312 in API_Server ====== 2026-02-13 15:52:15,093 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-13 15:52:15,098 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a7a198eb-3549-4178-a90c-88c6afd240a2 2026-02-13 15:52:15,110 - DEBUG - Requesting: http://10.0.0.27:8082/project/4b776e93-6b32-4f5c-9faf-da7a49419062 2026-02-13 15:52:15,183 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2af84a50-1c79-4ae8-9861-3d3ae02d6718 2026-02-13 15:52:15,192 - DEBUG - ==>Verifying data for policy with id: 81cf2fd9-74c4-48c7-98ca-982da4485d36, fqn: ['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-policy-allow-all-02267859'] 2026-02-13 15:52:15,192 - INFO - VN ctest-vn-84638312 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-13 15:52:15,192 - DEBUG - Verifying the vn in opserver 2026-02-13 15:52:15,192 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312 virtual network link through opserver 10.0.0.27 2026-02-13 15:52:15,192 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-02-13 15:52:15,526 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-02-13 15:52:15,591 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312?flat'} 2026-02-13 15:52:15,591 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312 is found in opserver 2026-02-13 15:52:15,601 - DEBUG - Do not have enough data to verify VN in agent 2026-02-13 15:52:15,605 - DEBUG - VRF ids for VN ctest-vn-84638312: {} 2026-02-13 15:52:15,605 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-13 15:52:15,610 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a7a198eb-3549-4178-a90c-88c6afd240a2 2026-02-13 15:52:15,622 - DEBUG - Requesting: http://10.0.0.27:8082/project/4b776e93-6b32-4f5c-9faf-da7a49419062 2026-02-13 15:52:15,697 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/524954e2-5b59-4375-88a6-f562ebd2ead8 2026-02-13 15:52:15,710 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/524954e2-5b59-4375-88a6-f562ebd2ead8 2026-02-13 15:52:15,720 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5c89fe59-2ecf-44bc-93ca-a1dd8aec06ac 2026-02-13 15:52:15,728 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5c89fe59-2ecf-44bc-93ca-a1dd8aec06ac 2026-02-13 15:52:15,735 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/129ce781-5416-4607-b4ed-5de956ed69e8 2026-02-13 15:52:15,743 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-13 15:52:15,743 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/524954e2-5b59-4375-88a6-f562ebd2ead8 2026-02-13 15:52:15,753 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5c89fe59-2ecf-44bc-93ca-a1dd8aec06ac 2026-02-13 15:52:15,769 - INFO - Verified VN network id 10 for VN 524954e2-5b59-4375-88a6-f562ebd2ead8 2026-02-13 15:52:15,769 - INFO - Verifications in API Server for VN ctest-vn-76538422 passed 2026-02-13 15:52:15,769 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/524954e2-5b59-4375-88a6-f562ebd2ead8 2026-02-13 15:52:15,781 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5c89fe59-2ecf-44bc-93ca-a1dd8aec06ac 2026-02-13 15:52:15,789 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5c89fe59-2ecf-44bc-93ca-a1dd8aec06ac 2026-02-13 15:52:15,798 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/129ce781-5416-4607-b4ed-5de956ed69e8 2026-02-13 15:52:15,810 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-76538422', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54725806', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5929363715581887349', 'uuid-lslong': '9846827440504236760'}, 'enable': 'true', 'created': '2026-02-13T15:52:13', 'last-modified': '2026-02-13T15:52:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.466949'} 2026-02-13 15:52:15,815 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-13 15:52:15,816 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76538422 passed 2026-02-13 15:52:15,816 - DEBUG - ====Verifying policy data for ctest-vn-76538422 in API_Server ====== 2026-02-13 15:52:15,816 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-13 15:52:15,821 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a7a198eb-3549-4178-a90c-88c6afd240a2 2026-02-13 15:52:15,832 - DEBUG - Requesting: http://10.0.0.27:8082/project/4b776e93-6b32-4f5c-9faf-da7a49419062 2026-02-13 15:52:15,900 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/524954e2-5b59-4375-88a6-f562ebd2ead8 2026-02-13 15:52:15,909 - DEBUG - ==>Verifying data for policy with id: 81cf2fd9-74c4-48c7-98ca-982da4485d36, fqn: ['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-policy-allow-all-02267859'] 2026-02-13 15:52:15,909 - INFO - VN ctest-vn-76538422 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-13 15:52:15,909 - DEBUG - Verifying the vn in opserver 2026-02-13 15:52:15,909 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-76538422 virtual network link through opserver 10.0.0.27 2026-02-13 15:52:15,909 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-02-13 15:52:15,919 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-76538422', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-76538422?flat'} 2026-02-13 15:52:15,919 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-76538422 is found in opserver 2026-02-13 15:52:15,930 - DEBUG - Do not have enough data to verify VN in agent 2026-02-13 15:52:15,934 - DEBUG - VRF ids for VN ctest-vn-76538422: {} 2026-02-13 15:52:15,992 - DEBUG - Services list from nova: [, , ] 2026-02-13 15:52:17,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5324-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5324-1) 2026-02-13 15:52:18,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5324-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5324-1) 2026-02-13 15:52:18,556 - INFO - Waiting for VM ctest-TestBasicPolicy-54725806-27784599 to be up.. 2026-02-13 15:52:18,722 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-13 15:52:23,799 - DEBUG - VM is in ACTIVE state now 2026-02-13 15:52:23,799 - INFO - VM name : ctest-TestBasicPolicy-54725806-27784599 2026-02-13 15:52:23,875 - DEBUG - VM ctest-TestBasicPolicy-54725806-27784599 ID is 312f2db3-6ea9-4fc1-b8f8-844ae101d7fd 2026-02-13 15:52:23,896 - DEBUG - VM ctest-TestBasicPolicy-54725806-27784599 launched on Node cn-jenkins-deploy-platform-ansible-os-5324-1 2026-02-13 15:52:24,001 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/312f2db3-6ea9-4fc1-b8f8-844ae101d7fd 2026-02-13 15:52:24,011 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/74d85646-c6b9-41da-8c74-bdb8d09967e0 2026-02-13 15:52:27,250 - 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 1002ms') 2026-02-13 15:52:27,250 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54725806-27784599 failed! 2026-02-13 15:52:27,308 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312 is 51.233.251.193 and allocation pool is NOT set 2026-02-13 15:52:29,364 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.895 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.895/5.529/10.163/4.634 ms') 2026-02-13 15:52:29,364 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54725806-27784599 passed 2026-02-13 15:52:29,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-13 15:52:29,515 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54725806-27784599, IP 51.233.251.195, Port 22 2026-02-13 15:52:29,675 - DEBUG - VM ctest-TestBasicPolicy-54725806-27784599 is ready for SSH connections 2026-02-13 15:52:29,676 - INFO - Waiting for VM ctest-TestBasicPolicy-54725806-97086439 to be up.. 2026-02-13 15:52:29,755 - DEBUG - VM is in ACTIVE state now 2026-02-13 15:52:29,755 - INFO - VM name : ctest-TestBasicPolicy-54725806-97086439 2026-02-13 15:52:29,955 - DEBUG - VM ctest-TestBasicPolicy-54725806-97086439 ID is 643013e2-f430-455b-b050-c150fbf91e18 2026-02-13 15:52:29,955 - DEBUG - VM ctest-TestBasicPolicy-54725806-97086439 launched on Node cn-jenkins-deploy-platform-ansible-os-5324-1 2026-02-13 15:52:30,031 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/643013e2-f430-455b-b050-c150fbf91e18 2026-02-13 15:52:30,042 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9526fa6a-0256-407d-b538-37f89b6701a3 2026-02-13 15:52:31,286 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.81 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 = 2.813/3.153/3.493/0.340 ms') 2026-02-13 15:52:31,286 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54725806-97086439 passed 2026-02-13 15:52:31,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-13 15:52:31,440 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54725806-97086439, IP 51.180.153.195, Port 22 2026-02-13 15:52:31,509 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-13 15:52:31,591 - DEBUG - VM ctest-TestBasicPolicy-54725806-97086439 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-13 15:52:36,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-13 15:52:36,592 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54725806-97086439, IP 51.180.153.195, Port 22 2026-02-13 15:52:36,751 - DEBUG - VM ctest-TestBasicPolicy-54725806-97086439 is ready for SSH connections 2026-02-13 15:52:36,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-13 15:52:36,751 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.180.153.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-13 15:52:36,751 - DEBUG - ping -s 56 -c 3 -W 1 51.180.153.195 2026-02-13 15:52:40,863 - DEBUG - PING 51.180.153.195 (51.180.153.195): 56 data bytes 64 bytes from 51.180.153.195: seq=0 ttl=63 time=4.117 ms 64 bytes from 51.180.153.195: seq=1 ttl=63 time=0.989 ms 64 bytes from 51.180.153.195: seq=2 ttl=63 time=0.850 ms --- 51.180.153.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.850/1.985/4.117 ms 2026-02-13 15:52:40,864 - INFO - Ping to IP 51.180.153.195 from VM ctest-TestBasicPolicy-54725806-27784599 passed 2026-02-13 15:52:41,051 - DEBUG - Policy Update Response {"network-policy": {"uuid": "81cf2fd9-74c4-48c7-98ca-982da4485d36", "href": "http://10.0.0.27:8082/network-policy/81cf2fd9-74c4-48c7-98ca-982da4485d36"}} 2026-02-13 15:52:41,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-13 15:52:41,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.180.153.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-13 15:52:41,052 - DEBUG - ping -s 56 -c 3 -W 1 51.180.153.195 2026-02-13 15:52:44,280 - DEBUG - PING 51.180.153.195 (51.180.153.195): 56 data bytes --- 51.180.153.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-13 15:52:44,280 - WARNING - Ping to IP 51.180.153.195 from VM ctest-TestBasicPolicy-54725806-27784599 failed 2026-02-13 15:52:44,280 - INFO - Deleting VM ctest-TestBasicPolicy-54725806-97086439 2026-02-13 15:52:44,353 - INFO - Deleting VM ctest-TestBasicPolicy-54725806-27784599 2026-02-13 15:52:44,763 - INFO - Deleted policy ctest-policy-allow-all-02267859 2026-02-13 15:52:44,764 - INFO - Deleting VN ctest-vn-76538422 2026-02-13 15:52:44,799 - DEBUG - VN 524954e2-5b59-4375-88a6-f562ebd2ead8 still in use: Unable to complete operation on network 524954e2-5b59-4375-88a6-f562ebd2ead8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1a80d04c-4ca5-4893-ac96-ae1a99c9979b'] 2026-02-13 15:52:44,799 - WARNING - Deleting VN ctest-vn-76538422 failed..Will retry 2026-02-13 15:52:46,909 - DEBUG - Response for deleting network () 2026-02-13 15:52:46,909 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5c89fe59-2ecf-44bc-93ca-a1dd8aec06ac 2026-02-13 15:52:46,914 - DEBUG - Response Code: 404 2026-02-13 15:52:46,914 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-13 15:52:46,919 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a7a198eb-3549-4178-a90c-88c6afd240a2 2026-02-13 15:52:46,974 - DEBUG - Requesting: http://10.0.0.27:8082/project/4b776e93-6b32-4f5c-9faf-da7a49419062 2026-02-13 15:52:47,051 - INFO - Validated that VN ctest-vn-76538422 is not found in API Server 2026-02-13 15:52:47,062 - DEBUG - VN ctest-vn-76538422 is not present in Agent 10.0.0.27 2026-02-13 15:52:47,062 - INFO - Validated that VN ctest-vn-76538422 is not in any agent 2026-02-13 15:52:47,076 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76538422 info 2026-02-13 15:52:47,076 - INFO - Deleting VN ctest-vn-84638312 2026-02-13 15:52:47,182 - DEBUG - Response for deleting network () 2026-02-13 15:52:47,182 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/27e2e2fc-bdee-4570-b6c8-8120753ee1eb 2026-02-13 15:52:47,189 - DEBUG - Response Code: 404 2026-02-13 15:52:47,189 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-13 15:52:47,196 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a7a198eb-3549-4178-a90c-88c6afd240a2 2026-02-13 15:52:47,249 - DEBUG - Requesting: http://10.0.0.27:8082/project/4b776e93-6b32-4f5c-9faf-da7a49419062 2026-02-13 15:52:47,321 - INFO - Validated that VN ctest-vn-84638312 is not found in API Server 2026-02-13 15:52:47,330 - DEBUG - VN ctest-vn-84638312 is not present in Agent 10.0.0.27 2026-02-13 15:52:47,330 - INFO - Validated that VN ctest-vn-84638312 is not in any agent 2026-02-13 15:52:47,343 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84638312 info 2026-02-13 15:52:47,601 - DEBUG - No XMPP flaps were noticed during the test
2026-02-13 15:52:47,601 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-13 15:52:47,601 - INFO - -------------------------------------------------------------------------------- 2026-02-13 15:52:48,322 - INFO - Deleted project: ctest-TestBasicPolicy-54725806, ID : 4b776e93-6b32-4f5c-9faf-da7a49419062