2026-01-29 08:21:11,108 - INFO - Domain Default found not creating 2026-01-29 08:21:11,253 - INFO - Project ctest-TestBasicPolicy-20436634 not found, creating it 2026-01-29 08:21:11,681 - INFO - Created Project:ctest-TestBasicPolicy-20436634, ID : c2b24058-4475-4999-98cd-aa0ab9eefc3f 2026-01-29 08:21:13,058 - INFO - ================================================================================ 2026-01-29 08:21:13,058 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 08:21:13,058 - 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-01-29 08:21:13,317 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-29 08:21:13,318 - INFO - Initial checks done. Running the testcase now 2026-01-29 08:21:13,318 - INFO - 2026-01-29 08:21:13,831 - DEBUG - Response for create_network : {'network': {'id': 'ed702dea-c72b-441b-9652-cecb8a912187', 'name': 'ctest-vn-87440081', 'tenant_id': 'c2b240584475499998cdaa0ab9eefc3f', 'project_id': 'c2b240584475499998cdaa0ab9eefc3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-vn-87440081'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 08:21:13,973 - DEBUG - Response for create_subnet : {'subnet': {'id': '303e9546-4eb0-4fcf-a921-4d13f1bc71f0', 'name': '', 'tenant_id': 'c2b240584475499998cdaa0ab9eefc3f', 'network_id': 'ed702dea-c72b-441b-9652-cecb8a912187', 'ip_version': 4, 'cidr': '89.162.105.0/26', 'allocation_pools': [{'start': '89.162.105.2', 'end': '89.162.105.62'}], 'gateway_ip': '89.162.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.162.105.2', 'tags': [], 'project_id': 'c2b240584475499998cdaa0ab9eefc3f'}} 2026-01-29 08:21:13,989 - INFO - Created VN ctest-vn-87440081 2026-01-29 08:21:14,039 - DEBUG - VN ctest-vn-87440081 UUID is ed702dea-c72b-441b-9652-cecb8a912187 2026-01-29 08:21:14,337 - DEBUG - Response for create_network : {'network': {'id': '79287f9c-0ee7-47de-a823-603025823092', 'name': 'ctest-vn-84434094', 'tenant_id': 'c2b240584475499998cdaa0ab9eefc3f', 'project_id': 'c2b240584475499998cdaa0ab9eefc3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-vn-84434094'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 08:21:14,478 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f407d1e-e37d-46f9-b4b9-f979ade8a7bb', 'name': '', 'tenant_id': 'c2b240584475499998cdaa0ab9eefc3f', 'network_id': '79287f9c-0ee7-47de-a823-603025823092', 'ip_version': 4, 'cidr': '75.56.103.128/26', 'allocation_pools': [{'start': '75.56.103.130', 'end': '75.56.103.190'}], 'gateway_ip': '75.56.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.56.103.130', 'tags': [], 'project_id': 'c2b240584475499998cdaa0ab9eefc3f'}} 2026-01-29 08:21:14,493 - INFO - Created VN ctest-vn-84434094 2026-01-29 08:21:14,543 - DEBUG - VN ctest-vn-84434094 UUID is 79287f9c-0ee7-47de-a823-603025823092 2026-01-29 08:21:14,683 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081, 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-20436634:ctest-vn-84434094, 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-01-29 08:21:14,957 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed702dea-c72b-441b-9652-cecb8a912187', 'name': 'ctest-vn-87440081', 'tenant_id': 'c2b240584475499998cdaa0ab9eefc3f', 'project_id': 'c2b240584475499998cdaa0ab9eefc3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['303e9546-4eb0-4fcf-a921-4d13f1bc71f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-vn-87440081'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-policy-allow-all-20125168']], 'subnet_ipam': [{'subnet_cidr': '89.162.105.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 08:21:15,177 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '79287f9c-0ee7-47de-a823-603025823092', 'name': 'ctest-vn-84434094', 'tenant_id': 'c2b240584475499998cdaa0ab9eefc3f', 'project_id': 'c2b240584475499998cdaa0ab9eefc3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f407d1e-e37d-46f9-b4b9-f979ade8a7bb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-vn-84434094'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-policy-allow-all-20125168']], 'subnet_ipam': [{'subnet_cidr': '75.56.103.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 08:21:15,331 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 08:21:15,623 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 08:21:15,650 - DEBUG - Requesting: http://10.0.0.38:8082/domain/77ecb557-1fda-4a32-95c5-79f53082dbb9 2026-01-29 08:21:15,660 - DEBUG - Requesting: http://10.0.0.38:8082/project/c2b24058-4475-4999-98cd-aa0ab9eefc3f 2026-01-29 08:21:15,730 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed702dea-c72b-441b-9652-cecb8a912187 2026-01-29 08:21:15,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed702dea-c72b-441b-9652-cecb8a912187 2026-01-29 08:21:15,746 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a8e2579-2cbf-4f2a-b351-99421a36fc17 2026-01-29 08:21:15,752 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a8e2579-2cbf-4f2a-b351-99421a36fc17 2026-01-29 08:21:15,758 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4eb4a3f1-22d4-4395-9b14-6db7066c6311 2026-01-29 08:21:15,763 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 08:21:15,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed702dea-c72b-441b-9652-cecb8a912187 2026-01-29 08:21:15,770 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a8e2579-2cbf-4f2a-b351-99421a36fc17 2026-01-29 08:21:15,781 - INFO - Verified VN network id 11 for VN ed702dea-c72b-441b-9652-cecb8a912187 2026-01-29 08:21:15,781 - INFO - Verifications in API Server for VN ctest-vn-87440081 passed 2026-01-29 08:21:15,781 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed702dea-c72b-441b-9652-cecb8a912187 2026-01-29 08:21:15,788 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a8e2579-2cbf-4f2a-b351-99421a36fc17 2026-01-29 08:21:15,793 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a8e2579-2cbf-4f2a-b351-99421a36fc17 2026-01-29 08:21:15,799 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4eb4a3f1-22d4-4395-9b14-6db7066c6311 2026-01-29 08:21:15,808 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20436634', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17109225470767612955', 'uuid-lslong': '10831947427377914247'}, 'enable': 'true', 'created': '2026-01-29T08:21:13', 'last-modified': '2026-01-29T08:21:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.863710'} 2026-01-29 08:21:15,814 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 08:21:15,814 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87440081 passed 2026-01-29 08:21:15,814 - DEBUG - ====Verifying policy data for ctest-vn-87440081 in API_Server ====== 2026-01-29 08:21:15,814 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 08:21:15,818 - DEBUG - Requesting: http://10.0.0.38:8082/domain/77ecb557-1fda-4a32-95c5-79f53082dbb9 2026-01-29 08:21:15,829 - DEBUG - Requesting: http://10.0.0.38:8082/project/c2b24058-4475-4999-98cd-aa0ab9eefc3f 2026-01-29 08:21:15,899 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed702dea-c72b-441b-9652-cecb8a912187 2026-01-29 08:21:15,908 - DEBUG - ==>Verifying data for policy with id: fa465ae6-1ba8-4495-a311-2a24368d4fd6, fqn: ['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-policy-allow-all-20125168'] 2026-01-29 08:21:15,908 - INFO - VN ctest-vn-87440081 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 08:21:15,908 - DEBUG - Verifying the vn in opserver 2026-01-29 08:21:15,908 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081 virtual network link through opserver 10.0.0.38 2026-01-29 08:21:15,908 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-29 08:21:16,197 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-29 08:21:16,250 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081?flat'} 2026-01-29 08:21:16,250 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081 is found in opserver 2026-01-29 08:21:16,258 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 08:21:16,262 - DEBUG - VRF ids for VN ctest-vn-87440081: {} 2026-01-29 08:21:16,262 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 08:21:16,266 - DEBUG - Requesting: http://10.0.0.38:8082/domain/77ecb557-1fda-4a32-95c5-79f53082dbb9 2026-01-29 08:21:16,275 - DEBUG - Requesting: http://10.0.0.38:8082/project/c2b24058-4475-4999-98cd-aa0ab9eefc3f 2026-01-29 08:21:16,343 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79287f9c-0ee7-47de-a823-603025823092 2026-01-29 08:21:16,353 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79287f9c-0ee7-47de-a823-603025823092 2026-01-29 08:21:16,361 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ec45a408-9c28-4667-bcc2-7fae5cc2f4e7 2026-01-29 08:21:16,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ec45a408-9c28-4667-bcc2-7fae5cc2f4e7 2026-01-29 08:21:16,372 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e9aedfb3-1903-40c7-87a1-5b55f6f0638f 2026-01-29 08:21:16,377 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 08:21:16,377 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79287f9c-0ee7-47de-a823-603025823092 2026-01-29 08:21:16,384 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ec45a408-9c28-4667-bcc2-7fae5cc2f4e7 2026-01-29 08:21:16,395 - INFO - Verified VN network id 12 for VN 79287f9c-0ee7-47de-a823-603025823092 2026-01-29 08:21:16,395 - INFO - Verifications in API Server for VN ctest-vn-84434094 passed 2026-01-29 08:21:16,395 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79287f9c-0ee7-47de-a823-603025823092 2026-01-29 08:21:16,403 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ec45a408-9c28-4667-bcc2-7fae5cc2f4e7 2026-01-29 08:21:16,409 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ec45a408-9c28-4667-bcc2-7fae5cc2f4e7 2026-01-29 08:21:16,414 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e9aedfb3-1903-40c7-87a1-5b55f6f0638f 2026-01-29 08:21:16,423 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-84434094', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20436634', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8730368185899370462', 'uuid-lslong': '12115633182460752018'}, 'enable': 'true', 'created': '2026-01-29T08:21:14', 'last-modified': '2026-01-29T08:21:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.265082'} 2026-01-29 08:21:16,428 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 08:21:16,428 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84434094 passed 2026-01-29 08:21:16,428 - DEBUG - ====Verifying policy data for ctest-vn-84434094 in API_Server ====== 2026-01-29 08:21:16,428 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 08:21:16,432 - DEBUG - Requesting: http://10.0.0.38:8082/domain/77ecb557-1fda-4a32-95c5-79f53082dbb9 2026-01-29 08:21:16,441 - DEBUG - Requesting: http://10.0.0.38:8082/project/c2b24058-4475-4999-98cd-aa0ab9eefc3f 2026-01-29 08:21:16,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79287f9c-0ee7-47de-a823-603025823092 2026-01-29 08:21:16,519 - DEBUG - ==>Verifying data for policy with id: fa465ae6-1ba8-4495-a311-2a24368d4fd6, fqn: ['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-policy-allow-all-20125168'] 2026-01-29 08:21:16,519 - INFO - VN ctest-vn-84434094 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 08:21:16,519 - DEBUG - Verifying the vn in opserver 2026-01-29 08:21:16,519 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-84434094 virtual network link through opserver 10.0.0.38 2026-01-29 08:21:16,519 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-29 08:21:16,527 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-84434094', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-84434094?flat'} 2026-01-29 08:21:16,527 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-84434094 is found in opserver 2026-01-29 08:21:16,535 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 08:21:16,539 - DEBUG - VRF ids for VN ctest-vn-84434094: {} 2026-01-29 08:21:16,587 - DEBUG - Services list from nova: [, , ] 2026-01-29 08:21:17,554 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5120-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5120-1) 2026-01-29 08:21:18,634 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5120-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5120-1) 2026-01-29 08:21:18,634 - INFO - Waiting for VM ctest-TestBasicPolicy-20436634-59977675 to be up.. 2026-01-29 08:21:18,710 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 08:21:23,784 - DEBUG - VM is in ACTIVE state now 2026-01-29 08:21:23,784 - INFO - VM name : ctest-TestBasicPolicy-20436634-59977675 2026-01-29 08:21:23,848 - DEBUG - VM ctest-TestBasicPolicy-20436634-59977675 ID is 52cea401-a9d6-42d1-9ea5-25f66ccab9fb 2026-01-29 08:21:23,869 - DEBUG - VM ctest-TestBasicPolicy-20436634-59977675 launched on Node cn-jenkins-deploy-platform-ansible-os-5120-1 2026-01-29 08:21:23,941 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/52cea401-a9d6-42d1-9ea5-25f66ccab9fb 2026-01-29 08:21:23,950 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b2f87148-6d4f-45a7-8511-85a34c5c8063 2026-01-29 08:21:27,196 - 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 1016ms') 2026-01-29 08:21:27,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20436634-59977675 failed! 2026-01-29 08:21:27,247 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081 is 89.162.105.1 and allocation pool is NOT set 2026-01-29 08:21:29,313 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/2.363/4.246/1.883 ms') 2026-01-29 08:21:29,313 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20436634-59977675 passed 2026-01-29 08:21:29,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 08:21:29,468 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20436634-59977675, IP 89.162.105.3, Port 22 2026-01-29 08:21:29,623 - DEBUG - VM ctest-TestBasicPolicy-20436634-59977675 is ready for SSH connections 2026-01-29 08:21:29,623 - INFO - Waiting for VM ctest-TestBasicPolicy-20436634-79146984 to be up.. 2026-01-29 08:21:29,688 - DEBUG - VM is in ACTIVE state now 2026-01-29 08:21:29,688 - INFO - VM name : ctest-TestBasicPolicy-20436634-79146984 2026-01-29 08:21:29,765 - DEBUG - VM ctest-TestBasicPolicy-20436634-79146984 ID is c8281771-a1e5-44ac-91e8-d4152ad06851 2026-01-29 08:21:29,765 - DEBUG - VM ctest-TestBasicPolicy-20436634-79146984 launched on Node cn-jenkins-deploy-platform-ansible-os-5120-1 2026-01-29 08:21:29,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c8281771-a1e5-44ac-91e8-d4152ad06851 2026-01-29 08:21:29,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4caa6e36-ad3a-483a-94dd-db52fc2e666a 2026-01-29 08:21:31,091 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.16 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.155/3.329/4.503/1.174 ms') 2026-01-29 08:21:31,091 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20436634-79146984 passed 2026-01-29 08:21:31,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 08:21:31,244 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20436634-79146984, IP 75.56.103.131, Port 22 2026-01-29 08:21:31,395 - DEBUG - VM ctest-TestBasicPolicy-20436634-79146984 is ready for SSH connections 2026-01-29 08:21:31,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 08:21:31,395 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.56.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-29 08:21:31,395 - DEBUG - ping -s 56 -c 3 -W 1 75.56.103.131 2026-01-29 08:21:35,095 - DEBUG - PING 75.56.103.131 (75.56.103.131): 56 data bytes 64 bytes from 75.56.103.131: seq=0 ttl=63 time=3.517 ms 64 bytes from 75.56.103.131: seq=1 ttl=63 time=1.012 ms 64 bytes from 75.56.103.131: seq=2 ttl=63 time=0.728 ms --- 75.56.103.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/1.752/3.517 ms 2026-01-29 08:21:35,095 - INFO - Ping to IP 75.56.103.131 from VM ctest-TestBasicPolicy-20436634-59977675 passed 2026-01-29 08:21:35,271 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fa465ae6-1ba8-4495-a311-2a24368d4fd6", "href": "http://10.0.0.38:8082/network-policy/fa465ae6-1ba8-4495-a311-2a24368d4fd6"}} 2026-01-29 08:21:35,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 08:21:35,271 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.56.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-29 08:21:35,272 - DEBUG - ping -s 56 -c 3 -W 1 75.56.103.131 2026-01-29 08:21:38,478 - DEBUG - PING 75.56.103.131 (75.56.103.131): 56 data bytes --- 75.56.103.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 08:21:38,478 - WARNING - Ping to IP 75.56.103.131 from VM ctest-TestBasicPolicy-20436634-59977675 failed 2026-01-29 08:21:38,478 - INFO - Deleting VM ctest-TestBasicPolicy-20436634-79146984 2026-01-29 08:21:38,539 - INFO - Deleting VM ctest-TestBasicPolicy-20436634-59977675 2026-01-29 08:21:38,876 - INFO - Deleted policy ctest-policy-allow-all-20125168 2026-01-29 08:21:38,876 - INFO - Deleting VN ctest-vn-84434094 2026-01-29 08:21:38,907 - DEBUG - VN 79287f9c-0ee7-47de-a823-603025823092 still in use: Unable to complete operation on network 79287f9c-0ee7-47de-a823-603025823092. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0db1481d-df3b-457f-95ca-22bead5cae8d'] 2026-01-29 08:21:38,907 - WARNING - Deleting VN ctest-vn-84434094 failed..Will retry 2026-01-29 08:21:41,010 - DEBUG - Response for deleting network () 2026-01-29 08:21:41,010 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ec45a408-9c28-4667-bcc2-7fae5cc2f4e7 2026-01-29 08:21:41,014 - DEBUG - Response Code: 404 2026-01-29 08:21:41,014 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 08:21:41,018 - DEBUG - Requesting: http://10.0.0.38:8082/domain/77ecb557-1fda-4a32-95c5-79f53082dbb9 2026-01-29 08:21:41,073 - DEBUG - Requesting: http://10.0.0.38:8082/project/c2b24058-4475-4999-98cd-aa0ab9eefc3f 2026-01-29 08:21:41,142 - INFO - Validated that VN ctest-vn-84434094 is not found in API Server 2026-01-29 08:21:41,150 - DEBUG - VN ctest-vn-84434094 is not present in Agent 10.0.0.38 2026-01-29 08:21:41,150 - INFO - Validated that VN ctest-vn-84434094 is not in any agent 2026-01-29 08:21:41,162 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84434094 info 2026-01-29 08:21:41,162 - INFO - Deleting VN ctest-vn-87440081 2026-01-29 08:21:41,247 - DEBUG - Response for deleting network () 2026-01-29 08:21:41,247 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a8e2579-2cbf-4f2a-b351-99421a36fc17 2026-01-29 08:21:41,251 - DEBUG - Response Code: 404 2026-01-29 08:21:41,251 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-29 08:21:41,255 - DEBUG - Requesting: http://10.0.0.38:8082/domain/77ecb557-1fda-4a32-95c5-79f53082dbb9 2026-01-29 08:21:41,308 - DEBUG - Requesting: http://10.0.0.38:8082/project/c2b24058-4475-4999-98cd-aa0ab9eefc3f 2026-01-29 08:21:41,377 - INFO - Validated that VN ctest-vn-87440081 is not found in API Server 2026-01-29 08:21:41,386 - DEBUG - VN ctest-vn-87440081 is not present in Agent 10.0.0.38 2026-01-29 08:21:41,386 - INFO - Validated that VN ctest-vn-87440081 is not in any agent 2026-01-29 08:21:41,397 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87440081 info 2026-01-29 08:21:41,652 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 08:21:41,652 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2026-01-29 08:21:41,652 - INFO - -------------------------------------------------------------------------------- 2026-01-29 08:21:42,309 - INFO - Deleted project: ctest-TestBasicPolicy-20436634, ID : c2b24058-4475-4999-98cd-aa0ab9eefc3f