2025-12-10 17:05:44,906 - INFO - Domain Default found not creating 2025-12-10 17:05:45,054 - INFO - Project ctest-TestBasicPolicy-76762445 not found, creating it 2025-12-10 17:05:45,499 - INFO - Created Project:ctest-TestBasicPolicy-76762445, ID : 3d60a014-f824-4abb-8f5f-d5e05efb48c8 2025-12-10 17:05:46,958 - INFO - ================================================================================ 2025-12-10 17:05:46,958 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-10 17:05:46,958 - 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 2025-12-10 17:05:47,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2025-12-10 17:05:47,209 - INFO - Initial checks done. Running the testcase now 2025-12-10 17:05:47,209 - INFO - 2025-12-10 17:05:47,732 - DEBUG - Response for create_network : {'network': {'id': 'b3727d23-546c-4afb-bf3d-f327b4446014', 'name': 'ctest-vn-72699099', 'tenant_id': '3d60a014f8244abb8f5fd5e05efb48c8', 'project_id': '3d60a014f8244abb8f5fd5e05efb48c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76762445', 'ctest-vn-72699099'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:05:47,888 - DEBUG - Response for create_subnet : {'subnet': {'id': '3170ef1e-501d-4e8f-bade-3d912e6ea830', 'name': '', 'tenant_id': '3d60a014f8244abb8f5fd5e05efb48c8', 'network_id': 'b3727d23-546c-4afb-bf3d-f327b4446014', 'ip_version': 4, 'cidr': '24.215.35.128/26', 'allocation_pools': [{'start': '24.215.35.130', 'end': '24.215.35.190'}], 'gateway_ip': '24.215.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.215.35.130', 'tags': [], 'project_id': '3d60a014f8244abb8f5fd5e05efb48c8'}} 2025-12-10 17:05:47,902 - INFO - Created VN ctest-vn-72699099 2025-12-10 17:05:47,953 - DEBUG - VN ctest-vn-72699099 UUID is b3727d23-546c-4afb-bf3d-f327b4446014 2025-12-10 17:05:48,242 - DEBUG - Response for create_network : {'network': {'id': '3eb83025-aee7-4133-9401-19fa9d8fa180', 'name': 'ctest-vn-35785567', 'tenant_id': '3d60a014f8244abb8f5fd5e05efb48c8', 'project_id': '3d60a014f8244abb8f5fd5e05efb48c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76762445', 'ctest-vn-35785567'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:05:48,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '5479f572-62d1-4bf2-8cd8-640d77b1b98a', 'name': '', 'tenant_id': '3d60a014f8244abb8f5fd5e05efb48c8', 'network_id': '3eb83025-aee7-4133-9401-19fa9d8fa180', 'ip_version': 4, 'cidr': '181.154.25.128/26', 'allocation_pools': [{'start': '181.154.25.130', 'end': '181.154.25.190'}], 'gateway_ip': '181.154.25.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.154.25.130', 'tags': [], 'project_id': '3d60a014f8244abb8f5fd5e05efb48c8'}} 2025-12-10 17:05:48,460 - INFO - Created VN ctest-vn-35785567 2025-12-10 17:05:48,513 - DEBUG - VN ctest-vn-35785567 UUID is 3eb83025-aee7-4133-9401-19fa9d8fa180 2025-12-10 17:05:48,653 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76762445:ctest-vn-72699099, 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-76762445:ctest-vn-35785567, 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] 2025-12-10 17:05:48,930 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3727d23-546c-4afb-bf3d-f327b4446014', 'name': 'ctest-vn-72699099', 'tenant_id': '3d60a014f8244abb8f5fd5e05efb48c8', 'project_id': '3d60a014f8244abb8f5fd5e05efb48c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3170ef1e-501d-4e8f-bade-3d912e6ea830'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76762445', 'ctest-vn-72699099'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76762445', 'ctest-policy-allow-all-90240554']], 'subnet_ipam': [{'subnet_cidr': '24.215.35.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:05:49,139 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3eb83025-aee7-4133-9401-19fa9d8fa180', 'name': 'ctest-vn-35785567', 'tenant_id': '3d60a014f8244abb8f5fd5e05efb48c8', 'project_id': '3d60a014f8244abb8f5fd5e05efb48c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5479f572-62d1-4bf2-8cd8-640d77b1b98a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76762445', 'ctest-vn-35785567'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76762445', 'ctest-policy-allow-all-90240554']], 'subnet_ipam': [{'subnet_cidr': '181.154.25.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:05:49,297 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-10 17:05:49,585 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-10 17:05:49,615 - DEBUG - Requesting: http://10.0.0.141:8082/domain/012a191c-4dbe-4738-824a-1fb29bb5bf4c 2025-12-10 17:05:49,625 - DEBUG - Requesting: http://10.0.0.141:8082/project/3d60a014-f824-4abb-8f5f-d5e05efb48c8 2025-12-10 17:05:49,693 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3727d23-546c-4afb-bf3d-f327b4446014 2025-12-10 17:05:49,703 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3727d23-546c-4afb-bf3d-f327b4446014 2025-12-10 17:05:49,711 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/83a0bfc4-1cda-4e3c-8389-55665856e56d 2025-12-10 17:05:49,717 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/83a0bfc4-1cda-4e3c-8389-55665856e56d 2025-12-10 17:05:49,722 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/51e6d2d2-3470-4a09-a5a2-1cb96f62c75c 2025-12-10 17:05:49,728 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-10 17:05:49,728 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3727d23-546c-4afb-bf3d-f327b4446014 2025-12-10 17:05:49,735 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/83a0bfc4-1cda-4e3c-8389-55665856e56d 2025-12-10 17:05:49,748 - INFO - Verified VN network id 12 for VN b3727d23-546c-4afb-bf3d-f327b4446014 2025-12-10 17:05:49,748 - INFO - Verifications in API Server for VN ctest-vn-72699099 passed 2025-12-10 17:05:49,748 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3727d23-546c-4afb-bf3d-f327b4446014 2025-12-10 17:05:49,756 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/83a0bfc4-1cda-4e3c-8389-55665856e56d 2025-12-10 17:05:49,762 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/83a0bfc4-1cda-4e3c-8389-55665856e56d 2025-12-10 17:05:49,767 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/51e6d2d2-3470-4a09-a5a2-1cb96f62c75c 2025-12-10 17:05:49,777 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76762445:ctest-vn-72699099', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76762445', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12930535070827825915', 'uuid-lslong': '13780437786677239828'}, 'enable': 'true', 'created': '2025-12-10T17:05:47', 'last-modified': '2025-12-10T17:05:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.866814'} 2025-12-10 17:05:49,782 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-10 17:05:49,782 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72699099 passed 2025-12-10 17:05:49,782 - DEBUG - ====Verifying policy data for ctest-vn-72699099 in API_Server ====== 2025-12-10 17:05:49,782 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-10 17:05:49,787 - DEBUG - Requesting: http://10.0.0.141:8082/domain/012a191c-4dbe-4738-824a-1fb29bb5bf4c 2025-12-10 17:05:49,796 - DEBUG - Requesting: http://10.0.0.141:8082/project/3d60a014-f824-4abb-8f5f-d5e05efb48c8 2025-12-10 17:05:49,872 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3727d23-546c-4afb-bf3d-f327b4446014 2025-12-10 17:05:49,879 - DEBUG - ==>Verifying data for policy with id: 03b98ce8-72cc-479a-8c2a-5c8199ae902d, fqn: ['default-domain', 'ctest-TestBasicPolicy-76762445', 'ctest-policy-allow-all-90240554'] 2025-12-10 17:05:49,880 - INFO - VN ctest-vn-72699099 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-10 17:05:49,880 - DEBUG - Verifying the vn in opserver 2025-12-10 17:05:49,880 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76762445:ctest-vn-72699099 virtual network link through opserver 10.0.0.141 2025-12-10 17:05:49,880 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-12-10 17:05:50,168 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-12-10 17:05:50,220 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76762445:ctest-vn-72699099', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76762445:ctest-vn-72699099?flat'} 2025-12-10 17:05:50,220 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76762445:ctest-vn-72699099 is found in opserver 2025-12-10 17:05:50,228 - DEBUG - Do not have enough data to verify VN in agent 2025-12-10 17:05:50,232 - DEBUG - VRF ids for VN ctest-vn-72699099: {} 2025-12-10 17:05:50,232 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-10 17:05:50,236 - DEBUG - Requesting: http://10.0.0.141:8082/domain/012a191c-4dbe-4738-824a-1fb29bb5bf4c 2025-12-10 17:05:50,245 - DEBUG - Requesting: http://10.0.0.141:8082/project/3d60a014-f824-4abb-8f5f-d5e05efb48c8 2025-12-10 17:05:50,307 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/3eb83025-aee7-4133-9401-19fa9d8fa180 2025-12-10 17:05:50,317 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/3eb83025-aee7-4133-9401-19fa9d8fa180 2025-12-10 17:05:50,324 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d1e58f4a-80f2-4fab-8078-65a071734a13 2025-12-10 17:05:50,329 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d1e58f4a-80f2-4fab-8078-65a071734a13 2025-12-10 17:05:50,334 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/c7059302-ed52-4576-aafe-e8271bdd3350 2025-12-10 17:05:50,340 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-10 17:05:50,340 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/3eb83025-aee7-4133-9401-19fa9d8fa180 2025-12-10 17:05:50,348 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d1e58f4a-80f2-4fab-8078-65a071734a13 2025-12-10 17:05:50,358 - INFO - Verified VN network id 13 for VN 3eb83025-aee7-4133-9401-19fa9d8fa180 2025-12-10 17:05:50,359 - INFO - Verifications in API Server for VN ctest-vn-35785567 passed 2025-12-10 17:05:50,359 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/3eb83025-aee7-4133-9401-19fa9d8fa180 2025-12-10 17:05:50,366 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d1e58f4a-80f2-4fab-8078-65a071734a13 2025-12-10 17:05:50,371 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d1e58f4a-80f2-4fab-8078-65a071734a13 2025-12-10 17:05:50,376 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/c7059302-ed52-4576-aafe-e8271bdd3350 2025-12-10 17:05:50,386 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76762445:ctest-vn-35785567', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76762445', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4519415164472607027', 'uuid-lslong': '10664833956765999488'}, 'enable': 'true', 'created': '2025-12-10T17:05:48', 'last-modified': '2025-12-10T17:05:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.263110'} 2025-12-10 17:05:50,390 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-10 17:05:50,390 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35785567 passed 2025-12-10 17:05:50,391 - DEBUG - ====Verifying policy data for ctest-vn-35785567 in API_Server ====== 2025-12-10 17:05:50,391 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-10 17:05:50,396 - DEBUG - Requesting: http://10.0.0.141:8082/domain/012a191c-4dbe-4738-824a-1fb29bb5bf4c 2025-12-10 17:05:50,409 - DEBUG - Requesting: http://10.0.0.141:8082/project/3d60a014-f824-4abb-8f5f-d5e05efb48c8 2025-12-10 17:05:50,480 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/3eb83025-aee7-4133-9401-19fa9d8fa180 2025-12-10 17:05:50,489 - DEBUG - ==>Verifying data for policy with id: 03b98ce8-72cc-479a-8c2a-5c8199ae902d, fqn: ['default-domain', 'ctest-TestBasicPolicy-76762445', 'ctest-policy-allow-all-90240554'] 2025-12-10 17:05:50,489 - INFO - VN ctest-vn-35785567 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-10 17:05:50,489 - DEBUG - Verifying the vn in opserver 2025-12-10 17:05:50,489 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76762445:ctest-vn-35785567 virtual network link through opserver 10.0.0.141 2025-12-10 17:05:50,489 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-12-10 17:05:50,498 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76762445:ctest-vn-35785567', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76762445:ctest-vn-35785567?flat'} 2025-12-10 17:05:50,498 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76762445:ctest-vn-35785567 is found in opserver 2025-12-10 17:05:50,506 - DEBUG - Do not have enough data to verify VN in agent 2025-12-10 17:05:50,510 - DEBUG - VRF ids for VN ctest-vn-35785567: {} 2025-12-10 17:05:50,564 - DEBUG - Services list from nova: [, , ] 2025-12-10 17:05:51,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4878-1) 2025-12-10 17:05:52,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4878-1) 2025-12-10 17:05:52,630 - INFO - Waiting for VM ctest-TestBasicPolicy-76762445-42513594 to be up.. 2025-12-10 17:05:52,705 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-10 17:05:57,771 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:05:57,771 - INFO - VM name : ctest-TestBasicPolicy-76762445-42513594 2025-12-10 17:05:57,831 - DEBUG - VM ctest-TestBasicPolicy-76762445-42513594 ID is 505a368b-9234-4b30-a5eb-d9280986a633 2025-12-10 17:05:57,847 - DEBUG - VM ctest-TestBasicPolicy-76762445-42513594 launched on Node cn-jenkins-deploy-platform-ansible-os-4878-1 2025-12-10 17:05:57,907 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/505a368b-9234-4b30-a5eb-d9280986a633 2025-12-10 17:05:57,914 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/01bacfb7-cade-4620-ace4-f16578478423 2025-12-10 17:06:01,147 - 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 1012ms') 2025-12-10 17:06:01,147 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76762445-42513594 failed! 2025-12-10 17:06:01,201 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76762445:ctest-vn-72699099 is 24.215.35.129 and allocation pool is NOT set 2025-12-10 17:06:03,268 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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.146/2.574/4.002/1.428 ms') 2025-12-10 17:06:03,268 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76762445-42513594 passed 2025-12-10 17:06:03,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:06:03,425 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76762445-42513594, IP 24.215.35.131, Port 22 2025-12-10 17:06:03,577 - DEBUG - VM ctest-TestBasicPolicy-76762445-42513594 is ready for SSH connections 2025-12-10 17:06:03,577 - INFO - Waiting for VM ctest-TestBasicPolicy-76762445-67481425 to be up.. 2025-12-10 17:06:03,642 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:06:03,642 - INFO - VM name : ctest-TestBasicPolicy-76762445-67481425 2025-12-10 17:06:03,704 - DEBUG - VM ctest-TestBasicPolicy-76762445-67481425 ID is 14b6a9d5-c120-45c8-83ec-5dbe55d64bf8 2025-12-10 17:06:03,704 - DEBUG - VM ctest-TestBasicPolicy-76762445-67481425 launched on Node cn-jenkins-deploy-platform-ansible-os-4878-1 2025-12-10 17:06:03,763 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/14b6a9d5-c120-45c8-83ec-5dbe55d64bf8 2025-12-10 17:06:03,769 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0348799d-f952-4fd2-a30e-df570a966e0c 2025-12-10 17:06:05,001 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/1.514/2.661/1.146 ms') 2025-12-10 17:06:05,001 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76762445-67481425 passed 2025-12-10 17:06:05,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:06:05,149 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76762445-67481425, IP 181.154.25.131, Port 22 2025-12-10 17:06:05,304 - DEBUG - VM ctest-TestBasicPolicy-76762445-67481425 is ready for SSH connections 2025-12-10 17:06:05,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:06:05,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.154.25.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-10 17:06:05,305 - DEBUG - ping -s 56 -c 3 -W 1 181.154.25.131 2025-12-10 17:06:09,001 - DEBUG - PING 181.154.25.131 (181.154.25.131): 56 data bytes 64 bytes from 181.154.25.131: seq=0 ttl=63 time=3.232 ms 64 bytes from 181.154.25.131: seq=1 ttl=63 time=0.826 ms 64 bytes from 181.154.25.131: seq=2 ttl=63 time=0.868 ms --- 181.154.25.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.642/3.232 ms 2025-12-10 17:06:09,001 - INFO - Ping to IP 181.154.25.131 from VM ctest-TestBasicPolicy-76762445-42513594 passed 2025-12-10 17:06:09,173 - DEBUG - Policy Update Response {"network-policy": {"uuid": "03b98ce8-72cc-479a-8c2a-5c8199ae902d", "href": "http://10.0.0.141:8082/network-policy/03b98ce8-72cc-479a-8c2a-5c8199ae902d"}} 2025-12-10 17:06:09,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:06:09,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.154.25.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-10 17:06:09,173 - DEBUG - ping -s 56 -c 3 -W 1 181.154.25.131 2025-12-10 17:06:12,375 - DEBUG - PING 181.154.25.131 (181.154.25.131): 56 data bytes --- 181.154.25.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-10 17:06:12,375 - WARNING - Ping to IP 181.154.25.131 from VM ctest-TestBasicPolicy-76762445-42513594 failed 2025-12-10 17:06:12,376 - INFO - Deleting VM ctest-TestBasicPolicy-76762445-67481425 2025-12-10 17:06:12,446 - INFO - Deleting VM ctest-TestBasicPolicy-76762445-42513594 2025-12-10 17:06:12,802 - INFO - Deleted policy ctest-policy-allow-all-90240554 2025-12-10 17:06:12,802 - INFO - Deleting VN ctest-vn-35785567 2025-12-10 17:06:12,835 - DEBUG - VN 3eb83025-aee7-4133-9401-19fa9d8fa180 still in use: Unable to complete operation on network 3eb83025-aee7-4133-9401-19fa9d8fa180. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-458da221-9de9-45ea-8d57-d74f4b89fa28'] 2025-12-10 17:06:12,835 - WARNING - Deleting VN ctest-vn-35785567 failed..Will retry 2025-12-10 17:06:14,932 - DEBUG - Response for deleting network () 2025-12-10 17:06:14,932 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d1e58f4a-80f2-4fab-8078-65a071734a13 2025-12-10 17:06:14,937 - DEBUG - Response Code: 404 2025-12-10 17:06:14,937 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-10 17:06:14,943 - DEBUG - Requesting: http://10.0.0.141:8082/domain/012a191c-4dbe-4738-824a-1fb29bb5bf4c 2025-12-10 17:06:14,994 - DEBUG - Requesting: http://10.0.0.141:8082/project/3d60a014-f824-4abb-8f5f-d5e05efb48c8 2025-12-10 17:06:15,064 - INFO - Validated that VN ctest-vn-35785567 is not found in API Server 2025-12-10 17:06:15,074 - DEBUG - VN ctest-vn-35785567 is not present in Agent 10.0.0.141 2025-12-10 17:06:15,074 - INFO - Validated that VN ctest-vn-35785567 is not in any agent 2025-12-10 17:06:15,085 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35785567 info 2025-12-10 17:06:15,086 - INFO - Deleting VN ctest-vn-72699099 2025-12-10 17:06:15,168 - DEBUG - Response for deleting network () 2025-12-10 17:06:15,168 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/83a0bfc4-1cda-4e3c-8389-55665856e56d 2025-12-10 17:06:15,172 - DEBUG - Response Code: 404 2025-12-10 17:06:15,172 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-10 17:06:15,176 - DEBUG - Requesting: http://10.0.0.141:8082/domain/012a191c-4dbe-4738-824a-1fb29bb5bf4c 2025-12-10 17:06:15,229 - DEBUG - Requesting: http://10.0.0.141:8082/project/3d60a014-f824-4abb-8f5f-d5e05efb48c8 2025-12-10 17:06:15,316 - INFO - Validated that VN ctest-vn-72699099 is not found in API Server 2025-12-10 17:06:15,324 - DEBUG - VN ctest-vn-72699099 is not present in Agent 10.0.0.141 2025-12-10 17:06:15,324 - INFO - Validated that VN ctest-vn-72699099 is not in any agent 2025-12-10 17:06:15,336 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72699099 info 2025-12-10 17:06:15,601 - DEBUG - No XMPP flaps were noticed during the test 2025-12-10 17:06:15,601 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-12-10 17:06:15,601 - INFO - -------------------------------------------------------------------------------- 2025-12-10 17:06:16,240 - INFO - Deleted project: ctest-TestBasicPolicy-76762445, ID : 3d60a014-f824-4abb-8f5f-d5e05efb48c8