2025-09-29 02:04:52,363 - INFO - Domain Default found not creating 2025-09-29 02:04:52,510 - INFO - Project ctest-TestRoutersBasic-90960259 not found, creating it 2025-09-29 02:04:53,073 - INFO - Created Project:ctest-TestRoutersBasic-90960259, ID : c46b29c4-546d-46b2-98f7-c10df35aa63f 2025-09-29 02:04:54,623 - INFO - ================================================================================ 2025-09-29 02:04:54,623 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-29 02:04:54,623 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-09-29 02:04:55,902 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.129': '0', '10.20.0.17': '0'}, '10.0.0.131': {'10.20.0.129': '0', '10.20.0.17': '0'}} with 2025-09-29 02:04:55,902 - INFO - Initial checks done. Running the testcase now 2025-09-29 02:04:55,902 - INFO - 2025-09-29 02:04:56,674 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90960259 2025-09-29 02:04:56,746 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90960259 2025-09-29 02:04:57,151 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90960259', 'default']} 2025-09-29 02:04:57,631 - DEBUG - Response for create_network : {'network': {'id': 'c950c826-2f64-4b39-a6f4-27833d96ca13', 'name': 'ctest-vn-51298040', 'tenant_id': 'c46b29c4546d46b298f7c10df35aa63f', 'project_id': 'c46b29c4546d46b298f7c10df35aa63f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90960259', 'ctest-vn-51298040'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 02:04:57,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b7e3901-d746-4f6c-99e4-0f87c7ba9138', 'name': '', 'tenant_id': 'c46b29c4546d46b298f7c10df35aa63f', 'network_id': 'c950c826-2f64-4b39-a6f4-27833d96ca13', 'ip_version': 4, 'cidr': '142.194.198.192/26', 'allocation_pools': [{'start': '142.194.198.194', 'end': '142.194.198.254'}], 'gateway_ip': '142.194.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.194.198.194', 'tags': [], 'project_id': 'c46b29c4546d46b298f7c10df35aa63f'}} 2025-09-29 02:04:57,901 - INFO - Created VN ctest-vn-51298040 2025-09-29 02:04:57,917 - DEBUG - VN ctest-vn-51298040 UUID is c950c826-2f64-4b39-a6f4-27833d96ca13 2025-09-29 02:04:58,350 - DEBUG - Response for create_network : {'network': {'id': '6c82bb2d-90c1-408e-8b05-a22d74c4c0bf', 'name': 'ctest-ext_vn-24381647', 'tenant_id': 'c46b29c4546d46b298f7c10df35aa63f', 'project_id': 'c46b29c4546d46b298f7c10df35aa63f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90960259', 'ctest-ext_vn-24381647'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 02:04:58,574 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e430387b-f46d-4680-874d-33b5d98095a7', 'name': '', 'tenant_id': 'c46b29c4546d46b298f7c10df35aa63f', 'network_id': '6c82bb2d-90c1-408e-8b05-a22d74c4c0bf', 'ip_version': 4, 'cidr': '131.26.125.192/26', 'allocation_pools': [{'start': '131.26.125.194', 'end': '131.26.125.254'}], 'gateway_ip': '131.26.125.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.26.125.194', 'tags': [], 'project_id': 'c46b29c4546d46b298f7c10df35aa63f'}} 2025-09-29 02:04:58,594 - INFO - Created VN ctest-ext_vn-24381647 2025-09-29 02:04:58,604 - DEBUG - VN ctest-ext_vn-24381647 UUID is 6c82bb2d-90c1-408e-8b05-a22d74c4c0bf 2025-09-29 02:04:58,742 - DEBUG - Services list from nova: [, , , ] 2025-09-29 02:04:59,948 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4203-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4203-2) 2025-09-29 02:05:01,423 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4203-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4203-1) 2025-09-29 02:05:01,568 - INFO - Setting gateway for router 6b2db5a9-9844-44bf-9065-949a05349ed9 to network 6c82bb2d-90c1-408e-8b05-a22d74c4c0bf 2025-09-29 02:05:01,678 - INFO - Adding interface with subnet_id 0b7e3901-d746-4f6c-99e4-0f87c7ba9138, port_id None to router 6b2db5a9-9844-44bf-9065-949a05349ed9 2025-09-29 02:05:02,213 - INFO - Waiting for VM ctest-TestRoutersBasic-90960259-40355138 to be up.. 2025-09-29 02:05:02,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 02:05:07,472 - DEBUG - VM is in ACTIVE state now 2025-09-29 02:05:07,472 - INFO - VM name : ctest-TestRoutersBasic-90960259-40355138 2025-09-29 02:05:07,562 - DEBUG - VM ctest-TestRoutersBasic-90960259-40355138 ID is 34bf38e0-1232-47d3-88b0-bd343ca1e5ce 2025-09-29 02:05:07,589 - DEBUG - VM ctest-TestRoutersBasic-90960259-40355138 launched on Node an-jenkins-deploy-platform-ansible-os-4203-2 2025-09-29 02:05:07,685 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/34bf38e0-1232-47d3-88b0-bd343ca1e5ce 2025-09-29 02:05:07,981 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/34bf38e0-1232-47d3-88b0-bd343ca1e5ce 2025-09-29 02:05:08,021 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/25ab94a5-2c44-4b06-9e1c-f200de9c26e8 2025-09-29 02:05:11,201 - 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 1002ms') 2025-09-29 02:05:11,201 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90960259-40355138 failed! 2025-09-29 02:05:11,220 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90960259:ctest-vn-51298040 is 142.194.198.193 and allocation pool is NOT set 2025-09-29 02:05:13,287 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.08 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 = 3.083/3.828/4.574/0.745 ms') 2025-09-29 02:05:13,287 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90960259-40355138 passed 2025-09-29 02:05:13,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:05:13,392 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90960259-40355138, IP 142.194.198.195, Port 22 2025-09-29 02:05:13,458 - 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-09-29 02:05:13,562 - DEBUG - VM ctest-TestRoutersBasic-90960259-40355138 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 02:05:18,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:05:18,563 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90960259-40355138, IP 142.194.198.195, Port 22 2025-09-29 02:05:18,720 - DEBUG - VM ctest-TestRoutersBasic-90960259-40355138 is ready for SSH connections 2025-09-29 02:05:18,721 - INFO - Waiting for VM ctest-TestRoutersBasic-90960259-58377011 to be up.. 2025-09-29 02:05:18,814 - DEBUG - VM is in ACTIVE state now 2025-09-29 02:05:18,814 - INFO - VM name : ctest-TestRoutersBasic-90960259-58377011 2025-09-29 02:05:18,892 - DEBUG - VM ctest-TestRoutersBasic-90960259-58377011 ID is 76144189-a13f-4ac6-82f1-d1dc8e7a6817 2025-09-29 02:05:18,892 - DEBUG - VM ctest-TestRoutersBasic-90960259-58377011 launched on Node an-jenkins-deploy-platform-ansible-os-4203-1 2025-09-29 02:05:18,969 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/76144189-a13f-4ac6-82f1-d1dc8e7a6817 2025-09-29 02:05:18,985 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/eca73c87-db68-4630-aa23-075dbdbd4b30 2025-09-29 02:05:20,177 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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 = 0.444/1.603/2.762/1.159 ms') 2025-09-29 02:05:20,178 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90960259-58377011 passed 2025-09-29 02:05:20,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:05:20,249 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90960259-58377011, IP 131.26.125.195, Port 22 2025-09-29 02:05:20,404 - DEBUG - VM ctest-TestRoutersBasic-90960259-58377011 is ready for SSH connections 2025-09-29 02:05:20,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:05:20,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.26.125.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-09-29 02:05:20,405 - DEBUG - ping -s 56 -c 3 -W 1 131.26.125.195 2025-09-29 02:05:24,064 - DEBUG - PING 131.26.125.195 (131.26.125.195): 56 data bytes 64 bytes from 131.26.125.195: seq=0 ttl=62 time=9.409 ms 64 bytes from 131.26.125.195: seq=1 ttl=62 time=1.506 ms 64 bytes from 131.26.125.195: seq=2 ttl=62 time=1.481 ms --- 131.26.125.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.481/4.132/9.409 ms 2025-09-29 02:05:24,064 - INFO - Ping to IP 131.26.125.195 from VM ctest-TestRoutersBasic-90960259-40355138 passed 2025-09-29 02:05:24,064 - INFO - Deleting interface with subnet_id 0b7e3901-d746-4f6c-99e4-0f87c7ba9138, port_id None from router 6b2db5a9-9844-44bf-9065-949a05349ed9 2025-09-29 02:05:24,510 - INFO - Deleting VM ctest-TestRoutersBasic-90960259-58377011 2025-09-29 02:05:24,659 - INFO - Deleting VM ctest-TestRoutersBasic-90960259-40355138 2025-09-29 02:05:24,774 - INFO - Deleting VN ctest-ext_vn-24381647 2025-09-29 02:05:24,890 - DEBUG - VN 6c82bb2d-90c1-408e-8b05-a22d74c4c0bf still in use: Unable to complete operation on network 6c82bb2d-90c1-408e-8b05-a22d74c4c0bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c704f02-d6ef-4eb1-9427-a781230485b2'] 2025-09-29 02:05:24,890 - WARNING - Deleting VN ctest-ext_vn-24381647 failed..Will retry 2025-09-29 02:05:27,064 - DEBUG - Response for deleting network () 2025-09-29 02:05:27,064 - INFO - Deleting VN ctest-vn-51298040 2025-09-29 02:05:27,255 - DEBUG - Response for deleting network () 2025-09-29 02:05:28,565 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 02:05:28,565 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2025-09-29 02:05:28,565 - INFO - -------------------------------------------------------------------------------- 2025-09-29 02:05:29,344 - INFO - Deleted project: ctest-TestRoutersBasic-90960259, ID : c46b29c4-546d-46b2-98f7-c10df35aa63f