2026-09-23 12:57:45,734 - INFO - Domain Default found not creating 2026-09-23 12:57:45,967 - INFO - Project ctest-TestRoutersBasic-70124366 not found, creating it 2026-09-23 12:57:46,623 - INFO - Created Project:ctest-TestRoutersBasic-70124366, ID : 9e370a02-c378-450c-9cba-b95dd2d34bd9 2026-09-23 12:57:48,689 - INFO - ================================================================================ 2026-09-23 12:57:48,689 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-23 12:57:48,689 - 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-09-23 12:57:48,975 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with 2026-09-23 12:57:48,975 - INFO - Initial checks done. Running the testcase now 2026-09-23 12:57:48,975 - INFO - 2026-09-23 12:57:49,981 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70124366 2026-09-23 12:57:50,084 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70124366 2026-09-23 12:57:50,463 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70124366', 'default']} 2026-09-23 12:57:50,919 - DEBUG - Response for create_network : {'network': {'id': '49f62794-db28-4a4e-9537-105df54bbfe0', 'name': 'ctest-vn-30177215', 'tenant_id': '9e370a02c378450c9cbab95dd2d34bd9', 'project_id': '9e370a02c378450c9cbab95dd2d34bd9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70124366', 'ctest-vn-30177215'], 'port_security_enabled': True, 'description': ''}} 2026-09-23 12:57:51,110 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a85fcb1a-8fb7-4f83-a070-196a014afc9a', 'name': '', 'tenant_id': '9e370a02c378450c9cbab95dd2d34bd9', 'network_id': '49f62794-db28-4a4e-9537-105df54bbfe0', 'ip_version': 4, 'cidr': '129.248.175.128/26', 'allocation_pools': [{'start': '129.248.175.130', 'end': '129.248.175.190'}], 'gateway_ip': '129.248.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.248.175.130', 'tags': [], 'project_id': '9e370a02c378450c9cbab95dd2d34bd9'}} 2026-09-23 12:57:51,139 - INFO - Created VN ctest-vn-30177215 2026-09-23 12:57:51,196 - DEBUG - VN ctest-vn-30177215 UUID is 49f62794-db28-4a4e-9537-105df54bbfe0 2026-09-23 12:57:51,649 - DEBUG - Response for create_network : {'network': {'id': 'f3d940e6-c7df-4d20-a01f-0b8ca0baaa2d', 'name': 'ctest-ext_vn-94978595', 'tenant_id': '9e370a02c378450c9cbab95dd2d34bd9', 'project_id': '9e370a02c378450c9cbab95dd2d34bd9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70124366', 'ctest-ext_vn-94978595'], 'port_security_enabled': True, 'description': ''}} 2026-09-23 12:57:51,916 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad02f184-8885-425f-928b-320ef890811b', 'name': '', 'tenant_id': '9e370a02c378450c9cbab95dd2d34bd9', 'network_id': 'f3d940e6-c7df-4d20-a01f-0b8ca0baaa2d', 'ip_version': 4, 'cidr': '14.49.115.128/26', 'allocation_pools': [{'start': '14.49.115.130', 'end': '14.49.115.190'}], 'gateway_ip': '14.49.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.49.115.130', 'tags': [], 'project_id': '9e370a02c378450c9cbab95dd2d34bd9'}} 2026-09-23 12:57:51,944 - INFO - Created VN ctest-ext_vn-94978595 2026-09-23 12:57:52,008 - DEBUG - VN ctest-ext_vn-94978595 UUID is f3d940e6-c7df-4d20-a01f-0b8ca0baaa2d 2026-09-23 12:57:52,222 - DEBUG - Services list from nova: [, , ] 2026-09-23 12:57:52,970 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6320-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6320-1) 2026-09-23 12:57:53,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6320-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6320-1) 2026-09-23 12:57:53,623 - INFO - Setting gateway for router e1718d52-5d0b-4616-a05d-31c20f4526af to network f3d940e6-c7df-4d20-a01f-0b8ca0baaa2d 2026-09-23 12:57:53,716 - INFO - Adding interface with subnet_id a85fcb1a-8fb7-4f83-a070-196a014afc9a, port_id None to router e1718d52-5d0b-4616-a05d-31c20f4526af 2026-09-23 12:57:54,120 - INFO - Waiting for VM ctest-TestRoutersBasic-70124366-59404157 to be up.. 2026-09-23 12:57:54,234 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:57:59,340 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:58:04,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:58:09,579 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:58:14,693 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:58:19,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:58:24,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:58:30,071 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:58:35,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:58:40,358 - DEBUG - VM is in ACTIVE state now 2026-09-23 12:58:40,358 - INFO - VM name : ctest-TestRoutersBasic-70124366-59404157 2026-09-23 12:58:40,539 - DEBUG - VM ctest-TestRoutersBasic-70124366-59404157 ID is 7cafe211-63a7-4475-8e7d-ad8ab56653c5 2026-09-23 12:58:40,576 - DEBUG - VM ctest-TestRoutersBasic-70124366-59404157 launched on Node cn-jenkins-deploy-platform-ansible-os-6320-1 2026-09-23 12:58:40,710 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/7cafe211-63a7-4475-8e7d-ad8ab56653c5 2026-09-23 12:58:41,120 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/7cafe211-63a7-4475-8e7d-ad8ab56653c5 2026-09-23 12:58:41,180 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/2cfafdd3-ce24-495f-9315-a8cc6920d76b 2026-09-23 12:58:44,457 - 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-09-23 12:58:44,457 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-70124366-59404157 failed! 2026-09-23 12:58:44,520 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70124366:ctest-vn-30177215 is 129.248.175.129 and allocation pool is NOT set 2026-09-23 12:58:46,591 - 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.37 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.93 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 = 1.929/4.651/7.373/2.722 ms') 2026-09-23 12:58:46,591 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-70124366-59404157 passed 2026-09-23 12:58:46,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 12:58:46,748 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70124366-59404157, IP 129.248.175.131, Port 22 2026-09-23 12:58:46,918 - DEBUG - VM ctest-TestRoutersBasic-70124366-59404157 is ready for SSH connections 2026-09-23 12:58:46,918 - INFO - Waiting for VM ctest-TestRoutersBasic-70124366-06261924 to be up.. 2026-09-23 12:58:47,022 - DEBUG - VM is in ACTIVE state now 2026-09-23 12:58:47,022 - INFO - VM name : ctest-TestRoutersBasic-70124366-06261924 2026-09-23 12:58:47,130 - DEBUG - VM ctest-TestRoutersBasic-70124366-06261924 ID is 52784987-4ec4-4824-a673-b3b579e5041b 2026-09-23 12:58:47,130 - DEBUG - VM ctest-TestRoutersBasic-70124366-06261924 launched on Node cn-jenkins-deploy-platform-ansible-os-6320-1 2026-09-23 12:58:47,235 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/52784987-4ec4-4824-a673-b3b579e5041b 2026-09-23 12:58:47,247 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/8d026c57-aa57-4802-8f45-81e3c9c95256 2026-09-23 12:58:48,516 - 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=8.32 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=4.24 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 = 4.235/6.279/8.323/2.044 ms') 2026-09-23 12:58:48,517 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-70124366-06261924 passed 2026-09-23 12:58:48,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 12:58:48,680 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70124366-06261924, IP 14.49.115.132, Port 22 2026-09-23 12:58:48,746 - 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-09-23 12:58:48,858 - DEBUG - VM ctest-TestRoutersBasic-70124366-06261924 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-23 12:58:53,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 12:58:53,859 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70124366-06261924, IP 14.49.115.132, Port 22 2026-09-23 12:58:54,030 - DEBUG - VM ctest-TestRoutersBasic-70124366-06261924 is ready for SSH connections 2026-09-23 12:58:54,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 12:58:54,030 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.49.115.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-23 12:58:54,030 - DEBUG - ping -s 56 -c 3 -W 1 14.49.115.132 2026-09-23 12:58:57,294 - DEBUG - PING 14.49.115.132 (14.49.115.132): 56 data bytes 64 bytes from 14.49.115.132: seq=0 ttl=62 time=8.531 ms 64 bytes from 14.49.115.132: seq=1 ttl=62 time=1.811 ms 64 bytes from 14.49.115.132: seq=2 ttl=62 time=1.673 ms --- 14.49.115.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.673/4.005/8.531 ms 2026-09-23 12:58:57,294 - INFO - Ping to IP 14.49.115.132 from VM ctest-TestRoutersBasic-70124366-59404157 passed 2026-09-23 12:58:57,294 - INFO - Deleting interface with subnet_id a85fcb1a-8fb7-4f83-a070-196a014afc9a, port_id None from router e1718d52-5d0b-4616-a05d-31c20f4526af 2026-09-23 12:58:57,595 - INFO - Deleting VM ctest-TestRoutersBasic-70124366-06261924 2026-09-23 12:58:57,715 - INFO - Deleting VM ctest-TestRoutersBasic-70124366-59404157 2026-09-23 12:58:57,825 - INFO - Deleting VN ctest-ext_vn-94978595 2026-09-23 12:58:57,943 - DEBUG - VN f3d940e6-c7df-4d20-a01f-0b8ca0baaa2d still in use: Unable to complete operation on network f3d940e6-c7df-4d20-a01f-0b8ca0baaa2d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-662c2e04-252e-420c-b250-f82f12adea1a'] 2026-09-23 12:58:57,943 - WARNING - Deleting VN ctest-ext_vn-94978595 failed..Will retry 2026-09-23 12:59:00,217 - DEBUG - Response for deleting network () 2026-09-23 12:59:00,217 - INFO - Deleting VN ctest-vn-30177215 2026-09-23 12:59:00,408 - DEBUG - Response for deleting network () 2026-09-23 12:59:00,692 - DEBUG - No XMPP flaps were noticed during the test 2026-09-23 12:59:00,692 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:12] 2026-09-23 12:59:00,692 - INFO - -------------------------------------------------------------------------------- 2026-09-23 12:59:01,558 - INFO - Deleted project: ctest-TestRoutersBasic-70124366, ID : 9e370a02-c378-450c-9cba-b95dd2d34bd9