2026-08-22 18:53:45,426 - INFO - Domain Default found not creating 2026-08-22 18:53:45,659 - INFO - Project ctest-TestRoutersBasic-55138313 not found, creating it 2026-08-22 18:53:46,227 - INFO - Created Project:ctest-TestRoutersBasic-55138313, ID : eee2bf5d-f155-4b52-bf61-bbe7a1b80fee 2026-08-22 18:53:48,064 - INFO - ================================================================================ 2026-08-22 18:53:48,064 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-22 18:53:48,065 - 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-08-22 18:53:48,334 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-08-22 18:53:48,334 - INFO - Initial checks done. Running the testcase now 2026-08-22 18:53:48,334 - INFO - 2026-08-22 18:53:49,207 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55138313 2026-08-22 18:53:49,309 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55138313 2026-08-22 18:53:49,649 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55138313', 'default']} 2026-08-22 18:53:49,964 - DEBUG - Response for create_network : {'network': {'id': '312f2679-e3c0-4029-8804-53b09c1667c0', 'name': 'ctest-vn-63800688', 'tenant_id': 'eee2bf5df1554b52bf61bbe7a1b80fee', 'project_id': 'eee2bf5df1554b52bf61bbe7a1b80fee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55138313', 'ctest-vn-63800688'], 'port_security_enabled': True, 'description': ''}} 2026-08-22 18:53:50,154 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b407b3a0-237c-41a0-9a18-e276716734aa', 'name': '', 'tenant_id': 'eee2bf5df1554b52bf61bbe7a1b80fee', 'network_id': '312f2679-e3c0-4029-8804-53b09c1667c0', 'ip_version': 4, 'cidr': '185.94.85.128/26', 'allocation_pools': [{'start': '185.94.85.130', 'end': '185.94.85.190'}], 'gateway_ip': '185.94.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.94.85.130', 'tags': [], 'project_id': 'eee2bf5df1554b52bf61bbe7a1b80fee'}} 2026-08-22 18:53:50,174 - INFO - Created VN ctest-vn-63800688 2026-08-22 18:53:50,230 - DEBUG - VN ctest-vn-63800688 UUID is 312f2679-e3c0-4029-8804-53b09c1667c0 2026-08-22 18:53:50,607 - DEBUG - Response for create_network : {'network': {'id': '1fb3e773-7942-43a1-9726-b8faf0fb010b', 'name': 'ctest-ext_vn-29623678', 'tenant_id': 'eee2bf5df1554b52bf61bbe7a1b80fee', 'project_id': 'eee2bf5df1554b52bf61bbe7a1b80fee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55138313', 'ctest-ext_vn-29623678'], 'port_security_enabled': True, 'description': ''}} 2026-08-22 18:53:50,775 - DEBUG - Response for create_subnet : {'subnet': {'id': '127f0d69-8596-4d0c-8b24-930fb93409a1', 'name': '', 'tenant_id': 'eee2bf5df1554b52bf61bbe7a1b80fee', 'network_id': '1fb3e773-7942-43a1-9726-b8faf0fb010b', 'ip_version': 4, 'cidr': '74.99.42.64/26', 'allocation_pools': [{'start': '74.99.42.66', 'end': '74.99.42.126'}], 'gateway_ip': '74.99.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.99.42.66', 'tags': [], 'project_id': 'eee2bf5df1554b52bf61bbe7a1b80fee'}} 2026-08-22 18:53:50,794 - INFO - Created VN ctest-ext_vn-29623678 2026-08-22 18:53:50,849 - DEBUG - VN ctest-ext_vn-29623678 UUID is 1fb3e773-7942-43a1-9726-b8faf0fb010b 2026-08-22 18:53:51,059 - DEBUG - Services list from nova: [, , ] 2026-08-22 18:53:51,416 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6208-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6208-1) 2026-08-22 18:53:51,834 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6208-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6208-1) 2026-08-22 18:53:51,915 - INFO - Setting gateway for router 15fa7909-ce38-4e82-b1c0-8d9a3111fadf to network 1fb3e773-7942-43a1-9726-b8faf0fb010b 2026-08-22 18:53:52,004 - INFO - Adding interface with subnet_id b407b3a0-237c-41a0-9a18-e276716734aa, port_id None to router 15fa7909-ce38-4e82-b1c0-8d9a3111fadf 2026-08-22 18:53:52,350 - INFO - Waiting for VM ctest-TestRoutersBasic-55138313-03528090 to be up.. 2026-08-22 18:53:52,468 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 18:53:57,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 18:54:02,722 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 18:54:07,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 18:54:12,906 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 18:54:17,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 18:54:23,093 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 18:54:28,192 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 18:54:33,329 - DEBUG - VM is in ACTIVE state now 2026-08-22 18:54:33,329 - INFO - VM name : ctest-TestRoutersBasic-55138313-03528090 2026-08-22 18:54:33,442 - DEBUG - VM ctest-TestRoutersBasic-55138313-03528090 ID is e25f58ee-0aae-45b3-82ef-67986d86ad7a 2026-08-22 18:54:33,469 - DEBUG - VM ctest-TestRoutersBasic-55138313-03528090 launched on Node cn-jenkins-deploy-platform-ansible-os-6208-1 2026-08-22 18:54:33,595 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e25f58ee-0aae-45b3-82ef-67986d86ad7a 2026-08-22 18:54:33,998 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e25f58ee-0aae-45b3-82ef-67986d86ad7a 2026-08-22 18:54:34,034 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b8f006b6-e4d9-4c7a-ab91-0a7196b9bb02 2026-08-22 18:54:37,315 - 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-08-22 18:54:37,316 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-55138313-03528090 failed! 2026-08-22 18:54:37,385 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55138313:ctest-vn-63800688 is 185.94.85.129 and allocation pool is NOT set 2026-08-22 18:54:39,460 - 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=12.7 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.542 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.542/6.605/12.669/6.063 ms') 2026-08-22 18:54:39,461 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-55138313-03528090 passed 2026-08-22 18:54:39,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 18:54:39,618 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55138313-03528090, IP 185.94.85.131, Port 22 2026-08-22 18:54:39,808 - DEBUG - VM ctest-TestRoutersBasic-55138313-03528090 is ready for SSH connections 2026-08-22 18:54:39,808 - INFO - Waiting for VM ctest-TestRoutersBasic-55138313-28531872 to be up.. 2026-08-22 18:54:39,900 - DEBUG - VM is in ACTIVE state now 2026-08-22 18:54:39,900 - INFO - VM name : ctest-TestRoutersBasic-55138313-28531872 2026-08-22 18:54:39,992 - DEBUG - VM ctest-TestRoutersBasic-55138313-28531872 ID is 566a14ad-aef5-45c8-99bd-84ecd9862561 2026-08-22 18:54:39,992 - DEBUG - VM ctest-TestRoutersBasic-55138313-28531872 launched on Node cn-jenkins-deploy-platform-ansible-os-6208-1 2026-08-22 18:54:40,090 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/566a14ad-aef5-45c8-99bd-84ecd9862561 2026-08-22 18:54:40,101 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/660aa016-27ad-4d97-96df-852fc4c01e5b 2026-08-22 18:54:41,368 - 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.87 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.47 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 = 2.470/4.170/5.871/1.700 ms') 2026-08-22 18:54:41,369 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-55138313-28531872 passed 2026-08-22 18:54:41,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 18:54:41,526 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55138313-28531872, IP 74.99.42.68, Port 22 2026-08-22 18:54:41,592 - 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-08-22 18:54:41,686 - DEBUG - VM ctest-TestRoutersBasic-55138313-28531872 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-22 18:54:46,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 18:54:46,687 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55138313-28531872, IP 74.99.42.68, Port 22 2026-08-22 18:54:46,860 - DEBUG - VM ctest-TestRoutersBasic-55138313-28531872 is ready for SSH connections 2026-08-22 18:54:46,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 18:54:46,860 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.99.42.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-22 18:54:46,860 - DEBUG - ping -s 56 -c 3 -W 1 74.99.42.68 2026-08-22 18:54:49,955 - DEBUG - PING 74.99.42.68 (74.99.42.68): 56 data bytes 64 bytes from 74.99.42.68: seq=0 ttl=62 time=7.746 ms 64 bytes from 74.99.42.68: seq=1 ttl=62 time=1.250 ms 64 bytes from 74.99.42.68: seq=2 ttl=62 time=1.256 ms --- 74.99.42.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.250/3.417/7.746 ms 2026-08-22 18:54:49,955 - INFO - Ping to IP 74.99.42.68 from VM ctest-TestRoutersBasic-55138313-03528090 passed 2026-08-22 18:54:49,956 - INFO - Deleting interface with subnet_id b407b3a0-237c-41a0-9a18-e276716734aa, port_id None from router 15fa7909-ce38-4e82-b1c0-8d9a3111fadf 2026-08-22 18:54:50,198 - INFO - Deleting VM ctest-TestRoutersBasic-55138313-28531872 2026-08-22 18:54:50,293 - INFO - Deleting VM ctest-TestRoutersBasic-55138313-03528090 2026-08-22 18:54:50,388 - INFO - Deleting VN ctest-ext_vn-29623678 2026-08-22 18:54:50,475 - DEBUG - VN 1fb3e773-7942-43a1-9726-b8faf0fb010b still in use: Unable to complete operation on network 1fb3e773-7942-43a1-9726-b8faf0fb010b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-063282f8-8c70-4c09-b0ae-02bde6311d4a'] 2026-08-22 18:54:50,476 - WARNING - Deleting VN ctest-ext_vn-29623678 failed..Will retry 2026-08-22 18:54:52,534 - DEBUG - VN 1fb3e773-7942-43a1-9726-b8faf0fb010b still in use: Unable to complete operation on network 1fb3e773-7942-43a1-9726-b8faf0fb010b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba4e0c54-8883-414b-8531-8650dd5f8614'] 2026-08-22 18:54:52,535 - WARNING - Deleting VN ctest-ext_vn-29623678 failed..Will retry 2026-08-22 18:54:54,658 - DEBUG - Response for deleting network () 2026-08-22 18:54:54,658 - INFO - Deleting VN ctest-vn-63800688 2026-08-22 18:54:54,793 - DEBUG - Response for deleting network () 2026-08-22 18:54:55,066 - DEBUG - No XMPP flaps were noticed during the test
2026-08-22 18:54:55,066 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:07]
2026-08-22 18:54:55,066 - INFO - -------------------------------------------------------------------------------- 2026-08-22 18:54:55,863 - INFO - Deleted project: ctest-TestRoutersBasic-55138313, ID : eee2bf5d-f155-4b52-bf61-bbe7a1b80fee