2026-05-08 17:00:54,158 - INFO - Domain Default found not creating 2026-05-08 17:00:54,315 - INFO - Project ctest-TestBasicPolicy-13999220 not found, creating it 2026-05-08 17:00:54,752 - INFO - Created Project:ctest-TestBasicPolicy-13999220, ID : 0fcaa275-440b-4315-ab37-c7bcb9f7b4d4 2026-05-08 17:00:56,148 - INFO - ================================================================================ 2026-05-08 17:00:56,148 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-08 17:00:56,148 - 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-08 17:00:56,402 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-08 17:00:56,402 - INFO - Initial checks done. Running the testcase now 2026-05-08 17:00:56,402 - INFO - 2026-05-08 17:00:56,934 - DEBUG - Response for create_network : {'network': {'id': '90e60284-75e1-4995-8a68-106beb729f4f', 'name': 'ctest-vn-89417326', 'tenant_id': '0fcaa275440b4315ab37c7bcb9f7b4d4', 'project_id': '0fcaa275440b4315ab37c7bcb9f7b4d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13999220', 'ctest-vn-89417326'], 'port_security_enabled': True, 'description': ''}} 2026-05-08 17:00:57,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '732c0ba3-acbc-4b9f-a1a1-1960a5291e12', 'name': '', 'tenant_id': '0fcaa275440b4315ab37c7bcb9f7b4d4', 'network_id': '90e60284-75e1-4995-8a68-106beb729f4f', 'ip_version': 4, 'cidr': '184.17.111.192/26', 'allocation_pools': [{'start': '184.17.111.194', 'end': '184.17.111.254'}], 'gateway_ip': '184.17.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.17.111.194', 'tags': [], 'project_id': '0fcaa275440b4315ab37c7bcb9f7b4d4'}} 2026-05-08 17:00:57,110 - INFO - Created VN ctest-vn-89417326 2026-05-08 17:00:57,161 - DEBUG - VN ctest-vn-89417326 UUID is 90e60284-75e1-4995-8a68-106beb729f4f 2026-05-08 17:00:57,484 - DEBUG - Response for create_network : {'network': {'id': 'fdda6f5e-f19e-4423-ad40-4b9ddca4f16a', 'name': 'ctest-vn-64186538', 'tenant_id': '0fcaa275440b4315ab37c7bcb9f7b4d4', 'project_id': '0fcaa275440b4315ab37c7bcb9f7b4d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13999220', 'ctest-vn-64186538'], 'port_security_enabled': True, 'description': ''}} 2026-05-08 17:00:57,693 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a70f68e-585e-4916-953e-553b3f8333c2', 'name': '', 'tenant_id': '0fcaa275440b4315ab37c7bcb9f7b4d4', 'network_id': 'fdda6f5e-f19e-4423-ad40-4b9ddca4f16a', 'ip_version': 4, 'cidr': '65.161.71.0/26', 'allocation_pools': [{'start': '65.161.71.2', 'end': '65.161.71.62'}], 'gateway_ip': '65.161.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.161.71.2', 'tags': [], 'project_id': '0fcaa275440b4315ab37c7bcb9f7b4d4'}} 2026-05-08 17:00:57,713 - INFO - Created VN ctest-vn-64186538 2026-05-08 17:00:57,765 - DEBUG - VN ctest-vn-64186538 UUID is fdda6f5e-f19e-4423-ad40-4b9ddca4f16a 2026-05-08 17:00:57,917 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13999220:ctest-vn-89417326, 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-13999220:ctest-vn-64186538, 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-08 17:00:58,210 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90e60284-75e1-4995-8a68-106beb729f4f', 'name': 'ctest-vn-89417326', 'tenant_id': '0fcaa275440b4315ab37c7bcb9f7b4d4', 'project_id': '0fcaa275440b4315ab37c7bcb9f7b4d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['732c0ba3-acbc-4b9f-a1a1-1960a5291e12'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13999220', 'ctest-vn-89417326'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13999220', 'ctest-policy-allow-all-34186417']], 'subnet_ipam': [{'subnet_cidr': '184.17.111.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-08 17:00:58,433 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fdda6f5e-f19e-4423-ad40-4b9ddca4f16a', 'name': 'ctest-vn-64186538', 'tenant_id': '0fcaa275440b4315ab37c7bcb9f7b4d4', 'project_id': '0fcaa275440b4315ab37c7bcb9f7b4d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9a70f68e-585e-4916-953e-553b3f8333c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13999220', 'ctest-vn-64186538'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13999220', 'ctest-policy-allow-all-34186417']], 'subnet_ipam': [{'subnet_cidr': '65.161.71.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-08 17:00:58,593 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 17:00:58,882 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 17:00:58,911 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a9d3e3b-7781-412c-84de-210320fcf111 2026-05-08 17:00:58,923 - DEBUG - Requesting: http://10.0.0.50:8082/project/0fcaa275-440b-4315-ab37-c7bcb9f7b4d4 2026-05-08 17:00:58,995 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/90e60284-75e1-4995-8a68-106beb729f4f 2026-05-08 17:00:59,005 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/90e60284-75e1-4995-8a68-106beb729f4f 2026-05-08 17:00:59,014 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5c304597-f274-48d9-ab19-40c008925fd5 2026-05-08 17:00:59,021 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5c304597-f274-48d9-ab19-40c008925fd5 2026-05-08 17:00:59,027 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/035ce38f-2c1e-4c60-9ed2-b6cbd9b8a7a2 2026-05-08 17:00:59,032 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-08 17:00:59,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/90e60284-75e1-4995-8a68-106beb729f4f 2026-05-08 17:00:59,040 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5c304597-f274-48d9-ab19-40c008925fd5 2026-05-08 17:00:59,052 - INFO - Verified VN network id 11 for VN 90e60284-75e1-4995-8a68-106beb729f4f 2026-05-08 17:00:59,052 - INFO - Verifications in API Server for VN ctest-vn-89417326 passed 2026-05-08 17:00:59,052 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/90e60284-75e1-4995-8a68-106beb729f4f 2026-05-08 17:00:59,060 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5c304597-f274-48d9-ab19-40c008925fd5 2026-05-08 17:00:59,065 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5c304597-f274-48d9-ab19-40c008925fd5 2026-05-08 17:00:59,071 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/035ce38f-2c1e-4c60-9ed2-b6cbd9b8a7a2 2026-05-08 17:00:59,083 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13999220:ctest-vn-89417326', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13999220', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10441035554041710997', 'uuid-lslong': '9973239430509666127'}, 'enable': 'true', 'created': '2026-05-08T17:00:56', 'last-modified': '2026-05-08T17:00:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899200'} 2026-05-08 17:00:59,088 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-08 17:00:59,088 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89417326 passed 2026-05-08 17:00:59,089 - DEBUG - ====Verifying policy data for ctest-vn-89417326 in API_Server ====== 2026-05-08 17:00:59,089 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 17:00:59,094 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a9d3e3b-7781-412c-84de-210320fcf111 2026-05-08 17:00:59,103 - DEBUG - Requesting: http://10.0.0.50:8082/project/0fcaa275-440b-4315-ab37-c7bcb9f7b4d4 2026-05-08 17:00:59,171 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/90e60284-75e1-4995-8a68-106beb729f4f 2026-05-08 17:00:59,179 - DEBUG - ==>Verifying data for policy with id: 3314fba7-6558-4bcd-9863-5dd6487f9cab, fqn: ['default-domain', 'ctest-TestBasicPolicy-13999220', 'ctest-policy-allow-all-34186417'] 2026-05-08 17:00:59,179 - INFO - VN ctest-vn-89417326 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-08 17:00:59,179 - DEBUG - Verifying the vn in opserver 2026-05-08 17:00:59,179 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13999220:ctest-vn-89417326 virtual network link through opserver 10.0.0.50 2026-05-08 17:00:59,179 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-08 17:00:59,471 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-08 17:00:59,524 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13999220:ctest-vn-89417326', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13999220:ctest-vn-89417326?flat'} 2026-05-08 17:00:59,524 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13999220:ctest-vn-89417326 is found in opserver 2026-05-08 17:00:59,534 - DEBUG - Do not have enough data to verify VN in agent 2026-05-08 17:00:59,538 - DEBUG - VRF ids for VN ctest-vn-89417326: {} 2026-05-08 17:00:59,538 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 17:00:59,542 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a9d3e3b-7781-412c-84de-210320fcf111 2026-05-08 17:00:59,552 - DEBUG - Requesting: http://10.0.0.50:8082/project/0fcaa275-440b-4315-ab37-c7bcb9f7b4d4 2026-05-08 17:00:59,622 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdda6f5e-f19e-4423-ad40-4b9ddca4f16a 2026-05-08 17:00:59,633 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdda6f5e-f19e-4423-ad40-4b9ddca4f16a 2026-05-08 17:00:59,643 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2b03773e-9eb3-408a-9ceb-105cd9e0eb4f 2026-05-08 17:00:59,651 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2b03773e-9eb3-408a-9ceb-105cd9e0eb4f 2026-05-08 17:00:59,658 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7e56ccef-5354-4810-9932-53568003b14c 2026-05-08 17:00:59,664 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-08 17:00:59,664 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdda6f5e-f19e-4423-ad40-4b9ddca4f16a 2026-05-08 17:00:59,673 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2b03773e-9eb3-408a-9ceb-105cd9e0eb4f 2026-05-08 17:00:59,688 - INFO - Verified VN network id 12 for VN fdda6f5e-f19e-4423-ad40-4b9ddca4f16a 2026-05-08 17:00:59,688 - INFO - Verifications in API Server for VN ctest-vn-64186538 passed 2026-05-08 17:00:59,688 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdda6f5e-f19e-4423-ad40-4b9ddca4f16a 2026-05-08 17:00:59,695 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2b03773e-9eb3-408a-9ceb-105cd9e0eb4f 2026-05-08 17:00:59,701 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2b03773e-9eb3-408a-9ceb-105cd9e0eb4f 2026-05-08 17:00:59,706 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7e56ccef-5354-4810-9932-53568003b14c 2026-05-08 17:00:59,715 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13999220:ctest-vn-64186538', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13999220', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18292055290089980963', 'uuid-lslong': '12484061308454760810'}, 'enable': 'true', 'created': '2026-05-08T17:00:57', 'last-modified': '2026-05-08T17:00:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299150'} 2026-05-08 17:00:59,720 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-08 17:00:59,720 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64186538 passed 2026-05-08 17:00:59,720 - DEBUG - ====Verifying policy data for ctest-vn-64186538 in API_Server ====== 2026-05-08 17:00:59,720 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 17:00:59,725 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a9d3e3b-7781-412c-84de-210320fcf111 2026-05-08 17:00:59,734 - DEBUG - Requesting: http://10.0.0.50:8082/project/0fcaa275-440b-4315-ab37-c7bcb9f7b4d4 2026-05-08 17:00:59,803 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdda6f5e-f19e-4423-ad40-4b9ddca4f16a 2026-05-08 17:00:59,812 - DEBUG - ==>Verifying data for policy with id: 3314fba7-6558-4bcd-9863-5dd6487f9cab, fqn: ['default-domain', 'ctest-TestBasicPolicy-13999220', 'ctest-policy-allow-all-34186417'] 2026-05-08 17:00:59,812 - INFO - VN ctest-vn-64186538 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-08 17:00:59,812 - DEBUG - Verifying the vn in opserver 2026-05-08 17:00:59,812 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13999220:ctest-vn-64186538 virtual network link through opserver 10.0.0.50 2026-05-08 17:00:59,812 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-08 17:00:59,822 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13999220:ctest-vn-64186538', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13999220:ctest-vn-64186538?flat'} 2026-05-08 17:00:59,822 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13999220:ctest-vn-64186538 is found in opserver 2026-05-08 17:00:59,831 - DEBUG - Do not have enough data to verify VN in agent 2026-05-08 17:00:59,835 - DEBUG - VRF ids for VN ctest-vn-64186538: {} 2026-05-08 17:00:59,885 - DEBUG - Services list from nova: [, , ] 2026-05-08 17:01:00,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5758-1) 2026-05-08 17:01:02,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5758-1) 2026-05-08 17:01:02,101 - INFO - Waiting for VM ctest-TestBasicPolicy-13999220-48014601 to be up.. 2026-05-08 17:01:02,175 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-08 17:01:07,251 - DEBUG - VM is in ACTIVE state now 2026-05-08 17:01:07,251 - INFO - VM name : ctest-TestBasicPolicy-13999220-48014601 2026-05-08 17:01:07,318 - DEBUG - VM ctest-TestBasicPolicy-13999220-48014601 ID is 4b1754df-eefe-41e5-8d42-98b879166da0 2026-05-08 17:01:07,336 - DEBUG - VM ctest-TestBasicPolicy-13999220-48014601 launched on Node cn-jenkins-deploy-platform-ansible-os-5758-1 2026-05-08 17:01:07,405 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4b1754df-eefe-41e5-8d42-98b879166da0 2026-05-08 17:01:07,412 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4fe107d8-e2c1-4cc1-939f-61eebb782368 2026-05-08 17:01:10,652 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-05-08 17:01:10,652 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13999220-48014601 failed! 2026-05-08 17:01:10,705 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13999220:ctest-vn-89417326 is 184.17.111.193 and allocation pool is NOT set 2026-05-08 17:01:12,764 - 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=4.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 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 = 1.841/2.979/4.117/1.138 ms') 2026-05-08 17:01:12,764 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13999220-48014601 passed 2026-05-08 17:01:12,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 17:01:12,909 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13999220-48014601, IP 184.17.111.195, Port 22 2026-05-08 17:01:13,065 - DEBUG - VM ctest-TestBasicPolicy-13999220-48014601 is ready for SSH connections 2026-05-08 17:01:13,065 - INFO - Waiting for VM ctest-TestBasicPolicy-13999220-16256611 to be up.. 2026-05-08 17:01:13,135 - DEBUG - VM is in ACTIVE state now 2026-05-08 17:01:13,135 - INFO - VM name : ctest-TestBasicPolicy-13999220-16256611 2026-05-08 17:01:13,209 - DEBUG - VM ctest-TestBasicPolicy-13999220-16256611 ID is 46705991-481f-4a64-9706-23ed9a8f8dad 2026-05-08 17:01:13,210 - DEBUG - VM ctest-TestBasicPolicy-13999220-16256611 launched on Node cn-jenkins-deploy-platform-ansible-os-5758-1 2026-05-08 17:01:13,371 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/46705991-481f-4a64-9706-23ed9a8f8dad 2026-05-08 17:01:13,379 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b077f8cf-d451-4384-96fa-426fa15bbe37 2026-05-08 17:01:14,613 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.562/2.691/1.128 ms') 2026-05-08 17:01:14,613 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13999220-16256611 passed 2026-05-08 17:01:14,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 17:01:14,761 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13999220-16256611, IP 65.161.71.3, Port 22 2026-05-08 17:01:14,913 - DEBUG - VM ctest-TestBasicPolicy-13999220-16256611 is ready for SSH connections 2026-05-08 17:01:14,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 17:01:14,913 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.161.71.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-08 17:01:14,913 - DEBUG - ping -s 56 -c 3 -W 1 65.161.71.3 2026-05-08 17:01:18,901 - DEBUG - PING 65.161.71.3 (65.161.71.3): 56 data bytes 64 bytes from 65.161.71.3: seq=0 ttl=63 time=3.647 ms 64 bytes from 65.161.71.3: seq=1 ttl=63 time=1.035 ms 64 bytes from 65.161.71.3: seq=2 ttl=63 time=0.842 ms --- 65.161.71.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.842/1.841/3.647 ms 2026-05-08 17:01:18,902 - INFO - Ping to IP 65.161.71.3 from VM ctest-TestBasicPolicy-13999220-48014601 passed 2026-05-08 17:01:19,069 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3314fba7-6558-4bcd-9863-5dd6487f9cab", "href": "http://10.0.0.50:8082/network-policy/3314fba7-6558-4bcd-9863-5dd6487f9cab"}} 2026-05-08 17:01:19,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 17:01:19,069 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.161.71.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-08 17:01:19,069 - DEBUG - ping -s 56 -c 3 -W 1 65.161.71.3 2026-05-08 17:01:22,310 - DEBUG - PING 65.161.71.3 (65.161.71.3): 56 data bytes --- 65.161.71.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-08 17:01:22,310 - WARNING - Ping to IP 65.161.71.3 from VM ctest-TestBasicPolicy-13999220-48014601 failed 2026-05-08 17:01:22,311 - INFO - Deleting VM ctest-TestBasicPolicy-13999220-16256611 2026-05-08 17:01:22,377 - INFO - Deleting VM ctest-TestBasicPolicy-13999220-48014601 2026-05-08 17:01:22,703 - INFO - Deleted policy ctest-policy-allow-all-34186417 2026-05-08 17:01:22,703 - INFO - Deleting VN ctest-vn-64186538 2026-05-08 17:01:22,743 - DEBUG - VN fdda6f5e-f19e-4423-ad40-4b9ddca4f16a still in use: Unable to complete operation on network fdda6f5e-f19e-4423-ad40-4b9ddca4f16a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f6670797-f01c-4714-a203-26a23fb41bf2'] 2026-05-08 17:01:22,743 - WARNING - Deleting VN ctest-vn-64186538 failed..Will retry 2026-05-08 17:01:24,830 - DEBUG - Response for deleting network () 2026-05-08 17:01:24,830 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2b03773e-9eb3-408a-9ceb-105cd9e0eb4f 2026-05-08 17:01:24,834 - DEBUG - Response Code: 404 2026-05-08 17:01:24,835 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 17:01:24,847 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a9d3e3b-7781-412c-84de-210320fcf111 2026-05-08 17:01:24,902 - DEBUG - Requesting: http://10.0.0.50:8082/project/0fcaa275-440b-4315-ab37-c7bcb9f7b4d4 2026-05-08 17:01:24,967 - INFO - Validated that VN ctest-vn-64186538 is not found in API Server 2026-05-08 17:01:24,977 - DEBUG - VN ctest-vn-64186538 is not present in Agent 10.0.0.50 2026-05-08 17:01:24,977 - INFO - Validated that VN ctest-vn-64186538 is not in any agent 2026-05-08 17:01:24,991 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64186538 info 2026-05-08 17:01:24,991 - INFO - Deleting VN ctest-vn-89417326 2026-05-08 17:01:25,093 - DEBUG - Response for deleting network () 2026-05-08 17:01:25,093 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5c304597-f274-48d9-ab19-40c008925fd5 2026-05-08 17:01:25,099 - DEBUG - Response Code: 404 2026-05-08 17:01:25,099 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 17:01:25,105 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a9d3e3b-7781-412c-84de-210320fcf111 2026-05-08 17:01:25,158 - DEBUG - Requesting: http://10.0.0.50:8082/project/0fcaa275-440b-4315-ab37-c7bcb9f7b4d4 2026-05-08 17:01:25,222 - INFO - Validated that VN ctest-vn-89417326 is not found in API Server 2026-05-08 17:01:25,231 - DEBUG - VN ctest-vn-89417326 is not present in Agent 10.0.0.50 2026-05-08 17:01:25,231 - INFO - Validated that VN ctest-vn-89417326 is not in any agent 2026-05-08 17:01:25,243 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89417326 info 2026-05-08 17:01:25,494 - DEBUG - No XMPP flaps were noticed during the test
2026-05-08 17:01:25,494 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-05-08 17:01:25,494 - INFO - -------------------------------------------------------------------------------- 2026-05-08 17:01:26,150 - INFO - Deleted project: ctest-TestBasicPolicy-13999220, ID : 0fcaa275-440b-4315-ab37-c7bcb9f7b4d4