2026-02-20 16:36:13,560 - INFO - Domain Default found not creating 2026-02-20 16:36:13,769 - INFO - Project ctest-TestRoutersBasic-13026725 not found, creating it 2026-02-20 16:36:14,259 - INFO - Created Project:ctest-TestRoutersBasic-13026725, ID : a0ab2626-625e-4a34-937d-90ac9867de3f 2026-02-20 16:36:15,839 - INFO - ================================================================================ 2026-02-20 16:36:15,839 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-20 16:36:15,839 - 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 2026-02-20 16:36:16,097 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2026-02-20 16:36:16,097 - INFO - Initial checks done. Running the testcase now 2026-02-20 16:36:16,097 - INFO - 2026-02-20 16:36:16,848 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13026725 2026-02-20 16:36:16,958 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13026725 2026-02-20 16:36:17,293 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13026725', 'default']} 2026-02-20 16:36:17,630 - DEBUG - Response for create_network : {'network': {'id': 'e724315c-b866-4205-8c2d-3b9951cff80e', 'name': 'ctest-vn-84915129', 'tenant_id': 'a0ab2626625e4a34937d90ac9867de3f', 'project_id': 'a0ab2626625e4a34937d90ac9867de3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13026725', 'ctest-vn-84915129'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 16:36:17,846 - DEBUG - Response for create_subnet : {'subnet': {'id': '61d9a715-15fb-46fd-9d76-b1dd280f8cde', 'name': '', 'tenant_id': 'a0ab2626625e4a34937d90ac9867de3f', 'network_id': 'e724315c-b866-4205-8c2d-3b9951cff80e', 'ip_version': 4, 'cidr': '80.145.239.128/26', 'allocation_pools': [{'start': '80.145.239.130', 'end': '80.145.239.190'}], 'gateway_ip': '80.145.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.145.239.130', 'tags': [], 'project_id': 'a0ab2626625e4a34937d90ac9867de3f'}} 2026-02-20 16:36:17,867 - INFO - Created VN ctest-vn-84915129 2026-02-20 16:36:17,922 - DEBUG - VN ctest-vn-84915129 UUID is e724315c-b866-4205-8c2d-3b9951cff80e 2026-02-20 16:36:18,300 - DEBUG - Response for create_network : {'network': {'id': '142fece8-417c-4a17-a67c-b1a4274c8a17', 'name': 'ctest-ext_vn-24761827', 'tenant_id': 'a0ab2626625e4a34937d90ac9867de3f', 'project_id': 'a0ab2626625e4a34937d90ac9867de3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13026725', 'ctest-ext_vn-24761827'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 16:36:18,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '65b333b1-b471-4dd0-8a03-809c60f66015', 'name': '', 'tenant_id': 'a0ab2626625e4a34937d90ac9867de3f', 'network_id': '142fece8-417c-4a17-a67c-b1a4274c8a17', 'ip_version': 4, 'cidr': '41.151.220.0/26', 'allocation_pools': [{'start': '41.151.220.2', 'end': '41.151.220.62'}], 'gateway_ip': '41.151.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.151.220.2', 'tags': [], 'project_id': 'a0ab2626625e4a34937d90ac9867de3f'}} 2026-02-20 16:36:18,491 - INFO - Created VN ctest-ext_vn-24761827 2026-02-20 16:36:18,546 - DEBUG - VN ctest-ext_vn-24761827 UUID is 142fece8-417c-4a17-a67c-b1a4274c8a17 2026-02-20 16:36:18,726 - DEBUG - Services list from nova: [, , ] 2026-02-20 16:36:19,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5378-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5378-1) 2026-02-20 16:36:21,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5378-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5378-1) 2026-02-20 16:36:21,143 - INFO - Setting gateway for router fa3bcff7-d793-4220-977b-c34da0f0b442 to network 142fece8-417c-4a17-a67c-b1a4274c8a17 2026-02-20 16:36:21,235 - INFO - Adding interface with subnet_id 61d9a715-15fb-46fd-9d76-b1dd280f8cde, port_id None to router fa3bcff7-d793-4220-977b-c34da0f0b442 2026-02-20 16:36:21,573 - INFO - Waiting for VM ctest-TestRoutersBasic-13026725-74590478 to be up.. 2026-02-20 16:36:21,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 16:36:26,852 - DEBUG - VM is in ACTIVE state now 2026-02-20 16:36:26,852 - INFO - VM name : ctest-TestRoutersBasic-13026725-74590478 2026-02-20 16:36:26,928 - DEBUG - VM ctest-TestRoutersBasic-13026725-74590478 ID is 3aa7dcf8-b6f0-4c26-8d55-786d431c93f5 2026-02-20 16:36:26,951 - DEBUG - VM ctest-TestRoutersBasic-13026725-74590478 launched on Node cn-jenkins-deploy-platform-ansible-os-5378-1 2026-02-20 16:36:27,035 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3aa7dcf8-b6f0-4c26-8d55-786d431c93f5 2026-02-20 16:36:27,347 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3aa7dcf8-b6f0-4c26-8d55-786d431c93f5 2026-02-20 16:36:27,384 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b6fc07eb-cd9e-4f64-bf35-3d4b4ae4267e 2026-02-20 16:36:30,642 - 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 1014ms') 2026-02-20 16:36:30,642 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13026725-74590478 failed! 2026-02-20 16:36:30,698 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13026725:ctest-vn-84915129 is 80.145.239.129 and allocation pool is NOT set 2026-02-20 16:36:32,762 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 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 = 1.128/2.753/4.378/1.625 ms') 2026-02-20 16:36:32,762 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13026725-74590478 passed 2026-02-20 16:36:32,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 16:36:32,934 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13026725-74590478, IP 80.145.239.131, Port 22 2026-02-20 16:36:33,000 - 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': ''} 2026-02-20 16:36:33,103 - DEBUG - VM ctest-TestRoutersBasic-13026725-74590478 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-20 16:36:38,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 16:36:38,104 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13026725-74590478, IP 80.145.239.131, Port 22 2026-02-20 16:36:38,272 - DEBUG - VM ctest-TestRoutersBasic-13026725-74590478 is ready for SSH connections 2026-02-20 16:36:38,272 - INFO - Waiting for VM ctest-TestRoutersBasic-13026725-42951152 to be up.. 2026-02-20 16:36:38,363 - DEBUG - VM is in ACTIVE state now 2026-02-20 16:36:38,363 - INFO - VM name : ctest-TestRoutersBasic-13026725-42951152 2026-02-20 16:36:38,447 - DEBUG - VM ctest-TestRoutersBasic-13026725-42951152 ID is c31c3084-3cb1-435a-80b0-6d468bd886b6 2026-02-20 16:36:38,447 - DEBUG - VM ctest-TestRoutersBasic-13026725-42951152 launched on Node cn-jenkins-deploy-platform-ansible-os-5378-1 2026-02-20 16:36:38,533 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c31c3084-3cb1-435a-80b0-6d468bd886b6 2026-02-20 16:36:38,541 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/18629fda-1796-4201-960f-9d6e73546e0f 2026-02-20 16:36:39,786 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.879 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.879/2.245/3.612/1.366 ms') 2026-02-20 16:36:39,786 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13026725-42951152 passed 2026-02-20 16:36:39,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 16:36:39,942 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13026725-42951152, IP 41.151.220.3, Port 22 2026-02-20 16:36:40,109 - DEBUG - VM ctest-TestRoutersBasic-13026725-42951152 is ready for SSH connections 2026-02-20 16:36:40,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 16:36:40,109 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.151.220.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-20 16:36:40,109 - DEBUG - ping -s 56 -c 3 -W 1 41.151.220.3 2026-02-20 16:36:43,826 - DEBUG - PING 41.151.220.3 (41.151.220.3): 56 data bytes 64 bytes from 41.151.220.3: seq=0 ttl=62 time=5.139 ms 64 bytes from 41.151.220.3: seq=1 ttl=62 time=1.194 ms 64 bytes from 41.151.220.3: seq=2 ttl=62 time=1.195 ms --- 41.151.220.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.194/2.509/5.139 ms 2026-02-20 16:36:43,826 - INFO - Ping to IP 41.151.220.3 from VM ctest-TestRoutersBasic-13026725-74590478 passed 2026-02-20 16:36:43,827 - INFO - Deleting interface with subnet_id 61d9a715-15fb-46fd-9d76-b1dd280f8cde, port_id None from router fa3bcff7-d793-4220-977b-c34da0f0b442 2026-02-20 16:36:44,041 - INFO - Deleting VM ctest-TestRoutersBasic-13026725-42951152 2026-02-20 16:36:44,135 - INFO - Deleting VM ctest-TestRoutersBasic-13026725-74590478 2026-02-20 16:36:44,224 - INFO - Deleting VN ctest-ext_vn-24761827 2026-02-20 16:36:44,312 - DEBUG - VN 142fece8-417c-4a17-a67c-b1a4274c8a17 still in use: Unable to complete operation on network 142fece8-417c-4a17-a67c-b1a4274c8a17. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a554e483-0001-4776-8ae6-84aeb2c37a15'] 2026-02-20 16:36:44,312 - WARNING - Deleting VN ctest-ext_vn-24761827 failed..Will retry 2026-02-20 16:36:46,438 - DEBUG - Response for deleting network () 2026-02-20 16:36:46,438 - INFO - Deleting VN ctest-vn-84915129 2026-02-20 16:36:46,564 - DEBUG - Response for deleting network () 2026-02-20 16:36:46,824 - DEBUG - No XMPP flaps were noticed during the test 2026-02-20 16:36:46,824 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-02-20 16:36:46,824 - INFO - -------------------------------------------------------------------------------- 2026-02-20 16:36:47,592 - INFO - Deleted project: ctest-TestRoutersBasic-13026725, ID : a0ab2626-625e-4a34-937d-90ac9867de3f