2026-10-20 13:26:29,918 - INFO - Domain Default found not creating 2026-10-20 13:26:30,108 - INFO - Project ctest-TestRoutersBasic-43260204 not found, creating it 2026-10-20 13:26:30,667 - INFO - Created Project:ctest-TestRoutersBasic-43260204, ID : 17212619-c391-4ca0-adee-f8387d720e7e 2026-10-20 13:26:33,179 - INFO - ================================================================================ 2026-10-20 13:26:33,179 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-20 13:26:33,180 - 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-10-20 13:26:33,453 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.25': '0'}} with 2026-10-20 13:26:33,453 - INFO - Initial checks done. Running the testcase now 2026-10-20 13:26:33,453 - INFO - 2026-10-20 13:26:34,318 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43260204 2026-10-20 13:26:34,419 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43260204 2026-10-20 13:26:34,755 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43260204', 'default']} 2026-10-20 13:26:35,060 - DEBUG - Response for create_network : {'network': {'id': '547dfd2c-2dc7-47b3-922b-daf2a41ec292', 'name': 'ctest-vn-09408024', 'tenant_id': '17212619c3914ca0adeef8387d720e7e', 'project_id': '17212619c3914ca0adeef8387d720e7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43260204', 'ctest-vn-09408024'], 'port_security_enabled': True, 'description': ''}} 2026-10-20 13:26:35,308 - DEBUG - Response for create_subnet : {'subnet': {'id': '76807ef4-2faf-43d5-a923-089058edcfc7', 'name': '', 'tenant_id': '17212619c3914ca0adeef8387d720e7e', 'network_id': '547dfd2c-2dc7-47b3-922b-daf2a41ec292', 'ip_version': 4, 'cidr': '120.181.39.192/26', 'allocation_pools': [{'start': '120.181.39.194', 'end': '120.181.39.254'}], 'gateway_ip': '120.181.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.181.39.194', 'tags': [], 'project_id': '17212619c3914ca0adeef8387d720e7e'}} 2026-10-20 13:26:35,327 - INFO - Created VN ctest-vn-09408024 2026-10-20 13:26:35,379 - DEBUG - VN ctest-vn-09408024 UUID is 547dfd2c-2dc7-47b3-922b-daf2a41ec292 2026-10-20 13:26:35,712 - DEBUG - Response for create_network : {'network': {'id': '832efe15-69e1-4de6-9304-a2695ff481a7', 'name': 'ctest-ext_vn-44267038', 'tenant_id': '17212619c3914ca0adeef8387d720e7e', 'project_id': '17212619c3914ca0adeef8387d720e7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43260204', 'ctest-ext_vn-44267038'], 'port_security_enabled': True, 'description': ''}} 2026-10-20 13:26:35,955 - DEBUG - Response for create_subnet : {'subnet': {'id': '8813f6b0-bd05-4044-abfc-9f2598380d96', 'name': '', 'tenant_id': '17212619c3914ca0adeef8387d720e7e', 'network_id': '832efe15-69e1-4de6-9304-a2695ff481a7', 'ip_version': 4, 'cidr': '189.127.221.192/26', 'allocation_pools': [{'start': '189.127.221.194', 'end': '189.127.221.254'}], 'gateway_ip': '189.127.221.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.127.221.194', 'tags': [], 'project_id': '17212619c3914ca0adeef8387d720e7e'}} 2026-10-20 13:26:35,981 - INFO - Created VN ctest-ext_vn-44267038 2026-10-20 13:26:36,035 - DEBUG - VN ctest-ext_vn-44267038 UUID is 832efe15-69e1-4de6-9304-a2695ff481a7 2026-10-20 13:26:36,221 - DEBUG - Services list from nova: [, , ] 2026-10-20 13:26:36,693 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6373-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6373-1) 2026-10-20 13:26:37,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6373-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6373-1) 2026-10-20 13:26:37,194 - INFO - Setting gateway for router f86196fd-30dd-4bf0-90e6-79339b13cf82 to network 832efe15-69e1-4de6-9304-a2695ff481a7 2026-10-20 13:26:37,258 - INFO - Adding interface with subnet_id 76807ef4-2faf-43d5-a923-089058edcfc7, port_id None to router f86196fd-30dd-4bf0-90e6-79339b13cf82 2026-10-20 13:26:37,505 - INFO - Waiting for VM ctest-TestRoutersBasic-43260204-59056140 to be up.. 2026-10-20 13:26:37,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 13:26:42,651 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 13:26:47,752 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 13:26:52,850 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 13:26:57,957 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 13:27:03,066 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 13:27:08,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 13:27:13,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 13:27:18,370 - DEBUG - VM is in ACTIVE state now 2026-10-20 13:27:18,370 - INFO - VM name : ctest-TestRoutersBasic-43260204-59056140 2026-10-20 13:27:18,498 - DEBUG - VM ctest-TestRoutersBasic-43260204-59056140 ID is a222f170-b2fc-4e5a-bb6b-e1f0555da013 2026-10-20 13:27:18,524 - DEBUG - VM ctest-TestRoutersBasic-43260204-59056140 launched on Node cn-jenkins-deploy-platform-ansible-os-6373-1 2026-10-20 13:27:18,696 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/a222f170-b2fc-4e5a-bb6b-e1f0555da013 2026-10-20 13:27:19,144 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/a222f170-b2fc-4e5a-bb6b-e1f0555da013 2026-10-20 13:27:19,183 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/07f0e5e4-0304-4aa8-8a31-334a496d1f7c 2026-10-20 13:27:22,459 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-10-20 13:27:22,459 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-43260204-59056140 failed! 2026-10-20 13:27:22,515 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43260204:ctest-vn-09408024 is 120.181.39.193 and allocation pool is NOT set 2026-10-20 13:27:24,575 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=4.41 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.570 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.570/2.491/4.412/1.921 ms') 2026-10-20 13:27:24,575 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-43260204-59056140 passed 2026-10-20 13:27:24,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 13:27:24,723 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43260204-59056140, IP 120.181.39.195, Port 22 2026-10-20 13:27:24,790 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 13:27:24,899 - DEBUG - VM ctest-TestRoutersBasic-43260204-59056140 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 13:27:29,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 13:27:29,900 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43260204-59056140, IP 120.181.39.195, Port 22 2026-10-20 13:27:29,966 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 13:27:30,060 - DEBUG - VM ctest-TestRoutersBasic-43260204-59056140 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 13:27:35,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 13:27:35,062 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43260204-59056140, IP 120.181.39.195, Port 22 2026-10-20 13:27:35,129 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 13:27:35,215 - DEBUG - VM ctest-TestRoutersBasic-43260204-59056140 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 13:27:40,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 13:27:40,217 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43260204-59056140, IP 120.181.39.195, Port 22 2026-10-20 13:27:40,276 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 13:27:40,368 - DEBUG - VM ctest-TestRoutersBasic-43260204-59056140 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 13:27:45,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 13:27:45,370 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43260204-59056140, IP 120.181.39.195, Port 22 2026-10-20 13:27:45,441 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 13:27:45,525 - DEBUG - VM ctest-TestRoutersBasic-43260204-59056140 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 13:27:50,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 13:27:50,526 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43260204-59056140, IP 120.181.39.195, Port 22 2026-10-20 13:27:50,593 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 13:27:50,680 - DEBUG - VM ctest-TestRoutersBasic-43260204-59056140 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 13:27:55,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 13:27:55,681 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43260204-59056140, IP 120.181.39.195, Port 22 2026-10-20 13:27:55,749 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 13:27:55,845 - DEBUG - VM ctest-TestRoutersBasic-43260204-59056140 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 13:28:00,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 13:28:00,846 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43260204-59056140, IP 120.181.39.195, Port 22 2026-10-20 13:28:00,913 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 13:28:01,025 - DEBUG - VM ctest-TestRoutersBasic-43260204-59056140 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 13:28:06,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 13:28:06,026 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43260204-59056140, IP 120.181.39.195, Port 22 2026-10-20 13:28:06,197 - DEBUG - VM ctest-TestRoutersBasic-43260204-59056140 is ready for SSH connections 2026-10-20 13:28:06,197 - INFO - Waiting for VM ctest-TestRoutersBasic-43260204-95780129 to be up.. 2026-10-20 13:28:06,294 - DEBUG - VM is in ACTIVE state now 2026-10-20 13:28:06,294 - INFO - VM name : ctest-TestRoutersBasic-43260204-95780129 2026-10-20 13:28:06,379 - DEBUG - VM ctest-TestRoutersBasic-43260204-95780129 ID is 2f4c7ca3-e938-429b-ba83-bfc6d6b2abab 2026-10-20 13:28:06,379 - DEBUG - VM ctest-TestRoutersBasic-43260204-95780129 launched on Node cn-jenkins-deploy-platform-ansible-os-6373-1 2026-10-20 13:28:06,470 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/2f4c7ca3-e938-429b-ba83-bfc6d6b2abab 2026-10-20 13:28:06,481 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/28b49e46-5632-4a47-94d7-76fd9840f8d7 2026-10-20 13:28:07,728 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=2.43 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.614 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.614/1.520/2.427/0.906 ms') 2026-10-20 13:28:07,728 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-43260204-95780129 passed 2026-10-20 13:28:07,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 13:28:07,883 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43260204-95780129, IP 189.127.221.196, Port 22 2026-10-20 13:28:08,049 - DEBUG - VM ctest-TestRoutersBasic-43260204-95780129 is ready for SSH connections 2026-10-20 13:28:08,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 13:28:08,049 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.127.221.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.186, gateway password: c0ntrail123 2026-10-20 13:28:08,049 - DEBUG - ping -s 56 -c 3 -W 1 189.127.221.196 2026-10-20 13:28:11,055 - DEBUG - PING 189.127.221.196 (189.127.221.196): 56 data bytes 64 bytes from 189.127.221.196: seq=0 ttl=62 time=7.985 ms 64 bytes from 189.127.221.196: seq=1 ttl=62 time=1.238 ms 64 bytes from 189.127.221.196: seq=2 ttl=62 time=0.970 ms --- 189.127.221.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.970/3.397/7.985 ms 2026-10-20 13:28:11,055 - INFO - Ping to IP 189.127.221.196 from VM ctest-TestRoutersBasic-43260204-59056140 passed 2026-10-20 13:28:11,055 - INFO - Deleting interface with subnet_id 76807ef4-2faf-43d5-a923-089058edcfc7, port_id None from router f86196fd-30dd-4bf0-90e6-79339b13cf82 2026-10-20 13:28:11,310 - INFO - Deleting VM ctest-TestRoutersBasic-43260204-95780129 2026-10-20 13:28:11,398 - INFO - Deleting VM ctest-TestRoutersBasic-43260204-59056140 2026-10-20 13:28:11,479 - INFO - Deleting VN ctest-ext_vn-44267038 2026-10-20 13:28:11,570 - DEBUG - VN 832efe15-69e1-4de6-9304-a2695ff481a7 still in use: Unable to complete operation on network 832efe15-69e1-4de6-9304-a2695ff481a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75b39c1f-f4b8-4f2f-a04a-e1b24fb2b8cf'] 2026-10-20 13:28:11,571 - WARNING - Deleting VN ctest-ext_vn-44267038 failed..Will retry 2026-10-20 13:28:13,611 - DEBUG - VN 832efe15-69e1-4de6-9304-a2695ff481a7 still in use: Unable to complete operation on network 832efe15-69e1-4de6-9304-a2695ff481a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-05cc253b-d2b6-4e74-bea0-4f2e28fba879'] 2026-10-20 13:28:13,611 - WARNING - Deleting VN ctest-ext_vn-44267038 failed..Will retry 2026-10-20 13:28:15,741 - DEBUG - Response for deleting network () 2026-10-20 13:28:15,741 - INFO - Deleting VN ctest-vn-09408024 2026-10-20 13:28:15,908 - DEBUG - Response for deleting network () 2026-10-20 13:28:16,177 - DEBUG - No XMPP flaps were noticed during the test
2026-10-20 13:28:16,177 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:43]
2026-10-20 13:28:16,177 - INFO - -------------------------------------------------------------------------------- 2026-10-20 13:28:16,960 - INFO - Deleted project: ctest-TestRoutersBasic-43260204, ID : 17212619-c391-4ca0-adee-f8387d720e7e