2026-01-30 23:53:21,421 - INFO - Domain Default found not creating 2026-01-30 23:53:21,598 - INFO - Project ctest-TestBasicPolicy-53914848 not found, creating it 2026-01-30 23:53:22,069 - INFO - Created Project:ctest-TestBasicPolicy-53914848, ID : 46809d3a-3e52-474e-8a7a-1cdf68f51757 2026-01-30 23:53:23,581 - INFO - ================================================================================ 2026-01-30 23:53:23,581 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-30 23:53:23,581 - 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-01-30 23:53:23,838 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-01-30 23:53:23,838 - INFO - Initial checks done. Running the testcase now 2026-01-30 23:53:23,838 - INFO - 2026-01-30 23:53:24,397 - DEBUG - Response for create_network : {'network': {'id': '3c484bbf-74aa-420c-96ce-057ba1b4557f', 'name': 'ctest-vn-02742478', 'tenant_id': '46809d3a3e52474e8a7a1cdf68f51757', 'project_id': '46809d3a3e52474e8a7a1cdf68f51757', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53914848', 'ctest-vn-02742478'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 23:53:24,597 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e23b2854-b374-4de8-80e8-e3adc7a8a623', 'name': '', 'tenant_id': '46809d3a3e52474e8a7a1cdf68f51757', 'network_id': '3c484bbf-74aa-420c-96ce-057ba1b4557f', 'ip_version': 4, 'cidr': '77.107.55.0/26', 'allocation_pools': [{'start': '77.107.55.2', 'end': '77.107.55.62'}], 'gateway_ip': '77.107.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.107.55.2', 'tags': [], 'project_id': '46809d3a3e52474e8a7a1cdf68f51757'}} 2026-01-30 23:53:24,614 - INFO - Created VN ctest-vn-02742478 2026-01-30 23:53:24,667 - DEBUG - VN ctest-vn-02742478 UUID is 3c484bbf-74aa-420c-96ce-057ba1b4557f 2026-01-30 23:53:24,987 - DEBUG - Response for create_network : {'network': {'id': '379ecc8b-ead3-413b-a9c0-8ba4fe642957', 'name': 'ctest-vn-14842714', 'tenant_id': '46809d3a3e52474e8a7a1cdf68f51757', 'project_id': '46809d3a3e52474e8a7a1cdf68f51757', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53914848', 'ctest-vn-14842714'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 23:53:25,194 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3c97e26-53c4-47c3-919c-1aa03192455c', 'name': '', 'tenant_id': '46809d3a3e52474e8a7a1cdf68f51757', 'network_id': '379ecc8b-ead3-413b-a9c0-8ba4fe642957', 'ip_version': 4, 'cidr': '31.89.155.0/26', 'allocation_pools': [{'start': '31.89.155.2', 'end': '31.89.155.62'}], 'gateway_ip': '31.89.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.89.155.2', 'tags': [], 'project_id': '46809d3a3e52474e8a7a1cdf68f51757'}} 2026-01-30 23:53:25,213 - INFO - Created VN ctest-vn-14842714 2026-01-30 23:53:25,263 - DEBUG - VN ctest-vn-14842714 UUID is 379ecc8b-ead3-413b-a9c0-8ba4fe642957 2026-01-30 23:53:25,378 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53914848:ctest-vn-02742478, 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-53914848:ctest-vn-14842714, 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-01-30 23:53:25,661 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c484bbf-74aa-420c-96ce-057ba1b4557f', 'name': 'ctest-vn-02742478', 'tenant_id': '46809d3a3e52474e8a7a1cdf68f51757', 'project_id': '46809d3a3e52474e8a7a1cdf68f51757', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e23b2854-b374-4de8-80e8-e3adc7a8a623'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53914848', 'ctest-vn-02742478'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53914848', 'ctest-policy-allow-all-08673445']], 'subnet_ipam': [{'subnet_cidr': '77.107.55.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 23:53:25,891 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '379ecc8b-ead3-413b-a9c0-8ba4fe642957', 'name': 'ctest-vn-14842714', 'tenant_id': '46809d3a3e52474e8a7a1cdf68f51757', 'project_id': '46809d3a3e52474e8a7a1cdf68f51757', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3c97e26-53c4-47c3-919c-1aa03192455c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53914848', 'ctest-vn-14842714'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53914848', 'ctest-policy-allow-all-08673445']], 'subnet_ipam': [{'subnet_cidr': '31.89.155.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 23:53:26,063 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-30 23:53:26,360 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-30 23:53:26,392 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c0ccf4e6-a155-4ae1-816f-cca8ae38a551 2026-01-30 23:53:26,404 - DEBUG - Requesting: http://10.0.0.33:8082/project/46809d3a-3e52-474e-8a7a-1cdf68f51757 2026-01-30 23:53:26,476 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c484bbf-74aa-420c-96ce-057ba1b4557f 2026-01-30 23:53:26,486 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c484bbf-74aa-420c-96ce-057ba1b4557f 2026-01-30 23:53:26,495 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/906b0c30-9114-4aa6-8b45-546135ad4d64 2026-01-30 23:53:26,501 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/906b0c30-9114-4aa6-8b45-546135ad4d64 2026-01-30 23:53:26,507 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ccba2f21-e184-45f2-a127-10900a8ef717 2026-01-30 23:53:26,512 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 23:53:26,512 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c484bbf-74aa-420c-96ce-057ba1b4557f 2026-01-30 23:53:26,521 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/906b0c30-9114-4aa6-8b45-546135ad4d64 2026-01-30 23:53:26,533 - INFO - Verified VN network id 12 for VN 3c484bbf-74aa-420c-96ce-057ba1b4557f 2026-01-30 23:53:26,533 - INFO - Verifications in API Server for VN ctest-vn-02742478 passed 2026-01-30 23:53:26,533 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c484bbf-74aa-420c-96ce-057ba1b4557f 2026-01-30 23:53:26,541 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/906b0c30-9114-4aa6-8b45-546135ad4d64 2026-01-30 23:53:26,547 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/906b0c30-9114-4aa6-8b45-546135ad4d64 2026-01-30 23:53:26,553 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ccba2f21-e184-45f2-a127-10900a8ef717 2026-01-30 23:53:26,564 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53914848:ctest-vn-02742478', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53914848', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4343805126266995212', 'uuid-lslong': '10866628979443651967'}, 'enable': 'true', 'created': '2026-01-30T23:53:24', 'last-modified': '2026-01-30T23:53:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921996'} 2026-01-30 23:53:26,570 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 23:53:26,570 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02742478 passed 2026-01-30 23:53:26,570 - DEBUG - ====Verifying policy data for ctest-vn-02742478 in API_Server ====== 2026-01-30 23:53:26,570 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-30 23:53:26,575 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c0ccf4e6-a155-4ae1-816f-cca8ae38a551 2026-01-30 23:53:26,585 - DEBUG - Requesting: http://10.0.0.33:8082/project/46809d3a-3e52-474e-8a7a-1cdf68f51757 2026-01-30 23:53:26,655 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c484bbf-74aa-420c-96ce-057ba1b4557f 2026-01-30 23:53:26,664 - DEBUG - ==>Verifying data for policy with id: 132a20fd-5d5d-4207-8d6d-bc7e262402e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-53914848', 'ctest-policy-allow-all-08673445'] 2026-01-30 23:53:26,664 - INFO - VN ctest-vn-02742478 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 23:53:26,664 - DEBUG - Verifying the vn in opserver 2026-01-30 23:53:26,664 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53914848:ctest-vn-02742478 virtual network link through opserver 10.0.0.33 2026-01-30 23:53:26,664 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-30 23:53:26,963 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-30 23:53:27,026 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53914848:ctest-vn-02742478', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53914848:ctest-vn-02742478?flat'} 2026-01-30 23:53:27,026 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53914848:ctest-vn-02742478 is found in opserver 2026-01-30 23:53:27,037 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 23:53:27,041 - DEBUG - VRF ids for VN ctest-vn-02742478: {} 2026-01-30 23:53:27,041 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-30 23:53:27,046 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c0ccf4e6-a155-4ae1-816f-cca8ae38a551 2026-01-30 23:53:27,056 - DEBUG - Requesting: http://10.0.0.33:8082/project/46809d3a-3e52-474e-8a7a-1cdf68f51757 2026-01-30 23:53:27,126 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/379ecc8b-ead3-413b-a9c0-8ba4fe642957 2026-01-30 23:53:27,137 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/379ecc8b-ead3-413b-a9c0-8ba4fe642957 2026-01-30 23:53:27,147 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/27c00e8c-3be8-48ea-a243-9c5d1bea2b71 2026-01-30 23:53:27,154 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/27c00e8c-3be8-48ea-a243-9c5d1bea2b71 2026-01-30 23:53:27,162 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3875a36c-e11e-45b5-b21e-af0cdf216995 2026-01-30 23:53:27,169 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 23:53:27,169 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/379ecc8b-ead3-413b-a9c0-8ba4fe642957 2026-01-30 23:53:27,178 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/27c00e8c-3be8-48ea-a243-9c5d1bea2b71 2026-01-30 23:53:27,192 - INFO - Verified VN network id 13 for VN 379ecc8b-ead3-413b-a9c0-8ba4fe642957 2026-01-30 23:53:27,192 - INFO - Verifications in API Server for VN ctest-vn-14842714 passed 2026-01-30 23:53:27,192 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/379ecc8b-ead3-413b-a9c0-8ba4fe642957 2026-01-30 23:53:27,200 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/27c00e8c-3be8-48ea-a243-9c5d1bea2b71 2026-01-30 23:53:27,206 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/27c00e8c-3be8-48ea-a243-9c5d1bea2b71 2026-01-30 23:53:27,212 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3875a36c-e11e-45b5-b21e-af0cdf216995 2026-01-30 23:53:27,225 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53914848:ctest-vn-14842714', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53914848', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4007865619718553915', 'uuid-lslong': '12231930128697141591'}, 'enable': 'true', 'created': '2026-01-30T23:53:24', 'last-modified': '2026-01-30T23:53:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.354058'} 2026-01-30 23:53:27,230 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 23:53:27,230 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14842714 passed 2026-01-30 23:53:27,230 - DEBUG - ====Verifying policy data for ctest-vn-14842714 in API_Server ====== 2026-01-30 23:53:27,231 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-30 23:53:27,236 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c0ccf4e6-a155-4ae1-816f-cca8ae38a551 2026-01-30 23:53:27,248 - DEBUG - Requesting: http://10.0.0.33:8082/project/46809d3a-3e52-474e-8a7a-1cdf68f51757 2026-01-30 23:53:27,321 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/379ecc8b-ead3-413b-a9c0-8ba4fe642957 2026-01-30 23:53:27,330 - DEBUG - ==>Verifying data for policy with id: 132a20fd-5d5d-4207-8d6d-bc7e262402e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-53914848', 'ctest-policy-allow-all-08673445'] 2026-01-30 23:53:27,330 - INFO - VN ctest-vn-14842714 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 23:53:27,330 - DEBUG - Verifying the vn in opserver 2026-01-30 23:53:27,330 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53914848:ctest-vn-14842714 virtual network link through opserver 10.0.0.33 2026-01-30 23:53:27,330 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-30 23:53:27,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53914848:ctest-vn-14842714', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53914848:ctest-vn-14842714?flat'} 2026-01-30 23:53:27,341 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53914848:ctest-vn-14842714 is found in opserver 2026-01-30 23:53:27,351 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 23:53:27,356 - DEBUG - VRF ids for VN ctest-vn-14842714: {} 2026-01-30 23:53:27,418 - DEBUG - Services list from nova: [, , ] 2026-01-30 23:53:28,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5154-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5154-1) 2026-01-30 23:53:29,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5154-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5154-1) 2026-01-30 23:53:29,644 - INFO - Waiting for VM ctest-TestBasicPolicy-53914848-84961557 to be up.. 2026-01-30 23:53:29,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-30 23:53:34,823 - DEBUG - VM is in ACTIVE state now 2026-01-30 23:53:34,823 - INFO - VM name : ctest-TestBasicPolicy-53914848-84961557 2026-01-30 23:53:34,902 - DEBUG - VM ctest-TestBasicPolicy-53914848-84961557 ID is a53ab75d-c831-48df-90dd-63ca7b34f2b2 2026-01-30 23:53:34,921 - DEBUG - VM ctest-TestBasicPolicy-53914848-84961557 launched on Node cn-jenkins-deploy-platform-ansible-os-5154-1 2026-01-30 23:53:34,995 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a53ab75d-c831-48df-90dd-63ca7b34f2b2 2026-01-30 23:53:35,004 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9b4943ec-47f1-43f5-9a92-ebfaab1a4307 2026-01-30 23:53:38,266 - 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 1023ms') 2026-01-30 23:53:38,266 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53914848-84961557 failed! 2026-01-30 23:53:38,319 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53914848:ctest-vn-02742478 is 77.107.55.1 and allocation pool is NOT set 2026-01-30 23:53:40,379 - 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=8.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/4.528/8.631/4.103 ms') 2026-01-30 23:53:40,379 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53914848-84961557 passed 2026-01-30 23:53:40,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 23:53:40,527 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53914848-84961557, IP 77.107.55.3, Port 22 2026-01-30 23:53:40,705 - DEBUG - VM ctest-TestBasicPolicy-53914848-84961557 is ready for SSH connections 2026-01-30 23:53:40,705 - INFO - Waiting for VM ctest-TestBasicPolicy-53914848-64074434 to be up.. 2026-01-30 23:53:40,821 - DEBUG - VM is in ACTIVE state now 2026-01-30 23:53:40,821 - INFO - VM name : ctest-TestBasicPolicy-53914848-64074434 2026-01-30 23:53:40,958 - DEBUG - VM ctest-TestBasicPolicy-53914848-64074434 ID is f1731a5b-443a-4919-838e-079428cab87c 2026-01-30 23:53:40,958 - DEBUG - VM ctest-TestBasicPolicy-53914848-64074434 launched on Node cn-jenkins-deploy-platform-ansible-os-5154-1 2026-01-30 23:53:41,074 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f1731a5b-443a-4919-838e-079428cab87c 2026-01-30 23:53:41,090 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/69951ca2-0823-4fd5-aeb2-ad7e5286020c 2026-01-30 23:53:42,339 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.636 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 = 0.636/2.149/3.662/1.513 ms') 2026-01-30 23:53:42,339 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53914848-64074434 passed 2026-01-30 23:53:42,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 23:53:42,495 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53914848-64074434, IP 31.89.155.3, Port 22 2026-01-30 23:53:42,661 - DEBUG - VM ctest-TestBasicPolicy-53914848-64074434 is ready for SSH connections 2026-01-30 23:53:42,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 23:53:42,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.89.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-01-30 23:53:42,661 - DEBUG - ping -s 56 -c 3 -W 1 31.89.155.3 2026-01-30 23:53:46,716 - DEBUG - PING 31.89.155.3 (31.89.155.3): 56 data bytes 64 bytes from 31.89.155.3: seq=0 ttl=63 time=3.417 ms 64 bytes from 31.89.155.3: seq=1 ttl=63 time=0.933 ms 64 bytes from 31.89.155.3: seq=2 ttl=63 time=1.066 ms --- 31.89.155.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.933/1.805/3.417 ms 2026-01-30 23:53:46,716 - INFO - Ping to IP 31.89.155.3 from VM ctest-TestBasicPolicy-53914848-84961557 passed 2026-01-30 23:53:46,891 - DEBUG - Policy Update Response {"network-policy": {"uuid": "132a20fd-5d5d-4207-8d6d-bc7e262402e1", "href": "http://10.0.0.33:8082/network-policy/132a20fd-5d5d-4207-8d6d-bc7e262402e1"}} 2026-01-30 23:53:46,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 23:53:46,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.89.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-01-30 23:53:46,891 - DEBUG - ping -s 56 -c 3 -W 1 31.89.155.3 2026-01-30 23:53:50,102 - DEBUG - PING 31.89.155.3 (31.89.155.3): 56 data bytes --- 31.89.155.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-30 23:53:50,102 - WARNING - Ping to IP 31.89.155.3 from VM ctest-TestBasicPolicy-53914848-84961557 failed 2026-01-30 23:53:50,102 - INFO - Deleting VM ctest-TestBasicPolicy-53914848-64074434 2026-01-30 23:53:50,170 - INFO - Deleting VM ctest-TestBasicPolicy-53914848-84961557 2026-01-30 23:53:50,575 - INFO - Deleted policy ctest-policy-allow-all-08673445 2026-01-30 23:53:50,575 - INFO - Deleting VN ctest-vn-14842714 2026-01-30 23:53:50,617 - DEBUG - VN 379ecc8b-ead3-413b-a9c0-8ba4fe642957 still in use: Unable to complete operation on network 379ecc8b-ead3-413b-a9c0-8ba4fe642957. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a1d222f9-763c-48bc-abca-058a14e94a7e'] 2026-01-30 23:53:50,617 - WARNING - Deleting VN ctest-vn-14842714 failed..Will retry 2026-01-30 23:53:52,729 - DEBUG - Response for deleting network () 2026-01-30 23:53:52,729 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/27c00e8c-3be8-48ea-a243-9c5d1bea2b71 2026-01-30 23:53:52,737 - DEBUG - Response Code: 404 2026-01-30 23:53:52,737 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-30 23:53:52,742 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c0ccf4e6-a155-4ae1-816f-cca8ae38a551 2026-01-30 23:53:52,801 - DEBUG - Requesting: http://10.0.0.33:8082/project/46809d3a-3e52-474e-8a7a-1cdf68f51757 2026-01-30 23:53:52,866 - INFO - Validated that VN ctest-vn-14842714 is not found in API Server 2026-01-30 23:53:52,875 - DEBUG - VN ctest-vn-14842714 is not present in Agent 10.0.0.33 2026-01-30 23:53:52,875 - INFO - Validated that VN ctest-vn-14842714 is not in any agent 2026-01-30 23:53:52,890 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14842714 info 2026-01-30 23:53:52,890 - INFO - Deleting VN ctest-vn-02742478 2026-01-30 23:53:52,994 - DEBUG - Response for deleting network () 2026-01-30 23:53:52,994 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/906b0c30-9114-4aa6-8b45-546135ad4d64 2026-01-30 23:53:52,999 - DEBUG - Response Code: 404 2026-01-30 23:53:52,999 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-01-30 23:53:53,004 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c0ccf4e6-a155-4ae1-816f-cca8ae38a551 2026-01-30 23:53:53,056 - DEBUG - Requesting: http://10.0.0.33:8082/project/46809d3a-3e52-474e-8a7a-1cdf68f51757 2026-01-30 23:53:53,124 - INFO - Validated that VN ctest-vn-02742478 is not found in API Server 2026-01-30 23:53:53,132 - DEBUG - VN ctest-vn-02742478 is not present in Agent 10.0.0.33 2026-01-30 23:53:53,132 - INFO - Validated that VN ctest-vn-02742478 is not in any agent 2026-01-30 23:53:53,145 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02742478 info 2026-01-30 23:53:53,408 - DEBUG - No XMPP flaps were noticed during the test
2026-01-30 23:53:53,408 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-30 23:53:53,408 - INFO - -------------------------------------------------------------------------------- 2026-01-30 23:53:54,116 - INFO - Deleted project: ctest-TestBasicPolicy-53914848, ID : 46809d3a-3e52-474e-8a7a-1cdf68f51757