2026-09-09 04:28:50,431 - INFO - Domain Default found not creating 2026-09-09 04:28:50,646 - INFO - Project ctest-TestRoutersBasic-17130023 not found, creating it 2026-09-09 04:28:51,223 - INFO - Created Project:ctest-TestRoutersBasic-17130023, ID : 10ce3649-6803-42c6-a92c-ca1a6a16ffdb 2026-09-09 04:28:53,150 - INFO - ================================================================================ 2026-09-09 04:28:53,151 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-09 04:28:53,151 - 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-09 04:28:53,427 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-09-09 04:28:53,427 - INFO - Initial checks done. Running the testcase now 2026-09-09 04:28:53,428 - INFO - 2026-09-09 04:28:54,297 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17130023 2026-09-09 04:28:54,398 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17130023 2026-09-09 04:28:54,737 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17130023', 'default']} 2026-09-09 04:28:55,057 - DEBUG - Response for create_network : {'network': {'id': 'dbe5a6a6-adc9-44ca-bfbf-eb395dc5dc35', 'name': 'ctest-vn-27619163', 'tenant_id': '10ce3649680342c6a92cca1a6a16ffdb', 'project_id': '10ce3649680342c6a92cca1a6a16ffdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17130023', 'ctest-vn-27619163'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 04:28:55,271 - DEBUG - Response for create_subnet : {'subnet': {'id': '00927b2b-8afe-490b-a18e-cf676c84af7f', 'name': '', 'tenant_id': '10ce3649680342c6a92cca1a6a16ffdb', 'network_id': 'dbe5a6a6-adc9-44ca-bfbf-eb395dc5dc35', 'ip_version': 4, 'cidr': '26.158.77.128/26', 'allocation_pools': [{'start': '26.158.77.130', 'end': '26.158.77.190'}], 'gateway_ip': '26.158.77.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.158.77.130', 'tags': [], 'project_id': '10ce3649680342c6a92cca1a6a16ffdb'}} 2026-09-09 04:28:55,290 - INFO - Created VN ctest-vn-27619163 2026-09-09 04:28:55,346 - DEBUG - VN ctest-vn-27619163 UUID is dbe5a6a6-adc9-44ca-bfbf-eb395dc5dc35 2026-09-09 04:28:55,701 - DEBUG - Response for create_network : {'network': {'id': 'd43005cd-c574-4157-af37-bb912cb9256d', 'name': 'ctest-ext_vn-71415611', 'tenant_id': '10ce3649680342c6a92cca1a6a16ffdb', 'project_id': '10ce3649680342c6a92cca1a6a16ffdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17130023', 'ctest-ext_vn-71415611'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 04:28:55,913 - DEBUG - Response for create_subnet : {'subnet': {'id': '05ebfbdf-da93-481a-87f2-cd15b631c9b6', 'name': '', 'tenant_id': '10ce3649680342c6a92cca1a6a16ffdb', 'network_id': 'd43005cd-c574-4157-af37-bb912cb9256d', 'ip_version': 4, 'cidr': '116.111.9.0/26', 'allocation_pools': [{'start': '116.111.9.2', 'end': '116.111.9.62'}], 'gateway_ip': '116.111.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.111.9.2', 'tags': [], 'project_id': '10ce3649680342c6a92cca1a6a16ffdb'}} 2026-09-09 04:28:55,934 - INFO - Created VN ctest-ext_vn-71415611 2026-09-09 04:28:55,989 - DEBUG - VN ctest-ext_vn-71415611 UUID is d43005cd-c574-4157-af37-bb912cb9256d 2026-09-09 04:28:56,183 - DEBUG - Services list from nova: [, , ] 2026-09-09 04:28:56,560 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6264-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6264-1) 2026-09-09 04:28:56,969 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6264-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6264-1) 2026-09-09 04:28:57,045 - INFO - Setting gateway for router f328b826-ba2e-41a4-bfa7-62c4f48f2b40 to network d43005cd-c574-4157-af37-bb912cb9256d 2026-09-09 04:28:57,102 - INFO - Adding interface with subnet_id 00927b2b-8afe-490b-a18e-cf676c84af7f, port_id None to router f328b826-ba2e-41a4-bfa7-62c4f48f2b40 2026-09-09 04:28:57,372 - INFO - Waiting for VM ctest-TestRoutersBasic-17130023-66323914 to be up.. 2026-09-09 04:28:57,573 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:29:02,671 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:29:07,769 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:29:12,856 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:29:17,946 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:29:23,032 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:29:28,126 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:29:33,211 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 04:29:38,314 - DEBUG - VM is in ACTIVE state now 2026-09-09 04:29:38,314 - INFO - VM name : ctest-TestRoutersBasic-17130023-66323914 2026-09-09 04:29:38,414 - DEBUG - VM ctest-TestRoutersBasic-17130023-66323914 ID is 0b03409a-c1b2-4f65-9a2d-de9cd4af070f 2026-09-09 04:29:38,442 - DEBUG - VM ctest-TestRoutersBasic-17130023-66323914 launched on Node cn-jenkins-deploy-platform-ansible-os-6264-1 2026-09-09 04:29:38,538 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0b03409a-c1b2-4f65-9a2d-de9cd4af070f 2026-09-09 04:29:38,921 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0b03409a-c1b2-4f65-9a2d-de9cd4af070f 2026-09-09 04:29:38,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3951747c-9f2c-471d-a34d-8b0467509cf9 2026-09-09 04:29:42,252 - 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 1033ms') 2026-09-09 04:29:42,252 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-17130023-66323914 failed! 2026-09-09 04:29:42,314 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17130023:ctest-vn-27619163 is 26.158.77.129 and allocation pool is NOT set 2026-09-09 04:29:44,381 - 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=5.45 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.609 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.609/3.029/5.449/2.420 ms') 2026-09-09 04:29:44,381 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-17130023-66323914 passed 2026-09-09 04:29:44,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 04:29:44,538 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17130023-66323914, IP 26.158.77.131, Port 22 2026-09-09 04:29:44,708 - DEBUG - VM ctest-TestRoutersBasic-17130023-66323914 is ready for SSH connections 2026-09-09 04:29:44,708 - INFO - Waiting for VM ctest-TestRoutersBasic-17130023-62335033 to be up.. 2026-09-09 04:29:44,796 - DEBUG - VM is in ACTIVE state now 2026-09-09 04:29:44,796 - INFO - VM name : ctest-TestRoutersBasic-17130023-62335033 2026-09-09 04:29:44,885 - DEBUG - VM ctest-TestRoutersBasic-17130023-62335033 ID is 2b220143-79ed-4a1c-9b56-a676cc15a3ca 2026-09-09 04:29:44,885 - DEBUG - VM ctest-TestRoutersBasic-17130023-62335033 launched on Node cn-jenkins-deploy-platform-ansible-os-6264-1 2026-09-09 04:29:44,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2b220143-79ed-4a1c-9b56-a676cc15a3ca 2026-09-09 04:29:44,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c339379f-8963-45f4-b346-47c18eda52cf 2026-09-09 04:29:46,238 - 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.37 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.05 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 = 2.046/4.206/6.366/2.160 ms') 2026-09-09 04:29:46,238 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-17130023-62335033 passed 2026-09-09 04:29:46,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 04:29:46,394 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17130023-62335033, IP 116.111.9.4, Port 22 2026-09-09 04:29:46,460 - 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-09 04:29:46,547 - DEBUG - VM ctest-TestRoutersBasic-17130023-62335033 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-09 04:29:51,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 04:29:51,548 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17130023-62335033, IP 116.111.9.4, Port 22 2026-09-09 04:29:51,727 - DEBUG - VM ctest-TestRoutersBasic-17130023-62335033 is ready for SSH connections 2026-09-09 04:29:51,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 04:29:51,728 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.111.9.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-09 04:29:51,728 - DEBUG - ping -s 56 -c 3 -W 1 116.111.9.4 2026-09-09 04:29:54,754 - DEBUG - PING 116.111.9.4 (116.111.9.4): 56 data bytes 64 bytes from 116.111.9.4: seq=0 ttl=62 time=6.642 ms 64 bytes from 116.111.9.4: seq=1 ttl=62 time=1.587 ms 64 bytes from 116.111.9.4: seq=2 ttl=62 time=1.834 ms --- 116.111.9.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.587/3.354/6.642 ms 2026-09-09 04:29:54,754 - INFO - Ping to IP 116.111.9.4 from VM ctest-TestRoutersBasic-17130023-66323914 passed 2026-09-09 04:29:54,754 - INFO - Deleting interface with subnet_id 00927b2b-8afe-490b-a18e-cf676c84af7f, port_id None from router f328b826-ba2e-41a4-bfa7-62c4f48f2b40 2026-09-09 04:29:55,090 - INFO - Deleting VM ctest-TestRoutersBasic-17130023-62335033 2026-09-09 04:29:55,186 - INFO - Deleting VM ctest-TestRoutersBasic-17130023-66323914 2026-09-09 04:29:55,275 - INFO - Deleting VN ctest-ext_vn-71415611 2026-09-09 04:29:55,368 - DEBUG - VN d43005cd-c574-4157-af37-bb912cb9256d still in use: Unable to complete operation on network d43005cd-c574-4157-af37-bb912cb9256d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-04638f23-d761-42a6-a359-8294acf68db3'] 2026-09-09 04:29:55,368 - WARNING - Deleting VN ctest-ext_vn-71415611 failed..Will retry 2026-09-09 04:29:57,539 - DEBUG - Response for deleting network () 2026-09-09 04:29:57,540 - INFO - Deleting VN ctest-vn-27619163 2026-09-09 04:29:57,656 - DEBUG - Response for deleting network () 2026-09-09 04:29:57,930 - DEBUG - No XMPP flaps were noticed during the test
2026-09-09 04:29:57,930 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04]
2026-09-09 04:29:57,930 - INFO - -------------------------------------------------------------------------------- 2026-09-09 04:29:58,705 - INFO - Deleted project: ctest-TestRoutersBasic-17130023, ID : 10ce3649-6803-42c6-a92c-ca1a6a16ffdb