2025-10-08 14:43:20,470 - INFO - Domain Default found not creating 2025-10-08 14:43:20,589 - INFO - Project ctest-TestBasicPolicy-64119866 not found, creating it 2025-10-08 14:43:21,041 - INFO - Created Project:ctest-TestBasicPolicy-64119866, ID : 3edbf586-278f-4cca-871a-96bea569e450 2025-10-08 14:43:22,339 - INFO - ================================================================================ 2025-10-08 14:43:22,340 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-08 14:43:22,340 - 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-10-08 14:43:22,587 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.18': '0'}} with 2025-10-08 14:43:22,587 - INFO - Initial checks done. Running the testcase now 2025-10-08 14:43:22,587 - INFO - 2025-10-08 14:43:23,082 - DEBUG - Response for create_network : {'network': {'id': 'ec1500a3-9e74-4717-9cfb-d12e9fa115c0', 'name': 'ctest-vn-29561401', 'tenant_id': '3edbf586278f4cca871a96bea569e450', 'project_id': '3edbf586278f4cca871a96bea569e450', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64119866', 'ctest-vn-29561401'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 14:43:23,233 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb86eeee-15a9-4749-ae16-f9e921d2818d', 'name': '', 'tenant_id': '3edbf586278f4cca871a96bea569e450', 'network_id': 'ec1500a3-9e74-4717-9cfb-d12e9fa115c0', 'ip_version': 4, 'cidr': '52.115.33.64/26', 'allocation_pools': [{'start': '52.115.33.66', 'end': '52.115.33.126'}], 'gateway_ip': '52.115.33.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.115.33.66', 'tags': [], 'project_id': '3edbf586278f4cca871a96bea569e450'}} 2025-10-08 14:43:23,249 - INFO - Created VN ctest-vn-29561401 2025-10-08 14:43:23,299 - DEBUG - VN ctest-vn-29561401 UUID is ec1500a3-9e74-4717-9cfb-d12e9fa115c0 2025-10-08 14:43:23,588 - DEBUG - Response for create_network : {'network': {'id': '204dea83-2411-4f5a-99dd-744df1e3dd06', 'name': 'ctest-vn-26874766', 'tenant_id': '3edbf586278f4cca871a96bea569e450', 'project_id': '3edbf586278f4cca871a96bea569e450', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64119866', 'ctest-vn-26874766'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 14:43:23,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '20c94758-d540-4d4b-a243-37aabe4d17aa', 'name': '', 'tenant_id': '3edbf586278f4cca871a96bea569e450', 'network_id': '204dea83-2411-4f5a-99dd-744df1e3dd06', 'ip_version': 4, 'cidr': '1.50.70.128/26', 'allocation_pools': [{'start': '1.50.70.130', 'end': '1.50.70.190'}], 'gateway_ip': '1.50.70.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.50.70.130', 'tags': [], 'project_id': '3edbf586278f4cca871a96bea569e450'}} 2025-10-08 14:43:23,770 - INFO - Created VN ctest-vn-26874766 2025-10-08 14:43:23,819 - DEBUG - VN ctest-vn-26874766 UUID is 204dea83-2411-4f5a-99dd-744df1e3dd06 2025-10-08 14:43:23,959 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64119866:ctest-vn-29561401, 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-64119866:ctest-vn-26874766, 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-10-08 14:43:24,237 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec1500a3-9e74-4717-9cfb-d12e9fa115c0', 'name': 'ctest-vn-29561401', 'tenant_id': '3edbf586278f4cca871a96bea569e450', 'project_id': '3edbf586278f4cca871a96bea569e450', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb86eeee-15a9-4749-ae16-f9e921d2818d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64119866', 'ctest-vn-29561401'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64119866', 'ctest-policy-allow-all-66945082']], 'subnet_ipam': [{'subnet_cidr': '52.115.33.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 14:43:24,452 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '204dea83-2411-4f5a-99dd-744df1e3dd06', 'name': 'ctest-vn-26874766', 'tenant_id': '3edbf586278f4cca871a96bea569e450', 'project_id': '3edbf586278f4cca871a96bea569e450', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['20c94758-d540-4d4b-a243-37aabe4d17aa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64119866', 'ctest-vn-26874766'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64119866', 'ctest-policy-allow-all-66945082']], 'subnet_ipam': [{'subnet_cidr': '1.50.70.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 14:43:24,611 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2025-10-08 14:43:24,901 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2025-10-08 14:43:24,924 - DEBUG - Requesting: http://10.0.0.162:8082/domain/cc6a519a-1a13-4692-af8e-06e2ffdfb27f 2025-10-08 14:43:24,934 - DEBUG - Requesting: http://10.0.0.162:8082/project/3edbf586-278f-4cca-871a-96bea569e450 2025-10-08 14:43:25,001 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ec1500a3-9e74-4717-9cfb-d12e9fa115c0 2025-10-08 14:43:25,009 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ec1500a3-9e74-4717-9cfb-d12e9fa115c0 2025-10-08 14:43:25,016 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/1bebeb4e-62eb-4462-bf8d-3a7a017fa823 2025-10-08 14:43:25,022 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/1bebeb4e-62eb-4462-bf8d-3a7a017fa823 2025-10-08 14:43:25,026 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/d453135d-8f58-4906-a881-d32ddd5d5e71 2025-10-08 14:43:25,030 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 14:43:25,030 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ec1500a3-9e74-4717-9cfb-d12e9fa115c0 2025-10-08 14:43:25,037 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/1bebeb4e-62eb-4462-bf8d-3a7a017fa823 2025-10-08 14:43:25,048 - INFO - Verified VN network id 12 for VN ec1500a3-9e74-4717-9cfb-d12e9fa115c0 2025-10-08 14:43:25,048 - INFO - Verifications in API Server for VN ctest-vn-29561401 passed 2025-10-08 14:43:25,048 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ec1500a3-9e74-4717-9cfb-d12e9fa115c0 2025-10-08 14:43:25,055 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/1bebeb4e-62eb-4462-bf8d-3a7a017fa823 2025-10-08 14:43:25,059 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/1bebeb4e-62eb-4462-bf8d-3a7a017fa823 2025-10-08 14:43:25,064 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/d453135d-8f58-4906-a881-d32ddd5d5e71 2025-10-08 14:43:25,075 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64119866:ctest-vn-29561401', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64119866', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17011503870200006423', 'uuid-lslong': '11311864887247967680'}, 'enable': 'true', 'created': '2025-10-08T14:43:23', 'last-modified': '2025-10-08T14:43:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.859196'} 2025-10-08 14:43:25,079 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 14:43:25,079 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29561401 passed 2025-10-08 14:43:25,080 - DEBUG - ====Verifying policy data for ctest-vn-29561401 in API_Server ====== 2025-10-08 14:43:25,080 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2025-10-08 14:43:25,084 - DEBUG - Requesting: http://10.0.0.162:8082/domain/cc6a519a-1a13-4692-af8e-06e2ffdfb27f 2025-10-08 14:43:25,093 - DEBUG - Requesting: http://10.0.0.162:8082/project/3edbf586-278f-4cca-871a-96bea569e450 2025-10-08 14:43:25,159 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ec1500a3-9e74-4717-9cfb-d12e9fa115c0 2025-10-08 14:43:25,167 - DEBUG - ==>Verifying data for policy with id: 4064faf8-b152-495c-97e3-f9272e2ae86d, fqn: ['default-domain', 'ctest-TestBasicPolicy-64119866', 'ctest-policy-allow-all-66945082'] 2025-10-08 14:43:25,167 - INFO - VN ctest-vn-29561401 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 14:43:25,167 - DEBUG - Verifying the vn in opserver 2025-10-08 14:43:25,167 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64119866:ctest-vn-29561401 virtual network link through opserver 10.0.0.162 2025-10-08 14:43:25,167 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2025-10-08 14:43:25,457 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2025-10-08 14:43:25,502 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64119866:ctest-vn-29561401', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64119866:ctest-vn-29561401?flat'} 2025-10-08 14:43:25,502 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64119866:ctest-vn-29561401 is found in opserver 2025-10-08 14:43:25,510 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 14:43:25,513 - DEBUG - VRF ids for VN ctest-vn-29561401: {} 2025-10-08 14:43:25,513 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2025-10-08 14:43:25,518 - DEBUG - Requesting: http://10.0.0.162:8082/domain/cc6a519a-1a13-4692-af8e-06e2ffdfb27f 2025-10-08 14:43:25,528 - DEBUG - Requesting: http://10.0.0.162:8082/project/3edbf586-278f-4cca-871a-96bea569e450 2025-10-08 14:43:25,596 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/204dea83-2411-4f5a-99dd-744df1e3dd06 2025-10-08 14:43:25,607 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/204dea83-2411-4f5a-99dd-744df1e3dd06 2025-10-08 14:43:25,615 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/0e015862-f6f0-4dee-ada0-7ba2239a8bca 2025-10-08 14:43:25,621 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/0e015862-f6f0-4dee-ada0-7ba2239a8bca 2025-10-08 14:43:25,626 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/2b26da9f-cb86-4940-90ab-9ab7b21a6a1f 2025-10-08 14:43:25,631 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 14:43:25,631 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/204dea83-2411-4f5a-99dd-744df1e3dd06 2025-10-08 14:43:25,638 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/0e015862-f6f0-4dee-ada0-7ba2239a8bca 2025-10-08 14:43:25,649 - INFO - Verified VN network id 13 for VN 204dea83-2411-4f5a-99dd-744df1e3dd06 2025-10-08 14:43:25,649 - INFO - Verifications in API Server for VN ctest-vn-26874766 passed 2025-10-08 14:43:25,649 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/204dea83-2411-4f5a-99dd-744df1e3dd06 2025-10-08 14:43:25,656 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/0e015862-f6f0-4dee-ada0-7ba2239a8bca 2025-10-08 14:43:25,661 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/0e015862-f6f0-4dee-ada0-7ba2239a8bca 2025-10-08 14:43:25,667 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/2b26da9f-cb86-4940-90ab-9ab7b21a6a1f 2025-10-08 14:43:25,676 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64119866:ctest-vn-26874766', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64119866', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2327774431387144026', 'uuid-lslong': '11087145735775575302'}, 'enable': 'true', 'created': '2025-10-08T14:43:23', 'last-modified': '2025-10-08T14:43:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.247106'} 2025-10-08 14:43:25,681 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 14:43:25,681 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26874766 passed 2025-10-08 14:43:25,681 - DEBUG - ====Verifying policy data for ctest-vn-26874766 in API_Server ====== 2025-10-08 14:43:25,681 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2025-10-08 14:43:25,685 - DEBUG - Requesting: http://10.0.0.162:8082/domain/cc6a519a-1a13-4692-af8e-06e2ffdfb27f 2025-10-08 14:43:25,695 - DEBUG - Requesting: http://10.0.0.162:8082/project/3edbf586-278f-4cca-871a-96bea569e450 2025-10-08 14:43:25,764 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/204dea83-2411-4f5a-99dd-744df1e3dd06 2025-10-08 14:43:25,772 - DEBUG - ==>Verifying data for policy with id: 4064faf8-b152-495c-97e3-f9272e2ae86d, fqn: ['default-domain', 'ctest-TestBasicPolicy-64119866', 'ctest-policy-allow-all-66945082'] 2025-10-08 14:43:25,772 - INFO - VN ctest-vn-26874766 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 14:43:25,772 - DEBUG - Verifying the vn in opserver 2025-10-08 14:43:25,772 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64119866:ctest-vn-26874766 virtual network link through opserver 10.0.0.162 2025-10-08 14:43:25,772 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2025-10-08 14:43:25,780 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64119866:ctest-vn-26874766', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64119866:ctest-vn-26874766?flat'} 2025-10-08 14:43:25,780 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64119866:ctest-vn-26874766 is found in opserver 2025-10-08 14:43:25,789 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 14:43:25,792 - DEBUG - VRF ids for VN ctest-vn-26874766: {} 2025-10-08 14:43:25,838 - DEBUG - Services list from nova: [, , ] 2025-10-08 14:43:26,765 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4237-1) 2025-10-08 14:43:27,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4237-1) 2025-10-08 14:43:27,841 - INFO - Waiting for VM ctest-TestBasicPolicy-64119866-21887026 to be up.. 2025-10-08 14:43:27,904 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 14:43:32,971 - DEBUG - VM is in ACTIVE state now 2025-10-08 14:43:32,972 - INFO - VM name : ctest-TestBasicPolicy-64119866-21887026 2025-10-08 14:43:33,037 - DEBUG - VM ctest-TestBasicPolicy-64119866-21887026 ID is 54c9398a-39f2-42e7-bf56-4794a25d4f3a 2025-10-08 14:43:33,054 - DEBUG - VM ctest-TestBasicPolicy-64119866-21887026 launched on Node cn-jenkins-deploy-platform-ansible-os-4237-1 2025-10-08 14:43:33,122 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/54c9398a-39f2-42e7-bf56-4794a25d4f3a 2025-10-08 14:43:33,129 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/11ca8230-26ed-4102-90f1-894be80ed189 2025-10-08 14:43:36,363 - 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 1003ms') 2025-10-08 14:43:36,363 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64119866-21887026 failed! 2025-10-08 14:43:36,419 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64119866:ctest-vn-29561401 is 52.115.33.65 and allocation pool is NOT set 2025-10-08 14:43:38,476 - 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=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 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.402/1.619/2.836/1.217 ms') 2025-10-08 14:43:38,476 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64119866-21887026 passed 2025-10-08 14:43:38,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:43:38,623 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64119866-21887026, IP 52.115.33.67, Port 22 2025-10-08 14:43:38,778 - DEBUG - VM ctest-TestBasicPolicy-64119866-21887026 is ready for SSH connections 2025-10-08 14:43:38,779 - INFO - Waiting for VM ctest-TestBasicPolicy-64119866-38171923 to be up.. 2025-10-08 14:43:38,841 - DEBUG - VM is in ACTIVE state now 2025-10-08 14:43:38,841 - INFO - VM name : ctest-TestBasicPolicy-64119866-38171923 2025-10-08 14:43:38,905 - DEBUG - VM ctest-TestBasicPolicy-64119866-38171923 ID is 14866bea-c1b7-426a-8ce6-549ca9ec5293 2025-10-08 14:43:38,905 - DEBUG - VM ctest-TestBasicPolicy-64119866-38171923 launched on Node cn-jenkins-deploy-platform-ansible-os-4237-1 2025-10-08 14:43:38,971 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/14866bea-c1b7-426a-8ce6-549ca9ec5293 2025-10-08 14:43:38,978 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/febc6898-cba0-4b0a-93b2-d82b64b417db 2025-10-08 14:43:40,206 - 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.75 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 1001ms\r\nrtt min/avg/max/mdev = 0.334/1.541/2.749/1.207 ms') 2025-10-08 14:43:40,207 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64119866-38171923 passed 2025-10-08 14:43:40,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:43:40,355 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64119866-38171923, IP 1.50.70.131, Port 22 2025-10-08 14:43:40,506 - DEBUG - VM ctest-TestBasicPolicy-64119866-38171923 is ready for SSH connections 2025-10-08 14:43:40,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:43:40,506 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.50.70.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2025-10-08 14:43:40,506 - DEBUG - ping -s 56 -c 3 -W 1 1.50.70.131 2025-10-08 14:43:44,191 - DEBUG - PING 1.50.70.131 (1.50.70.131): 56 data bytes 64 bytes from 1.50.70.131: seq=0 ttl=63 time=3.321 ms 64 bytes from 1.50.70.131: seq=1 ttl=63 time=0.874 ms 64 bytes from 1.50.70.131: seq=2 ttl=63 time=0.758 ms --- 1.50.70.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.758/1.651/3.321 ms 2025-10-08 14:43:44,191 - INFO - Ping to IP 1.50.70.131 from VM ctest-TestBasicPolicy-64119866-21887026 passed 2025-10-08 14:43:44,359 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4064faf8-b152-495c-97e3-f9272e2ae86d", "href": "http://10.0.0.162:8082/network-policy/4064faf8-b152-495c-97e3-f9272e2ae86d"}} 2025-10-08 14:43:44,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:43:44,359 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.50.70.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2025-10-08 14:43:44,359 - DEBUG - ping -s 56 -c 3 -W 1 1.50.70.131 2025-10-08 14:43:47,549 - DEBUG - PING 1.50.70.131 (1.50.70.131): 56 data bytes 64 bytes from 1.50.70.131: seq=0 ttl=63 time=1.293 ms --- 1.50.70.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.293/1.293/1.293 ms 2025-10-08 14:43:47,549 - WARNING - Ping to IP 1.50.70.131 from VM ctest-TestBasicPolicy-64119866-21887026 failed 2025-10-08 14:43:47,550 - INFO - Deleting VM ctest-TestBasicPolicy-64119866-38171923 2025-10-08 14:43:47,610 - INFO - Deleting VM ctest-TestBasicPolicy-64119866-21887026 2025-10-08 14:43:47,918 - INFO - Deleted policy ctest-policy-allow-all-66945082 2025-10-08 14:43:47,918 - INFO - Deleting VN ctest-vn-26874766 2025-10-08 14:43:47,954 - DEBUG - VN 204dea83-2411-4f5a-99dd-744df1e3dd06 still in use: Unable to complete operation on network 204dea83-2411-4f5a-99dd-744df1e3dd06. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e80fbff0-83ce-4745-9955-7b3bc6084f84'] 2025-10-08 14:43:47,954 - WARNING - Deleting VN ctest-vn-26874766 failed..Will retry 2025-10-08 14:43:50,043 - DEBUG - Response for deleting network () 2025-10-08 14:43:50,043 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/0e015862-f6f0-4dee-ada0-7ba2239a8bca 2025-10-08 14:43:50,047 - DEBUG - Response Code: 404 2025-10-08 14:43:50,047 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2025-10-08 14:43:50,052 - DEBUG - Requesting: http://10.0.0.162:8082/domain/cc6a519a-1a13-4692-af8e-06e2ffdfb27f 2025-10-08 14:43:50,108 - DEBUG - Requesting: http://10.0.0.162:8082/project/3edbf586-278f-4cca-871a-96bea569e450 2025-10-08 14:43:50,180 - INFO - Validated that VN ctest-vn-26874766 is not found in API Server 2025-10-08 14:43:50,188 - DEBUG - VN ctest-vn-26874766 is not present in Agent 10.0.0.162 2025-10-08 14:43:50,188 - INFO - Validated that VN ctest-vn-26874766 is not in any agent 2025-10-08 14:43:50,199 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26874766 info 2025-10-08 14:43:50,199 - INFO - Deleting VN ctest-vn-29561401 2025-10-08 14:43:50,305 - DEBUG - Response for deleting network () 2025-10-08 14:43:50,305 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/1bebeb4e-62eb-4462-bf8d-3a7a017fa823 2025-10-08 14:43:50,311 - DEBUG - Response Code: 404 2025-10-08 14:43:50,311 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2025-10-08 14:43:50,317 - DEBUG - Requesting: http://10.0.0.162:8082/domain/cc6a519a-1a13-4692-af8e-06e2ffdfb27f 2025-10-08 14:43:50,371 - DEBUG - Requesting: http://10.0.0.162:8082/project/3edbf586-278f-4cca-871a-96bea569e450 2025-10-08 14:43:50,448 - INFO - Validated that VN ctest-vn-29561401 is not found in API Server 2025-10-08 14:43:50,455 - DEBUG - VN ctest-vn-29561401 is not present in Agent 10.0.0.162 2025-10-08 14:43:50,455 - INFO - Validated that VN ctest-vn-29561401 is not in any agent 2025-10-08 14:43:50,466 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29561401 info 2025-10-08 14:43:50,727 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 14:43:50,727 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-10-08 14:43:50,727 - INFO - -------------------------------------------------------------------------------- 2025-10-08 14:43:51,903 - INFO - Deleted project: ctest-TestBasicPolicy-64119866, ID : 3edbf586-278f-4cca-871a-96bea569e450