2026-03-30 03:38:03,592 - INFO - Domain Default found not creating 2026-03-30 03:38:03,778 - INFO - Project ctest-TestBasicPolicy-67868026 not found, creating it 2026-03-30 03:38:04,254 - INFO - Created Project:ctest-TestBasicPolicy-67868026, ID : ec0f21fe-95e1-4c93-baee-f68b8affa8cd 2026-03-30 03:38:05,742 - INFO - ================================================================================ 2026-03-30 03:38:05,743 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-30 03:38:05,743 - 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-30 03:38:06,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0'}} with 2026-03-30 03:38:06,003 - INFO - Initial checks done. Running the testcase now 2026-03-30 03:38:06,003 - INFO - 2026-03-30 03:38:06,570 - DEBUG - Response for create_network : {'network': {'id': '83e5ade0-63bb-4344-8c55-962ff60a33ec', 'name': 'ctest-vn-32600148', 'tenant_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'project_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-vn-32600148'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 03:38:06,768 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd2ce270-b963-4e97-a665-485ff30723bd', 'name': '', 'tenant_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'network_id': '83e5ade0-63bb-4344-8c55-962ff60a33ec', 'ip_version': 4, 'cidr': '50.141.254.192/26', 'allocation_pools': [{'start': '50.141.254.194', 'end': '50.141.254.254'}], 'gateway_ip': '50.141.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.141.254.194', 'tags': [], 'project_id': 'ec0f21fe95e14c93baeef68b8affa8cd'}} 2026-03-30 03:38:06,794 - INFO - Created VN ctest-vn-32600148 2026-03-30 03:38:06,845 - DEBUG - VN ctest-vn-32600148 UUID is 83e5ade0-63bb-4344-8c55-962ff60a33ec 2026-03-30 03:38:07,132 - DEBUG - Response for create_network : {'network': {'id': 'e2263ec1-78f1-4f78-aac5-8d59d0c8c003', 'name': 'ctest-vn-42743100', 'tenant_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'project_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-vn-42743100'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 03:38:07,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e11786b-1d4f-43c5-8ae6-f771ae427d74', 'name': '', 'tenant_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'network_id': 'e2263ec1-78f1-4f78-aac5-8d59d0c8c003', 'ip_version': 4, 'cidr': '166.28.114.192/26', 'allocation_pools': [{'start': '166.28.114.194', 'end': '166.28.114.254'}], 'gateway_ip': '166.28.114.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.28.114.194', 'tags': [], 'project_id': 'ec0f21fe95e14c93baeef68b8affa8cd'}} 2026-03-30 03:38:07,319 - INFO - Created VN ctest-vn-42743100 2026-03-30 03:38:07,369 - DEBUG - VN ctest-vn-42743100 UUID is e2263ec1-78f1-4f78-aac5-8d59d0c8c003 2026-03-30 03:38:07,487 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148, 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-67868026:ctest-vn-42743100, 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-30 03:38:07,784 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83e5ade0-63bb-4344-8c55-962ff60a33ec', 'name': 'ctest-vn-32600148', 'tenant_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'project_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd2ce270-b963-4e97-a665-485ff30723bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-vn-32600148'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-policy-allow-all-66967646']], 'subnet_ipam': [{'subnet_cidr': '50.141.254.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-30 03:38:08,019 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e2263ec1-78f1-4f78-aac5-8d59d0c8c003', 'name': 'ctest-vn-42743100', 'tenant_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'project_id': 'ec0f21fe95e14c93baeef68b8affa8cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9e11786b-1d4f-43c5-8ae6-f771ae427d74'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-vn-42743100'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-policy-allow-all-66967646']], 'subnet_ipam': [{'subnet_cidr': '166.28.114.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-30 03:38:08,161 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-30 03:38:08,458 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-30 03:38:08,495 - DEBUG - Requesting: http://10.0.0.19:8082/domain/834f966d-5a78-4189-87b6-8e200ff83a1c 2026-03-30 03:38:08,506 - DEBUG - Requesting: http://10.0.0.19:8082/project/ec0f21fe-95e1-4c93-baee-f68b8affa8cd 2026-03-30 03:38:08,576 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/83e5ade0-63bb-4344-8c55-962ff60a33ec 2026-03-30 03:38:08,587 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/83e5ade0-63bb-4344-8c55-962ff60a33ec 2026-03-30 03:38:08,595 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/41883544-52e3-4b8e-bf7f-dbe3b47eca72 2026-03-30 03:38:08,602 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/41883544-52e3-4b8e-bf7f-dbe3b47eca72 2026-03-30 03:38:08,610 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/317d360f-9302-40fd-9e86-7438ea047c94 2026-03-30 03:38:08,616 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-30 03:38:08,616 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/83e5ade0-63bb-4344-8c55-962ff60a33ec 2026-03-30 03:38:08,625 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/41883544-52e3-4b8e-bf7f-dbe3b47eca72 2026-03-30 03:38:08,639 - INFO - Verified VN network id 11 for VN 83e5ade0-63bb-4344-8c55-962ff60a33ec 2026-03-30 03:38:08,639 - INFO - Verifications in API Server for VN ctest-vn-32600148 passed 2026-03-30 03:38:08,639 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/83e5ade0-63bb-4344-8c55-962ff60a33ec 2026-03-30 03:38:08,649 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/41883544-52e3-4b8e-bf7f-dbe3b47eca72 2026-03-30 03:38:08,656 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/41883544-52e3-4b8e-bf7f-dbe3b47eca72 2026-03-30 03:38:08,662 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/317d360f-9302-40fd-9e86-7438ea047c94 2026-03-30 03:38:08,673 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67868026', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9504193767892796228', 'uuid-lslong': '10112153671065809900'}, 'enable': 'true', 'created': '2026-03-30T03:38:06', 'last-modified': '2026-03-30T03:38:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914361'} 2026-03-30 03:38:08,679 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-30 03:38:08,679 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32600148 passed 2026-03-30 03:38:08,679 - DEBUG - ====Verifying policy data for ctest-vn-32600148 in API_Server ====== 2026-03-30 03:38:08,679 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-30 03:38:08,685 - DEBUG - Requesting: http://10.0.0.19:8082/domain/834f966d-5a78-4189-87b6-8e200ff83a1c 2026-03-30 03:38:08,697 - DEBUG - Requesting: http://10.0.0.19:8082/project/ec0f21fe-95e1-4c93-baee-f68b8affa8cd 2026-03-30 03:38:08,769 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/83e5ade0-63bb-4344-8c55-962ff60a33ec 2026-03-30 03:38:08,778 - DEBUG - ==>Verifying data for policy with id: aaa59bf5-d55c-452f-8e91-1fb9a96287c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-policy-allow-all-66967646'] 2026-03-30 03:38:08,778 - INFO - VN ctest-vn-32600148 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-30 03:38:08,778 - DEBUG - Verifying the vn in opserver 2026-03-30 03:38:08,778 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148 virtual network link through opserver 10.0.0.19 2026-03-30 03:38:08,778 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-03-30 03:38:09,071 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-03-30 03:38:09,141 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148?flat'} 2026-03-30 03:38:09,141 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148 is found in opserver 2026-03-30 03:38:09,151 - DEBUG - Do not have enough data to verify VN in agent 2026-03-30 03:38:09,155 - DEBUG - VRF ids for VN ctest-vn-32600148: {} 2026-03-30 03:38:09,155 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-30 03:38:09,160 - DEBUG - Requesting: http://10.0.0.19:8082/domain/834f966d-5a78-4189-87b6-8e200ff83a1c 2026-03-30 03:38:09,173 - DEBUG - Requesting: http://10.0.0.19:8082/project/ec0f21fe-95e1-4c93-baee-f68b8affa8cd 2026-03-30 03:38:09,243 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e2263ec1-78f1-4f78-aac5-8d59d0c8c003 2026-03-30 03:38:09,255 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e2263ec1-78f1-4f78-aac5-8d59d0c8c003 2026-03-30 03:38:09,264 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ee798ede-d67a-4eb7-9532-11d7e8f8f89d 2026-03-30 03:38:09,271 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ee798ede-d67a-4eb7-9532-11d7e8f8f89d 2026-03-30 03:38:09,277 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/0c67ae4c-6857-46b9-b12f-b86713b860d6 2026-03-30 03:38:09,283 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-30 03:38:09,283 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e2263ec1-78f1-4f78-aac5-8d59d0c8c003 2026-03-30 03:38:09,291 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ee798ede-d67a-4eb7-9532-11d7e8f8f89d 2026-03-30 03:38:09,305 - INFO - Verified VN network id 12 for VN e2263ec1-78f1-4f78-aac5-8d59d0c8c003 2026-03-30 03:38:09,305 - INFO - Verifications in API Server for VN ctest-vn-42743100 passed 2026-03-30 03:38:09,305 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e2263ec1-78f1-4f78-aac5-8d59d0c8c003 2026-03-30 03:38:09,314 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ee798ede-d67a-4eb7-9532-11d7e8f8f89d 2026-03-30 03:38:09,320 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ee798ede-d67a-4eb7-9532-11d7e8f8f89d 2026-03-30 03:38:09,327 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/0c67ae4c-6857-46b9-b12f-b86713b860d6 2026-03-30 03:38:09,337 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-42743100', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67868026', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16295781302365409144', 'uuid-lslong': '12305396973754171395'}, 'enable': 'true', 'created': '2026-03-30T03:38:07', 'last-modified': '2026-03-30T03:38:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337384'} 2026-03-30 03:38:09,344 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-30 03:38:09,344 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42743100 passed 2026-03-30 03:38:09,344 - DEBUG - ====Verifying policy data for ctest-vn-42743100 in API_Server ====== 2026-03-30 03:38:09,344 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-30 03:38:09,350 - DEBUG - Requesting: http://10.0.0.19:8082/domain/834f966d-5a78-4189-87b6-8e200ff83a1c 2026-03-30 03:38:09,360 - DEBUG - Requesting: http://10.0.0.19:8082/project/ec0f21fe-95e1-4c93-baee-f68b8affa8cd 2026-03-30 03:38:09,433 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e2263ec1-78f1-4f78-aac5-8d59d0c8c003 2026-03-30 03:38:09,441 - DEBUG - ==>Verifying data for policy with id: aaa59bf5-d55c-452f-8e91-1fb9a96287c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-67868026', 'ctest-policy-allow-all-66967646'] 2026-03-30 03:38:09,441 - INFO - VN ctest-vn-42743100 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-30 03:38:09,441 - DEBUG - Verifying the vn in opserver 2026-03-30 03:38:09,441 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-42743100 virtual network link through opserver 10.0.0.19 2026-03-30 03:38:09,441 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-03-30 03:38:09,451 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-42743100', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-42743100?flat'} 2026-03-30 03:38:09,451 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-42743100 is found in opserver 2026-03-30 03:38:09,462 - DEBUG - Do not have enough data to verify VN in agent 2026-03-30 03:38:09,466 - DEBUG - VRF ids for VN ctest-vn-42743100: {} 2026-03-30 03:38:09,533 - DEBUG - Services list from nova: [, , ] 2026-03-30 03:38:10,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5559-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5559-1) 2026-03-30 03:38:11,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5559-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5559-1) 2026-03-30 03:38:11,780 - INFO - Waiting for VM ctest-TestBasicPolicy-67868026-46363665 to be up.. 2026-03-30 03:38:11,864 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-30 03:38:16,948 - DEBUG - VM is in ACTIVE state now 2026-03-30 03:38:16,948 - INFO - VM name : ctest-TestBasicPolicy-67868026-46363665 2026-03-30 03:38:17,023 - DEBUG - VM ctest-TestBasicPolicy-67868026-46363665 ID is 6a70ec49-54e3-4366-98e6-66eda3659f62 2026-03-30 03:38:17,047 - DEBUG - VM ctest-TestBasicPolicy-67868026-46363665 launched on Node cn-jenkins-deploy-platform-ansible-os-5559-1 2026-03-30 03:38:17,119 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6a70ec49-54e3-4366-98e6-66eda3659f62 2026-03-30 03:38:17,127 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a1912fab-eb3a-4832-8c94-a03189ca8f35 2026-03-30 03:38:20,322 - 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 1007ms') 2026-03-30 03:38:20,322 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67868026-46363665 failed! 2026-03-30 03:38:20,377 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67868026:ctest-vn-32600148 is 50.141.254.193 and allocation pool is NOT set 2026-03-30 03:38:22,438 - 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=7.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/4.013/7.615/3.601 ms') 2026-03-30 03:38:22,438 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67868026-46363665 passed 2026-03-30 03:38:22,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:38:22,586 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67868026-46363665, IP 50.141.254.195, Port 22 2026-03-30 03:38:22,741 - DEBUG - VM ctest-TestBasicPolicy-67868026-46363665 is ready for SSH connections 2026-03-30 03:38:22,742 - INFO - Waiting for VM ctest-TestBasicPolicy-67868026-34395411 to be up.. 2026-03-30 03:38:22,814 - DEBUG - VM is in ACTIVE state now 2026-03-30 03:38:22,814 - INFO - VM name : ctest-TestBasicPolicy-67868026-34395411 2026-03-30 03:38:22,885 - DEBUG - VM ctest-TestBasicPolicy-67868026-34395411 ID is c5e87423-94ce-48e7-a9c3-2aaefcc09439 2026-03-30 03:38:22,885 - DEBUG - VM ctest-TestBasicPolicy-67868026-34395411 launched on Node cn-jenkins-deploy-platform-ansible-os-5559-1 2026-03-30 03:38:22,958 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c5e87423-94ce-48e7-a9c3-2aaefcc09439 2026-03-30 03:38:22,967 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/17f2fd25-79c5-419c-bd86-4ac9f14a9e3d 2026-03-30 03:38:24,213 - 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=3.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.48 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.476/2.522/3.568/1.046 ms') 2026-03-30 03:38:24,213 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67868026-34395411 passed 2026-03-30 03:38:24,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:38:24,366 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67868026-34395411, IP 166.28.114.195, Port 22 2026-03-30 03:38:24,521 - DEBUG - VM ctest-TestBasicPolicy-67868026-34395411 is ready for SSH connections 2026-03-30 03:38:24,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:38:24,521 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.28.114.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-03-30 03:38:24,521 - DEBUG - ping -s 56 -c 3 -W 1 166.28.114.195 2026-03-30 03:38:28,604 - DEBUG - PING 166.28.114.195 (166.28.114.195): 56 data bytes 64 bytes from 166.28.114.195: seq=0 ttl=63 time=3.193 ms 64 bytes from 166.28.114.195: seq=1 ttl=63 time=1.018 ms 64 bytes from 166.28.114.195: seq=2 ttl=63 time=0.876 ms --- 166.28.114.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/1.695/3.193 ms 2026-03-30 03:38:28,604 - INFO - Ping to IP 166.28.114.195 from VM ctest-TestBasicPolicy-67868026-46363665 passed 2026-03-30 03:38:28,781 - DEBUG - Policy Update Response {"network-policy": {"uuid": "aaa59bf5-d55c-452f-8e91-1fb9a96287c3", "href": "http://10.0.0.19:8082/network-policy/aaa59bf5-d55c-452f-8e91-1fb9a96287c3"}} 2026-03-30 03:38:28,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 03:38:28,781 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.28.114.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-03-30 03:38:28,781 - DEBUG - ping -s 56 -c 3 -W 1 166.28.114.195 2026-03-30 03:38:31,984 - DEBUG - PING 166.28.114.195 (166.28.114.195): 56 data bytes --- 166.28.114.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-30 03:38:31,984 - WARNING - Ping to IP 166.28.114.195 from VM ctest-TestBasicPolicy-67868026-46363665 failed 2026-03-30 03:38:31,984 - INFO - Deleting VM ctest-TestBasicPolicy-67868026-34395411 2026-03-30 03:38:32,050 - INFO - Deleting VM ctest-TestBasicPolicy-67868026-46363665 2026-03-30 03:38:32,443 - INFO - Deleted policy ctest-policy-allow-all-66967646 2026-03-30 03:38:32,444 - INFO - Deleting VN ctest-vn-42743100 2026-03-30 03:38:32,482 - DEBUG - VN e2263ec1-78f1-4f78-aac5-8d59d0c8c003 still in use: Unable to complete operation on network e2263ec1-78f1-4f78-aac5-8d59d0c8c003. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ad181da-32bc-4baf-9773-ca4945cf766b'] 2026-03-30 03:38:32,482 - WARNING - Deleting VN ctest-vn-42743100 failed..Will retry 2026-03-30 03:38:34,593 - DEBUG - Response for deleting network () 2026-03-30 03:38:34,594 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ee798ede-d67a-4eb7-9532-11d7e8f8f89d 2026-03-30 03:38:34,599 - DEBUG - Response Code: 404 2026-03-30 03:38:34,599 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-30 03:38:34,604 - DEBUG - Requesting: http://10.0.0.19:8082/domain/834f966d-5a78-4189-87b6-8e200ff83a1c 2026-03-30 03:38:34,663 - DEBUG - Requesting: http://10.0.0.19:8082/project/ec0f21fe-95e1-4c93-baee-f68b8affa8cd 2026-03-30 03:38:34,739 - INFO - Validated that VN ctest-vn-42743100 is not found in API Server 2026-03-30 03:38:34,748 - DEBUG - VN ctest-vn-42743100 is not present in Agent 10.0.0.19 2026-03-30 03:38:34,748 - INFO - Validated that VN ctest-vn-42743100 is not in any agent 2026-03-30 03:38:34,762 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42743100 info 2026-03-30 03:38:34,763 - INFO - Deleting VN ctest-vn-32600148 2026-03-30 03:38:34,888 - DEBUG - Response for deleting network () 2026-03-30 03:38:34,888 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/41883544-52e3-4b8e-bf7f-dbe3b47eca72 2026-03-30 03:38:34,893 - DEBUG - Response Code: 404 2026-03-30 03:38:34,893 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-30 03:38:34,898 - DEBUG - Requesting: http://10.0.0.19:8082/domain/834f966d-5a78-4189-87b6-8e200ff83a1c 2026-03-30 03:38:34,950 - DEBUG - Requesting: http://10.0.0.19:8082/project/ec0f21fe-95e1-4c93-baee-f68b8affa8cd 2026-03-30 03:38:35,027 - INFO - Validated that VN ctest-vn-32600148 is not found in API Server 2026-03-30 03:38:35,038 - DEBUG - VN ctest-vn-32600148 is not present in Agent 10.0.0.19 2026-03-30 03:38:35,038 - INFO - Validated that VN ctest-vn-32600148 is not in any agent 2026-03-30 03:38:35,053 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32600148 info 2026-03-30 03:38:35,306 - DEBUG - No XMPP flaps were noticed during the test
2026-03-30 03:38:35,306 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-03-30 03:38:35,306 - INFO - -------------------------------------------------------------------------------- 2026-03-30 03:38:36,020 - INFO - Deleted project: ctest-TestBasicPolicy-67868026, ID : ec0f21fe-95e1-4c93-baee-f68b8affa8cd