2026-11-01 00:52:31,488 - INFO - Domain Default found not creating 2026-11-01 00:52:31,686 - INFO - Project ctest-TestRoutersBasic-90787462 not found, creating it 2026-11-01 00:52:32,176 - INFO - Created Project:ctest-TestRoutersBasic-90787462, ID : 49124fec-49b4-4c33-b05e-ef1761f5f220 2026-11-01 00:52:33,954 - INFO - ================================================================================ 2026-11-01 00:52:33,955 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-01 00:52:33,955 - 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-11-01 00:52:34,224 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-11-01 00:52:34,224 - INFO - Initial checks done. Running the testcase now 2026-11-01 00:52:34,224 - INFO - 2026-11-01 00:52:35,101 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90787462 2026-11-01 00:52:35,197 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90787462 2026-11-01 00:52:35,525 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90787462', 'default']} 2026-11-01 00:52:35,821 - DEBUG - Response for create_network : {'network': {'id': '84cc86d8-b723-4626-9a70-6dbd95beea2d', 'name': 'ctest-vn-39291550', 'tenant_id': '49124fec49b44c33b05eef1761f5f220', 'project_id': '49124fec49b44c33b05eef1761f5f220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90787462', 'ctest-vn-39291550'], 'port_security_enabled': True, 'description': ''}} 2026-11-01 00:52:36,023 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1a53fbc-e222-4770-885d-b3ea0e51271b', 'name': '', 'tenant_id': '49124fec49b44c33b05eef1761f5f220', 'network_id': '84cc86d8-b723-4626-9a70-6dbd95beea2d', 'ip_version': 4, 'cidr': '55.165.102.192/26', 'allocation_pools': [{'start': '55.165.102.194', 'end': '55.165.102.254'}], 'gateway_ip': '55.165.102.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.165.102.194', 'tags': [], 'project_id': '49124fec49b44c33b05eef1761f5f220'}} 2026-11-01 00:52:36,043 - INFO - Created VN ctest-vn-39291550 2026-11-01 00:52:36,097 - DEBUG - VN ctest-vn-39291550 UUID is 84cc86d8-b723-4626-9a70-6dbd95beea2d 2026-11-01 00:52:36,494 - DEBUG - Response for create_network : {'network': {'id': '5c986653-7d27-40f3-8cd9-f8ab686693d9', 'name': 'ctest-ext_vn-14059655', 'tenant_id': '49124fec49b44c33b05eef1761f5f220', 'project_id': '49124fec49b44c33b05eef1761f5f220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90787462', 'ctest-ext_vn-14059655'], 'port_security_enabled': True, 'description': ''}} 2026-11-01 00:52:36,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ba59c99-4343-44e4-b061-006a18f9f41c', 'name': '', 'tenant_id': '49124fec49b44c33b05eef1761f5f220', 'network_id': '5c986653-7d27-40f3-8cd9-f8ab686693d9', 'ip_version': 4, 'cidr': '144.8.191.128/26', 'allocation_pools': [{'start': '144.8.191.130', 'end': '144.8.191.190'}], 'gateway_ip': '144.8.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.8.191.130', 'tags': [], 'project_id': '49124fec49b44c33b05eef1761f5f220'}} 2026-11-01 00:52:36,772 - INFO - Created VN ctest-ext_vn-14059655 2026-11-01 00:52:36,825 - DEBUG - VN ctest-ext_vn-14059655 UUID is 5c986653-7d27-40f3-8cd9-f8ab686693d9 2026-11-01 00:52:37,030 - DEBUG - Services list from nova: [, , ] 2026-11-01 00:52:37,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6457-1) 2026-11-01 00:52:37,897 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6457-1) 2026-11-01 00:52:37,998 - INFO - Setting gateway for router af7535a5-198e-48bb-bc08-5ddfd13048f9 to network 5c986653-7d27-40f3-8cd9-f8ab686693d9 2026-11-01 00:52:38,078 - INFO - Adding interface with subnet_id c1a53fbc-e222-4770-885d-b3ea0e51271b, port_id None to router af7535a5-198e-48bb-bc08-5ddfd13048f9 2026-11-01 00:52:38,321 - INFO - Waiting for VM ctest-TestRoutersBasic-90787462-53436768 to be up.. 2026-11-01 00:52:38,413 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:52:43,560 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:52:48,642 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:52:53,723 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:52:58,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:53:03,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:53:08,959 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:53:14,036 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 00:53:19,133 - DEBUG - VM is in ACTIVE state now 2026-11-01 00:53:19,133 - INFO - VM name : ctest-TestRoutersBasic-90787462-53436768 2026-11-01 00:53:19,223 - DEBUG - VM ctest-TestRoutersBasic-90787462-53436768 ID is 4f93a0d2-95c7-483b-8b5a-fe4de72142be 2026-11-01 00:53:19,253 - DEBUG - VM ctest-TestRoutersBasic-90787462-53436768 launched on Node cn-jenkins-deploy-platform-ansible-os-6457-1 2026-11-01 00:53:19,346 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4f93a0d2-95c7-483b-8b5a-fe4de72142be 2026-11-01 00:53:19,728 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4f93a0d2-95c7-483b-8b5a-fe4de72142be 2026-11-01 00:53:19,758 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c1519baa-3eb1-45ee-a981-9e0c9aafd2da 2026-11-01 00:53:23,027 - 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 1016ms') 2026-11-01 00:53:23,027 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-90787462-53436768 failed! 2026-11-01 00:53:23,081 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90787462:ctest-vn-39291550 is 55.165.102.193 and allocation pool is NOT set 2026-11-01 00:53:25,143 - 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=3.34 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.472 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.472/1.905/3.339/1.433 ms') 2026-11-01 00:53:25,143 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-90787462-53436768 passed 2026-11-01 00:53:25,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 00:53:25,293 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90787462-53436768, IP 55.165.102.195, Port 22 2026-11-01 00:53:25,453 - DEBUG - VM ctest-TestRoutersBasic-90787462-53436768 is ready for SSH connections 2026-11-01 00:53:25,453 - INFO - Waiting for VM ctest-TestRoutersBasic-90787462-55056925 to be up.. 2026-11-01 00:53:25,528 - DEBUG - VM is in ACTIVE state now 2026-11-01 00:53:25,528 - INFO - VM name : ctest-TestRoutersBasic-90787462-55056925 2026-11-01 00:53:25,605 - DEBUG - VM ctest-TestRoutersBasic-90787462-55056925 ID is f1c0e944-7671-4afa-a0c8-2a93a32ff4f6 2026-11-01 00:53:25,605 - DEBUG - VM ctest-TestRoutersBasic-90787462-55056925 launched on Node cn-jenkins-deploy-platform-ansible-os-6457-1 2026-11-01 00:53:25,678 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f1c0e944-7671-4afa-a0c8-2a93a32ff4f6 2026-11-01 00:53:25,687 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/98010ad6-babf-4d62-940d-bc8ff2d38470 2026-11-01 00:53:26,932 - 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=4.62 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.72 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 = 1.717/3.169/4.621/1.452 ms') 2026-11-01 00:53:26,932 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-90787462-55056925 passed 2026-11-01 00:53:27,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 00:53:27,086 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90787462-55056925, IP 144.8.191.132, Port 22 2026-11-01 00:53:27,151 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-01 00:53:27,235 - DEBUG - VM ctest-TestRoutersBasic-90787462-55056925 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-01 00:53:32,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 00:53:32,236 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90787462-55056925, IP 144.8.191.132, Port 22 2026-11-01 00:53:32,396 - DEBUG - VM ctest-TestRoutersBasic-90787462-55056925 is ready for SSH connections 2026-11-01 00:53:32,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 00:53:32,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.8.191.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-11-01 00:53:32,397 - DEBUG - ping -s 56 -c 3 -W 1 144.8.191.132 2026-11-01 00:53:35,376 - DEBUG - PING 144.8.191.132 (144.8.191.132): 56 data bytes 64 bytes from 144.8.191.132: seq=0 ttl=62 time=6.490 ms 64 bytes from 144.8.191.132: seq=1 ttl=62 time=0.961 ms 64 bytes from 144.8.191.132: seq=2 ttl=62 time=1.213 ms --- 144.8.191.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.961/2.888/6.490 ms 2026-11-01 00:53:35,376 - INFO - Ping to IP 144.8.191.132 from VM ctest-TestRoutersBasic-90787462-53436768 passed 2026-11-01 00:53:35,376 - INFO - Deleting interface with subnet_id c1a53fbc-e222-4770-885d-b3ea0e51271b, port_id None from router af7535a5-198e-48bb-bc08-5ddfd13048f9 2026-11-01 00:53:35,566 - INFO - Deleting VM ctest-TestRoutersBasic-90787462-55056925 2026-11-01 00:53:35,640 - INFO - Deleting VM ctest-TestRoutersBasic-90787462-53436768 2026-11-01 00:53:35,703 - INFO - Deleting VN ctest-ext_vn-14059655 2026-11-01 00:53:35,764 - DEBUG - VN 5c986653-7d27-40f3-8cd9-f8ab686693d9 still in use: Unable to complete operation on network 5c986653-7d27-40f3-8cd9-f8ab686693d9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9b6a546-4af1-4588-bab2-8500cc285de4'] 2026-11-01 00:53:35,765 - WARNING - Deleting VN ctest-ext_vn-14059655 failed..Will retry 2026-11-01 00:53:37,796 - DEBUG - VN 5c986653-7d27-40f3-8cd9-f8ab686693d9 still in use: Unable to complete operation on network 5c986653-7d27-40f3-8cd9-f8ab686693d9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e9659fb5-3389-4865-96bc-f099242013ec'] 2026-11-01 00:53:37,796 - WARNING - Deleting VN ctest-ext_vn-14059655 failed..Will retry 2026-11-01 00:53:39,917 - DEBUG - Response for deleting network () 2026-11-01 00:53:39,917 - INFO - Deleting VN ctest-vn-39291550 2026-11-01 00:53:40,007 - DEBUG - Response for deleting network () 2026-11-01 00:53:40,265 - DEBUG - No XMPP flaps were noticed during the test 2026-11-01 00:53:40,265 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:07] 2026-11-01 00:53:40,266 - INFO - -------------------------------------------------------------------------------- 2026-11-01 00:53:41,078 - INFO - Deleted project: ctest-TestRoutersBasic-90787462, ID : 49124fec-49b4-4c33-b05e-ef1761f5f220