2026-05-20 14:13:11,980 - INFO - Domain Default found not creating 2026-05-20 14:13:12,196 - INFO - Project ctest-TestBasicPolicy-62052151 not found, creating it 2026-05-20 14:13:12,698 - INFO - Created Project:ctest-TestBasicPolicy-62052151, ID : 13c1a5d4-3db3-4922-b8ca-815b5d3931bb 2026-05-20 14:13:14,352 - INFO - ================================================================================ 2026-05-20 14:13:14,352 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-20 14:13:14,352 - 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-20 14:13:14,616 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.17': '0'}} with 2026-05-20 14:13:14,616 - INFO - Initial checks done. Running the testcase now 2026-05-20 14:13:14,616 - INFO - 2026-05-20 14:13:15,206 - DEBUG - Response for create_network : {'network': {'id': 'c68cc86d-7238-48cf-b7a1-4cf04bc2147c', 'name': 'ctest-vn-78041589', 'tenant_id': '13c1a5d43db34922b8ca815b5d3931bb', 'project_id': '13c1a5d43db34922b8ca815b5d3931bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62052151', 'ctest-vn-78041589'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:13:15,439 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df3f0a8f-6616-481d-b009-14598277ecc2', 'name': '', 'tenant_id': '13c1a5d43db34922b8ca815b5d3931bb', 'network_id': 'c68cc86d-7238-48cf-b7a1-4cf04bc2147c', 'ip_version': 4, 'cidr': '4.191.245.128/26', 'allocation_pools': [{'start': '4.191.245.130', 'end': '4.191.245.190'}], 'gateway_ip': '4.191.245.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.191.245.130', 'tags': [], 'project_id': '13c1a5d43db34922b8ca815b5d3931bb'}} 2026-05-20 14:13:15,460 - INFO - Created VN ctest-vn-78041589 2026-05-20 14:13:15,518 - DEBUG - VN ctest-vn-78041589 UUID is c68cc86d-7238-48cf-b7a1-4cf04bc2147c 2026-05-20 14:13:15,831 - DEBUG - Response for create_network : {'network': {'id': '9da4ee79-1780-417d-bda6-1edb0902eef7', 'name': 'ctest-vn-57275111', 'tenant_id': '13c1a5d43db34922b8ca815b5d3931bb', 'project_id': '13c1a5d43db34922b8ca815b5d3931bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62052151', 'ctest-vn-57275111'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:13:15,993 - DEBUG - Response for create_subnet : {'subnet': {'id': '469326a8-126f-4216-909a-32bf43485bf6', 'name': '', 'tenant_id': '13c1a5d43db34922b8ca815b5d3931bb', 'network_id': '9da4ee79-1780-417d-bda6-1edb0902eef7', 'ip_version': 4, 'cidr': '116.57.155.64/26', 'allocation_pools': [{'start': '116.57.155.66', 'end': '116.57.155.126'}], 'gateway_ip': '116.57.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.57.155.66', 'tags': [], 'project_id': '13c1a5d43db34922b8ca815b5d3931bb'}} 2026-05-20 14:13:16,014 - INFO - Created VN ctest-vn-57275111 2026-05-20 14:13:16,066 - DEBUG - VN ctest-vn-57275111 UUID is 9da4ee79-1780-417d-bda6-1edb0902eef7 2026-05-20 14:13:16,185 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62052151:ctest-vn-78041589, 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-62052151:ctest-vn-57275111, 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-20 14:13:16,484 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c68cc86d-7238-48cf-b7a1-4cf04bc2147c', 'name': 'ctest-vn-78041589', 'tenant_id': '13c1a5d43db34922b8ca815b5d3931bb', 'project_id': '13c1a5d43db34922b8ca815b5d3931bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['df3f0a8f-6616-481d-b009-14598277ecc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62052151', 'ctest-vn-78041589'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62052151', 'ctest-policy-allow-all-07618365']], 'subnet_ipam': [{'subnet_cidr': '4.191.245.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:13:16,712 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9da4ee79-1780-417d-bda6-1edb0902eef7', 'name': 'ctest-vn-57275111', 'tenant_id': '13c1a5d43db34922b8ca815b5d3931bb', 'project_id': '13c1a5d43db34922b8ca815b5d3931bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['469326a8-126f-4216-909a-32bf43485bf6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62052151', 'ctest-vn-57275111'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62052151', 'ctest-policy-allow-all-07618365']], 'subnet_ipam': [{'subnet_cidr': '116.57.155.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:13:16,890 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-05-20 14:13:17,191 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-05-20 14:13:17,224 - DEBUG - Requesting: http://10.0.0.240:8082/domain/a4266347-02a7-4b0f-b19b-2b30b5e370d6 2026-05-20 14:13:17,238 - DEBUG - Requesting: http://10.0.0.240:8082/project/13c1a5d4-3db3-4922-b8ca-815b5d3931bb 2026-05-20 14:13:17,314 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/c68cc86d-7238-48cf-b7a1-4cf04bc2147c 2026-05-20 14:13:17,327 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/c68cc86d-7238-48cf-b7a1-4cf04bc2147c 2026-05-20 14:13:17,337 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a73683ff-1235-464f-89ea-77f5f4a72914 2026-05-20 14:13:17,347 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a73683ff-1235-464f-89ea-77f5f4a72914 2026-05-20 14:13:17,355 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/ded110dd-0879-4724-80a9-cfaa52b3e3b7 2026-05-20 14:13:17,365 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-20 14:13:17,365 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/c68cc86d-7238-48cf-b7a1-4cf04bc2147c 2026-05-20 14:13:17,375 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a73683ff-1235-464f-89ea-77f5f4a72914 2026-05-20 14:13:17,391 - INFO - Verified VN network id 12 for VN c68cc86d-7238-48cf-b7a1-4cf04bc2147c 2026-05-20 14:13:17,391 - INFO - Verifications in API Server for VN ctest-vn-78041589 passed 2026-05-20 14:13:17,391 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/c68cc86d-7238-48cf-b7a1-4cf04bc2147c 2026-05-20 14:13:17,401 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a73683ff-1235-464f-89ea-77f5f4a72914 2026-05-20 14:13:17,408 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a73683ff-1235-464f-89ea-77f5f4a72914 2026-05-20 14:13:17,416 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/ded110dd-0879-4724-80a9-cfaa52b3e3b7 2026-05-20 14:13:17,430 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62052151:ctest-vn-78041589', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62052151', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14307030488642504911', 'uuid-lslong': '13231941775138100348'}, 'enable': 'true', 'created': '2026-05-20T14:13:15', 'last-modified': '2026-05-20T14:13:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.965158'} 2026-05-20 14:13:17,438 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-20 14:13:17,438 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78041589 passed 2026-05-20 14:13:17,439 - DEBUG - ====Verifying policy data for ctest-vn-78041589 in API_Server ====== 2026-05-20 14:13:17,439 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-05-20 14:13:17,446 - DEBUG - Requesting: http://10.0.0.240:8082/domain/a4266347-02a7-4b0f-b19b-2b30b5e370d6 2026-05-20 14:13:17,457 - DEBUG - Requesting: http://10.0.0.240:8082/project/13c1a5d4-3db3-4922-b8ca-815b5d3931bb 2026-05-20 14:13:17,532 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/c68cc86d-7238-48cf-b7a1-4cf04bc2147c 2026-05-20 14:13:17,543 - DEBUG - ==>Verifying data for policy with id: a258601a-1e5b-48a1-9ed4-d0ca8d7254ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-62052151', 'ctest-policy-allow-all-07618365'] 2026-05-20 14:13:17,543 - INFO - VN ctest-vn-78041589 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-20 14:13:17,543 - DEBUG - Verifying the vn in opserver 2026-05-20 14:13:17,543 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62052151:ctest-vn-78041589 virtual network link through opserver 10.0.0.240 2026-05-20 14:13:17,543 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-05-20 14:13:17,850 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-05-20 14:13:17,927 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62052151:ctest-vn-78041589', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62052151:ctest-vn-78041589?flat'} 2026-05-20 14:13:17,927 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62052151:ctest-vn-78041589 is found in opserver 2026-05-20 14:13:17,940 - DEBUG - Do not have enough data to verify VN in agent 2026-05-20 14:13:17,945 - DEBUG - VRF ids for VN ctest-vn-78041589: {} 2026-05-20 14:13:17,945 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-05-20 14:13:17,952 - DEBUG - Requesting: http://10.0.0.240:8082/domain/a4266347-02a7-4b0f-b19b-2b30b5e370d6 2026-05-20 14:13:17,969 - DEBUG - Requesting: http://10.0.0.240:8082/project/13c1a5d4-3db3-4922-b8ca-815b5d3931bb 2026-05-20 14:13:18,047 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/9da4ee79-1780-417d-bda6-1edb0902eef7 2026-05-20 14:13:18,063 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/9da4ee79-1780-417d-bda6-1edb0902eef7 2026-05-20 14:13:18,074 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0616c9a4-e865-4942-891a-54136ca8f4fd 2026-05-20 14:13:18,084 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0616c9a4-e865-4942-891a-54136ca8f4fd 2026-05-20 14:13:18,094 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/33fa5b8e-9085-4542-b087-784a4826f3f7 2026-05-20 14:13:18,101 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-20 14:13:18,101 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/9da4ee79-1780-417d-bda6-1edb0902eef7 2026-05-20 14:13:18,111 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0616c9a4-e865-4942-891a-54136ca8f4fd 2026-05-20 14:13:18,127 - INFO - Verified VN network id 13 for VN 9da4ee79-1780-417d-bda6-1edb0902eef7 2026-05-20 14:13:18,128 - INFO - Verifications in API Server for VN ctest-vn-57275111 passed 2026-05-20 14:13:18,128 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/9da4ee79-1780-417d-bda6-1edb0902eef7 2026-05-20 14:13:18,140 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0616c9a4-e865-4942-891a-54136ca8f4fd 2026-05-20 14:13:18,152 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0616c9a4-e865-4942-891a-54136ca8f4fd 2026-05-20 14:13:18,163 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/33fa5b8e-9085-4542-b087-784a4826f3f7 2026-05-20 14:13:18,180 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62052151:ctest-vn-57275111', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62052151', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11359466363987968381', 'uuid-lslong': '13665644045400207095'}, 'enable': 'true', 'created': '2026-05-20T14:13:15', 'last-modified': '2026-05-20T14:13:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.488410'} 2026-05-20 14:13:18,187 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-20 14:13:18,187 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57275111 passed 2026-05-20 14:13:18,188 - DEBUG - ====Verifying policy data for ctest-vn-57275111 in API_Server ====== 2026-05-20 14:13:18,188 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-05-20 14:13:18,194 - DEBUG - Requesting: http://10.0.0.240:8082/domain/a4266347-02a7-4b0f-b19b-2b30b5e370d6 2026-05-20 14:13:18,206 - DEBUG - Requesting: http://10.0.0.240:8082/project/13c1a5d4-3db3-4922-b8ca-815b5d3931bb 2026-05-20 14:13:18,287 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/9da4ee79-1780-417d-bda6-1edb0902eef7 2026-05-20 14:13:18,299 - DEBUG - ==>Verifying data for policy with id: a258601a-1e5b-48a1-9ed4-d0ca8d7254ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-62052151', 'ctest-policy-allow-all-07618365'] 2026-05-20 14:13:18,299 - INFO - VN ctest-vn-57275111 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-20 14:13:18,299 - DEBUG - Verifying the vn in opserver 2026-05-20 14:13:18,299 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62052151:ctest-vn-57275111 virtual network link through opserver 10.0.0.240 2026-05-20 14:13:18,299 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-05-20 14:13:18,312 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62052151:ctest-vn-57275111', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62052151:ctest-vn-57275111?flat'} 2026-05-20 14:13:18,312 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62052151:ctest-vn-57275111 is found in opserver 2026-05-20 14:13:18,326 - DEBUG - Do not have enough data to verify VN in agent 2026-05-20 14:13:18,332 - DEBUG - VRF ids for VN ctest-vn-57275111: {} 2026-05-20 14:13:18,422 - DEBUG - Services list from nova: [, , ] 2026-05-20 14:13:19,570 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5801-1) 2026-05-20 14:13:20,875 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5801-1) 2026-05-20 14:13:20,875 - INFO - Waiting for VM ctest-TestBasicPolicy-62052151-51887358 to be up.. 2026-05-20 14:13:21,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-20 14:13:26,118 - DEBUG - VM is in ACTIVE state now 2026-05-20 14:13:26,119 - INFO - VM name : ctest-TestBasicPolicy-62052151-51887358 2026-05-20 14:13:26,208 - DEBUG - VM ctest-TestBasicPolicy-62052151-51887358 ID is 9860e04a-68fc-479f-a1a3-1e0fd3147be0 2026-05-20 14:13:26,229 - DEBUG - VM ctest-TestBasicPolicy-62052151-51887358 launched on Node cn-jenkins-deploy-platform-ansible-os-5801-1 2026-05-20 14:13:26,320 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/9860e04a-68fc-479f-a1a3-1e0fd3147be0 2026-05-20 14:13:26,329 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/5bd2df91-965e-4468-ae19-677ee3b9f56e 2026-05-20 14:13:29,607 - 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 1028ms') 2026-05-20 14:13:29,607 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62052151-51887358 failed! 2026-05-20 14:13:29,662 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62052151:ctest-vn-78041589 is 4.191.245.129 and allocation pool is NOT set 2026-05-20 14:13:31,726 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.09 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 = 3.090/6.027/8.965/2.937 ms') 2026-05-20 14:13:31,726 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62052151-51887358 passed 2026-05-20 14:13:31,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:13:31,883 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62052151-51887358, IP 4.191.245.131, Port 22 2026-05-20 14:13:32,056 - DEBUG - VM ctest-TestBasicPolicy-62052151-51887358 is ready for SSH connections 2026-05-20 14:13:32,057 - INFO - Waiting for VM ctest-TestBasicPolicy-62052151-64522807 to be up.. 2026-05-20 14:13:32,162 - DEBUG - VM is in ACTIVE state now 2026-05-20 14:13:32,162 - INFO - VM name : ctest-TestBasicPolicy-62052151-64522807 2026-05-20 14:13:32,268 - DEBUG - VM ctest-TestBasicPolicy-62052151-64522807 ID is 53dafce1-0830-4ddf-9514-b363f7e833d5 2026-05-20 14:13:32,269 - DEBUG - VM ctest-TestBasicPolicy-62052151-64522807 launched on Node cn-jenkins-deploy-platform-ansible-os-5801-1 2026-05-20 14:13:32,365 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/53dafce1-0830-4ddf-9514-b363f7e833d5 2026-05-20 14:13:32,375 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/5802ac98-7c4e-4eff-a892-a84f9e207d9f 2026-05-20 14:13:33,643 - 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=5.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.82 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 = 2.823/4.396/5.969/1.573 ms') 2026-05-20 14:13:33,643 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62052151-64522807 passed 2026-05-20 14:13:33,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:13:33,803 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62052151-64522807, IP 116.57.155.67, Port 22 2026-05-20 14:13:33,869 - 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-05-20 14:13:33,956 - DEBUG - VM ctest-TestBasicPolicy-62052151-64522807 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-20 14:13:38,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:13:38,957 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62052151-64522807, IP 116.57.155.67, Port 22 2026-05-20 14:13:39,113 - DEBUG - VM ctest-TestBasicPolicy-62052151-64522807 is ready for SSH connections 2026-05-20 14:13:39,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:13:39,114 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.57.155.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-20 14:13:39,114 - DEBUG - ping -s 56 -c 3 -W 1 116.57.155.67 2026-05-20 14:13:43,226 - DEBUG - PING 116.57.155.67 (116.57.155.67): 56 data bytes 64 bytes from 116.57.155.67: seq=0 ttl=63 time=5.259 ms 64 bytes from 116.57.155.67: seq=1 ttl=63 time=0.941 ms 64 bytes from 116.57.155.67: seq=2 ttl=63 time=0.984 ms --- 116.57.155.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.941/2.394/5.259 ms 2026-05-20 14:13:43,226 - INFO - Ping to IP 116.57.155.67 from VM ctest-TestBasicPolicy-62052151-51887358 passed 2026-05-20 14:13:43,406 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a258601a-1e5b-48a1-9ed4-d0ca8d7254ea", "href": "http://10.0.0.240:8082/network-policy/a258601a-1e5b-48a1-9ed4-d0ca8d7254ea"}} 2026-05-20 14:13:43,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:13:43,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.57.155.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-20 14:13:43,406 - DEBUG - ping -s 56 -c 3 -W 1 116.57.155.67 2026-05-20 14:13:46,629 - DEBUG - PING 116.57.155.67 (116.57.155.67): 56 data bytes --- 116.57.155.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-20 14:13:46,629 - WARNING - Ping to IP 116.57.155.67 from VM ctest-TestBasicPolicy-62052151-51887358 failed 2026-05-20 14:13:46,629 - INFO - Deleting VM ctest-TestBasicPolicy-62052151-64522807 2026-05-20 14:13:46,713 - INFO - Deleting VM ctest-TestBasicPolicy-62052151-51887358 2026-05-20 14:13:47,144 - INFO - Deleted policy ctest-policy-allow-all-07618365 2026-05-20 14:13:47,145 - INFO - Deleting VN ctest-vn-57275111 2026-05-20 14:13:47,187 - DEBUG - VN 9da4ee79-1780-417d-bda6-1edb0902eef7 still in use: Unable to complete operation on network 9da4ee79-1780-417d-bda6-1edb0902eef7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-39e1c95c-ca50-4b9d-a196-e230d4790b8f'] 2026-05-20 14:13:47,187 - WARNING - Deleting VN ctest-vn-57275111 failed..Will retry 2026-05-20 14:13:49,310 - DEBUG - Response for deleting network () 2026-05-20 14:13:49,310 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0616c9a4-e865-4942-891a-54136ca8f4fd 2026-05-20 14:13:49,316 - DEBUG - Response Code: 404 2026-05-20 14:13:49,317 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-05-20 14:13:49,326 - DEBUG - Requesting: http://10.0.0.240:8082/domain/a4266347-02a7-4b0f-b19b-2b30b5e370d6 2026-05-20 14:13:49,379 - DEBUG - Requesting: http://10.0.0.240:8082/project/13c1a5d4-3db3-4922-b8ca-815b5d3931bb 2026-05-20 14:13:49,455 - INFO - Validated that VN ctest-vn-57275111 is not found in API Server 2026-05-20 14:13:49,465 - DEBUG - VN ctest-vn-57275111 is not present in Agent 10.0.0.240 2026-05-20 14:13:49,465 - INFO - Validated that VN ctest-vn-57275111 is not in any agent 2026-05-20 14:13:49,482 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57275111 info 2026-05-20 14:13:49,482 - INFO - Deleting VN ctest-vn-78041589 2026-05-20 14:13:49,608 - DEBUG - Response for deleting network () 2026-05-20 14:13:49,609 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a73683ff-1235-464f-89ea-77f5f4a72914 2026-05-20 14:13:49,615 - DEBUG - Response Code: 404 2026-05-20 14:13:49,615 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-05-20 14:13:49,621 - DEBUG - Requesting: http://10.0.0.240:8082/domain/a4266347-02a7-4b0f-b19b-2b30b5e370d6 2026-05-20 14:13:49,677 - DEBUG - Requesting: http://10.0.0.240:8082/project/13c1a5d4-3db3-4922-b8ca-815b5d3931bb 2026-05-20 14:13:49,757 - INFO - Validated that VN ctest-vn-78041589 is not found in API Server 2026-05-20 14:13:49,768 - DEBUG - VN ctest-vn-78041589 is not present in Agent 10.0.0.240 2026-05-20 14:13:49,768 - INFO - Validated that VN ctest-vn-78041589 is not in any agent 2026-05-20 14:13:49,784 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78041589 info 2026-05-20 14:13:50,046 - DEBUG - No XMPP flaps were noticed during the test
2026-05-20 14:13:50,046 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-05-20 14:13:50,046 - INFO - -------------------------------------------------------------------------------- 2026-05-20 14:13:50,786 - INFO - Deleted project: ctest-TestBasicPolicy-62052151, ID : 13c1a5d4-3db3-4922-b8ca-815b5d3931bb