2026-04-23 10:06:48,531 - INFO - Domain Default found not creating 2026-04-23 10:06:48,719 - INFO - Project ctest-TestBasicPolicy-55502809 not found, creating it 2026-04-23 10:06:49,208 - INFO - Created Project:ctest-TestBasicPolicy-55502809, ID : 01a3ae56-1d37-4893-ac55-77cefa6e2de4 2026-04-23 10:06:50,884 - INFO - ================================================================================ 2026-04-23 10:06:50,884 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-23 10:06:50,884 - 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-04-23 10:06:51,144 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-04-23 10:06:51,144 - INFO - Initial checks done. Running the testcase now 2026-04-23 10:06:51,144 - INFO - 2026-04-23 10:06:51,753 - DEBUG - Response for create_network : {'network': {'id': 'c528a8f3-1d6d-499d-88bb-7f1380071153', 'name': 'ctest-vn-26589306', 'tenant_id': '01a3ae561d374893ac5577cefa6e2de4', 'project_id': '01a3ae561d374893ac5577cefa6e2de4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55502809', 'ctest-vn-26589306'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 10:06:51,956 - DEBUG - Response for create_subnet : {'subnet': {'id': '1691be08-a11d-4f03-9cf2-35bce673ce1d', 'name': '', 'tenant_id': '01a3ae561d374893ac5577cefa6e2de4', 'network_id': 'c528a8f3-1d6d-499d-88bb-7f1380071153', 'ip_version': 4, 'cidr': '43.217.101.0/26', 'allocation_pools': [{'start': '43.217.101.2', 'end': '43.217.101.62'}], 'gateway_ip': '43.217.101.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.217.101.2', 'tags': [], 'project_id': '01a3ae561d374893ac5577cefa6e2de4'}} 2026-04-23 10:06:51,976 - INFO - Created VN ctest-vn-26589306 2026-04-23 10:06:52,029 - DEBUG - VN ctest-vn-26589306 UUID is c528a8f3-1d6d-499d-88bb-7f1380071153 2026-04-23 10:06:52,328 - DEBUG - Response for create_network : {'network': {'id': 'bbe763c7-25f4-4a0b-9a05-7864a88c30d8', 'name': 'ctest-vn-20750238', 'tenant_id': '01a3ae561d374893ac5577cefa6e2de4', 'project_id': '01a3ae561d374893ac5577cefa6e2de4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55502809', 'ctest-vn-20750238'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 10:06:52,480 - DEBUG - Response for create_subnet : {'subnet': {'id': '6473367f-da61-42d0-b174-42473efc3fca', 'name': '', 'tenant_id': '01a3ae561d374893ac5577cefa6e2de4', 'network_id': 'bbe763c7-25f4-4a0b-9a05-7864a88c30d8', 'ip_version': 4, 'cidr': '15.34.124.128/26', 'allocation_pools': [{'start': '15.34.124.130', 'end': '15.34.124.190'}], 'gateway_ip': '15.34.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.34.124.130', 'tags': [], 'project_id': '01a3ae561d374893ac5577cefa6e2de4'}} 2026-04-23 10:06:52,498 - INFO - Created VN ctest-vn-20750238 2026-04-23 10:06:52,549 - DEBUG - VN ctest-vn-20750238 UUID is bbe763c7-25f4-4a0b-9a05-7864a88c30d8 2026-04-23 10:06:52,666 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55502809:ctest-vn-26589306, 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-55502809:ctest-vn-20750238, 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-04-23 10:06:52,966 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c528a8f3-1d6d-499d-88bb-7f1380071153', 'name': 'ctest-vn-26589306', 'tenant_id': '01a3ae561d374893ac5577cefa6e2de4', 'project_id': '01a3ae561d374893ac5577cefa6e2de4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1691be08-a11d-4f03-9cf2-35bce673ce1d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55502809', 'ctest-vn-26589306'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55502809', 'ctest-policy-allow-all-07994914']], 'subnet_ipam': [{'subnet_cidr': '43.217.101.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-23 10:06:53,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bbe763c7-25f4-4a0b-9a05-7864a88c30d8', 'name': 'ctest-vn-20750238', 'tenant_id': '01a3ae561d374893ac5577cefa6e2de4', 'project_id': '01a3ae561d374893ac5577cefa6e2de4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6473367f-da61-42d0-b174-42473efc3fca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55502809', 'ctest-vn-20750238'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55502809', 'ctest-policy-allow-all-07994914']], 'subnet_ipam': [{'subnet_cidr': '15.34.124.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-23 10:06:53,361 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-23 10:06:53,696 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-23 10:06:53,732 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab236e5f-d3ba-4764-a304-9509264402e0 2026-04-23 10:06:53,746 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a3ae56-1d37-4893-ac55-77cefa6e2de4 2026-04-23 10:06:53,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c528a8f3-1d6d-499d-88bb-7f1380071153 2026-04-23 10:06:53,842 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c528a8f3-1d6d-499d-88bb-7f1380071153 2026-04-23 10:06:53,853 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df90ec7e-88a8-4787-9573-ea6a1f9c3903 2026-04-23 10:06:53,861 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df90ec7e-88a8-4787-9573-ea6a1f9c3903 2026-04-23 10:06:53,869 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f1338a7e-bc6a-44b0-97a5-406576d9196a 2026-04-23 10:06:53,877 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-23 10:06:53,877 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c528a8f3-1d6d-499d-88bb-7f1380071153 2026-04-23 10:06:53,886 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df90ec7e-88a8-4787-9573-ea6a1f9c3903 2026-04-23 10:06:53,900 - INFO - Verified VN network id 11 for VN c528a8f3-1d6d-499d-88bb-7f1380071153 2026-04-23 10:06:53,901 - INFO - Verifications in API Server for VN ctest-vn-26589306 passed 2026-04-23 10:06:53,901 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c528a8f3-1d6d-499d-88bb-7f1380071153 2026-04-23 10:06:53,911 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df90ec7e-88a8-4787-9573-ea6a1f9c3903 2026-04-23 10:06:53,919 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df90ec7e-88a8-4787-9573-ea6a1f9c3903 2026-04-23 10:06:53,927 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f1338a7e-bc6a-44b0-97a5-406576d9196a 2026-04-23 10:06:53,940 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55502809:ctest-vn-26589306', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55502809', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14206790786664450461', 'uuid-lslong': '9852608331532144979'}, 'enable': 'true', 'created': '2026-04-23T10:06:51', 'last-modified': '2026-04-23T10:06:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.003736'} 2026-04-23 10:06:53,948 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-23 10:06:53,948 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26589306 passed 2026-04-23 10:06:53,948 - DEBUG - ====Verifying policy data for ctest-vn-26589306 in API_Server ====== 2026-04-23 10:06:53,948 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-23 10:06:53,954 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab236e5f-d3ba-4764-a304-9509264402e0 2026-04-23 10:06:53,966 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a3ae56-1d37-4893-ac55-77cefa6e2de4 2026-04-23 10:06:54,037 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c528a8f3-1d6d-499d-88bb-7f1380071153 2026-04-23 10:06:54,060 - DEBUG - ==>Verifying data for policy with id: 63a836a9-83cd-489a-8a19-e4b14d04a275, fqn: ['default-domain', 'ctest-TestBasicPolicy-55502809', 'ctest-policy-allow-all-07994914'] 2026-04-23 10:06:54,060 - INFO - VN ctest-vn-26589306 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-23 10:06:54,060 - DEBUG - Verifying the vn in opserver 2026-04-23 10:06:54,060 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55502809:ctest-vn-26589306 virtual network link through opserver 10.0.0.38 2026-04-23 10:06:54,060 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-23 10:06:54,399 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-23 10:06:54,470 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55502809:ctest-vn-26589306', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55502809:ctest-vn-26589306?flat'} 2026-04-23 10:06:54,470 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55502809:ctest-vn-26589306 is found in opserver 2026-04-23 10:06:54,481 - DEBUG - Do not have enough data to verify VN in agent 2026-04-23 10:06:54,486 - DEBUG - VRF ids for VN ctest-vn-26589306: {} 2026-04-23 10:06:54,486 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-23 10:06:54,492 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab236e5f-d3ba-4764-a304-9509264402e0 2026-04-23 10:06:54,504 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a3ae56-1d37-4893-ac55-77cefa6e2de4 2026-04-23 10:06:54,578 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bbe763c7-25f4-4a0b-9a05-7864a88c30d8 2026-04-23 10:06:54,592 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bbe763c7-25f4-4a0b-9a05-7864a88c30d8 2026-04-23 10:06:54,603 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26357d34-3efd-49b7-ac1c-5c52fd87c145 2026-04-23 10:06:54,611 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26357d34-3efd-49b7-ac1c-5c52fd87c145 2026-04-23 10:06:54,619 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/83b2d073-a87c-46a8-8503-23f38f29bbca 2026-04-23 10:06:54,626 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-23 10:06:54,626 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bbe763c7-25f4-4a0b-9a05-7864a88c30d8 2026-04-23 10:06:54,636 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26357d34-3efd-49b7-ac1c-5c52fd87c145 2026-04-23 10:06:54,652 - INFO - Verified VN network id 12 for VN bbe763c7-25f4-4a0b-9a05-7864a88c30d8 2026-04-23 10:06:54,652 - INFO - Verifications in API Server for VN ctest-vn-20750238 passed 2026-04-23 10:06:54,652 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bbe763c7-25f4-4a0b-9a05-7864a88c30d8 2026-04-23 10:06:54,662 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26357d34-3efd-49b7-ac1c-5c52fd87c145 2026-04-23 10:06:54,670 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26357d34-3efd-49b7-ac1c-5c52fd87c145 2026-04-23 10:06:54,677 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/83b2d073-a87c-46a8-8503-23f38f29bbca 2026-04-23 10:06:54,691 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55502809:ctest-vn-20750238', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55502809', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13539900511699094027', 'uuid-lslong': '11098409230444277976'}, 'enable': 'true', 'created': '2026-04-23T10:06:52', 'last-modified': '2026-04-23T10:06:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.518797'} 2026-04-23 10:06:54,698 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-23 10:06:54,698 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20750238 passed 2026-04-23 10:06:54,698 - DEBUG - ====Verifying policy data for ctest-vn-20750238 in API_Server ====== 2026-04-23 10:06:54,699 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-23 10:06:54,706 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab236e5f-d3ba-4764-a304-9509264402e0 2026-04-23 10:06:54,720 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a3ae56-1d37-4893-ac55-77cefa6e2de4 2026-04-23 10:06:54,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bbe763c7-25f4-4a0b-9a05-7864a88c30d8 2026-04-23 10:06:54,804 - DEBUG - ==>Verifying data for policy with id: 63a836a9-83cd-489a-8a19-e4b14d04a275, fqn: ['default-domain', 'ctest-TestBasicPolicy-55502809', 'ctest-policy-allow-all-07994914'] 2026-04-23 10:06:54,804 - INFO - VN ctest-vn-20750238 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-23 10:06:54,804 - DEBUG - Verifying the vn in opserver 2026-04-23 10:06:54,804 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55502809:ctest-vn-20750238 virtual network link through opserver 10.0.0.38 2026-04-23 10:06:54,804 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-23 10:06:54,815 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55502809:ctest-vn-20750238', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55502809:ctest-vn-20750238?flat'} 2026-04-23 10:06:54,816 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55502809:ctest-vn-20750238 is found in opserver 2026-04-23 10:06:54,827 - DEBUG - Do not have enough data to verify VN in agent 2026-04-23 10:06:54,832 - DEBUG - VRF ids for VN ctest-vn-20750238: {} 2026-04-23 10:06:54,894 - DEBUG - Services list from nova: [, , ] 2026-04-23 10:06:56,056 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5677-1) 2026-04-23 10:06:57,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5677-1) 2026-04-23 10:06:57,332 - INFO - Waiting for VM ctest-TestBasicPolicy-55502809-68495210 to be up.. 2026-04-23 10:06:57,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 10:07:02,518 - DEBUG - VM is in ACTIVE state now 2026-04-23 10:07:02,518 - INFO - VM name : ctest-TestBasicPolicy-55502809-68495210 2026-04-23 10:07:02,602 - DEBUG - VM ctest-TestBasicPolicy-55502809-68495210 ID is 96ff437e-acdc-4844-9717-ef6d750f9581 2026-04-23 10:07:02,623 - DEBUG - VM ctest-TestBasicPolicy-55502809-68495210 launched on Node cn-jenkins-deploy-platform-ansible-os-5677-1 2026-04-23 10:07:02,712 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/96ff437e-acdc-4844-9717-ef6d750f9581 2026-04-23 10:07:02,722 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b5b0d6e8-71cd-4c4d-8f2f-1a0ded6fde59 2026-04-23 10:07:05,979 - 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 1008ms') 2026-04-23 10:07:05,979 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55502809-68495210 failed! 2026-04-23 10:07:06,037 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55502809:ctest-vn-26589306 is 43.217.101.1 and allocation pool is NOT set 2026-04-23 10:07:08,102 - 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.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.773/6.427/10.082/3.654 ms') 2026-04-23 10:07:08,102 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55502809-68495210 passed 2026-04-23 10:07:08,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 10:07:08,293 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55502809-68495210, IP 43.217.101.3, Port 22 2026-04-23 10:07:08,480 - DEBUG - VM ctest-TestBasicPolicy-55502809-68495210 is ready for SSH connections 2026-04-23 10:07:08,480 - INFO - Waiting for VM ctest-TestBasicPolicy-55502809-55293266 to be up.. 2026-04-23 10:07:08,621 - DEBUG - VM is in ACTIVE state now 2026-04-23 10:07:08,621 - INFO - VM name : ctest-TestBasicPolicy-55502809-55293266 2026-04-23 10:07:08,705 - DEBUG - VM ctest-TestBasicPolicy-55502809-55293266 ID is 43592b3b-b07f-45eb-ba12-ade03303bb12 2026-04-23 10:07:08,705 - DEBUG - VM ctest-TestBasicPolicy-55502809-55293266 launched on Node cn-jenkins-deploy-platform-ansible-os-5677-1 2026-04-23 10:07:08,809 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/43592b3b-b07f-45eb-ba12-ade03303bb12 2026-04-23 10:07:08,819 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dd849d7d-3022-4af4-ba2c-3b45fe762469 2026-04-23 10:07:10,065 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.77 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.768/4.105/5.442/1.337 ms') 2026-04-23 10:07:10,066 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55502809-55293266 passed 2026-04-23 10:07:10,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 10:07:10,217 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55502809-55293266, IP 15.34.124.131, Port 22 2026-04-23 10:07:10,372 - DEBUG - VM ctest-TestBasicPolicy-55502809-55293266 is ready for SSH connections 2026-04-23 10:07:10,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 10:07:10,372 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.34.124.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-23 10:07:10,373 - DEBUG - ping -s 56 -c 3 -W 1 15.34.124.131 2026-04-23 10:07:14,551 - DEBUG - PING 15.34.124.131 (15.34.124.131): 56 data bytes 64 bytes from 15.34.124.131: seq=0 ttl=63 time=4.327 ms 64 bytes from 15.34.124.131: seq=1 ttl=63 time=0.804 ms 64 bytes from 15.34.124.131: seq=2 ttl=63 time=1.039 ms --- 15.34.124.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.804/2.056/4.327 ms 2026-04-23 10:07:14,551 - INFO - Ping to IP 15.34.124.131 from VM ctest-TestBasicPolicy-55502809-68495210 passed 2026-04-23 10:07:14,729 - DEBUG - Policy Update Response {"network-policy": {"uuid": "63a836a9-83cd-489a-8a19-e4b14d04a275", "href": "http://10.0.0.38:8082/network-policy/63a836a9-83cd-489a-8a19-e4b14d04a275"}} 2026-04-23 10:07:14,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 10:07:14,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.34.124.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-23 10:07:14,729 - DEBUG - ping -s 56 -c 3 -W 1 15.34.124.131 2026-04-23 10:07:17,959 - DEBUG - PING 15.34.124.131 (15.34.124.131): 56 data bytes --- 15.34.124.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-23 10:07:17,959 - WARNING - Ping to IP 15.34.124.131 from VM ctest-TestBasicPolicy-55502809-68495210 failed 2026-04-23 10:07:17,959 - INFO - Deleting VM ctest-TestBasicPolicy-55502809-55293266 2026-04-23 10:07:18,042 - INFO - Deleting VM ctest-TestBasicPolicy-55502809-68495210 2026-04-23 10:07:18,456 - INFO - Deleted policy ctest-policy-allow-all-07994914 2026-04-23 10:07:18,456 - INFO - Deleting VN ctest-vn-20750238 2026-04-23 10:07:18,496 - DEBUG - VN bbe763c7-25f4-4a0b-9a05-7864a88c30d8 still in use: Unable to complete operation on network bbe763c7-25f4-4a0b-9a05-7864a88c30d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-207bca87-76a9-47fa-b03a-4e38a5c24ff9'] 2026-04-23 10:07:18,496 - WARNING - Deleting VN ctest-vn-20750238 failed..Will retry 2026-04-23 10:07:20,624 - DEBUG - Response for deleting network () 2026-04-23 10:07:20,624 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26357d34-3efd-49b7-ac1c-5c52fd87c145 2026-04-23 10:07:20,630 - DEBUG - Response Code: 404 2026-04-23 10:07:20,630 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-23 10:07:20,637 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab236e5f-d3ba-4764-a304-9509264402e0 2026-04-23 10:07:20,692 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a3ae56-1d37-4893-ac55-77cefa6e2de4 2026-04-23 10:07:20,768 - INFO - Validated that VN ctest-vn-20750238 is not found in API Server 2026-04-23 10:07:20,778 - DEBUG - VN ctest-vn-20750238 is not present in Agent 10.0.0.38 2026-04-23 10:07:20,778 - INFO - Validated that VN ctest-vn-20750238 is not in any agent 2026-04-23 10:07:20,794 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20750238 info 2026-04-23 10:07:20,794 - INFO - Deleting VN ctest-vn-26589306 2026-04-23 10:07:20,929 - DEBUG - Response for deleting network () 2026-04-23 10:07:20,929 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df90ec7e-88a8-4787-9573-ea6a1f9c3903 2026-04-23 10:07:20,934 - DEBUG - Response Code: 404 2026-04-23 10:07:20,935 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-23 10:07:20,944 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab236e5f-d3ba-4764-a304-9509264402e0 2026-04-23 10:07:20,998 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a3ae56-1d37-4893-ac55-77cefa6e2de4 2026-04-23 10:07:21,070 - INFO - Validated that VN ctest-vn-26589306 is not found in API Server 2026-04-23 10:07:21,081 - DEBUG - VN ctest-vn-26589306 is not present in Agent 10.0.0.38 2026-04-23 10:07:21,081 - INFO - Validated that VN ctest-vn-26589306 is not in any agent 2026-04-23 10:07:21,097 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26589306 info 2026-04-23 10:07:21,355 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 10:07:21,355 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2026-04-23 10:07:21,355 - INFO - -------------------------------------------------------------------------------- 2026-04-23 10:07:22,095 - INFO - Deleted project: ctest-TestBasicPolicy-55502809, ID : 01a3ae56-1d37-4893-ac55-77cefa6e2de4