2025-09-23 12:49:32,083 - INFO - Domain Default found not creating 2025-09-23 12:49:32,217 - INFO - Project ctest-TestBasicPolicy-71040271 not found, creating it 2025-09-23 12:49:32,651 - INFO - Created Project:ctest-TestBasicPolicy-71040271, ID : 2b0f80fa-c8c2-4388-877a-d8d44bb12a71 2025-09-23 12:49:33,991 - INFO - ================================================================================ 2025-09-23 12:49:33,991 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-23 12:49:33,991 - 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-09-23 12:49:34,243 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-09-23 12:49:34,243 - INFO - Initial checks done. Running the testcase now 2025-09-23 12:49:34,243 - INFO - 2025-09-23 12:49:34,768 - DEBUG - Response for create_network : {'network': {'id': '51438e97-60c0-49cd-986e-dbb709284308', 'name': 'ctest-vn-94933078', 'tenant_id': '2b0f80fac8c24388877ad8d44bb12a71', 'project_id': '2b0f80fac8c24388877ad8d44bb12a71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71040271', 'ctest-vn-94933078'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:49:34,926 - DEBUG - Response for create_subnet : {'subnet': {'id': '02ab7c41-5ea8-4d77-814b-2b95bc659733', 'name': '', 'tenant_id': '2b0f80fac8c24388877ad8d44bb12a71', 'network_id': '51438e97-60c0-49cd-986e-dbb709284308', 'ip_version': 4, 'cidr': '27.221.4.192/26', 'allocation_pools': [{'start': '27.221.4.194', 'end': '27.221.4.254'}], 'gateway_ip': '27.221.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.221.4.194', 'tags': [], 'project_id': '2b0f80fac8c24388877ad8d44bb12a71'}} 2025-09-23 12:49:34,941 - INFO - Created VN ctest-vn-94933078 2025-09-23 12:49:34,997 - DEBUG - VN ctest-vn-94933078 UUID is 51438e97-60c0-49cd-986e-dbb709284308 2025-09-23 12:49:35,307 - DEBUG - Response for create_network : {'network': {'id': '4fcec4a9-a22e-4447-a569-19fb37e53741', 'name': 'ctest-vn-94328298', 'tenant_id': '2b0f80fac8c24388877ad8d44bb12a71', 'project_id': '2b0f80fac8c24388877ad8d44bb12a71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71040271', 'ctest-vn-94328298'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:49:35,461 - DEBUG - Response for create_subnet : {'subnet': {'id': '70041042-57b5-4a61-978e-f93dac9c3ab8', 'name': '', 'tenant_id': '2b0f80fac8c24388877ad8d44bb12a71', 'network_id': '4fcec4a9-a22e-4447-a569-19fb37e53741', 'ip_version': 4, 'cidr': '186.183.168.0/26', 'allocation_pools': [{'start': '186.183.168.2', 'end': '186.183.168.62'}], 'gateway_ip': '186.183.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.183.168.2', 'tags': [], 'project_id': '2b0f80fac8c24388877ad8d44bb12a71'}} 2025-09-23 12:49:35,479 - INFO - Created VN ctest-vn-94328298 2025-09-23 12:49:35,530 - DEBUG - VN ctest-vn-94328298 UUID is 4fcec4a9-a22e-4447-a569-19fb37e53741 2025-09-23 12:49:35,677 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71040271:ctest-vn-94933078, 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-71040271:ctest-vn-94328298, 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-09-23 12:49:35,966 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '51438e97-60c0-49cd-986e-dbb709284308', 'name': 'ctest-vn-94933078', 'tenant_id': '2b0f80fac8c24388877ad8d44bb12a71', 'project_id': '2b0f80fac8c24388877ad8d44bb12a71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['02ab7c41-5ea8-4d77-814b-2b95bc659733'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71040271', 'ctest-vn-94933078'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71040271', 'ctest-policy-allow-all-12574891']], 'subnet_ipam': [{'subnet_cidr': '27.221.4.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:49:36,224 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4fcec4a9-a22e-4447-a569-19fb37e53741', 'name': 'ctest-vn-94328298', 'tenant_id': '2b0f80fac8c24388877ad8d44bb12a71', 'project_id': '2b0f80fac8c24388877ad8d44bb12a71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['70041042-57b5-4a61-978e-f93dac9c3ab8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71040271', 'ctest-vn-94328298'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71040271', 'ctest-policy-allow-all-12574891']], 'subnet_ipam': [{'subnet_cidr': '186.183.168.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:49:36,369 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-23 12:49:36,658 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-23 12:49:36,683 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6885e1fb-4730-453f-9180-56c383eb32b3 2025-09-23 12:49:36,694 - DEBUG - Requesting: http://10.0.0.254:8082/project/2b0f80fa-c8c2-4388-877a-d8d44bb12a71 2025-09-23 12:49:36,762 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/51438e97-60c0-49cd-986e-dbb709284308 2025-09-23 12:49:36,771 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/51438e97-60c0-49cd-986e-dbb709284308 2025-09-23 12:49:36,779 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/41ed037f-66e2-4b75-9377-817280202c12 2025-09-23 12:49:36,784 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/41ed037f-66e2-4b75-9377-817280202c12 2025-09-23 12:49:36,790 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/eb7a38fc-b782-436f-b084-ea7317aae986 2025-09-23 12:49:36,794 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 12:49:36,794 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/51438e97-60c0-49cd-986e-dbb709284308 2025-09-23 12:49:36,801 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/41ed037f-66e2-4b75-9377-817280202c12 2025-09-23 12:49:36,812 - INFO - Verified VN network id 11 for VN 51438e97-60c0-49cd-986e-dbb709284308 2025-09-23 12:49:36,812 - INFO - Verifications in API Server for VN ctest-vn-94933078 passed 2025-09-23 12:49:36,812 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/51438e97-60c0-49cd-986e-dbb709284308 2025-09-23 12:49:36,818 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/41ed037f-66e2-4b75-9377-817280202c12 2025-09-23 12:49:36,823 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/41ed037f-66e2-4b75-9377-817280202c12 2025-09-23 12:49:36,828 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/eb7a38fc-b782-436f-b084-ea7317aae986 2025-09-23 12:49:36,837 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71040271:ctest-vn-94933078', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71040271', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5855680721326197197', 'uuid-lslong': '10983958120382350088'}, 'enable': 'true', 'created': '2025-09-23T12:49:34', 'last-modified': '2025-09-23T12:49:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.891584'} 2025-09-23 12:49:36,842 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 12:49:36,842 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94933078 passed 2025-09-23 12:49:36,842 - DEBUG - ====Verifying policy data for ctest-vn-94933078 in API_Server ====== 2025-09-23 12:49:36,842 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-23 12:49:36,846 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6885e1fb-4730-453f-9180-56c383eb32b3 2025-09-23 12:49:36,855 - DEBUG - Requesting: http://10.0.0.254:8082/project/2b0f80fa-c8c2-4388-877a-d8d44bb12a71 2025-09-23 12:49:36,920 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/51438e97-60c0-49cd-986e-dbb709284308 2025-09-23 12:49:36,927 - DEBUG - ==>Verifying data for policy with id: 4fe57c83-2b05-4f06-9201-8a83b18932f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-71040271', 'ctest-policy-allow-all-12574891'] 2025-09-23 12:49:36,927 - INFO - VN ctest-vn-94933078 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 12:49:36,927 - DEBUG - Verifying the vn in opserver 2025-09-23 12:49:36,928 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71040271:ctest-vn-94933078 virtual network link through opserver 10.0.0.254 2025-09-23 12:49:36,928 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-23 12:49:37,214 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-23 12:49:37,260 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71040271:ctest-vn-94933078', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71040271:ctest-vn-94933078?flat'} 2025-09-23 12:49:37,260 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71040271:ctest-vn-94933078 is found in opserver 2025-09-23 12:49:37,268 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 12:49:37,272 - DEBUG - VRF ids for VN ctest-vn-94933078: {} 2025-09-23 12:49:37,272 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-23 12:49:37,276 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6885e1fb-4730-453f-9180-56c383eb32b3 2025-09-23 12:49:37,285 - DEBUG - Requesting: http://10.0.0.254:8082/project/2b0f80fa-c8c2-4388-877a-d8d44bb12a71 2025-09-23 12:49:37,347 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4fcec4a9-a22e-4447-a569-19fb37e53741 2025-09-23 12:49:37,358 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4fcec4a9-a22e-4447-a569-19fb37e53741 2025-09-23 12:49:37,365 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/46f56c03-9b0d-445a-9e49-0308751246df 2025-09-23 12:49:37,371 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/46f56c03-9b0d-445a-9e49-0308751246df 2025-09-23 12:49:37,377 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3dff6adb-63c5-40b4-bb17-b5bf76043ca9 2025-09-23 12:49:37,383 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 12:49:37,383 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4fcec4a9-a22e-4447-a569-19fb37e53741 2025-09-23 12:49:37,390 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/46f56c03-9b0d-445a-9e49-0308751246df 2025-09-23 12:49:37,400 - INFO - Verified VN network id 12 for VN 4fcec4a9-a22e-4447-a569-19fb37e53741 2025-09-23 12:49:37,400 - INFO - Verifications in API Server for VN ctest-vn-94328298 passed 2025-09-23 12:49:37,401 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4fcec4a9-a22e-4447-a569-19fb37e53741 2025-09-23 12:49:37,407 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/46f56c03-9b0d-445a-9e49-0308751246df 2025-09-23 12:49:37,412 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/46f56c03-9b0d-445a-9e49-0308751246df 2025-09-23 12:49:37,416 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3dff6adb-63c5-40b4-bb17-b5bf76043ca9 2025-09-23 12:49:37,425 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71040271:ctest-vn-94328298', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71040271', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5750750007048160327', 'uuid-lslong': '11919086455577982785'}, 'enable': 'true', 'created': '2025-09-23T12:49:35', 'last-modified': '2025-09-23T12:49:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.262861'} 2025-09-23 12:49:37,430 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 12:49:37,430 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94328298 passed 2025-09-23 12:49:37,430 - DEBUG - ====Verifying policy data for ctest-vn-94328298 in API_Server ====== 2025-09-23 12:49:37,430 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-23 12:49:37,434 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6885e1fb-4730-453f-9180-56c383eb32b3 2025-09-23 12:49:37,442 - DEBUG - Requesting: http://10.0.0.254:8082/project/2b0f80fa-c8c2-4388-877a-d8d44bb12a71 2025-09-23 12:49:37,508 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4fcec4a9-a22e-4447-a569-19fb37e53741 2025-09-23 12:49:37,516 - DEBUG - ==>Verifying data for policy with id: 4fe57c83-2b05-4f06-9201-8a83b18932f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-71040271', 'ctest-policy-allow-all-12574891'] 2025-09-23 12:49:37,516 - INFO - VN ctest-vn-94328298 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 12:49:37,516 - DEBUG - Verifying the vn in opserver 2025-09-23 12:49:37,516 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71040271:ctest-vn-94328298 virtual network link through opserver 10.0.0.254 2025-09-23 12:49:37,516 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-23 12:49:37,524 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71040271:ctest-vn-94328298', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71040271:ctest-vn-94328298?flat'} 2025-09-23 12:49:37,524 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71040271:ctest-vn-94328298 is found in opserver 2025-09-23 12:49:37,532 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 12:49:37,535 - DEBUG - VRF ids for VN ctest-vn-94328298: {} 2025-09-23 12:49:37,589 - DEBUG - Services list from nova: [, , ] 2025-09-23 12:49:38,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4176-1) 2025-09-23 12:49:39,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4176-1) 2025-09-23 12:49:39,589 - INFO - Waiting for VM ctest-TestBasicPolicy-71040271-90758563 to be up.. 2025-09-23 12:49:39,656 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 12:49:44,722 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:49:44,722 - INFO - VM name : ctest-TestBasicPolicy-71040271-90758563 2025-09-23 12:49:44,784 - DEBUG - VM ctest-TestBasicPolicy-71040271-90758563 ID is 43b7260a-9c13-4ac9-a8e6-949d970545b9 2025-09-23 12:49:44,800 - DEBUG - VM ctest-TestBasicPolicy-71040271-90758563 launched on Node cn-jenkins-deploy-platform-ansible-os-4176-1 2025-09-23 12:49:44,860 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/43b7260a-9c13-4ac9-a8e6-949d970545b9 2025-09-23 12:49:44,868 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/93e9a601-86a7-4a37-b908-669ab789f35d 2025-09-23 12:49:48,092 - 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 1004ms') 2025-09-23 12:49:48,093 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71040271-90758563 failed! 2025-09-23 12:49:48,145 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71040271:ctest-vn-94933078 is 27.221.4.193 and allocation pool is NOT set 2025-09-23 12:49:50,208 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.774/3.123/1.349 ms') 2025-09-23 12:49:50,208 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71040271-90758563 passed 2025-09-23 12:49:50,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:49:50,358 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71040271-90758563, IP 27.221.4.195, Port 22 2025-09-23 12:49:50,513 - DEBUG - VM ctest-TestBasicPolicy-71040271-90758563 is ready for SSH connections 2025-09-23 12:49:50,513 - INFO - Waiting for VM ctest-TestBasicPolicy-71040271-59229345 to be up.. 2025-09-23 12:49:50,576 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:49:50,576 - INFO - VM name : ctest-TestBasicPolicy-71040271-59229345 2025-09-23 12:49:50,641 - DEBUG - VM ctest-TestBasicPolicy-71040271-59229345 ID is 55652ed0-2ea0-4bd2-bf5f-14d419e31bcc 2025-09-23 12:49:50,641 - DEBUG - VM ctest-TestBasicPolicy-71040271-59229345 launched on Node cn-jenkins-deploy-platform-ansible-os-4176-1 2025-09-23 12:49:50,712 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/55652ed0-2ea0-4bd2-bf5f-14d419e31bcc 2025-09-23 12:49:50,720 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/45552344-fc81-419f-a125-2563fd5d59da 2025-09-23 12:49:51,948 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/2.090/3.796/1.706 ms') 2025-09-23 12:49:51,948 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71040271-59229345 passed 2025-09-23 12:49:52,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:49:52,098 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71040271-59229345, IP 186.183.168.3, Port 22 2025-09-23 12:49:52,248 - DEBUG - VM ctest-TestBasicPolicy-71040271-59229345 is ready for SSH connections 2025-09-23 12:49:52,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:49:52,249 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.183.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-23 12:49:52,249 - DEBUG - ping -s 56 -c 3 -W 1 186.183.168.3 2025-09-23 12:49:56,218 - DEBUG - PING 186.183.168.3 (186.183.168.3): 56 data bytes 64 bytes from 186.183.168.3: seq=0 ttl=63 time=3.275 ms 64 bytes from 186.183.168.3: seq=1 ttl=63 time=1.421 ms 64 bytes from 186.183.168.3: seq=2 ttl=63 time=0.738 ms --- 186.183.168.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.738/1.811/3.275 ms 2025-09-23 12:49:56,218 - INFO - Ping to IP 186.183.168.3 from VM ctest-TestBasicPolicy-71040271-90758563 passed 2025-09-23 12:49:56,393 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4fe57c83-2b05-4f06-9201-8a83b18932f0", "href": "http://10.0.0.254:8082/network-policy/4fe57c83-2b05-4f06-9201-8a83b18932f0"}} 2025-09-23 12:49:56,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:49:56,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.183.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-23 12:49:56,394 - DEBUG - ping -s 56 -c 3 -W 1 186.183.168.3 2025-09-23 12:49:59,597 - DEBUG - PING 186.183.168.3 (186.183.168.3): 56 data bytes 64 bytes from 186.183.168.3: seq=0 ttl=63 time=1.479 ms --- 186.183.168.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.479/1.479/1.479 ms 2025-09-23 12:49:59,597 - WARNING - Ping to IP 186.183.168.3 from VM ctest-TestBasicPolicy-71040271-90758563 failed 2025-09-23 12:49:59,597 - INFO - Deleting VM ctest-TestBasicPolicy-71040271-59229345 2025-09-23 12:49:59,656 - INFO - Deleting VM ctest-TestBasicPolicy-71040271-90758563 2025-09-23 12:49:59,971 - INFO - Deleted policy ctest-policy-allow-all-12574891 2025-09-23 12:49:59,971 - INFO - Deleting VN ctest-vn-94328298 2025-09-23 12:50:00,001 - DEBUG - VN 4fcec4a9-a22e-4447-a569-19fb37e53741 still in use: Unable to complete operation on network 4fcec4a9-a22e-4447-a569-19fb37e53741. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b7b77065-0af9-4b49-a805-6a8fb11a98c9'] 2025-09-23 12:50:00,001 - WARNING - Deleting VN ctest-vn-94328298 failed..Will retry 2025-09-23 12:50:02,089 - DEBUG - Response for deleting network () 2025-09-23 12:50:02,090 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/46f56c03-9b0d-445a-9e49-0308751246df 2025-09-23 12:50:02,095 - DEBUG - Response Code: 404 2025-09-23 12:50:02,095 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-23 12:50:02,100 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6885e1fb-4730-453f-9180-56c383eb32b3 2025-09-23 12:50:02,151 - DEBUG - Requesting: http://10.0.0.254:8082/project/2b0f80fa-c8c2-4388-877a-d8d44bb12a71 2025-09-23 12:50:02,216 - INFO - Validated that VN ctest-vn-94328298 is not found in API Server 2025-09-23 12:50:02,224 - DEBUG - VN ctest-vn-94328298 is not present in Agent 10.0.0.254 2025-09-23 12:50:02,224 - INFO - Validated that VN ctest-vn-94328298 is not in any agent 2025-09-23 12:50:02,235 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94328298 info 2025-09-23 12:50:02,235 - INFO - Deleting VN ctest-vn-94933078 2025-09-23 12:50:02,328 - DEBUG - Response for deleting network () 2025-09-23 12:50:02,328 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/41ed037f-66e2-4b75-9377-817280202c12 2025-09-23 12:50:02,332 - DEBUG - Response Code: 404 2025-09-23 12:50:02,332 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-23 12:50:02,336 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6885e1fb-4730-453f-9180-56c383eb32b3 2025-09-23 12:50:02,390 - DEBUG - Requesting: http://10.0.0.254:8082/project/2b0f80fa-c8c2-4388-877a-d8d44bb12a71 2025-09-23 12:50:02,455 - INFO - Validated that VN ctest-vn-94933078 is not found in API Server 2025-09-23 12:50:02,464 - DEBUG - VN ctest-vn-94933078 is not present in Agent 10.0.0.254 2025-09-23 12:50:02,464 - INFO - Validated that VN ctest-vn-94933078 is not in any agent 2025-09-23 12:50:02,475 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94933078 info 2025-09-23 12:50:02,729 - DEBUG - No XMPP flaps were noticed during the test 2025-09-23 12:50:02,729 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-23 12:50:02,729 - INFO - -------------------------------------------------------------------------------- 2025-09-23 12:50:03,373 - INFO - Deleted project: ctest-TestBasicPolicy-71040271, ID : 2b0f80fa-c8c2-4388-877a-d8d44bb12a71