2026-03-18 20:31:12,695 - INFO - Domain Default found not creating 2026-03-18 20:31:12,891 - INFO - Project ctest-TestBasicPolicy-72147527 not found, creating it 2026-03-18 20:31:13,389 - INFO - Created Project:ctest-TestBasicPolicy-72147527, ID : 3d619995-50e5-4ed1-851e-9178f470360a 2026-03-18 20:31:14,979 - INFO - ================================================================================ 2026-03-18 20:31:14,979 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-18 20:31:14,979 - 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-18 20:31:15,239 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-18 20:31:15,239 - INFO - Initial checks done. Running the testcase now 2026-03-18 20:31:15,239 - INFO - 2026-03-18 20:31:15,845 - DEBUG - Response for create_network : {'network': {'id': '8b460b9a-fc12-4ab4-91c6-f48b294ac125', 'name': 'ctest-vn-50806039', 'tenant_id': '3d61999550e54ed1851e9178f470360a', 'project_id': '3d61999550e54ed1851e9178f470360a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72147527', 'ctest-vn-50806039'], 'port_security_enabled': True, 'description': ''}} 2026-03-18 20:31:16,057 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd814c3db-1306-45f7-b42f-18ce19209b55', 'name': '', 'tenant_id': '3d61999550e54ed1851e9178f470360a', 'network_id': '8b460b9a-fc12-4ab4-91c6-f48b294ac125', 'ip_version': 4, 'cidr': '184.161.15.192/26', 'allocation_pools': [{'start': '184.161.15.194', 'end': '184.161.15.254'}], 'gateway_ip': '184.161.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.161.15.194', 'tags': [], 'project_id': '3d61999550e54ed1851e9178f470360a'}} 2026-03-18 20:31:16,077 - INFO - Created VN ctest-vn-50806039 2026-03-18 20:31:16,129 - DEBUG - VN ctest-vn-50806039 UUID is 8b460b9a-fc12-4ab4-91c6-f48b294ac125 2026-03-18 20:31:16,440 - DEBUG - Response for create_network : {'network': {'id': '984dbd25-8f7f-407c-a4cd-57f85c469c73', 'name': 'ctest-vn-21994939', 'tenant_id': '3d61999550e54ed1851e9178f470360a', 'project_id': '3d61999550e54ed1851e9178f470360a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72147527', 'ctest-vn-21994939'], 'port_security_enabled': True, 'description': ''}} 2026-03-18 20:31:16,658 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b82f7070-8feb-4b11-83d1-fc8921d9837f', 'name': '', 'tenant_id': '3d61999550e54ed1851e9178f470360a', 'network_id': '984dbd25-8f7f-407c-a4cd-57f85c469c73', 'ip_version': 4, 'cidr': '157.92.227.192/26', 'allocation_pools': [{'start': '157.92.227.194', 'end': '157.92.227.254'}], 'gateway_ip': '157.92.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.92.227.194', 'tags': [], 'project_id': '3d61999550e54ed1851e9178f470360a'}} 2026-03-18 20:31:16,686 - INFO - Created VN ctest-vn-21994939 2026-03-18 20:31:16,742 - DEBUG - VN ctest-vn-21994939 UUID is 984dbd25-8f7f-407c-a4cd-57f85c469c73 2026-03-18 20:31:16,867 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72147527:ctest-vn-50806039, 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-72147527:ctest-vn-21994939, 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-18 20:31:17,183 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b460b9a-fc12-4ab4-91c6-f48b294ac125', 'name': 'ctest-vn-50806039', 'tenant_id': '3d61999550e54ed1851e9178f470360a', 'project_id': '3d61999550e54ed1851e9178f470360a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d814c3db-1306-45f7-b42f-18ce19209b55'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72147527', 'ctest-vn-50806039'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72147527', 'ctest-policy-allow-all-73395754']], 'subnet_ipam': [{'subnet_cidr': '184.161.15.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-18 20:31:17,431 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '984dbd25-8f7f-407c-a4cd-57f85c469c73', 'name': 'ctest-vn-21994939', 'tenant_id': '3d61999550e54ed1851e9178f470360a', 'project_id': '3d61999550e54ed1851e9178f470360a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b82f7070-8feb-4b11-83d1-fc8921d9837f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72147527', 'ctest-vn-21994939'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72147527', 'ctest-policy-allow-all-73395754']], 'subnet_ipam': [{'subnet_cidr': '157.92.227.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-18 20:31:17,593 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 20:31:17,900 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 20:31:17,932 - DEBUG - Requesting: http://10.0.0.38:8082/domain/121fb3cc-4567-4db5-ab71-cfd9b23a5e3b 2026-03-18 20:31:17,945 - DEBUG - Requesting: http://10.0.0.38:8082/project/3d619995-50e5-4ed1-851e-9178f470360a 2026-03-18 20:31:18,019 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b460b9a-fc12-4ab4-91c6-f48b294ac125 2026-03-18 20:31:18,032 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b460b9a-fc12-4ab4-91c6-f48b294ac125 2026-03-18 20:31:18,042 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9f15ddbf-f208-45cc-85a9-c262df4e946f 2026-03-18 20:31:18,050 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9f15ddbf-f208-45cc-85a9-c262df4e946f 2026-03-18 20:31:18,057 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bb1e670f-f464-48d5-8ae5-510eb2abcefc 2026-03-18 20:31:18,063 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-18 20:31:18,063 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b460b9a-fc12-4ab4-91c6-f48b294ac125 2026-03-18 20:31:18,072 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9f15ddbf-f208-45cc-85a9-c262df4e946f 2026-03-18 20:31:18,088 - INFO - Verified VN network id 11 for VN 8b460b9a-fc12-4ab4-91c6-f48b294ac125 2026-03-18 20:31:18,088 - INFO - Verifications in API Server for VN ctest-vn-50806039 passed 2026-03-18 20:31:18,088 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b460b9a-fc12-4ab4-91c6-f48b294ac125 2026-03-18 20:31:18,099 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9f15ddbf-f208-45cc-85a9-c262df4e946f 2026-03-18 20:31:18,107 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9f15ddbf-f208-45cc-85a9-c262df4e946f 2026-03-18 20:31:18,116 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bb1e670f-f464-48d5-8ae5-510eb2abcefc 2026-03-18 20:31:18,129 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72147527:ctest-vn-50806039', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72147527', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10035721579923655348', 'uuid-lslong': '10504352059418657061'}, 'enable': 'true', 'created': '2026-03-18T20:31:15', 'last-modified': '2026-03-18T20:31:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.975168'} 2026-03-18 20:31:18,135 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-18 20:31:18,135 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50806039 passed 2026-03-18 20:31:18,135 - DEBUG - ====Verifying policy data for ctest-vn-50806039 in API_Server ====== 2026-03-18 20:31:18,136 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 20:31:18,141 - DEBUG - Requesting: http://10.0.0.38:8082/domain/121fb3cc-4567-4db5-ab71-cfd9b23a5e3b 2026-03-18 20:31:18,152 - DEBUG - Requesting: http://10.0.0.38:8082/project/3d619995-50e5-4ed1-851e-9178f470360a 2026-03-18 20:31:18,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b460b9a-fc12-4ab4-91c6-f48b294ac125 2026-03-18 20:31:18,239 - DEBUG - ==>Verifying data for policy with id: 83f9f8d7-4b0d-4376-93ae-029621f55ab2, fqn: ['default-domain', 'ctest-TestBasicPolicy-72147527', 'ctest-policy-allow-all-73395754'] 2026-03-18 20:31:18,239 - INFO - VN ctest-vn-50806039 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-18 20:31:18,239 - DEBUG - Verifying the vn in opserver 2026-03-18 20:31:18,239 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72147527:ctest-vn-50806039 virtual network link through opserver 10.0.0.38 2026-03-18 20:31:18,239 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-18 20:31:18,545 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-18 20:31:18,613 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72147527:ctest-vn-50806039', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72147527:ctest-vn-50806039?flat'} 2026-03-18 20:31:18,613 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72147527:ctest-vn-50806039 is found in opserver 2026-03-18 20:31:18,623 - DEBUG - Do not have enough data to verify VN in agent 2026-03-18 20:31:18,627 - DEBUG - VRF ids for VN ctest-vn-50806039: {} 2026-03-18 20:31:18,627 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 20:31:18,633 - DEBUG - Requesting: http://10.0.0.38:8082/domain/121fb3cc-4567-4db5-ab71-cfd9b23a5e3b 2026-03-18 20:31:18,645 - DEBUG - Requesting: http://10.0.0.38:8082/project/3d619995-50e5-4ed1-851e-9178f470360a 2026-03-18 20:31:18,724 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/984dbd25-8f7f-407c-a4cd-57f85c469c73 2026-03-18 20:31:18,738 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/984dbd25-8f7f-407c-a4cd-57f85c469c73 2026-03-18 20:31:18,748 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6084adbb-5f7d-4953-afbf-29630c80f615 2026-03-18 20:31:18,755 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6084adbb-5f7d-4953-afbf-29630c80f615 2026-03-18 20:31:18,763 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1b86085a-88c5-4250-9c0a-cb9c1dbd5095 2026-03-18 20:31:18,771 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-18 20:31:18,771 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/984dbd25-8f7f-407c-a4cd-57f85c469c73 2026-03-18 20:31:18,782 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6084adbb-5f7d-4953-afbf-29630c80f615 2026-03-18 20:31:18,799 - INFO - Verified VN network id 12 for VN 984dbd25-8f7f-407c-a4cd-57f85c469c73 2026-03-18 20:31:18,799 - INFO - Verifications in API Server for VN ctest-vn-21994939 passed 2026-03-18 20:31:18,799 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/984dbd25-8f7f-407c-a4cd-57f85c469c73 2026-03-18 20:31:18,809 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6084adbb-5f7d-4953-afbf-29630c80f615 2026-03-18 20:31:18,818 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6084adbb-5f7d-4953-afbf-29630c80f615 2026-03-18 20:31:18,827 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1b86085a-88c5-4250-9c0a-cb9c1dbd5095 2026-03-18 20:31:18,840 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72147527:ctest-vn-21994939', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72147527', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10974635835990687868', 'uuid-lslong': '11875244516657503347'}, 'enable': 'true', 'created': '2026-03-18T20:31:16', 'last-modified': '2026-03-18T20:31:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.439539'} 2026-03-18 20:31:18,847 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-18 20:31:18,847 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21994939 passed 2026-03-18 20:31:18,847 - DEBUG - ====Verifying policy data for ctest-vn-21994939 in API_Server ====== 2026-03-18 20:31:18,847 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 20:31:18,855 - DEBUG - Requesting: http://10.0.0.38:8082/domain/121fb3cc-4567-4db5-ab71-cfd9b23a5e3b 2026-03-18 20:31:18,866 - DEBUG - Requesting: http://10.0.0.38:8082/project/3d619995-50e5-4ed1-851e-9178f470360a 2026-03-18 20:31:18,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/984dbd25-8f7f-407c-a4cd-57f85c469c73 2026-03-18 20:31:18,949 - DEBUG - ==>Verifying data for policy with id: 83f9f8d7-4b0d-4376-93ae-029621f55ab2, fqn: ['default-domain', 'ctest-TestBasicPolicy-72147527', 'ctest-policy-allow-all-73395754'] 2026-03-18 20:31:18,949 - INFO - VN ctest-vn-21994939 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-18 20:31:18,949 - DEBUG - Verifying the vn in opserver 2026-03-18 20:31:18,949 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72147527:ctest-vn-21994939 virtual network link through opserver 10.0.0.38 2026-03-18 20:31:18,949 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-18 20:31:18,959 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72147527:ctest-vn-21994939', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72147527:ctest-vn-21994939?flat'} 2026-03-18 20:31:18,959 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72147527:ctest-vn-21994939 is found in opserver 2026-03-18 20:31:18,968 - DEBUG - Do not have enough data to verify VN in agent 2026-03-18 20:31:18,973 - DEBUG - VRF ids for VN ctest-vn-21994939: {} 2026-03-18 20:31:19,036 - DEBUG - Services list from nova: [, , ] 2026-03-18 20:31:20,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5489-1) 2026-03-18 20:31:21,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5489-1) 2026-03-18 20:31:21,345 - INFO - Waiting for VM ctest-TestBasicPolicy-72147527-43039138 to be up.. 2026-03-18 20:31:21,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-18 20:31:26,512 - DEBUG - VM is in ACTIVE state now 2026-03-18 20:31:26,512 - INFO - VM name : ctest-TestBasicPolicy-72147527-43039138 2026-03-18 20:31:26,588 - DEBUG - VM ctest-TestBasicPolicy-72147527-43039138 ID is 6f305182-43d0-4931-b840-ef163f2e63e5 2026-03-18 20:31:26,610 - DEBUG - VM ctest-TestBasicPolicy-72147527-43039138 launched on Node cn-jenkins-deploy-platform-ansible-os-5489-1 2026-03-18 20:31:26,690 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6f305182-43d0-4931-b840-ef163f2e63e5 2026-03-18 20:31:26,699 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ed17d389-92ba-422d-ae4c-536bd914a8c4 2026-03-18 20:31:29,944 - 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 1002ms') 2026-03-18 20:31:29,944 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72147527-43039138 failed! 2026-03-18 20:31:30,010 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72147527:ctest-vn-50806039 is 184.161.15.193 and allocation pool is NOT set 2026-03-18 20:31:32,068 - 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=9.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.720 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 = 0.720/5.323/9.927/4.603 ms') 2026-03-18 20:31:32,068 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72147527-43039138 passed 2026-03-18 20:31:32,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 20:31:32,222 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72147527-43039138, IP 184.161.15.195, Port 22 2026-03-18 20:31:32,396 - DEBUG - VM ctest-TestBasicPolicy-72147527-43039138 is ready for SSH connections 2026-03-18 20:31:32,396 - INFO - Waiting for VM ctest-TestBasicPolicy-72147527-51296132 to be up.. 2026-03-18 20:31:32,482 - DEBUG - VM is in ACTIVE state now 2026-03-18 20:31:32,482 - INFO - VM name : ctest-TestBasicPolicy-72147527-51296132 2026-03-18 20:31:32,567 - DEBUG - VM ctest-TestBasicPolicy-72147527-51296132 ID is a0c545ff-d746-4427-b025-d1d13a6c3676 2026-03-18 20:31:32,567 - DEBUG - VM ctest-TestBasicPolicy-72147527-51296132 launched on Node cn-jenkins-deploy-platform-ansible-os-5489-1 2026-03-18 20:31:32,648 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a0c545ff-d746-4427-b025-d1d13a6c3676 2026-03-18 20:31:32,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4159e8fb-1d04-4efe-aedc-d0e3cdaab9e6 2026-03-18 20:31:33,899 - 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=4.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.929 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.929/2.561/4.194/1.632 ms') 2026-03-18 20:31:33,899 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72147527-51296132 passed 2026-03-18 20:31:34,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 20:31:34,054 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72147527-51296132, IP 157.92.227.195, Port 22 2026-03-18 20:31:34,209 - DEBUG - VM ctest-TestBasicPolicy-72147527-51296132 is ready for SSH connections 2026-03-18 20:31:34,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 20:31:34,209 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.92.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-18 20:31:34,209 - DEBUG - ping -s 56 -c 3 -W 1 157.92.227.195 2026-03-18 20:31:38,316 - DEBUG - PING 157.92.227.195 (157.92.227.195): 56 data bytes 64 bytes from 157.92.227.195: seq=0 ttl=63 time=3.617 ms 64 bytes from 157.92.227.195: seq=1 ttl=63 time=1.349 ms 64 bytes from 157.92.227.195: seq=2 ttl=63 time=0.965 ms --- 157.92.227.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.965/1.977/3.617 ms 2026-03-18 20:31:38,316 - INFO - Ping to IP 157.92.227.195 from VM ctest-TestBasicPolicy-72147527-43039138 passed 2026-03-18 20:31:38,497 - DEBUG - Policy Update Response {"network-policy": {"uuid": "83f9f8d7-4b0d-4376-93ae-029621f55ab2", "href": "http://10.0.0.38:8082/network-policy/83f9f8d7-4b0d-4376-93ae-029621f55ab2"}} 2026-03-18 20:31:38,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 20:31:38,498 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.92.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-18 20:31:38,498 - DEBUG - ping -s 56 -c 3 -W 1 157.92.227.195 2026-03-18 20:31:41,749 - DEBUG - PING 157.92.227.195 (157.92.227.195): 56 data bytes --- 157.92.227.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-18 20:31:41,749 - WARNING - Ping to IP 157.92.227.195 from VM ctest-TestBasicPolicy-72147527-43039138 failed 2026-03-18 20:31:41,749 - INFO - Deleting VM ctest-TestBasicPolicy-72147527-51296132 2026-03-18 20:31:41,821 - INFO - Deleting VM ctest-TestBasicPolicy-72147527-43039138 2026-03-18 20:31:42,215 - INFO - Deleted policy ctest-policy-allow-all-73395754 2026-03-18 20:31:42,216 - INFO - Deleting VN ctest-vn-21994939 2026-03-18 20:31:42,260 - DEBUG - VN 984dbd25-8f7f-407c-a4cd-57f85c469c73 still in use: Unable to complete operation on network 984dbd25-8f7f-407c-a4cd-57f85c469c73. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9f8f8e6-d0ef-43bb-9a50-7af655d9996b'] 2026-03-18 20:31:42,260 - WARNING - Deleting VN ctest-vn-21994939 failed..Will retry 2026-03-18 20:31:44,358 - DEBUG - Response for deleting network () 2026-03-18 20:31:44,358 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6084adbb-5f7d-4953-afbf-29630c80f615 2026-03-18 20:31:44,363 - DEBUG - Response Code: 404 2026-03-18 20:31:44,363 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 20:31:44,372 - DEBUG - Requesting: http://10.0.0.38:8082/domain/121fb3cc-4567-4db5-ab71-cfd9b23a5e3b 2026-03-18 20:31:44,427 - DEBUG - Requesting: http://10.0.0.38:8082/project/3d619995-50e5-4ed1-851e-9178f470360a 2026-03-18 20:31:44,498 - INFO - Validated that VN ctest-vn-21994939 is not found in API Server 2026-03-18 20:31:44,509 - DEBUG - VN ctest-vn-21994939 is not present in Agent 10.0.0.38 2026-03-18 20:31:44,509 - INFO - Validated that VN ctest-vn-21994939 is not in any agent 2026-03-18 20:31:44,523 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21994939 info 2026-03-18 20:31:44,523 - INFO - Deleting VN ctest-vn-50806039 2026-03-18 20:31:44,640 - DEBUG - Response for deleting network () 2026-03-18 20:31:44,640 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9f15ddbf-f208-45cc-85a9-c262df4e946f 2026-03-18 20:31:44,648 - DEBUG - Response Code: 404 2026-03-18 20:31:44,648 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 20:31:44,655 - DEBUG - Requesting: http://10.0.0.38:8082/domain/121fb3cc-4567-4db5-ab71-cfd9b23a5e3b 2026-03-18 20:31:44,711 - DEBUG - Requesting: http://10.0.0.38:8082/project/3d619995-50e5-4ed1-851e-9178f470360a 2026-03-18 20:31:44,786 - INFO - Validated that VN ctest-vn-50806039 is not found in API Server 2026-03-18 20:31:44,797 - DEBUG - VN ctest-vn-50806039 is not present in Agent 10.0.0.38 2026-03-18 20:31:44,797 - INFO - Validated that VN ctest-vn-50806039 is not in any agent 2026-03-18 20:31:44,812 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50806039 info 2026-03-18 20:31:45,069 - DEBUG - No XMPP flaps were noticed during the test 2026-03-18 20:31:45,069 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2026-03-18 20:31:45,069 - INFO - -------------------------------------------------------------------------------- 2026-03-18 20:31:45,796 - INFO - Deleted project: ctest-TestBasicPolicy-72147527, ID : 3d619995-50e5-4ed1-851e-9178f470360a