2025-06-25 12:13:43,819 - INFO - Domain Default found not creating 2025-06-25 12:13:43,992 - INFO - Project ctest-TestBasicPolicy-58498951 not found, creating it 2025-06-25 12:13:44,526 - INFO - Created Project:ctest-TestBasicPolicy-58498951, ID : 4cb2bf72-33ec-47c2-b06d-0b7425537d17 2025-06-25 12:13:46,094 - INFO - ================================================================================ 2025-06-25 12:13:46,094 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-25 12:13:46,094 - 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-06-25 12:13:46,365 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-06-25 12:13:46,365 - INFO - Initial checks done. Running the testcase now 2025-06-25 12:13:46,365 - INFO - 2025-06-25 12:13:46,952 - DEBUG - Response for create_network : {'network': {'id': 'cbe383c7-5fd5-48e5-ac42-5252a21d9828', 'name': 'ctest-vn-70913836', 'tenant_id': '4cb2bf7233ec47c2b06d0b7425537d17', 'project_id': '4cb2bf7233ec47c2b06d0b7425537d17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58498951', 'ctest-vn-70913836'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 12:13:47,159 - DEBUG - Response for create_subnet : {'subnet': {'id': '01582ab7-736c-46cf-a7b3-b18d35bd2b33', 'name': '', 'tenant_id': '4cb2bf7233ec47c2b06d0b7425537d17', 'network_id': 'cbe383c7-5fd5-48e5-ac42-5252a21d9828', 'ip_version': 4, 'cidr': '163.233.120.192/26', 'allocation_pools': [{'start': '163.233.120.194', 'end': '163.233.120.254'}], 'gateway_ip': '163.233.120.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.233.120.194', 'tags': [], 'project_id': '4cb2bf7233ec47c2b06d0b7425537d17'}} 2025-06-25 12:13:47,181 - INFO - Created VN ctest-vn-70913836 2025-06-25 12:13:47,236 - DEBUG - VN ctest-vn-70913836 UUID is cbe383c7-5fd5-48e5-ac42-5252a21d9828 2025-06-25 12:13:47,554 - DEBUG - Response for create_network : {'network': {'id': '71338178-0e5d-41c0-9f33-5500e529b8f5', 'name': 'ctest-vn-11609944', 'tenant_id': '4cb2bf7233ec47c2b06d0b7425537d17', 'project_id': '4cb2bf7233ec47c2b06d0b7425537d17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58498951', 'ctest-vn-11609944'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 12:13:47,751 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db978668-2eed-4c3b-b25d-e86090f985bd', 'name': '', 'tenant_id': '4cb2bf7233ec47c2b06d0b7425537d17', 'network_id': '71338178-0e5d-41c0-9f33-5500e529b8f5', 'ip_version': 4, 'cidr': '20.169.41.128/26', 'allocation_pools': [{'start': '20.169.41.130', 'end': '20.169.41.190'}], 'gateway_ip': '20.169.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.169.41.130', 'tags': [], 'project_id': '4cb2bf7233ec47c2b06d0b7425537d17'}} 2025-06-25 12:13:47,773 - INFO - Created VN ctest-vn-11609944 2025-06-25 12:13:47,827 - DEBUG - VN ctest-vn-11609944 UUID is 71338178-0e5d-41c0-9f33-5500e529b8f5 2025-06-25 12:13:47,965 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58498951:ctest-vn-70913836, 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-58498951:ctest-vn-11609944, 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-06-25 12:13:48,308 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cbe383c7-5fd5-48e5-ac42-5252a21d9828', 'name': 'ctest-vn-70913836', 'tenant_id': '4cb2bf7233ec47c2b06d0b7425537d17', 'project_id': '4cb2bf7233ec47c2b06d0b7425537d17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['01582ab7-736c-46cf-a7b3-b18d35bd2b33'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58498951', 'ctest-vn-70913836'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58498951', 'ctest-policy-allow-all-85248034']], 'subnet_ipam': [{'subnet_cidr': '163.233.120.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 12:13:48,574 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '71338178-0e5d-41c0-9f33-5500e529b8f5', 'name': 'ctest-vn-11609944', 'tenant_id': '4cb2bf7233ec47c2b06d0b7425537d17', 'project_id': '4cb2bf7233ec47c2b06d0b7425537d17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db978668-2eed-4c3b-b25d-e86090f985bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58498951', 'ctest-vn-11609944'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58498951', 'ctest-policy-allow-all-85248034']], 'subnet_ipam': [{'subnet_cidr': '20.169.41.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 12:13:48,764 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-25 12:13:49,065 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-25 12:13:49,101 - DEBUG - Requesting: http://10.0.0.33:8082/domain/08f2af9a-12f3-42d7-82e6-d5755904194d 2025-06-25 12:13:49,119 - DEBUG - Requesting: http://10.0.0.33:8082/project/4cb2bf72-33ec-47c2-b06d-0b7425537d17 2025-06-25 12:13:49,210 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbe383c7-5fd5-48e5-ac42-5252a21d9828 2025-06-25 12:13:49,226 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbe383c7-5fd5-48e5-ac42-5252a21d9828 2025-06-25 12:13:49,239 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/30a5acb8-d6bd-4608-b9af-f7bba979ebe4 2025-06-25 12:13:49,252 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/30a5acb8-d6bd-4608-b9af-f7bba979ebe4 2025-06-25 12:13:49,262 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2c501d7d-2367-4788-9961-cb9af964c4bf 2025-06-25 12:13:49,272 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 12:13:49,272 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbe383c7-5fd5-48e5-ac42-5252a21d9828 2025-06-25 12:13:49,285 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/30a5acb8-d6bd-4608-b9af-f7bba979ebe4 2025-06-25 12:13:49,304 - INFO - Verified VN network id 8 for VN cbe383c7-5fd5-48e5-ac42-5252a21d9828 2025-06-25 12:13:49,305 - INFO - Verifications in API Server for VN ctest-vn-70913836 passed 2025-06-25 12:13:49,305 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbe383c7-5fd5-48e5-ac42-5252a21d9828 2025-06-25 12:13:49,321 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/30a5acb8-d6bd-4608-b9af-f7bba979ebe4 2025-06-25 12:13:49,335 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/30a5acb8-d6bd-4608-b9af-f7bba979ebe4 2025-06-25 12:13:49,347 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2c501d7d-2367-4788-9961-cb9af964c4bf 2025-06-25 12:13:49,364 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58498951:ctest-vn-70913836', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58498951', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14691731301742233829', 'uuid-lslong': '12412574037847152680'}, 'enable': 'true', 'created': '2025-06-25T12:13:46', 'last-modified': '2025-06-25T12:13:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.087630'} 2025-06-25 12:13:49,375 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 12:13:49,375 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70913836 passed 2025-06-25 12:13:49,376 - DEBUG - ====Verifying policy data for ctest-vn-70913836 in API_Server ====== 2025-06-25 12:13:49,376 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-25 12:13:49,386 - DEBUG - Requesting: http://10.0.0.33:8082/domain/08f2af9a-12f3-42d7-82e6-d5755904194d 2025-06-25 12:13:49,403 - DEBUG - Requesting: http://10.0.0.33:8082/project/4cb2bf72-33ec-47c2-b06d-0b7425537d17 2025-06-25 12:13:49,482 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbe383c7-5fd5-48e5-ac42-5252a21d9828 2025-06-25 12:13:49,496 - DEBUG - ==>Verifying data for policy with id: d97e7cf7-df8b-4b70-92e2-45853a89fbfd, fqn: ['default-domain', 'ctest-TestBasicPolicy-58498951', 'ctest-policy-allow-all-85248034'] 2025-06-25 12:13:49,496 - INFO - VN ctest-vn-70913836 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 12:13:49,496 - DEBUG - Verifying the vn in opserver 2025-06-25 12:13:49,496 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58498951:ctest-vn-70913836 virtual network link through opserver 10.0.0.33 2025-06-25 12:13:49,496 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-06-25 12:13:49,800 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-06-25 12:13:49,870 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58498951:ctest-vn-70913836', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58498951:ctest-vn-70913836?flat'} 2025-06-25 12:13:49,870 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58498951:ctest-vn-70913836 is found in opserver 2025-06-25 12:13:49,883 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 12:13:49,889 - DEBUG - VRF ids for VN ctest-vn-70913836: {} 2025-06-25 12:13:49,889 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-25 12:13:49,897 - DEBUG - Requesting: http://10.0.0.33:8082/domain/08f2af9a-12f3-42d7-82e6-d5755904194d 2025-06-25 12:13:49,912 - DEBUG - Requesting: http://10.0.0.33:8082/project/4cb2bf72-33ec-47c2-b06d-0b7425537d17 2025-06-25 12:13:49,990 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71338178-0e5d-41c0-9f33-5500e529b8f5 2025-06-25 12:13:50,004 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71338178-0e5d-41c0-9f33-5500e529b8f5 2025-06-25 12:13:50,019 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5e0c7aa0-6122-4f14-9e71-8c3a4a5fae82 2025-06-25 12:13:50,028 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5e0c7aa0-6122-4f14-9e71-8c3a4a5fae82 2025-06-25 12:13:50,039 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b0996f2d-5888-49ae-acb0-578662988297 2025-06-25 12:13:50,050 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 12:13:50,050 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71338178-0e5d-41c0-9f33-5500e529b8f5 2025-06-25 12:13:50,065 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5e0c7aa0-6122-4f14-9e71-8c3a4a5fae82 2025-06-25 12:13:50,089 - INFO - Verified VN network id 9 for VN 71338178-0e5d-41c0-9f33-5500e529b8f5 2025-06-25 12:13:50,089 - INFO - Verifications in API Server for VN ctest-vn-11609944 passed 2025-06-25 12:13:50,089 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71338178-0e5d-41c0-9f33-5500e529b8f5 2025-06-25 12:13:50,105 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5e0c7aa0-6122-4f14-9e71-8c3a4a5fae82 2025-06-25 12:13:50,118 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5e0c7aa0-6122-4f14-9e71-8c3a4a5fae82 2025-06-25 12:13:50,131 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b0996f2d-5888-49ae-acb0-578662988297 2025-06-25 12:13:50,150 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58498951:ctest-vn-11609944', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58498951', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8157005702735151552', 'uuid-lslong': '11471606138175863029'}, 'enable': 'true', 'created': '2025-06-25T12:13:47', 'last-modified': '2025-06-25T12:13:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.606230'} 2025-06-25 12:13:50,160 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 12:13:50,160 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11609944 passed 2025-06-25 12:13:50,160 - DEBUG - ====Verifying policy data for ctest-vn-11609944 in API_Server ====== 2025-06-25 12:13:50,161 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-25 12:13:50,171 - DEBUG - Requesting: http://10.0.0.33:8082/domain/08f2af9a-12f3-42d7-82e6-d5755904194d 2025-06-25 12:13:50,186 - DEBUG - Requesting: http://10.0.0.33:8082/project/4cb2bf72-33ec-47c2-b06d-0b7425537d17 2025-06-25 12:13:50,284 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71338178-0e5d-41c0-9f33-5500e529b8f5 2025-06-25 12:13:50,297 - DEBUG - ==>Verifying data for policy with id: d97e7cf7-df8b-4b70-92e2-45853a89fbfd, fqn: ['default-domain', 'ctest-TestBasicPolicy-58498951', 'ctest-policy-allow-all-85248034'] 2025-06-25 12:13:50,297 - INFO - VN ctest-vn-11609944 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 12:13:50,297 - DEBUG - Verifying the vn in opserver 2025-06-25 12:13:50,297 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58498951:ctest-vn-11609944 virtual network link through opserver 10.0.0.33 2025-06-25 12:13:50,298 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-06-25 12:13:50,312 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58498951:ctest-vn-11609944', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58498951:ctest-vn-11609944?flat'} 2025-06-25 12:13:50,312 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58498951:ctest-vn-11609944 is found in opserver 2025-06-25 12:13:50,325 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 12:13:50,332 - DEBUG - VRF ids for VN ctest-vn-11609944: {} 2025-06-25 12:13:50,414 - DEBUG - Services list from nova: [, , ] 2025-06-25 12:13:51,513 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3548-1) 2025-06-25 12:13:52,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3548-1) 2025-06-25 12:13:52,850 - INFO - Waiting for VM ctest-TestBasicPolicy-58498951-22526652 to be up.. 2025-06-25 12:13:52,968 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 12:13:58,071 - DEBUG - VM is in ACTIVE state now 2025-06-25 12:13:58,071 - INFO - VM name : ctest-TestBasicPolicy-58498951-22526652 2025-06-25 12:13:58,162 - DEBUG - VM ctest-TestBasicPolicy-58498951-22526652 ID is 10ed9a11-7572-4ecd-a7e8-d6186c94a679 2025-06-25 12:13:58,192 - DEBUG - VM ctest-TestBasicPolicy-58498951-22526652 launched on Node cn-jenkins-deploy-platform-ansible-os-3548-1 2025-06-25 12:13:58,292 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/10ed9a11-7572-4ecd-a7e8-d6186c94a679 2025-06-25 12:13:58,305 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/fde7ea19-4165-4f3d-8538-664b0705e728 2025-06-25 12:14:01,560 - 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 1006ms') 2025-06-25 12:14:01,560 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58498951-22526652 failed! 2025-06-25 12:14:01,623 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58498951:ctest-vn-70913836 is 163.233.120.193 and allocation pool is NOT set 2025-06-25 12:14:03,690 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.223/4.540/4.857/0.317 ms') 2025-06-25 12:14:03,690 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58498951-22526652 passed 2025-06-25 12:14:03,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 12:14:03,868 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58498951-22526652, IP 163.233.120.195, Port 22 2025-06-25 12:14:04,037 - DEBUG - VM ctest-TestBasicPolicy-58498951-22526652 is ready for SSH connections 2025-06-25 12:14:04,037 - INFO - Waiting for VM ctest-TestBasicPolicy-58498951-96335760 to be up.. 2025-06-25 12:14:04,134 - DEBUG - VM is in ACTIVE state now 2025-06-25 12:14:04,134 - INFO - VM name : ctest-TestBasicPolicy-58498951-96335760 2025-06-25 12:14:04,231 - DEBUG - VM ctest-TestBasicPolicy-58498951-96335760 ID is 3a04e52c-3a1e-4fd0-abb9-08f1f77f86a2 2025-06-25 12:14:04,231 - DEBUG - VM ctest-TestBasicPolicy-58498951-96335760 launched on Node cn-jenkins-deploy-platform-ansible-os-3548-1 2025-06-25 12:14:04,322 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3a04e52c-3a1e-4fd0-abb9-08f1f77f86a2 2025-06-25 12:14:04,333 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/aca04ef6-9aa5-480b-9516-59045de7bcfe 2025-06-25 12:14:05,584 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.552 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.552/1.920/3.288/1.368 ms') 2025-06-25 12:14:05,584 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58498951-96335760 passed 2025-06-25 12:14:05,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 12:14:05,752 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58498951-96335760, IP 20.169.41.131, Port 22 2025-06-25 12:14:05,907 - DEBUG - VM ctest-TestBasicPolicy-58498951-96335760 is ready for SSH connections 2025-06-25 12:14:05,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 12:14:05,908 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.169.41.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-06-25 12:14:05,908 - DEBUG - ping -s 56 -c 3 -W 1 20.169.41.131 2025-06-25 12:14:10,020 - DEBUG - PING 20.169.41.131 (20.169.41.131): 56 data bytes 64 bytes from 20.169.41.131: seq=0 ttl=63 time=5.328 ms 64 bytes from 20.169.41.131: seq=1 ttl=63 time=1.202 ms 64 bytes from 20.169.41.131: seq=2 ttl=63 time=0.938 ms --- 20.169.41.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/2.489/5.328 ms 2025-06-25 12:14:10,020 - INFO - Ping to IP 20.169.41.131 from VM ctest-TestBasicPolicy-58498951-22526652 passed 2025-06-25 12:14:10,219 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d97e7cf7-df8b-4b70-92e2-45853a89fbfd", "href": "http://10.0.0.33:8082/network-policy/d97e7cf7-df8b-4b70-92e2-45853a89fbfd"}} 2025-06-25 12:14:10,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 12:14:10,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.169.41.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-06-25 12:14:10,220 - DEBUG - ping -s 56 -c 3 -W 1 20.169.41.131 2025-06-25 12:14:13,466 - DEBUG - PING 20.169.41.131 (20.169.41.131): 56 data bytes 64 bytes from 20.169.41.131: seq=0 ttl=63 time=1.613 ms --- 20.169.41.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.613/1.613/1.613 ms 2025-06-25 12:14:13,466 - WARNING - Ping to IP 20.169.41.131 from VM ctest-TestBasicPolicy-58498951-22526652 failed 2025-06-25 12:14:13,466 - INFO - Deleting VM ctest-TestBasicPolicy-58498951-96335760 2025-06-25 12:14:13,553 - INFO - Deleting VM ctest-TestBasicPolicy-58498951-22526652 2025-06-25 12:14:14,017 - INFO - Deleted policy ctest-policy-allow-all-85248034 2025-06-25 12:14:14,017 - INFO - Deleting VN ctest-vn-11609944 2025-06-25 12:14:14,073 - DEBUG - VN 71338178-0e5d-41c0-9f33-5500e529b8f5 still in use: Unable to complete operation on network 71338178-0e5d-41c0-9f33-5500e529b8f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7d160887-6e86-4509-a2d1-47a4225fd9fb'] 2025-06-25 12:14:14,073 - WARNING - Deleting VN ctest-vn-11609944 failed..Will retry 2025-06-25 12:14:16,214 - DEBUG - Response for deleting network () 2025-06-25 12:14:16,214 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5e0c7aa0-6122-4f14-9e71-8c3a4a5fae82 2025-06-25 12:14:16,221 - DEBUG - Response Code: 404 2025-06-25 12:14:16,221 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-25 12:14:16,233 - DEBUG - Requesting: http://10.0.0.33:8082/domain/08f2af9a-12f3-42d7-82e6-d5755904194d 2025-06-25 12:14:16,294 - DEBUG - Requesting: http://10.0.0.33:8082/project/4cb2bf72-33ec-47c2-b06d-0b7425537d17 2025-06-25 12:14:16,371 - INFO - Validated that VN ctest-vn-11609944 is not found in API Server 2025-06-25 12:14:16,383 - DEBUG - VN ctest-vn-11609944 is not present in Agent 10.0.0.33 2025-06-25 12:14:16,383 - INFO - Validated that VN ctest-vn-11609944 is not in any agent 2025-06-25 12:14:16,403 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11609944 info 2025-06-25 12:14:16,403 - INFO - Deleting VN ctest-vn-70913836 2025-06-25 12:14:16,538 - DEBUG - Response for deleting network () 2025-06-25 12:14:16,539 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/30a5acb8-d6bd-4608-b9af-f7bba979ebe4 2025-06-25 12:14:16,546 - DEBUG - Response Code: 404 2025-06-25 12:14:16,546 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-25 12:14:16,555 - DEBUG - Requesting: http://10.0.0.33:8082/domain/08f2af9a-12f3-42d7-82e6-d5755904194d 2025-06-25 12:14:16,618 - DEBUG - Requesting: http://10.0.0.33:8082/project/4cb2bf72-33ec-47c2-b06d-0b7425537d17 2025-06-25 12:14:16,693 - INFO - Validated that VN ctest-vn-70913836 is not found in API Server 2025-06-25 12:14:16,706 - DEBUG - VN ctest-vn-70913836 is not present in Agent 10.0.0.33 2025-06-25 12:14:16,706 - INFO - Validated that VN ctest-vn-70913836 is not in any agent 2025-06-25 12:14:16,728 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70913836 info 2025-06-25 12:14:17,001 - DEBUG - No XMPP flaps were noticed during the test 2025-06-25 12:14:17,001 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-06-25 12:14:17,001 - INFO - -------------------------------------------------------------------------------- 2025-06-25 12:14:17,737 - INFO - Deleted project: ctest-TestBasicPolicy-58498951, ID : 4cb2bf72-33ec-47c2-b06d-0b7425537d17