2026-10-28 11:57:35,956 - INFO - Domain Default found not creating 2026-10-28 11:57:36,259 - INFO - Project ctest-TestRoutersBasic-43705310 not found, creating it 2026-10-28 11:57:37,195 - INFO - Created Project:ctest-TestRoutersBasic-43705310, ID : a724946b-57c6-4e49-8087-42c262cc310e 2026-10-28 11:57:39,491 - INFO - ================================================================================ 2026-10-28 11:57:39,491 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-28 11:57:39,492 - 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-28 11:57:39,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.29': '0'}} with 2026-10-28 11:57:39,777 - INFO - Initial checks done. Running the testcase now 2026-10-28 11:57:39,777 - INFO - 2026-10-28 11:57:40,758 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43705310 2026-10-28 11:57:40,859 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43705310 2026-10-28 11:57:41,215 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43705310', 'default']} 2026-10-28 11:57:41,647 - DEBUG - Response for create_network : {'network': {'id': 'e296658f-d578-45be-b3c1-656fac4356a4', 'name': 'ctest-vn-99684552', 'tenant_id': 'a724946b57c64e49808742c262cc310e', 'project_id': 'a724946b57c64e49808742c262cc310e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43705310', 'ctest-vn-99684552'], 'port_security_enabled': True, 'description': ''}} 2026-10-28 11:57:41,934 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dac0901b-2d19-49a4-ae55-75261acfa882', 'name': '', 'tenant_id': 'a724946b57c64e49808742c262cc310e', 'network_id': 'e296658f-d578-45be-b3c1-656fac4356a4', 'ip_version': 4, 'cidr': '77.41.57.192/26', 'allocation_pools': [{'start': '77.41.57.194', 'end': '77.41.57.254'}], 'gateway_ip': '77.41.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.41.57.194', 'tags': [], 'project_id': 'a724946b57c64e49808742c262cc310e'}} 2026-10-28 11:57:41,962 - INFO - Created VN ctest-vn-99684552 2026-10-28 11:57:42,019 - DEBUG - VN ctest-vn-99684552 UUID is e296658f-d578-45be-b3c1-656fac4356a4 2026-10-28 11:57:42,560 - DEBUG - Response for create_network : {'network': {'id': '0bd98339-ef14-4855-aca1-637f019ec770', 'name': 'ctest-ext_vn-87506816', 'tenant_id': 'a724946b57c64e49808742c262cc310e', 'project_id': 'a724946b57c64e49808742c262cc310e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43705310', 'ctest-ext_vn-87506816'], 'port_security_enabled': True, 'description': ''}} 2026-10-28 11:57:42,838 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5183806-174d-4a16-bf42-3bb1225ef362', 'name': '', 'tenant_id': 'a724946b57c64e49808742c262cc310e', 'network_id': '0bd98339-ef14-4855-aca1-637f019ec770', 'ip_version': 4, 'cidr': '216.89.18.0/26', 'allocation_pools': [{'start': '216.89.18.2', 'end': '216.89.18.62'}], 'gateway_ip': '216.89.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.89.18.2', 'tags': [], 'project_id': 'a724946b57c64e49808742c262cc310e'}} 2026-10-28 11:57:42,859 - INFO - Created VN ctest-ext_vn-87506816 2026-10-28 11:57:42,916 - DEBUG - VN ctest-ext_vn-87506816 UUID is 0bd98339-ef14-4855-aca1-637f019ec770 2026-10-28 11:57:43,118 - DEBUG - Services list from nova: [, , ] 2026-10-28 11:57:43,773 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6431-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6431-1) 2026-10-28 11:57:44,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6431-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6431-1) 2026-10-28 11:57:44,586 - INFO - Setting gateway for router 074793a5-1c7a-43fa-b3f2-10285322f449 to network 0bd98339-ef14-4855-aca1-637f019ec770 2026-10-28 11:57:44,680 - INFO - Adding interface with subnet_id dac0901b-2d19-49a4-ae55-75261acfa882, port_id None to router 074793a5-1c7a-43fa-b3f2-10285322f449 2026-10-28 11:57:45,214 - INFO - Waiting for VM ctest-TestRoutersBasic-43705310-83550273 to be up.. 2026-10-28 11:57:45,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 11:57:50,528 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 11:57:55,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 11:58:00,776 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 11:58:05,929 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 11:58:11,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 11:58:16,234 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 11:58:21,345 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 11:58:26,473 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 11:58:31,588 - DEBUG - VM is in ACTIVE state now 2026-10-28 11:58:31,588 - INFO - VM name : ctest-TestRoutersBasic-43705310-83550273 2026-10-28 11:58:31,788 - DEBUG - VM ctest-TestRoutersBasic-43705310-83550273 ID is abec9b43-d96d-4f6f-b6a7-c38dde5164b0 2026-10-28 11:58:31,818 - DEBUG - VM ctest-TestRoutersBasic-43705310-83550273 launched on Node cn-jenkins-deploy-platform-ansible-os-6431-1 2026-10-28 11:58:31,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/abec9b43-d96d-4f6f-b6a7-c38dde5164b0 2026-10-28 11:58:32,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/abec9b43-d96d-4f6f-b6a7-c38dde5164b0 2026-10-28 11:58:32,375 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f51181a7-e7c5-4ab4-a7ec-54b32b911279 2026-10-28 11:58:35,666 - 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 1028ms') 2026-10-28 11:58:35,666 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-43705310-83550273 failed! 2026-10-28 11:58:35,746 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43705310:ctest-vn-99684552 is 77.41.57.193 and allocation pool is NOT set 2026-10-28 11:58:37,823 - 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=14.6 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.31 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.305/8.940/14.576/5.635 ms') 2026-10-28 11:58:37,824 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-43705310-83550273 passed 2026-10-28 11:58:37,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 11:58:37,984 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43705310-83550273, IP 77.41.57.195, Port 22 2026-10-28 11:58:38,050 - 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-28 11:58:38,174 - DEBUG - VM ctest-TestRoutersBasic-43705310-83550273 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-28 11:58:43,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 11:58:43,175 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43705310-83550273, IP 77.41.57.195, Port 22 2026-10-28 11:58:43,346 - DEBUG - VM ctest-TestRoutersBasic-43705310-83550273 is ready for SSH connections 2026-10-28 11:58:43,346 - INFO - Waiting for VM ctest-TestRoutersBasic-43705310-93071739 to be up.. 2026-10-28 11:58:43,468 - DEBUG - VM is in ACTIVE state now 2026-10-28 11:58:43,468 - INFO - VM name : ctest-TestRoutersBasic-43705310-93071739 2026-10-28 11:58:43,594 - DEBUG - VM ctest-TestRoutersBasic-43705310-93071739 ID is cb1dfecd-86d7-4fab-9c8f-686fe1c0beff 2026-10-28 11:58:43,599 - DEBUG - VM ctest-TestRoutersBasic-43705310-93071739 launched on Node cn-jenkins-deploy-platform-ansible-os-6431-1 2026-10-28 11:58:43,712 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cb1dfecd-86d7-4fab-9c8f-686fe1c0beff 2026-10-28 11:58:43,725 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bb073fbe-3de4-4dd5-9414-58bf088bf1d6 2026-10-28 11:58:44,992 - 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=5.07 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.599 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 = 0.599/2.835/5.072/2.236 ms') 2026-10-28 11:58:44,992 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-43705310-93071739 passed 2026-10-28 11:58:45,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 11:58:45,155 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43705310-93071739, IP 216.89.18.4, Port 22 2026-10-28 11:58:45,331 - DEBUG - VM ctest-TestRoutersBasic-43705310-93071739 is ready for SSH connections 2026-10-28 11:58:45,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 11:58:45,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.89.18.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-28 11:58:45,331 - DEBUG - ping -s 56 -c 3 -W 1 216.89.18.4 2026-10-28 11:58:48,637 - DEBUG - PING 216.89.18.4 (216.89.18.4): 56 data bytes 64 bytes from 216.89.18.4: seq=0 ttl=62 time=7.042 ms 64 bytes from 216.89.18.4: seq=1 ttl=62 time=1.241 ms 64 bytes from 216.89.18.4: seq=2 ttl=62 time=1.326 ms --- 216.89.18.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.241/3.203/7.042 ms 2026-10-28 11:58:48,637 - INFO - Ping to IP 216.89.18.4 from VM ctest-TestRoutersBasic-43705310-83550273 passed 2026-10-28 11:58:48,637 - INFO - Deleting interface with subnet_id dac0901b-2d19-49a4-ae55-75261acfa882, port_id None from router 074793a5-1c7a-43fa-b3f2-10285322f449 2026-10-28 11:58:49,000 - INFO - Deleting VM ctest-TestRoutersBasic-43705310-93071739 2026-10-28 11:58:49,289 - INFO - Deleting VM ctest-TestRoutersBasic-43705310-83550273 2026-10-28 11:58:49,483 - INFO - Deleting VN ctest-ext_vn-87506816 2026-10-28 11:58:49,619 - DEBUG - VN 0bd98339-ef14-4855-aca1-637f019ec770 still in use: Unable to complete operation on network 0bd98339-ef14-4855-aca1-637f019ec770. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-481834af-df65-49a0-a9d6-c8bdca02a5cf'] 2026-10-28 11:58:49,620 - WARNING - Deleting VN ctest-ext_vn-87506816 failed..Will retry 2026-10-28 11:58:51,676 - DEBUG - VN 0bd98339-ef14-4855-aca1-637f019ec770 still in use: Unable to complete operation on network 0bd98339-ef14-4855-aca1-637f019ec770. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1b6b8463-8542-458b-a538-2015ade9bea8'] 2026-10-28 11:58:51,677 - WARNING - Deleting VN ctest-ext_vn-87506816 failed..Will retry 2026-10-28 11:58:53,872 - DEBUG - Response for deleting network () 2026-10-28 11:58:53,872 - INFO - Deleting VN ctest-vn-99684552 2026-10-28 11:58:54,171 - DEBUG - Response for deleting network () 2026-10-28 11:58:54,446 - DEBUG - No XMPP flaps were noticed during the test
2026-10-28 11:58:54,446 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:15]
2026-10-28 11:58:54,446 - INFO - -------------------------------------------------------------------------------- 2026-10-28 11:58:55,365 - INFO - Deleted project: ctest-TestRoutersBasic-43705310, ID : a724946b-57c6-4e49-8087-42c262cc310e