2026-03-24 13:46:10,369 - INFO - Domain Default found not creating 2026-03-24 13:46:10,584 - INFO - Project ctest-TestBasicPolicy-52958908 not found, creating it 2026-03-24 13:46:11,077 - INFO - Created Project:ctest-TestBasicPolicy-52958908, ID : 5156e989-2412-4ae1-8134-9eb89eacfc79 2026-03-24 13:46:12,829 - INFO - ================================================================================ 2026-03-24 13:46:12,829 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-24 13:46:12,829 - 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-03-24 13:46:13,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-03-24 13:46:13,110 - INFO - Initial checks done. Running the testcase now 2026-03-24 13:46:13,110 - INFO - 2026-03-24 13:46:13,734 - DEBUG - Response for create_network : {'network': {'id': '35c82d27-0082-44d4-b2e2-23371bf9e29e', 'name': 'ctest-vn-95561014', 'tenant_id': '5156e98924124ae181349eb89eacfc79', 'project_id': '5156e98924124ae181349eb89eacfc79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52958908', 'ctest-vn-95561014'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 13:46:13,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '18ed705d-d5e6-4209-8943-c93f248b98c8', 'name': '', 'tenant_id': '5156e98924124ae181349eb89eacfc79', 'network_id': '35c82d27-0082-44d4-b2e2-23371bf9e29e', 'ip_version': 4, 'cidr': '105.157.197.192/26', 'allocation_pools': [{'start': '105.157.197.194', 'end': '105.157.197.254'}], 'gateway_ip': '105.157.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.157.197.194', 'tags': [], 'project_id': '5156e98924124ae181349eb89eacfc79'}} 2026-03-24 13:46:13,990 - INFO - Created VN ctest-vn-95561014 2026-03-24 13:46:14,047 - DEBUG - VN ctest-vn-95561014 UUID is 35c82d27-0082-44d4-b2e2-23371bf9e29e 2026-03-24 13:46:14,374 - DEBUG - Response for create_network : {'network': {'id': '9b8beccd-fe40-4040-b11d-ab234dc09cbf', 'name': 'ctest-vn-89433092', 'tenant_id': '5156e98924124ae181349eb89eacfc79', 'project_id': '5156e98924124ae181349eb89eacfc79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52958908', 'ctest-vn-89433092'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 13:46:14,575 - DEBUG - Response for create_subnet : {'subnet': {'id': '04188d91-d721-494f-9dea-0471ecdc1446', 'name': '', 'tenant_id': '5156e98924124ae181349eb89eacfc79', 'network_id': '9b8beccd-fe40-4040-b11d-ab234dc09cbf', 'ip_version': 4, 'cidr': '45.72.248.128/26', 'allocation_pools': [{'start': '45.72.248.130', 'end': '45.72.248.190'}], 'gateway_ip': '45.72.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.72.248.130', 'tags': [], 'project_id': '5156e98924124ae181349eb89eacfc79'}} 2026-03-24 13:46:14,599 - INFO - Created VN ctest-vn-89433092 2026-03-24 13:46:14,652 - DEBUG - VN ctest-vn-89433092 UUID is 9b8beccd-fe40-4040-b11d-ab234dc09cbf 2026-03-24 13:46:14,777 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52958908:ctest-vn-95561014, 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-52958908:ctest-vn-89433092, 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-03-24 13:46:15,103 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '35c82d27-0082-44d4-b2e2-23371bf9e29e', 'name': 'ctest-vn-95561014', 'tenant_id': '5156e98924124ae181349eb89eacfc79', 'project_id': '5156e98924124ae181349eb89eacfc79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18ed705d-d5e6-4209-8943-c93f248b98c8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52958908', 'ctest-vn-95561014'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52958908', 'ctest-policy-allow-all-99949904']], 'subnet_ipam': [{'subnet_cidr': '105.157.197.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-24 13:46:15,387 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b8beccd-fe40-4040-b11d-ab234dc09cbf', 'name': 'ctest-vn-89433092', 'tenant_id': '5156e98924124ae181349eb89eacfc79', 'project_id': '5156e98924124ae181349eb89eacfc79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['04188d91-d721-494f-9dea-0471ecdc1446'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52958908', 'ctest-vn-89433092'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52958908', 'ctest-policy-allow-all-99949904']], 'subnet_ipam': [{'subnet_cidr': '45.72.248.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-24 13:46:15,531 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 13:46:15,848 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 13:46:15,887 - DEBUG - Requesting: http://10.0.0.50:8082/domain/76f104c7-22de-4979-81c0-a4a0d0890adf 2026-03-24 13:46:15,902 - DEBUG - Requesting: http://10.0.0.50:8082/project/5156e989-2412-4ae1-8134-9eb89eacfc79 2026-03-24 13:46:15,989 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35c82d27-0082-44d4-b2e2-23371bf9e29e 2026-03-24 13:46:16,004 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35c82d27-0082-44d4-b2e2-23371bf9e29e 2026-03-24 13:46:16,014 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/212e118c-e2a2-4e8e-94bf-5d8eade3f2be 2026-03-24 13:46:16,022 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/212e118c-e2a2-4e8e-94bf-5d8eade3f2be 2026-03-24 13:46:16,031 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/895cc331-d61c-42e1-bcca-c91aeaba12bb 2026-03-24 13:46:16,039 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-24 13:46:16,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35c82d27-0082-44d4-b2e2-23371bf9e29e 2026-03-24 13:46:16,050 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/212e118c-e2a2-4e8e-94bf-5d8eade3f2be 2026-03-24 13:46:16,069 - INFO - Verified VN network id 11 for VN 35c82d27-0082-44d4-b2e2-23371bf9e29e 2026-03-24 13:46:16,070 - INFO - Verifications in API Server for VN ctest-vn-95561014 passed 2026-03-24 13:46:16,070 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35c82d27-0082-44d4-b2e2-23371bf9e29e 2026-03-24 13:46:16,082 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/212e118c-e2a2-4e8e-94bf-5d8eade3f2be 2026-03-24 13:46:16,090 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/212e118c-e2a2-4e8e-94bf-5d8eade3f2be 2026-03-24 13:46:16,099 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/895cc331-d61c-42e1-bcca-c91aeaba12bb 2026-03-24 13:46:16,112 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52958908:ctest-vn-95561014', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52958908', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3875397124887823572', 'uuid-lslong': '12889903803087315614'}, 'enable': 'true', 'created': '2026-03-24T13:46:13', 'last-modified': '2026-03-24T13:46:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.039175'} 2026-03-24 13:46:16,118 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-24 13:46:16,119 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95561014 passed 2026-03-24 13:46:16,119 - DEBUG - ====Verifying policy data for ctest-vn-95561014 in API_Server ====== 2026-03-24 13:46:16,119 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 13:46:16,126 - DEBUG - Requesting: http://10.0.0.50:8082/domain/76f104c7-22de-4979-81c0-a4a0d0890adf 2026-03-24 13:46:16,139 - DEBUG - Requesting: http://10.0.0.50:8082/project/5156e989-2412-4ae1-8134-9eb89eacfc79 2026-03-24 13:46:16,213 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35c82d27-0082-44d4-b2e2-23371bf9e29e 2026-03-24 13:46:16,225 - DEBUG - ==>Verifying data for policy with id: dec8816e-dcf2-4e35-901c-a99144326429, fqn: ['default-domain', 'ctest-TestBasicPolicy-52958908', 'ctest-policy-allow-all-99949904'] 2026-03-24 13:46:16,225 - INFO - VN ctest-vn-95561014 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-24 13:46:16,225 - DEBUG - Verifying the vn in opserver 2026-03-24 13:46:16,225 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52958908:ctest-vn-95561014 virtual network link through opserver 10.0.0.50 2026-03-24 13:46:16,225 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-24 13:46:16,531 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-24 13:46:16,613 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52958908:ctest-vn-95561014', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52958908:ctest-vn-95561014?flat'} 2026-03-24 13:46:16,613 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52958908:ctest-vn-95561014 is found in opserver 2026-03-24 13:46:16,624 - DEBUG - Do not have enough data to verify VN in agent 2026-03-24 13:46:16,630 - DEBUG - VRF ids for VN ctest-vn-95561014: {} 2026-03-24 13:46:16,630 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 13:46:16,636 - DEBUG - Requesting: http://10.0.0.50:8082/domain/76f104c7-22de-4979-81c0-a4a0d0890adf 2026-03-24 13:46:16,649 - DEBUG - Requesting: http://10.0.0.50:8082/project/5156e989-2412-4ae1-8134-9eb89eacfc79 2026-03-24 13:46:16,738 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b8beccd-fe40-4040-b11d-ab234dc09cbf 2026-03-24 13:46:16,752 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b8beccd-fe40-4040-b11d-ab234dc09cbf 2026-03-24 13:46:16,763 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4ca6c4d-43a6-413f-8564-3cc14681d170 2026-03-24 13:46:16,772 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4ca6c4d-43a6-413f-8564-3cc14681d170 2026-03-24 13:46:16,781 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a38b9fa7-93dc-4370-afa0-1c0799b62997 2026-03-24 13:46:16,789 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-24 13:46:16,789 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b8beccd-fe40-4040-b11d-ab234dc09cbf 2026-03-24 13:46:16,800 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4ca6c4d-43a6-413f-8564-3cc14681d170 2026-03-24 13:46:16,818 - INFO - Verified VN network id 12 for VN 9b8beccd-fe40-4040-b11d-ab234dc09cbf 2026-03-24 13:46:16,818 - INFO - Verifications in API Server for VN ctest-vn-89433092 passed 2026-03-24 13:46:16,818 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b8beccd-fe40-4040-b11d-ab234dc09cbf 2026-03-24 13:46:16,828 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4ca6c4d-43a6-413f-8564-3cc14681d170 2026-03-24 13:46:16,836 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4ca6c4d-43a6-413f-8564-3cc14681d170 2026-03-24 13:46:16,844 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a38b9fa7-93dc-4370-afa0-1c0799b62997 2026-03-24 13:46:16,858 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52958908:ctest-vn-89433092', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52958908', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11208312467119685696', 'uuid-lslong': '12762545087154527423'}, 'enable': 'true', 'created': '2026-03-24T13:46:14', 'last-modified': '2026-03-24T13:46:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.541907'} 2026-03-24 13:46:16,864 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-24 13:46:16,865 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89433092 passed 2026-03-24 13:46:16,865 - DEBUG - ====Verifying policy data for ctest-vn-89433092 in API_Server ====== 2026-03-24 13:46:16,865 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 13:46:16,871 - DEBUG - Requesting: http://10.0.0.50:8082/domain/76f104c7-22de-4979-81c0-a4a0d0890adf 2026-03-24 13:46:16,883 - DEBUG - Requesting: http://10.0.0.50:8082/project/5156e989-2412-4ae1-8134-9eb89eacfc79 2026-03-24 13:46:16,958 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b8beccd-fe40-4040-b11d-ab234dc09cbf 2026-03-24 13:46:16,969 - DEBUG - ==>Verifying data for policy with id: dec8816e-dcf2-4e35-901c-a99144326429, fqn: ['default-domain', 'ctest-TestBasicPolicy-52958908', 'ctest-policy-allow-all-99949904'] 2026-03-24 13:46:16,969 - INFO - VN ctest-vn-89433092 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-24 13:46:16,969 - DEBUG - Verifying the vn in opserver 2026-03-24 13:46:16,969 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52958908:ctest-vn-89433092 virtual network link through opserver 10.0.0.50 2026-03-24 13:46:16,969 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-24 13:46:16,981 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52958908:ctest-vn-89433092', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52958908:ctest-vn-89433092?flat'} 2026-03-24 13:46:16,981 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52958908:ctest-vn-89433092 is found in opserver 2026-03-24 13:46:16,992 - DEBUG - Do not have enough data to verify VN in agent 2026-03-24 13:46:16,998 - DEBUG - VRF ids for VN ctest-vn-89433092: {} 2026-03-24 13:46:17,061 - DEBUG - Services list from nova: [, , ] 2026-03-24 13:46:18,225 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5530-1) 2026-03-24 13:46:19,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5530-1) 2026-03-24 13:46:19,621 - INFO - Waiting for VM ctest-TestBasicPolicy-52958908-95916750 to be up.. 2026-03-24 13:46:19,787 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-24 13:46:24,879 - DEBUG - VM is in ACTIVE state now 2026-03-24 13:46:24,879 - INFO - VM name : ctest-TestBasicPolicy-52958908-95916750 2026-03-24 13:46:24,978 - DEBUG - VM ctest-TestBasicPolicy-52958908-95916750 ID is 78d1f811-c1cd-4cda-8f03-55eae10b4ba3 2026-03-24 13:46:25,000 - DEBUG - VM ctest-TestBasicPolicy-52958908-95916750 launched on Node cn-jenkins-deploy-platform-ansible-os-5530-1 2026-03-24 13:46:25,094 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/78d1f811-c1cd-4cda-8f03-55eae10b4ba3 2026-03-24 13:46:25,103 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/66e97ebb-500f-452e-b292-42e8f77351ca 2026-03-24 13:46:28,325 - 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 1019ms') 2026-03-24 13:46:28,325 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52958908-95916750 failed! 2026-03-24 13:46:28,383 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52958908:ctest-vn-95561014 is 105.157.197.193 and allocation pool is NOT set 2026-03-24 13:46:30,452 - 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=11.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.41 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 = 2.407/6.969/11.531/4.562 ms') 2026-03-24 13:46:30,452 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52958908-95916750 passed 2026-03-24 13:46:30,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 13:46:30,608 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52958908-95916750, IP 105.157.197.195, Port 22 2026-03-24 13:46:30,775 - DEBUG - VM ctest-TestBasicPolicy-52958908-95916750 is ready for SSH connections 2026-03-24 13:46:30,775 - INFO - Waiting for VM ctest-TestBasicPolicy-52958908-22839330 to be up.. 2026-03-24 13:46:30,888 - DEBUG - VM is in ACTIVE state now 2026-03-24 13:46:30,888 - INFO - VM name : ctest-TestBasicPolicy-52958908-22839330 2026-03-24 13:46:30,982 - DEBUG - VM ctest-TestBasicPolicy-52958908-22839330 ID is 79ebaec7-db3b-4bd3-b09c-d137cfe871ba 2026-03-24 13:46:30,982 - DEBUG - VM ctest-TestBasicPolicy-52958908-22839330 launched on Node cn-jenkins-deploy-platform-ansible-os-5530-1 2026-03-24 13:46:31,069 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/79ebaec7-db3b-4bd3-b09c-d137cfe871ba 2026-03-24 13:46:31,080 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6d9d0de1-40e5-4755-a1b5-3ea87a4de12e 2026-03-24 13:46:32,333 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.08 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.080/3.869/5.658/1.789 ms') 2026-03-24 13:46:32,333 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52958908-22839330 passed 2026-03-24 13:46:32,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 13:46:32,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52958908-22839330, IP 45.72.248.131, Port 22 2026-03-24 13:46:32,654 - DEBUG - VM ctest-TestBasicPolicy-52958908-22839330 is ready for SSH connections 2026-03-24 13:46:32,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 13:46:32,655 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.72.248.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-24 13:46:32,655 - DEBUG - ping -s 56 -c 3 -W 1 45.72.248.131 2026-03-24 13:46:36,851 - DEBUG - PING 45.72.248.131 (45.72.248.131): 56 data bytes 64 bytes from 45.72.248.131: seq=0 ttl=63 time=4.715 ms 64 bytes from 45.72.248.131: seq=1 ttl=63 time=0.939 ms 64 bytes from 45.72.248.131: seq=2 ttl=63 time=1.169 ms --- 45.72.248.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.939/2.274/4.715 ms 2026-03-24 13:46:36,851 - INFO - Ping to IP 45.72.248.131 from VM ctest-TestBasicPolicy-52958908-95916750 passed 2026-03-24 13:46:37,047 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dec8816e-dcf2-4e35-901c-a99144326429", "href": "http://10.0.0.50:8082/network-policy/dec8816e-dcf2-4e35-901c-a99144326429"}} 2026-03-24 13:46:37,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 13:46:37,048 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.72.248.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-24 13:46:37,048 - DEBUG - ping -s 56 -c 3 -W 1 45.72.248.131 2026-03-24 13:46:40,295 - DEBUG - PING 45.72.248.131 (45.72.248.131): 56 data bytes --- 45.72.248.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-24 13:46:40,295 - WARNING - Ping to IP 45.72.248.131 from VM ctest-TestBasicPolicy-52958908-95916750 failed 2026-03-24 13:46:40,295 - INFO - Deleting VM ctest-TestBasicPolicy-52958908-22839330 2026-03-24 13:46:40,376 - INFO - Deleting VM ctest-TestBasicPolicy-52958908-95916750 2026-03-24 13:46:40,819 - INFO - Deleted policy ctest-policy-allow-all-99949904 2026-03-24 13:46:40,820 - INFO - Deleting VN ctest-vn-89433092 2026-03-24 13:46:40,872 - DEBUG - VN 9b8beccd-fe40-4040-b11d-ab234dc09cbf still in use: Unable to complete operation on network 9b8beccd-fe40-4040-b11d-ab234dc09cbf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c723d602-0a22-48d7-94db-a8c89e73198a'] 2026-03-24 13:46:40,873 - WARNING - Deleting VN ctest-vn-89433092 failed..Will retry 2026-03-24 13:46:43,001 - DEBUG - Response for deleting network () 2026-03-24 13:46:43,001 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4ca6c4d-43a6-413f-8564-3cc14681d170 2026-03-24 13:46:43,010 - DEBUG - Response Code: 404 2026-03-24 13:46:43,010 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 13:46:43,019 - DEBUG - Requesting: http://10.0.0.50:8082/domain/76f104c7-22de-4979-81c0-a4a0d0890adf 2026-03-24 13:46:43,077 - DEBUG - Requesting: http://10.0.0.50:8082/project/5156e989-2412-4ae1-8134-9eb89eacfc79 2026-03-24 13:46:43,156 - INFO - Validated that VN ctest-vn-89433092 is not found in API Server 2026-03-24 13:46:43,166 - DEBUG - VN ctest-vn-89433092 is not present in Agent 10.0.0.50 2026-03-24 13:46:43,167 - INFO - Validated that VN ctest-vn-89433092 is not in any agent 2026-03-24 13:46:43,181 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89433092 info 2026-03-24 13:46:43,182 - INFO - Deleting VN ctest-vn-95561014 2026-03-24 13:46:43,301 - DEBUG - Response for deleting network () 2026-03-24 13:46:43,301 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/212e118c-e2a2-4e8e-94bf-5d8eade3f2be 2026-03-24 13:46:43,313 - DEBUG - Response Code: 404 2026-03-24 13:46:43,313 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 13:46:43,319 - DEBUG - Requesting: http://10.0.0.50:8082/domain/76f104c7-22de-4979-81c0-a4a0d0890adf 2026-03-24 13:46:43,373 - DEBUG - Requesting: http://10.0.0.50:8082/project/5156e989-2412-4ae1-8134-9eb89eacfc79 2026-03-24 13:46:43,449 - INFO - Validated that VN ctest-vn-95561014 is not found in API Server 2026-03-24 13:46:43,462 - DEBUG - VN ctest-vn-95561014 is not present in Agent 10.0.0.50 2026-03-24 13:46:43,462 - INFO - Validated that VN ctest-vn-95561014 is not in any agent 2026-03-24 13:46:43,477 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95561014 info 2026-03-24 13:46:43,738 - DEBUG - No XMPP flaps were noticed during the test
2026-03-24 13:46:43,738 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2026-03-24 13:46:43,738 - INFO - -------------------------------------------------------------------------------- 2026-03-24 13:46:44,507 - INFO - Deleted project: ctest-TestBasicPolicy-52958908, ID : 5156e989-2412-4ae1-8134-9eb89eacfc79