2026-02-17 15:58:24,081 - INFO - Domain Default found not creating 2026-02-17 15:58:24,243 - INFO - Project ctest-TestBasicPolicy-65056928 not found, creating it 2026-02-17 15:58:24,687 - INFO - Created Project:ctest-TestBasicPolicy-65056928, ID : 677dd7ab-24a3-468a-ac52-83caa219c575 2026-02-17 15:58:26,122 - INFO - ================================================================================ 2026-02-17 15:58:26,122 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-17 15:58:26,122 - 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-02-17 15:58:26,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-17 15:58:26,377 - INFO - Initial checks done. Running the testcase now 2026-02-17 15:58:26,377 - INFO - 2026-02-17 15:58:26,910 - DEBUG - Response for create_network : {'network': {'id': '9a90a22c-3b0f-471c-8eae-57cf59dcaefb', 'name': 'ctest-vn-88298296', 'tenant_id': '677dd7ab24a3468aac5283caa219c575', 'project_id': '677dd7ab24a3468aac5283caa219c575', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65056928', 'ctest-vn-88298296'], 'port_security_enabled': True, 'description': ''}} 2026-02-17 15:58:27,115 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fad8723-ee13-40d3-aded-3a251a2d25f3', 'name': '', 'tenant_id': '677dd7ab24a3468aac5283caa219c575', 'network_id': '9a90a22c-3b0f-471c-8eae-57cf59dcaefb', 'ip_version': 4, 'cidr': '138.217.80.128/26', 'allocation_pools': [{'start': '138.217.80.130', 'end': '138.217.80.190'}], 'gateway_ip': '138.217.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.217.80.130', 'tags': [], 'project_id': '677dd7ab24a3468aac5283caa219c575'}} 2026-02-17 15:58:27,129 - INFO - Created VN ctest-vn-88298296 2026-02-17 15:58:27,180 - DEBUG - VN ctest-vn-88298296 UUID is 9a90a22c-3b0f-471c-8eae-57cf59dcaefb 2026-02-17 15:58:27,483 - DEBUG - Response for create_network : {'network': {'id': 'adde9a42-033e-470b-8659-beeba8e2f654', 'name': 'ctest-vn-66688101', 'tenant_id': '677dd7ab24a3468aac5283caa219c575', 'project_id': '677dd7ab24a3468aac5283caa219c575', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65056928', 'ctest-vn-66688101'], 'port_security_enabled': True, 'description': ''}} 2026-02-17 15:58:27,662 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b2a7767-3687-47c4-8a8a-1cf4672ff6ed', 'name': '', 'tenant_id': '677dd7ab24a3468aac5283caa219c575', 'network_id': 'adde9a42-033e-470b-8659-beeba8e2f654', 'ip_version': 4, 'cidr': '83.190.182.192/26', 'allocation_pools': [{'start': '83.190.182.194', 'end': '83.190.182.254'}], 'gateway_ip': '83.190.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.190.182.194', 'tags': [], 'project_id': '677dd7ab24a3468aac5283caa219c575'}} 2026-02-17 15:58:27,678 - INFO - Created VN ctest-vn-66688101 2026-02-17 15:58:27,728 - DEBUG - VN ctest-vn-66688101 UUID is adde9a42-033e-470b-8659-beeba8e2f654 2026-02-17 15:58:27,872 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65056928:ctest-vn-88298296, 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-65056928:ctest-vn-66688101, 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-02-17 15:58:28,152 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9a90a22c-3b0f-471c-8eae-57cf59dcaefb', 'name': 'ctest-vn-88298296', 'tenant_id': '677dd7ab24a3468aac5283caa219c575', 'project_id': '677dd7ab24a3468aac5283caa219c575', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2fad8723-ee13-40d3-aded-3a251a2d25f3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65056928', 'ctest-vn-88298296'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65056928', 'ctest-policy-allow-all-97433452']], 'subnet_ipam': [{'subnet_cidr': '138.217.80.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-17 15:58:28,364 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'adde9a42-033e-470b-8659-beeba8e2f654', 'name': 'ctest-vn-66688101', 'tenant_id': '677dd7ab24a3468aac5283caa219c575', 'project_id': '677dd7ab24a3468aac5283caa219c575', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6b2a7767-3687-47c4-8a8a-1cf4672ff6ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65056928', 'ctest-vn-66688101'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65056928', 'ctest-policy-allow-all-97433452']], 'subnet_ipam': [{'subnet_cidr': '83.190.182.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-17 15:58:28,516 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 15:58:28,810 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 15:58:28,838 - DEBUG - Requesting: http://10.0.0.38:8082/domain/762c6e0d-ddfe-461c-9c39-da5a2348af47 2026-02-17 15:58:28,848 - DEBUG - Requesting: http://10.0.0.38:8082/project/677dd7ab-24a3-468a-ac52-83caa219c575 2026-02-17 15:58:28,917 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a90a22c-3b0f-471c-8eae-57cf59dcaefb 2026-02-17 15:58:28,926 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a90a22c-3b0f-471c-8eae-57cf59dcaefb 2026-02-17 15:58:28,933 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c3dc659-7ff5-4ef4-9d53-ed06e7c3dc8a 2026-02-17 15:58:28,939 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c3dc659-7ff5-4ef4-9d53-ed06e7c3dc8a 2026-02-17 15:58:28,944 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2f9b6633-e27d-4bd2-899c-467c57534da8 2026-02-17 15:58:28,949 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-17 15:58:28,949 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a90a22c-3b0f-471c-8eae-57cf59dcaefb 2026-02-17 15:58:28,957 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c3dc659-7ff5-4ef4-9d53-ed06e7c3dc8a 2026-02-17 15:58:28,968 - INFO - Verified VN network id 11 for VN 9a90a22c-3b0f-471c-8eae-57cf59dcaefb 2026-02-17 15:58:28,968 - INFO - Verifications in API Server for VN ctest-vn-88298296 passed 2026-02-17 15:58:28,968 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a90a22c-3b0f-471c-8eae-57cf59dcaefb 2026-02-17 15:58:28,975 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c3dc659-7ff5-4ef4-9d53-ed06e7c3dc8a 2026-02-17 15:58:28,980 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c3dc659-7ff5-4ef4-9d53-ed06e7c3dc8a 2026-02-17 15:58:28,985 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2f9b6633-e27d-4bd2-899c-467c57534da8 2026-02-17 15:58:28,994 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65056928:ctest-vn-88298296', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65056928', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11137580189340354332', 'uuid-lslong': '10281251547410902779'}, 'enable': 'true', 'created': '2026-02-17T15:58:26', 'last-modified': '2026-02-17T15:58:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.860519'} 2026-02-17 15:58:29,000 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-17 15:58:29,000 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88298296 passed 2026-02-17 15:58:29,000 - DEBUG - ====Verifying policy data for ctest-vn-88298296 in API_Server ====== 2026-02-17 15:58:29,000 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 15:58:29,005 - DEBUG - Requesting: http://10.0.0.38:8082/domain/762c6e0d-ddfe-461c-9c39-da5a2348af47 2026-02-17 15:58:29,015 - DEBUG - Requesting: http://10.0.0.38:8082/project/677dd7ab-24a3-468a-ac52-83caa219c575 2026-02-17 15:58:29,080 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a90a22c-3b0f-471c-8eae-57cf59dcaefb 2026-02-17 15:58:29,088 - DEBUG - ==>Verifying data for policy with id: c2b576d9-1d0e-4814-a23d-2a500cf8633b, fqn: ['default-domain', 'ctest-TestBasicPolicy-65056928', 'ctest-policy-allow-all-97433452'] 2026-02-17 15:58:29,088 - INFO - VN ctest-vn-88298296 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-17 15:58:29,088 - DEBUG - Verifying the vn in opserver 2026-02-17 15:58:29,088 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65056928:ctest-vn-88298296 virtual network link through opserver 10.0.0.38 2026-02-17 15:58:29,088 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-17 15:58:29,379 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-17 15:58:29,442 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65056928:ctest-vn-88298296', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65056928:ctest-vn-88298296?flat'} 2026-02-17 15:58:29,442 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65056928:ctest-vn-88298296 is found in opserver 2026-02-17 15:58:29,451 - DEBUG - Do not have enough data to verify VN in agent 2026-02-17 15:58:29,456 - DEBUG - VRF ids for VN ctest-vn-88298296: {} 2026-02-17 15:58:29,456 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 15:58:29,460 - DEBUG - Requesting: http://10.0.0.38:8082/domain/762c6e0d-ddfe-461c-9c39-da5a2348af47 2026-02-17 15:58:29,470 - DEBUG - Requesting: http://10.0.0.38:8082/project/677dd7ab-24a3-468a-ac52-83caa219c575 2026-02-17 15:58:29,535 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/adde9a42-033e-470b-8659-beeba8e2f654 2026-02-17 15:58:29,545 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/adde9a42-033e-470b-8659-beeba8e2f654 2026-02-17 15:58:29,553 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/705d2b8a-6aec-45d1-9e05-9babdf56ca21 2026-02-17 15:58:29,559 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/705d2b8a-6aec-45d1-9e05-9babdf56ca21 2026-02-17 15:58:29,565 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a9d002b7-aa1a-47ce-87c8-8b6c3e29a728 2026-02-17 15:58:29,570 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-17 15:58:29,570 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/adde9a42-033e-470b-8659-beeba8e2f654 2026-02-17 15:58:29,578 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/705d2b8a-6aec-45d1-9e05-9babdf56ca21 2026-02-17 15:58:29,593 - INFO - Verified VN network id 12 for VN adde9a42-033e-470b-8659-beeba8e2f654 2026-02-17 15:58:29,593 - INFO - Verifications in API Server for VN ctest-vn-66688101 passed 2026-02-17 15:58:29,593 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/adde9a42-033e-470b-8659-beeba8e2f654 2026-02-17 15:58:29,601 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/705d2b8a-6aec-45d1-9e05-9babdf56ca21 2026-02-17 15:58:29,608 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/705d2b8a-6aec-45d1-9e05-9babdf56ca21 2026-02-17 15:58:29,614 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a9d002b7-aa1a-47ce-87c8-8b6c3e29a728 2026-02-17 15:58:29,624 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65056928:ctest-vn-66688101', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65056928', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12528620821704230667', 'uuid-lslong': '9680978793369630292'}, 'enable': 'true', 'created': '2026-02-17T15:58:27', 'last-modified': '2026-02-17T15:58:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.278587'} 2026-02-17 15:58:29,629 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-17 15:58:29,629 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66688101 passed 2026-02-17 15:58:29,630 - DEBUG - ====Verifying policy data for ctest-vn-66688101 in API_Server ====== 2026-02-17 15:58:29,630 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 15:58:29,636 - DEBUG - Requesting: http://10.0.0.38:8082/domain/762c6e0d-ddfe-461c-9c39-da5a2348af47 2026-02-17 15:58:29,646 - DEBUG - Requesting: http://10.0.0.38:8082/project/677dd7ab-24a3-468a-ac52-83caa219c575 2026-02-17 15:58:29,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/adde9a42-033e-470b-8659-beeba8e2f654 2026-02-17 15:58:29,720 - DEBUG - ==>Verifying data for policy with id: c2b576d9-1d0e-4814-a23d-2a500cf8633b, fqn: ['default-domain', 'ctest-TestBasicPolicy-65056928', 'ctest-policy-allow-all-97433452'] 2026-02-17 15:58:29,720 - INFO - VN ctest-vn-66688101 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-17 15:58:29,720 - DEBUG - Verifying the vn in opserver 2026-02-17 15:58:29,720 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65056928:ctest-vn-66688101 virtual network link through opserver 10.0.0.38 2026-02-17 15:58:29,720 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-17 15:58:29,730 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65056928:ctest-vn-66688101', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65056928:ctest-vn-66688101?flat'} 2026-02-17 15:58:29,730 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65056928:ctest-vn-66688101 is found in opserver 2026-02-17 15:58:29,738 - DEBUG - Do not have enough data to verify VN in agent 2026-02-17 15:58:29,743 - DEBUG - VRF ids for VN ctest-vn-66688101: {} 2026-02-17 15:58:29,797 - DEBUG - Services list from nova: [, , ] 2026-02-17 15:58:30,782 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5345-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5345-1) 2026-02-17 15:58:31,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5345-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5345-1) 2026-02-17 15:58:31,894 - INFO - Waiting for VM ctest-TestBasicPolicy-65056928-98942675 to be up.. 2026-02-17 15:58:31,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-17 15:58:37,050 - DEBUG - VM is in ACTIVE state now 2026-02-17 15:58:37,050 - INFO - VM name : ctest-TestBasicPolicy-65056928-98942675 2026-02-17 15:58:37,120 - DEBUG - VM ctest-TestBasicPolicy-65056928-98942675 ID is 502c3919-17f8-4d97-aec1-8d6880745f56 2026-02-17 15:58:37,136 - DEBUG - VM ctest-TestBasicPolicy-65056928-98942675 launched on Node cn-jenkins-deploy-platform-ansible-os-5345-1 2026-02-17 15:58:37,200 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/502c3919-17f8-4d97-aec1-8d6880745f56 2026-02-17 15:58:37,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ab4bc463-b377-4ff6-8efe-8c71a7c39816 2026-02-17 15:58:40,467 - 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 1023ms') 2026-02-17 15:58:40,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65056928-98942675 failed! 2026-02-17 15:58:40,520 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65056928:ctest-vn-88298296 is 138.217.80.129 and allocation pool is NOT set 2026-02-17 15:58:42,580 - 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=3.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.64 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.644/2.792/3.941/1.148 ms') 2026-02-17 15:58:42,580 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65056928-98942675 passed 2026-02-17 15:58:42,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-17 15:58:42,728 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65056928-98942675, IP 138.217.80.131, Port 22 2026-02-17 15:58:42,883 - DEBUG - VM ctest-TestBasicPolicy-65056928-98942675 is ready for SSH connections 2026-02-17 15:58:42,883 - INFO - Waiting for VM ctest-TestBasicPolicy-65056928-81176559 to be up.. 2026-02-17 15:58:42,952 - DEBUG - VM is in ACTIVE state now 2026-02-17 15:58:42,952 - INFO - VM name : ctest-TestBasicPolicy-65056928-81176559 2026-02-17 15:58:43,029 - DEBUG - VM ctest-TestBasicPolicy-65056928-81176559 ID is 8ee5bbb0-f608-4ced-a12a-b7b00e43aa0a 2026-02-17 15:58:43,029 - DEBUG - VM ctest-TestBasicPolicy-65056928-81176559 launched on Node cn-jenkins-deploy-platform-ansible-os-5345-1 2026-02-17 15:58:43,097 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8ee5bbb0-f608-4ced-a12a-b7b00e43aa0a 2026-02-17 15:58:43,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7885025b-cf2a-44ca-8c99-d85d08d23608 2026-02-17 15:58:44,331 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.334 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.334/1.491/2.649/1.157 ms') 2026-02-17 15:58:44,331 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65056928-81176559 passed 2026-02-17 15:58:44,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-17 15:58:44,476 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65056928-81176559, IP 83.190.182.195, Port 22 2026-02-17 15:58:44,646 - DEBUG - VM ctest-TestBasicPolicy-65056928-81176559 is ready for SSH connections 2026-02-17 15:58:44,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-17 15:58:44,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.190.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-17 15:58:44,646 - DEBUG - ping -s 56 -c 3 -W 1 83.190.182.195 2026-02-17 15:58:48,585 - DEBUG - PING 83.190.182.195 (83.190.182.195): 56 data bytes 64 bytes from 83.190.182.195: seq=0 ttl=63 time=3.781 ms 64 bytes from 83.190.182.195: seq=1 ttl=63 time=1.044 ms 64 bytes from 83.190.182.195: seq=2 ttl=63 time=0.753 ms --- 83.190.182.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.859/3.781 ms 2026-02-17 15:58:48,585 - INFO - Ping to IP 83.190.182.195 from VM ctest-TestBasicPolicy-65056928-98942675 passed 2026-02-17 15:58:48,764 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c2b576d9-1d0e-4814-a23d-2a500cf8633b", "href": "http://10.0.0.38:8082/network-policy/c2b576d9-1d0e-4814-a23d-2a500cf8633b"}} 2026-02-17 15:58:48,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-17 15:58:48,764 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.190.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-17 15:58:48,764 - DEBUG - ping -s 56 -c 3 -W 1 83.190.182.195 2026-02-17 15:58:51,980 - DEBUG - PING 83.190.182.195 (83.190.182.195): 56 data bytes --- 83.190.182.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-17 15:58:51,980 - WARNING - Ping to IP 83.190.182.195 from VM ctest-TestBasicPolicy-65056928-98942675 failed 2026-02-17 15:58:51,980 - INFO - Deleting VM ctest-TestBasicPolicy-65056928-81176559 2026-02-17 15:58:52,045 - INFO - Deleting VM ctest-TestBasicPolicy-65056928-98942675 2026-02-17 15:58:52,390 - INFO - Deleted policy ctest-policy-allow-all-97433452 2026-02-17 15:58:52,391 - INFO - Deleting VN ctest-vn-66688101 2026-02-17 15:58:52,417 - DEBUG - VN adde9a42-033e-470b-8659-beeba8e2f654 still in use: Unable to complete operation on network adde9a42-033e-470b-8659-beeba8e2f654. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df9cdccc-ef5e-4a1c-bbbd-3a78c0f968ad'] 2026-02-17 15:58:52,417 - WARNING - Deleting VN ctest-vn-66688101 failed..Will retry 2026-02-17 15:58:54,504 - DEBUG - Response for deleting network () 2026-02-17 15:58:54,504 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/705d2b8a-6aec-45d1-9e05-9babdf56ca21 2026-02-17 15:58:54,508 - DEBUG - Response Code: 404 2026-02-17 15:58:54,508 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 15:58:54,512 - DEBUG - Requesting: http://10.0.0.38:8082/domain/762c6e0d-ddfe-461c-9c39-da5a2348af47 2026-02-17 15:58:54,568 - DEBUG - Requesting: http://10.0.0.38:8082/project/677dd7ab-24a3-468a-ac52-83caa219c575 2026-02-17 15:58:54,637 - INFO - Validated that VN ctest-vn-66688101 is not found in API Server 2026-02-17 15:58:54,646 - DEBUG - VN ctest-vn-66688101 is not present in Agent 10.0.0.38 2026-02-17 15:58:54,646 - INFO - Validated that VN ctest-vn-66688101 is not in any agent 2026-02-17 15:58:54,657 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66688101 info 2026-02-17 15:58:54,657 - INFO - Deleting VN ctest-vn-88298296 2026-02-17 15:58:54,749 - DEBUG - Response for deleting network () 2026-02-17 15:58:54,750 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c3dc659-7ff5-4ef4-9d53-ed06e7c3dc8a 2026-02-17 15:58:54,754 - DEBUG - Response Code: 404 2026-02-17 15:58:54,755 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-17 15:58:54,758 - DEBUG - Requesting: http://10.0.0.38:8082/domain/762c6e0d-ddfe-461c-9c39-da5a2348af47 2026-02-17 15:58:54,813 - DEBUG - Requesting: http://10.0.0.38:8082/project/677dd7ab-24a3-468a-ac52-83caa219c575 2026-02-17 15:58:54,875 - INFO - Validated that VN ctest-vn-88298296 is not found in API Server 2026-02-17 15:58:54,883 - DEBUG - VN ctest-vn-88298296 is not present in Agent 10.0.0.38 2026-02-17 15:58:54,883 - INFO - Validated that VN ctest-vn-88298296 is not in any agent 2026-02-17 15:58:54,894 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88298296 info 2026-02-17 15:58:55,148 - DEBUG - No XMPP flaps were noticed during the test
2026-02-17 15:58:55,148 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-17 15:58:55,148 - INFO - -------------------------------------------------------------------------------- 2026-02-17 15:58:55,803 - INFO - Deleted project: ctest-TestBasicPolicy-65056928, ID : 677dd7ab-24a3-468a-ac52-83caa219c575