2025-10-23 07:02:40,527 - INFO - Domain Default found not creating 2025-10-23 07:02:40,735 - INFO - Project ctest-TestBasicPolicy-03032584 not found, creating it 2025-10-23 07:02:41,231 - INFO - Created Project:ctest-TestBasicPolicy-03032584, ID : b033b25f-eeff-4f06-ab2c-4fdf4a6b3b79 2025-10-23 07:02:42,690 - INFO - ================================================================================ 2025-10-23 07:02:42,690 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 07:02:42,690 - 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-23 07:02:42,951 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-23 07:02:42,951 - INFO - Initial checks done. Running the testcase now 2025-10-23 07:02:42,951 - INFO - 2025-10-23 07:02:43,502 - DEBUG - Response for create_network : {'network': {'id': '77012673-aefc-4805-8d53-ce80a0d70231', 'name': 'ctest-vn-63292731', 'tenant_id': 'b033b25feeff4f06ab2c4fdf4a6b3b79', 'project_id': 'b033b25feeff4f06ab2c4fdf4a6b3b79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03032584', 'ctest-vn-63292731'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 07:02:43,714 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c639090-ea43-4422-ab77-92808e0aa1ef', 'name': '', 'tenant_id': 'b033b25feeff4f06ab2c4fdf4a6b3b79', 'network_id': '77012673-aefc-4805-8d53-ce80a0d70231', 'ip_version': 4, 'cidr': '197.130.73.192/26', 'allocation_pools': [{'start': '197.130.73.194', 'end': '197.130.73.254'}], 'gateway_ip': '197.130.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.130.73.194', 'tags': [], 'project_id': 'b033b25feeff4f06ab2c4fdf4a6b3b79'}} 2025-10-23 07:02:43,733 - INFO - Created VN ctest-vn-63292731 2025-10-23 07:02:43,784 - DEBUG - VN ctest-vn-63292731 UUID is 77012673-aefc-4805-8d53-ce80a0d70231 2025-10-23 07:02:44,079 - DEBUG - Response for create_network : {'network': {'id': '7f0180a2-9a86-4830-81b3-074cfd7f0264', 'name': 'ctest-vn-42527498', 'tenant_id': 'b033b25feeff4f06ab2c4fdf4a6b3b79', 'project_id': 'b033b25feeff4f06ab2c4fdf4a6b3b79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03032584', 'ctest-vn-42527498'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 07:02:44,237 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b32d47ec-2ce6-4aa5-acf7-5b40a62f8d13', 'name': '', 'tenant_id': 'b033b25feeff4f06ab2c4fdf4a6b3b79', 'network_id': '7f0180a2-9a86-4830-81b3-074cfd7f0264', 'ip_version': 4, 'cidr': '167.39.91.128/26', 'allocation_pools': [{'start': '167.39.91.130', 'end': '167.39.91.190'}], 'gateway_ip': '167.39.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.39.91.130', 'tags': [], 'project_id': 'b033b25feeff4f06ab2c4fdf4a6b3b79'}} 2025-10-23 07:02:44,255 - INFO - Created VN ctest-vn-42527498 2025-10-23 07:02:44,308 - DEBUG - VN ctest-vn-42527498 UUID is 7f0180a2-9a86-4830-81b3-074cfd7f0264 2025-10-23 07:02:44,466 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03032584:ctest-vn-63292731, 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-03032584:ctest-vn-42527498, 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-23 07:02:44,763 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '77012673-aefc-4805-8d53-ce80a0d70231', 'name': 'ctest-vn-63292731', 'tenant_id': 'b033b25feeff4f06ab2c4fdf4a6b3b79', 'project_id': 'b033b25feeff4f06ab2c4fdf4a6b3b79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c639090-ea43-4422-ab77-92808e0aa1ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03032584', 'ctest-vn-63292731'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03032584', 'ctest-policy-allow-all-73668601']], 'subnet_ipam': [{'subnet_cidr': '197.130.73.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 07:02:44,999 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f0180a2-9a86-4830-81b3-074cfd7f0264', 'name': 'ctest-vn-42527498', 'tenant_id': 'b033b25feeff4f06ab2c4fdf4a6b3b79', 'project_id': 'b033b25feeff4f06ab2c4fdf4a6b3b79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b32d47ec-2ce6-4aa5-acf7-5b40a62f8d13'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03032584', 'ctest-vn-42527498'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03032584', 'ctest-policy-allow-all-73668601']], 'subnet_ipam': [{'subnet_cidr': '167.39.91.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 07:02:45,168 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 07:02:45,469 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 07:02:45,785 - DEBUG - Requesting: http://10.0.0.254:8082/domain/613a4d62-dd90-4136-89cf-048b6bcead5e 2025-10-23 07:02:45,797 - DEBUG - Requesting: http://10.0.0.254:8082/project/b033b25f-eeff-4f06-ab2c-4fdf4a6b3b79 2025-10-23 07:02:45,879 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/77012673-aefc-4805-8d53-ce80a0d70231 2025-10-23 07:02:45,891 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/77012673-aefc-4805-8d53-ce80a0d70231 2025-10-23 07:02:45,900 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9122c71b-9d54-4c70-9860-fc0125cbc795 2025-10-23 07:02:45,907 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9122c71b-9d54-4c70-9860-fc0125cbc795 2025-10-23 07:02:45,913 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f11fd3a1-5f23-4ca7-9c25-74b028dd6396 2025-10-23 07:02:45,920 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 07:02:45,920 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/77012673-aefc-4805-8d53-ce80a0d70231 2025-10-23 07:02:45,928 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9122c71b-9d54-4c70-9860-fc0125cbc795 2025-10-23 07:02:45,943 - INFO - Verified VN network id 9 for VN 77012673-aefc-4805-8d53-ce80a0d70231 2025-10-23 07:02:45,944 - INFO - Verifications in API Server for VN ctest-vn-63292731 passed 2025-10-23 07:02:45,944 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/77012673-aefc-4805-8d53-ce80a0d70231 2025-10-23 07:02:45,956 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9122c71b-9d54-4c70-9860-fc0125cbc795 2025-10-23 07:02:45,963 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9122c71b-9d54-4c70-9860-fc0125cbc795 2025-10-23 07:02:45,971 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f11fd3a1-5f23-4ca7-9c25-74b028dd6396 2025-10-23 07:02:45,982 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03032584:ctest-vn-63292731', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03032584', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8575177443788998661', 'uuid-lslong': '10183710234264404529'}, 'enable': 'true', 'created': '2025-10-23T07:02:43', 'last-modified': '2025-10-23T07:02:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.238821'} 2025-10-23 07:02:45,989 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 07:02:45,989 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63292731 passed 2025-10-23 07:02:45,989 - DEBUG - ====Verifying policy data for ctest-vn-63292731 in API_Server ====== 2025-10-23 07:02:45,989 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 07:02:45,994 - DEBUG - Requesting: http://10.0.0.254:8082/domain/613a4d62-dd90-4136-89cf-048b6bcead5e 2025-10-23 07:02:46,007 - DEBUG - Requesting: http://10.0.0.254:8082/project/b033b25f-eeff-4f06-ab2c-4fdf4a6b3b79 2025-10-23 07:02:46,095 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/77012673-aefc-4805-8d53-ce80a0d70231 2025-10-23 07:02:46,106 - DEBUG - ==>Verifying data for policy with id: 37c265ec-a201-4467-b013-82235b62991c, fqn: ['default-domain', 'ctest-TestBasicPolicy-03032584', 'ctest-policy-allow-all-73668601'] 2025-10-23 07:02:46,106 - INFO - VN ctest-vn-63292731 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 07:02:46,106 - DEBUG - Verifying the vn in opserver 2025-10-23 07:02:46,106 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03032584:ctest-vn-63292731 virtual network link through opserver 10.0.0.254 2025-10-23 07:02:46,106 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-23 07:02:46,442 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-23 07:02:46,533 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03032584:ctest-vn-63292731', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03032584:ctest-vn-63292731?flat'} 2025-10-23 07:02:46,533 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03032584:ctest-vn-63292731 is found in opserver 2025-10-23 07:02:46,543 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 07:02:46,549 - DEBUG - VRF ids for VN ctest-vn-63292731: {} 2025-10-23 07:02:46,549 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 07:02:46,554 - DEBUG - Requesting: http://10.0.0.254:8082/domain/613a4d62-dd90-4136-89cf-048b6bcead5e 2025-10-23 07:02:46,563 - DEBUG - Requesting: http://10.0.0.254:8082/project/b033b25f-eeff-4f06-ab2c-4fdf4a6b3b79 2025-10-23 07:02:46,640 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f0180a2-9a86-4830-81b3-074cfd7f0264 2025-10-23 07:02:46,652 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f0180a2-9a86-4830-81b3-074cfd7f0264 2025-10-23 07:02:46,660 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9de1eb80-a115-4f38-bf7f-83b15fe867fd 2025-10-23 07:02:46,667 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9de1eb80-a115-4f38-bf7f-83b15fe867fd 2025-10-23 07:02:46,674 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/37db43b6-ee86-4f06-ae44-81c341dd1b92 2025-10-23 07:02:46,680 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 07:02:46,680 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f0180a2-9a86-4830-81b3-074cfd7f0264 2025-10-23 07:02:46,689 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9de1eb80-a115-4f38-bf7f-83b15fe867fd 2025-10-23 07:02:46,707 - INFO - Verified VN network id 10 for VN 7f0180a2-9a86-4830-81b3-074cfd7f0264 2025-10-23 07:02:46,707 - INFO - Verifications in API Server for VN ctest-vn-42527498 passed 2025-10-23 07:02:46,707 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f0180a2-9a86-4830-81b3-074cfd7f0264 2025-10-23 07:02:46,718 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9de1eb80-a115-4f38-bf7f-83b15fe867fd 2025-10-23 07:02:46,726 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9de1eb80-a115-4f38-bf7f-83b15fe867fd 2025-10-23 07:02:46,734 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/37db43b6-ee86-4f06-ae44-81c341dd1b92 2025-10-23 07:02:46,747 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03032584:ctest-vn-42527498', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03032584', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9151737353659107376', 'uuid-lslong': '9345821678975779428'}, 'enable': 'true', 'created': '2025-10-23T07:02:44', 'last-modified': '2025-10-23T07:02:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.774883'} 2025-10-23 07:02:46,754 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 07:02:46,754 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42527498 passed 2025-10-23 07:02:46,754 - DEBUG - ====Verifying policy data for ctest-vn-42527498 in API_Server ====== 2025-10-23 07:02:46,754 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 07:02:46,759 - DEBUG - Requesting: http://10.0.0.254:8082/domain/613a4d62-dd90-4136-89cf-048b6bcead5e 2025-10-23 07:02:46,769 - DEBUG - Requesting: http://10.0.0.254:8082/project/b033b25f-eeff-4f06-ab2c-4fdf4a6b3b79 2025-10-23 07:02:46,838 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f0180a2-9a86-4830-81b3-074cfd7f0264 2025-10-23 07:02:46,846 - DEBUG - ==>Verifying data for policy with id: 37c265ec-a201-4467-b013-82235b62991c, fqn: ['default-domain', 'ctest-TestBasicPolicy-03032584', 'ctest-policy-allow-all-73668601'] 2025-10-23 07:02:46,846 - INFO - VN ctest-vn-42527498 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 07:02:46,846 - DEBUG - Verifying the vn in opserver 2025-10-23 07:02:46,846 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03032584:ctest-vn-42527498 virtual network link through opserver 10.0.0.254 2025-10-23 07:02:46,846 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-23 07:02:46,855 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03032584:ctest-vn-42527498', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03032584:ctest-vn-42527498?flat'} 2025-10-23 07:02:46,855 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03032584:ctest-vn-42527498 is found in opserver 2025-10-23 07:02:46,864 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 07:02:46,868 - DEBUG - VRF ids for VN ctest-vn-42527498: {} 2025-10-23 07:02:46,925 - DEBUG - Services list from nova: [, , ] 2025-10-23 07:02:47,966 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4454-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4454-1) 2025-10-23 07:02:49,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4454-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4454-1) 2025-10-23 07:02:49,131 - INFO - Waiting for VM ctest-TestBasicPolicy-03032584-09297565 to be up.. 2025-10-23 07:02:49,219 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 07:02:54,299 - DEBUG - VM is in ACTIVE state now 2025-10-23 07:02:54,299 - INFO - VM name : ctest-TestBasicPolicy-03032584-09297565 2025-10-23 07:02:54,376 - DEBUG - VM ctest-TestBasicPolicy-03032584-09297565 ID is 22bf7b89-fcd9-4eeb-beb8-fcfbc5445429 2025-10-23 07:02:54,395 - DEBUG - VM ctest-TestBasicPolicy-03032584-09297565 launched on Node cn-jenkins-deploy-platform-ansible-os-4454-1 2025-10-23 07:02:54,477 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/22bf7b89-fcd9-4eeb-beb8-fcfbc5445429 2025-10-23 07:02:54,485 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d24dcaca-2ed6-4bf0-b8c3-4bed487b1385 2025-10-23 07:02:57,694 - 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 1017ms') 2025-10-23 07:02:57,694 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03032584-09297565 failed! 2025-10-23 07:02:57,748 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03032584:ctest-vn-63292731 is 197.130.73.193 and allocation pool is NOT set 2025-10-23 07:02:59,812 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.73 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 = 2.731/6.424/10.117/3.693 ms') 2025-10-23 07:02:59,812 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03032584-09297565 passed 2025-10-23 07:02:59,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:02:59,961 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03032584-09297565, IP 197.130.73.195, Port 22 2025-10-23 07:03:00,026 - 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-10-23 07:03:00,109 - DEBUG - VM ctest-TestBasicPolicy-03032584-09297565 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 07:03:05,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:03:05,111 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03032584-09297565, IP 197.130.73.195, Port 22 2025-10-23 07:03:05,268 - DEBUG - VM ctest-TestBasicPolicy-03032584-09297565 is ready for SSH connections 2025-10-23 07:03:05,268 - INFO - Waiting for VM ctest-TestBasicPolicy-03032584-74647838 to be up.. 2025-10-23 07:03:05,351 - DEBUG - VM is in ACTIVE state now 2025-10-23 07:03:05,351 - INFO - VM name : ctest-TestBasicPolicy-03032584-74647838 2025-10-23 07:03:05,423 - DEBUG - VM ctest-TestBasicPolicy-03032584-74647838 ID is 111dfa55-ec32-4fc7-be2c-0f60e51a83eb 2025-10-23 07:03:05,423 - DEBUG - VM ctest-TestBasicPolicy-03032584-74647838 launched on Node cn-jenkins-deploy-platform-ansible-os-4454-1 2025-10-23 07:03:05,498 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/111dfa55-ec32-4fc7-be2c-0f60e51a83eb 2025-10-23 07:03:05,507 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5cb63b3c-6441-417b-98b0-ba246fbf8279 2025-10-23 07:03:06,750 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 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.365/1.955/3.545/1.590 ms') 2025-10-23 07:03:06,750 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03032584-74647838 passed 2025-10-23 07:03:06,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:03:06,900 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03032584-74647838, IP 167.39.91.131, Port 22 2025-10-23 07:03:07,067 - DEBUG - VM ctest-TestBasicPolicy-03032584-74647838 is ready for SSH connections 2025-10-23 07:03:07,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:03:07,067 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.39.91.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 07:03:07,067 - DEBUG - ping -s 56 -c 3 -W 1 167.39.91.131 2025-10-23 07:03:10,763 - DEBUG - PING 167.39.91.131 (167.39.91.131): 56 data bytes 64 bytes from 167.39.91.131: seq=0 ttl=63 time=3.873 ms 64 bytes from 167.39.91.131: seq=1 ttl=63 time=0.914 ms 64 bytes from 167.39.91.131: seq=2 ttl=63 time=0.917 ms --- 167.39.91.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/1.901/3.873 ms 2025-10-23 07:03:10,763 - INFO - Ping to IP 167.39.91.131 from VM ctest-TestBasicPolicy-03032584-09297565 passed 2025-10-23 07:03:10,948 - DEBUG - Policy Update Response {"network-policy": {"uuid": "37c265ec-a201-4467-b013-82235b62991c", "href": "http://10.0.0.254:8082/network-policy/37c265ec-a201-4467-b013-82235b62991c"}} 2025-10-23 07:03:10,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:03:10,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.39.91.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 07:03:10,948 - DEBUG - ping -s 56 -c 3 -W 1 167.39.91.131 2025-10-23 07:03:14,188 - DEBUG - PING 167.39.91.131 (167.39.91.131): 56 data bytes --- 167.39.91.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 07:03:14,189 - WARNING - Ping to IP 167.39.91.131 from VM ctest-TestBasicPolicy-03032584-09297565 failed 2025-10-23 07:03:14,189 - INFO - Deleting VM ctest-TestBasicPolicy-03032584-74647838 2025-10-23 07:03:14,260 - INFO - Deleting VM ctest-TestBasicPolicy-03032584-09297565 2025-10-23 07:03:14,661 - INFO - Deleted policy ctest-policy-allow-all-73668601 2025-10-23 07:03:14,662 - INFO - Deleting VN ctest-vn-42527498 2025-10-23 07:03:14,697 - DEBUG - VN 7f0180a2-9a86-4830-81b3-074cfd7f0264 still in use: Unable to complete operation on network 7f0180a2-9a86-4830-81b3-074cfd7f0264. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b86777f3-1ff1-463d-b359-ac8f7d8f59e0'] 2025-10-23 07:03:14,697 - WARNING - Deleting VN ctest-vn-42527498 failed..Will retry 2025-10-23 07:03:16,806 - DEBUG - Response for deleting network () 2025-10-23 07:03:16,806 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9de1eb80-a115-4f38-bf7f-83b15fe867fd 2025-10-23 07:03:16,814 - DEBUG - Response Code: 404 2025-10-23 07:03:16,814 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 07:03:16,822 - DEBUG - Requesting: http://10.0.0.254:8082/domain/613a4d62-dd90-4136-89cf-048b6bcead5e 2025-10-23 07:03:16,877 - DEBUG - Requesting: http://10.0.0.254:8082/project/b033b25f-eeff-4f06-ab2c-4fdf4a6b3b79 2025-10-23 07:03:16,947 - INFO - Validated that VN ctest-vn-42527498 is not found in API Server 2025-10-23 07:03:16,958 - DEBUG - VN ctest-vn-42527498 is not present in Agent 10.0.0.254 2025-10-23 07:03:16,958 - INFO - Validated that VN ctest-vn-42527498 is not in any agent 2025-10-23 07:03:16,970 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42527498 info 2025-10-23 07:03:16,970 - INFO - Deleting VN ctest-vn-63292731 2025-10-23 07:03:17,094 - DEBUG - Response for deleting network () 2025-10-23 07:03:17,094 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9122c71b-9d54-4c70-9860-fc0125cbc795 2025-10-23 07:03:17,102 - DEBUG - Response Code: 404 2025-10-23 07:03:17,102 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 07:03:17,107 - DEBUG - Requesting: http://10.0.0.254:8082/domain/613a4d62-dd90-4136-89cf-048b6bcead5e 2025-10-23 07:03:17,163 - DEBUG - Requesting: http://10.0.0.254:8082/project/b033b25f-eeff-4f06-ab2c-4fdf4a6b3b79 2025-10-23 07:03:17,234 - INFO - Validated that VN ctest-vn-63292731 is not found in API Server 2025-10-23 07:03:17,243 - DEBUG - VN ctest-vn-63292731 is not present in Agent 10.0.0.254 2025-10-23 07:03:17,243 - INFO - Validated that VN ctest-vn-63292731 is not in any agent 2025-10-23 07:03:17,255 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63292731 info 2025-10-23 07:03:17,510 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 07:03:17,510 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-23 07:03:17,510 - INFO - -------------------------------------------------------------------------------- 2025-10-23 07:03:18,183 - INFO - Deleted project: ctest-TestBasicPolicy-03032584, ID : b033b25f-eeff-4f06-ab2c-4fdf4a6b3b79