2026-10-02 02:34:54,362 - INFO - Domain Default found not creating 2026-10-02 02:34:54,541 - INFO - Project ctest-TestRoutersBasic-39161826 not found, creating it 2026-10-02 02:34:55,133 - INFO - Created Project:ctest-TestRoutersBasic-39161826, ID : 74cbf62e-45db-478b-a166-81004f2ed794 2026-10-02 02:34:56,842 - INFO - ================================================================================ 2026-10-02 02:34:56,842 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-02 02:34:56,842 - 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-02 02:34:57,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-10-02 02:34:57,103 - INFO - Initial checks done. Running the testcase now 2026-10-02 02:34:57,103 - INFO - 2026-10-02 02:34:57,905 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39161826 2026-10-02 02:34:58,005 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39161826 2026-10-02 02:34:58,340 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39161826', 'default']} 2026-10-02 02:34:58,677 - DEBUG - Response for create_network : {'network': {'id': '473416d6-f2a1-44af-953f-4ceb9913dd2a', 'name': 'ctest-vn-40357481', 'tenant_id': '74cbf62e45db478ba16681004f2ed794', 'project_id': '74cbf62e45db478ba16681004f2ed794', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39161826', 'ctest-vn-40357481'], 'port_security_enabled': True, 'description': ''}} 2026-10-02 02:34:58,904 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce1e8cc6-b616-4de3-920f-1b96c7099bfd', 'name': '', 'tenant_id': '74cbf62e45db478ba16681004f2ed794', 'network_id': '473416d6-f2a1-44af-953f-4ceb9913dd2a', 'ip_version': 4, 'cidr': '126.229.158.0/26', 'allocation_pools': [{'start': '126.229.158.2', 'end': '126.229.158.62'}], 'gateway_ip': '126.229.158.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.229.158.2', 'tags': [], 'project_id': '74cbf62e45db478ba16681004f2ed794'}} 2026-10-02 02:34:58,926 - INFO - Created VN ctest-vn-40357481 2026-10-02 02:34:58,981 - DEBUG - VN ctest-vn-40357481 UUID is 473416d6-f2a1-44af-953f-4ceb9913dd2a 2026-10-02 02:34:59,347 - DEBUG - Response for create_network : {'network': {'id': '5a9d1d8d-dc75-4b65-a1c5-d937c835640f', 'name': 'ctest-ext_vn-61565635', 'tenant_id': '74cbf62e45db478ba16681004f2ed794', 'project_id': '74cbf62e45db478ba16681004f2ed794', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39161826', 'ctest-ext_vn-61565635'], 'port_security_enabled': True, 'description': ''}} 2026-10-02 02:34:59,579 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd06566d7-8287-4cf3-8531-5f7c29ee3db8', 'name': '', 'tenant_id': '74cbf62e45db478ba16681004f2ed794', 'network_id': '5a9d1d8d-dc75-4b65-a1c5-d937c835640f', 'ip_version': 4, 'cidr': '144.85.121.128/26', 'allocation_pools': [{'start': '144.85.121.130', 'end': '144.85.121.190'}], 'gateway_ip': '144.85.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.85.121.130', 'tags': [], 'project_id': '74cbf62e45db478ba16681004f2ed794'}} 2026-10-02 02:34:59,602 - INFO - Created VN ctest-ext_vn-61565635 2026-10-02 02:34:59,657 - DEBUG - VN ctest-ext_vn-61565635 UUID is 5a9d1d8d-dc75-4b65-a1c5-d937c835640f 2026-10-02 02:34:59,839 - DEBUG - Services list from nova: [, , ] 2026-10-02 02:35:00,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6337-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6337-1) 2026-10-02 02:35:00,658 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6337-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6337-1) 2026-10-02 02:35:00,739 - INFO - Setting gateway for router 4642f33a-9335-4c96-ae85-49c355a77bfb to network 5a9d1d8d-dc75-4b65-a1c5-d937c835640f 2026-10-02 02:35:00,814 - INFO - Adding interface with subnet_id ce1e8cc6-b616-4de3-920f-1b96c7099bfd, port_id None to router 4642f33a-9335-4c96-ae85-49c355a77bfb 2026-10-02 02:35:01,217 - INFO - Waiting for VM ctest-TestRoutersBasic-39161826-53862910 to be up.. 2026-10-02 02:35:01,311 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 02:35:06,408 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 02:35:11,567 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 02:35:16,651 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 02:35:21,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 02:35:26,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 02:35:31,914 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 02:35:37,003 - DEBUG - VM is in ACTIVE state now 2026-10-02 02:35:37,003 - INFO - VM name : ctest-TestRoutersBasic-39161826-53862910 2026-10-02 02:35:37,111 - DEBUG - VM ctest-TestRoutersBasic-39161826-53862910 ID is 7357bdf6-56f4-404f-9e84-7d1802bf8493 2026-10-02 02:35:37,135 - DEBUG - VM ctest-TestRoutersBasic-39161826-53862910 launched on Node cn-jenkins-deploy-platform-ansible-os-6337-1 2026-10-02 02:35:37,226 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/7357bdf6-56f4-404f-9e84-7d1802bf8493 2026-10-02 02:35:37,558 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/7357bdf6-56f4-404f-9e84-7d1802bf8493 2026-10-02 02:35:37,596 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/dca4aad3-f8f3-4612-869a-e7b4ecb1d9c0 2026-10-02 02:35:40,870 - 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 1017ms') 2026-10-02 02:35:40,870 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-39161826-53862910 failed! 2026-10-02 02:35:40,928 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39161826:ctest-vn-40357481 is 126.229.158.1 and allocation pool is NOT set 2026-10-02 02:35:42,997 - 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=7.92 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.54 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 = 3.540/5.729/7.919/2.189 ms') 2026-10-02 02:35:42,997 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-39161826-53862910 passed 2026-10-02 02:35:43,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 02:35:43,157 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39161826-53862910, IP 126.229.158.3, Port 22 2026-10-02 02:35:43,231 - 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-02 02:35:43,333 - DEBUG - VM ctest-TestRoutersBasic-39161826-53862910 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-02 02:35:48,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 02:35:48,333 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39161826-53862910, IP 126.229.158.3, Port 22 2026-10-02 02:35:48,497 - DEBUG - VM ctest-TestRoutersBasic-39161826-53862910 is ready for SSH connections 2026-10-02 02:35:48,497 - INFO - Waiting for VM ctest-TestRoutersBasic-39161826-67266624 to be up.. 2026-10-02 02:35:48,608 - DEBUG - VM is in ACTIVE state now 2026-10-02 02:35:48,609 - INFO - VM name : ctest-TestRoutersBasic-39161826-67266624 2026-10-02 02:35:48,713 - DEBUG - VM ctest-TestRoutersBasic-39161826-67266624 ID is 1857b522-19ba-46dc-9866-226614cc18b7 2026-10-02 02:35:48,713 - DEBUG - VM ctest-TestRoutersBasic-39161826-67266624 launched on Node cn-jenkins-deploy-platform-ansible-os-6337-1 2026-10-02 02:35:48,812 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/1857b522-19ba-46dc-9866-226614cc18b7 2026-10-02 02:35:48,825 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/5e37a359-c1b4-4b73-aa95-10f479ab8a03 2026-10-02 02:35:50,088 - 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=6.31 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.02 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.021/3.666/6.311/2.645 ms') 2026-10-02 02:35:50,088 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-39161826-67266624 passed 2026-10-02 02:35:50,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 02:35:50,257 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39161826-67266624, IP 144.85.121.132, Port 22 2026-10-02 02:35:50,413 - DEBUG - VM ctest-TestRoutersBasic-39161826-67266624 is ready for SSH connections 2026-10-02 02:35:50,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 02:35:50,413 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.85.121.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-10-02 02:35:50,413 - DEBUG - ping -s 56 -c 3 -W 1 144.85.121.132 2026-10-02 02:35:53,465 - DEBUG - PING 144.85.121.132 (144.85.121.132): 56 data bytes 64 bytes from 144.85.121.132: seq=0 ttl=62 time=8.890 ms 64 bytes from 144.85.121.132: seq=1 ttl=62 time=1.195 ms 64 bytes from 144.85.121.132: seq=2 ttl=62 time=1.062 ms --- 144.85.121.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.062/3.715/8.890 ms 2026-10-02 02:35:53,465 - INFO - Ping to IP 144.85.121.132 from VM ctest-TestRoutersBasic-39161826-53862910 passed 2026-10-02 02:35:53,465 - INFO - Deleting interface with subnet_id ce1e8cc6-b616-4de3-920f-1b96c7099bfd, port_id None from router 4642f33a-9335-4c96-ae85-49c355a77bfb 2026-10-02 02:35:53,703 - INFO - Deleting VM ctest-TestRoutersBasic-39161826-67266624 2026-10-02 02:35:53,801 - INFO - Deleting VM ctest-TestRoutersBasic-39161826-53862910 2026-10-02 02:35:53,891 - INFO - Deleting VN ctest-ext_vn-61565635 2026-10-02 02:35:53,992 - DEBUG - VN 5a9d1d8d-dc75-4b65-a1c5-d937c835640f still in use: Unable to complete operation on network 5a9d1d8d-dc75-4b65-a1c5-d937c835640f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da61c1e0-9881-41bd-80ec-e1096af6c8b7'] 2026-10-02 02:35:53,992 - WARNING - Deleting VN ctest-ext_vn-61565635 failed..Will retry 2026-10-02 02:35:56,219 - DEBUG - Response for deleting network () 2026-10-02 02:35:56,219 - INFO - Deleting VN ctest-vn-40357481 2026-10-02 02:35:56,367 - DEBUG - Response for deleting network () 2026-10-02 02:35:56,633 - DEBUG - No XMPP flaps were noticed during the test 2026-10-02 02:35:56,633 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00] 2026-10-02 02:35:56,633 - INFO - -------------------------------------------------------------------------------- 2026-10-02 02:35:57,433 - INFO - Deleted project: ctest-TestRoutersBasic-39161826, ID : 74cbf62e-45db-478b-a166-81004f2ed794