2025-06-09 02:20:26,990 - INFO - Domain Default found not creating 2025-06-09 02:20:27,167 - INFO - Project ctest-TestBasicPolicy-05624190 not found, creating it 2025-06-09 02:20:27,741 - INFO - Created Project:ctest-TestBasicPolicy-05624190, ID : 7b5de380-4bda-4b92-a872-bb98d0af2b3f 2025-06-09 02:20:29,246 - INFO - ================================================================================ 2025-06-09 02:20:29,246 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-09 02:20:29,246 - 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-09 02:20:29,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-06-09 02:20:29,507 - INFO - Initial checks done. Running the testcase now 2025-06-09 02:20:29,507 - INFO - 2025-06-09 02:20:30,087 - DEBUG - Response for create_network : {'network': {'id': '23850911-c982-4a3c-8857-5dfcf9642cf0', 'name': 'ctest-vn-04204060', 'tenant_id': '7b5de3804bda4b92a872bb98d0af2b3f', 'project_id': '7b5de3804bda4b92a872bb98d0af2b3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05624190', 'ctest-vn-04204060'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:20:30,252 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2d9fee1-ce58-4e43-9ceb-d2d654b5722b', 'name': '', 'tenant_id': '7b5de3804bda4b92a872bb98d0af2b3f', 'network_id': '23850911-c982-4a3c-8857-5dfcf9642cf0', 'ip_version': 4, 'cidr': '23.189.162.64/26', 'allocation_pools': [{'start': '23.189.162.66', 'end': '23.189.162.126'}], 'gateway_ip': '23.189.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.189.162.66', 'tags': [], 'project_id': '7b5de3804bda4b92a872bb98d0af2b3f'}} 2025-06-09 02:20:30,272 - INFO - Created VN ctest-vn-04204060 2025-06-09 02:20:30,325 - DEBUG - VN ctest-vn-04204060 UUID is 23850911-c982-4a3c-8857-5dfcf9642cf0 2025-06-09 02:20:30,641 - DEBUG - Response for create_network : {'network': {'id': '19b78805-9c4c-4ab7-bc5d-98b4347e3b76', 'name': 'ctest-vn-26893452', 'tenant_id': '7b5de3804bda4b92a872bb98d0af2b3f', 'project_id': '7b5de3804bda4b92a872bb98d0af2b3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05624190', 'ctest-vn-26893452'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:20:30,817 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a0f2036-9e50-4673-832e-6e0a9a472982', 'name': '', 'tenant_id': '7b5de3804bda4b92a872bb98d0af2b3f', 'network_id': '19b78805-9c4c-4ab7-bc5d-98b4347e3b76', 'ip_version': 4, 'cidr': '39.161.82.0/26', 'allocation_pools': [{'start': '39.161.82.2', 'end': '39.161.82.62'}], 'gateway_ip': '39.161.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.161.82.2', 'tags': [], 'project_id': '7b5de3804bda4b92a872bb98d0af2b3f'}} 2025-06-09 02:20:30,835 - INFO - Created VN ctest-vn-26893452 2025-06-09 02:20:30,888 - DEBUG - VN ctest-vn-26893452 UUID is 19b78805-9c4c-4ab7-bc5d-98b4347e3b76 2025-06-09 02:20:31,004 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05624190:ctest-vn-04204060, 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-05624190:ctest-vn-26893452, 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-09 02:20:31,341 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23850911-c982-4a3c-8857-5dfcf9642cf0', 'name': 'ctest-vn-04204060', 'tenant_id': '7b5de3804bda4b92a872bb98d0af2b3f', 'project_id': '7b5de3804bda4b92a872bb98d0af2b3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f2d9fee1-ce58-4e43-9ceb-d2d654b5722b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05624190', 'ctest-vn-04204060'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05624190', 'ctest-policy-allow-all-66207984']], 'subnet_ipam': [{'subnet_cidr': '23.189.162.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:20:31,629 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19b78805-9c4c-4ab7-bc5d-98b4347e3b76', 'name': 'ctest-vn-26893452', 'tenant_id': '7b5de3804bda4b92a872bb98d0af2b3f', 'project_id': '7b5de3804bda4b92a872bb98d0af2b3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0a0f2036-9e50-4673-832e-6e0a9a472982'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05624190', 'ctest-vn-26893452'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05624190', 'ctest-policy-allow-all-66207984']], 'subnet_ipam': [{'subnet_cidr': '39.161.82.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:20:31,776 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 02:20:32,074 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 02:20:32,102 - DEBUG - Requesting: http://10.0.0.27:8082/domain/02221717-eca1-43d9-adef-8bec404929db 2025-06-09 02:20:32,116 - DEBUG - Requesting: http://10.0.0.27:8082/project/7b5de380-4bda-4b92-a872-bb98d0af2b3f 2025-06-09 02:20:32,190 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/23850911-c982-4a3c-8857-5dfcf9642cf0 2025-06-09 02:20:32,203 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/23850911-c982-4a3c-8857-5dfcf9642cf0 2025-06-09 02:20:32,213 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/31409ec1-5ce4-4ea6-b811-bbc4cadc9f60 2025-06-09 02:20:32,221 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/31409ec1-5ce4-4ea6-b811-bbc4cadc9f60 2025-06-09 02:20:32,230 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c7df8c55-7754-448f-911d-6afff73a634b 2025-06-09 02:20:32,238 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-09 02:20:32,238 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/23850911-c982-4a3c-8857-5dfcf9642cf0 2025-06-09 02:20:32,248 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/31409ec1-5ce4-4ea6-b811-bbc4cadc9f60 2025-06-09 02:20:32,264 - INFO - Verified VN network id 8 for VN 23850911-c982-4a3c-8857-5dfcf9642cf0 2025-06-09 02:20:32,264 - INFO - Verifications in API Server for VN ctest-vn-04204060 passed 2025-06-09 02:20:32,264 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/23850911-c982-4a3c-8857-5dfcf9642cf0 2025-06-09 02:20:32,275 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/31409ec1-5ce4-4ea6-b811-bbc4cadc9f60 2025-06-09 02:20:32,282 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/31409ec1-5ce4-4ea6-b811-bbc4cadc9f60 2025-06-09 02:20:32,289 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c7df8c55-7754-448f-911d-6afff73a634b 2025-06-09 02:20:32,301 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05624190:ctest-vn-04204060', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05624190', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2559461935229848124', 'uuid-lslong': '9824424453229260016'}, 'enable': 'true', 'created': '2025-06-09T02:20:30', 'last-modified': '2025-06-09T02:20:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.991758'} 2025-06-09 02:20:32,308 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-09 02:20:32,308 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04204060 passed 2025-06-09 02:20:32,308 - DEBUG - ====Verifying policy data for ctest-vn-04204060 in API_Server ====== 2025-06-09 02:20:32,308 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 02:20:32,314 - DEBUG - Requesting: http://10.0.0.27:8082/domain/02221717-eca1-43d9-adef-8bec404929db 2025-06-09 02:20:32,327 - DEBUG - Requesting: http://10.0.0.27:8082/project/7b5de380-4bda-4b92-a872-bb98d0af2b3f 2025-06-09 02:20:32,401 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/23850911-c982-4a3c-8857-5dfcf9642cf0 2025-06-09 02:20:32,412 - DEBUG - ==>Verifying data for policy with id: 12ef5798-88a1-4b3d-a83f-e8d1054f1fc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-05624190', 'ctest-policy-allow-all-66207984'] 2025-06-09 02:20:32,412 - INFO - VN ctest-vn-04204060 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-09 02:20:32,412 - DEBUG - Verifying the vn in opserver 2025-06-09 02:20:32,412 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05624190:ctest-vn-04204060 virtual network link through opserver 10.0.0.27 2025-06-09 02:20:32,412 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-06-09 02:20:32,702 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-06-09 02:20:32,759 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05624190:ctest-vn-04204060', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05624190:ctest-vn-04204060?flat'} 2025-06-09 02:20:32,759 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05624190:ctest-vn-04204060 is found in opserver 2025-06-09 02:20:32,770 - DEBUG - Do not have enough data to verify VN in agent 2025-06-09 02:20:32,775 - DEBUG - VRF ids for VN ctest-vn-04204060: {} 2025-06-09 02:20:32,775 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 02:20:32,781 - DEBUG - Requesting: http://10.0.0.27:8082/domain/02221717-eca1-43d9-adef-8bec404929db 2025-06-09 02:20:32,793 - DEBUG - Requesting: http://10.0.0.27:8082/project/7b5de380-4bda-4b92-a872-bb98d0af2b3f 2025-06-09 02:20:32,867 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/19b78805-9c4c-4ab7-bc5d-98b4347e3b76 2025-06-09 02:20:32,880 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/19b78805-9c4c-4ab7-bc5d-98b4347e3b76 2025-06-09 02:20:32,889 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd808279-8c9e-4cd3-ac48-0729d4cad3e0 2025-06-09 02:20:32,896 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd808279-8c9e-4cd3-ac48-0729d4cad3e0 2025-06-09 02:20:32,903 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/215a665e-a0b8-45ec-9ee7-16632f3a2e44 2025-06-09 02:20:32,909 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-09 02:20:32,909 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/19b78805-9c4c-4ab7-bc5d-98b4347e3b76 2025-06-09 02:20:32,919 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd808279-8c9e-4cd3-ac48-0729d4cad3e0 2025-06-09 02:20:32,934 - INFO - Verified VN network id 9 for VN 19b78805-9c4c-4ab7-bc5d-98b4347e3b76 2025-06-09 02:20:32,934 - INFO - Verifications in API Server for VN ctest-vn-26893452 passed 2025-06-09 02:20:32,934 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/19b78805-9c4c-4ab7-bc5d-98b4347e3b76 2025-06-09 02:20:32,945 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd808279-8c9e-4cd3-ac48-0729d4cad3e0 2025-06-09 02:20:32,953 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd808279-8c9e-4cd3-ac48-0729d4cad3e0 2025-06-09 02:20:32,961 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/215a665e-a0b8-45ec-9ee7-16632f3a2e44 2025-06-09 02:20:32,975 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05624190:ctest-vn-26893452', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05624190', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1853099329364708023', 'uuid-lslong': '13573172751706766198'}, 'enable': 'true', 'created': '2025-06-09T02:20:30', 'last-modified': '2025-06-09T02:20:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.418365'} 2025-06-09 02:20:32,983 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-09 02:20:32,983 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26893452 passed 2025-06-09 02:20:32,983 - DEBUG - ====Verifying policy data for ctest-vn-26893452 in API_Server ====== 2025-06-09 02:20:32,983 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 02:20:32,989 - DEBUG - Requesting: http://10.0.0.27:8082/domain/02221717-eca1-43d9-adef-8bec404929db 2025-06-09 02:20:33,001 - DEBUG - Requesting: http://10.0.0.27:8082/project/7b5de380-4bda-4b92-a872-bb98d0af2b3f 2025-06-09 02:20:33,080 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/19b78805-9c4c-4ab7-bc5d-98b4347e3b76 2025-06-09 02:20:33,091 - DEBUG - ==>Verifying data for policy with id: 12ef5798-88a1-4b3d-a83f-e8d1054f1fc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-05624190', 'ctest-policy-allow-all-66207984'] 2025-06-09 02:20:33,091 - INFO - VN ctest-vn-26893452 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-09 02:20:33,091 - DEBUG - Verifying the vn in opserver 2025-06-09 02:20:33,091 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05624190:ctest-vn-26893452 virtual network link through opserver 10.0.0.27 2025-06-09 02:20:33,091 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-06-09 02:20:33,102 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05624190:ctest-vn-26893452', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05624190:ctest-vn-26893452?flat'} 2025-06-09 02:20:33,102 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05624190:ctest-vn-26893452 is found in opserver 2025-06-09 02:20:33,113 - DEBUG - Do not have enough data to verify VN in agent 2025-06-09 02:20:33,119 - DEBUG - VRF ids for VN ctest-vn-26893452: {} 2025-06-09 02:20:33,178 - DEBUG - Services list from nova: [, , ] 2025-06-09 02:20:34,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3422-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3422-1) 2025-06-09 02:20:35,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3422-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3422-1) 2025-06-09 02:20:35,379 - INFO - Waiting for VM ctest-TestBasicPolicy-05624190-95316251 to be up.. 2025-06-09 02:20:35,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-09 02:20:40,536 - DEBUG - VM is in ACTIVE state now 2025-06-09 02:20:40,536 - INFO - VM name : ctest-TestBasicPolicy-05624190-95316251 2025-06-09 02:20:40,611 - DEBUG - VM ctest-TestBasicPolicy-05624190-95316251 ID is 331b157f-3b95-47e0-aad4-c28e01790347 2025-06-09 02:20:40,629 - DEBUG - VM ctest-TestBasicPolicy-05624190-95316251 launched on Node cn-jenkins-deploy-platform-ansible-os-3422-1 2025-06-09 02:20:40,709 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/331b157f-3b95-47e0-aad4-c28e01790347 2025-06-09 02:20:40,718 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/aab097cb-7381-48b6-8198-b211743fbcc1 2025-06-09 02:20:43,968 - 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-06-09 02:20:43,968 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05624190-95316251 failed! 2025-06-09 02:20:44,024 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05624190:ctest-vn-04204060 is 23.189.162.65 and allocation pool is NOT set 2025-06-09 02:20:46,085 - 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=9.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.09 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 = 2.090/5.984/9.878/3.894 ms') 2025-06-09 02:20:46,086 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05624190-95316251 passed 2025-06-09 02:20:46,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:20:46,237 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05624190-95316251, IP 23.189.162.67, Port 22 2025-06-09 02:20:46,292 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-06-09 02:20:46,376 - DEBUG - VM ctest-TestBasicPolicy-05624190-95316251 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-09 02:20:51,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:20:51,377 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05624190-95316251, IP 23.189.162.67, Port 22 2025-06-09 02:20:51,548 - DEBUG - VM ctest-TestBasicPolicy-05624190-95316251 is ready for SSH connections 2025-06-09 02:20:51,548 - INFO - Waiting for VM ctest-TestBasicPolicy-05624190-18964710 to be up.. 2025-06-09 02:20:51,634 - DEBUG - VM is in ACTIVE state now 2025-06-09 02:20:51,634 - INFO - VM name : ctest-TestBasicPolicy-05624190-18964710 2025-06-09 02:20:51,718 - DEBUG - VM ctest-TestBasicPolicy-05624190-18964710 ID is d0ac9b33-4259-434a-8d43-32d8726e7b2f 2025-06-09 02:20:51,718 - DEBUG - VM ctest-TestBasicPolicy-05624190-18964710 launched on Node cn-jenkins-deploy-platform-ansible-os-3422-1 2025-06-09 02:20:51,793 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d0ac9b33-4259-434a-8d43-32d8726e7b2f 2025-06-09 02:20:51,803 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/7528f5b5-e203-4bfa-b223-b9f7b9c4ba37 2025-06-09 02:20:53,050 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.621/2.872/1.251 ms') 2025-06-09 02:20:53,050 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05624190-18964710 passed 2025-06-09 02:20:53,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:20:53,201 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05624190-18964710, IP 39.161.82.3, Port 22 2025-06-09 02:20:53,357 - DEBUG - VM ctest-TestBasicPolicy-05624190-18964710 is ready for SSH connections 2025-06-09 02:20:53,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:20:53,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.161.82.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-06-09 02:20:53,357 - DEBUG - ping -s 56 -c 3 -W 1 39.161.82.3 2025-06-09 02:20:57,363 - DEBUG - PING 39.161.82.3 (39.161.82.3): 56 data bytes 64 bytes from 39.161.82.3: seq=0 ttl=63 time=3.577 ms 64 bytes from 39.161.82.3: seq=1 ttl=63 time=1.207 ms 64 bytes from 39.161.82.3: seq=2 ttl=63 time=0.884 ms --- 39.161.82.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.884/1.889/3.577 ms 2025-06-09 02:20:57,363 - INFO - Ping to IP 39.161.82.3 from VM ctest-TestBasicPolicy-05624190-95316251 passed 2025-06-09 02:20:57,548 - DEBUG - Policy Update Response {"network-policy": {"uuid": "12ef5798-88a1-4b3d-a83f-e8d1054f1fc8", "href": "http://10.0.0.27:8082/network-policy/12ef5798-88a1-4b3d-a83f-e8d1054f1fc8"}} 2025-06-09 02:20:57,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:20:57,549 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.161.82.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-06-09 02:20:57,549 - DEBUG - ping -s 56 -c 3 -W 1 39.161.82.3 2025-06-09 02:21:00,759 - DEBUG - PING 39.161.82.3 (39.161.82.3): 56 data bytes 64 bytes from 39.161.82.3: seq=0 ttl=63 time=1.462 ms --- 39.161.82.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.462/1.462/1.462 ms 2025-06-09 02:21:00,759 - WARNING - Ping to IP 39.161.82.3 from VM ctest-TestBasicPolicy-05624190-95316251 failed 2025-06-09 02:21:00,759 - INFO - Deleting VM ctest-TestBasicPolicy-05624190-18964710 2025-06-09 02:21:00,836 - INFO - Deleting VM ctest-TestBasicPolicy-05624190-95316251 2025-06-09 02:21:01,234 - INFO - Deleted policy ctest-policy-allow-all-66207984 2025-06-09 02:21:01,235 - INFO - Deleting VN ctest-vn-26893452 2025-06-09 02:21:01,277 - DEBUG - VN 19b78805-9c4c-4ab7-bc5d-98b4347e3b76 still in use: Unable to complete operation on network 19b78805-9c4c-4ab7-bc5d-98b4347e3b76. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8eed8842-8b17-4708-98d3-4cc15132b1b6'] 2025-06-09 02:21:01,277 - WARNING - Deleting VN ctest-vn-26893452 failed..Will retry 2025-06-09 02:21:03,389 - DEBUG - Response for deleting network () 2025-06-09 02:21:03,390 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd808279-8c9e-4cd3-ac48-0729d4cad3e0 2025-06-09 02:21:03,397 - DEBUG - Response Code: 404 2025-06-09 02:21:03,397 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 02:21:03,404 - DEBUG - Requesting: http://10.0.0.27:8082/domain/02221717-eca1-43d9-adef-8bec404929db 2025-06-09 02:21:03,459 - DEBUG - Requesting: http://10.0.0.27:8082/project/7b5de380-4bda-4b92-a872-bb98d0af2b3f 2025-06-09 02:21:03,534 - INFO - Validated that VN ctest-vn-26893452 is not found in API Server 2025-06-09 02:21:03,546 - DEBUG - VN ctest-vn-26893452 is not present in Agent 10.0.0.27 2025-06-09 02:21:03,546 - INFO - Validated that VN ctest-vn-26893452 is not in any agent 2025-06-09 02:21:03,562 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26893452 info 2025-06-09 02:21:03,562 - INFO - Deleting VN ctest-vn-04204060 2025-06-09 02:21:03,668 - DEBUG - Response for deleting network () 2025-06-09 02:21:03,668 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/31409ec1-5ce4-4ea6-b811-bbc4cadc9f60 2025-06-09 02:21:03,678 - DEBUG - Response Code: 404 2025-06-09 02:21:03,678 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 02:21:03,685 - DEBUG - Requesting: http://10.0.0.27:8082/domain/02221717-eca1-43d9-adef-8bec404929db 2025-06-09 02:21:03,740 - DEBUG - Requesting: http://10.0.0.27:8082/project/7b5de380-4bda-4b92-a872-bb98d0af2b3f 2025-06-09 02:21:03,813 - INFO - Validated that VN ctest-vn-04204060 is not found in API Server 2025-06-09 02:21:03,824 - DEBUG - VN ctest-vn-04204060 is not present in Agent 10.0.0.27 2025-06-09 02:21:03,824 - INFO - Validated that VN ctest-vn-04204060 is not in any agent 2025-06-09 02:21:03,839 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04204060 info 2025-06-09 02:21:04,097 - DEBUG - No XMPP flaps were noticed during the test 2025-06-09 02:21:04,097 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-06-09 02:21:04,097 - INFO - -------------------------------------------------------------------------------- 2025-06-09 02:21:04,777 - INFO - Deleted project: ctest-TestBasicPolicy-05624190, ID : 7b5de380-4bda-4b92-a872-bb98d0af2b3f