2026-09-04 17:11:04,669 - INFO - Domain Default found not creating
2026-09-04 17:11:04,843 - INFO - Project ctest-TestRoutersBasic-90395488 not found, creating it
2026-09-04 17:11:05,342 - INFO - Created Project:ctest-TestRoutersBasic-90395488, ID : 5c54a5d1-0ffe-4538-a937-c270e94c438a
2026-09-04 17:11:07,018 - INFO - ================================================================================
2026-09-04 17:11:07,018 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-09-04 17:11:07,018 - 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-04 17:11:07,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with
2026-09-04 17:11:07,280 - INFO - Initial checks done. Running the testcase now
2026-09-04 17:11:07,280 - INFO -
2026-09-04 17:11:08,073 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90395488
2026-09-04 17:11:08,173 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90395488
2026-09-04 17:11:08,508 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90395488', 'default']}
2026-09-04 17:11:08,819 - DEBUG - Response for create_network : {'network': {'id': '7530178e-4514-480d-91f1-819a27b4d705', 'name': 'ctest-vn-28348523', 'tenant_id': '5c54a5d10ffe4538a937c270e94c438a', 'project_id': '5c54a5d10ffe4538a937c270e94c438a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90395488', 'ctest-vn-28348523'], 'port_security_enabled': True, 'description': ''}}
2026-09-04 17:11:09,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '66f96861-25fc-4c78-bc4d-0a4b07064a09', 'name': '', 'tenant_id': '5c54a5d10ffe4538a937c270e94c438a', 'network_id': '7530178e-4514-480d-91f1-819a27b4d705', 'ip_version': 4, 'cidr': '148.8.108.64/26', 'allocation_pools': [{'start': '148.8.108.66', 'end': '148.8.108.126'}], 'gateway_ip': '148.8.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.8.108.66', 'tags': [], 'project_id': '5c54a5d10ffe4538a937c270e94c438a'}}
2026-09-04 17:11:09,049 - INFO - Created VN ctest-vn-28348523
2026-09-04 17:11:09,104 - DEBUG - VN ctest-vn-28348523 UUID is 7530178e-4514-480d-91f1-819a27b4d705
2026-09-04 17:11:09,472 - DEBUG - Response for create_network : {'network': {'id': '91d717b1-0bff-41ed-b665-a0a9e4fe0350', 'name': 'ctest-ext_vn-68653917', 'tenant_id': '5c54a5d10ffe4538a937c270e94c438a', 'project_id': '5c54a5d10ffe4538a937c270e94c438a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90395488', 'ctest-ext_vn-68653917'], 'port_security_enabled': True, 'description': ''}}
2026-09-04 17:11:09,632 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc417a94-65a8-4925-9899-5c1563d8b965', 'name': '', 'tenant_id': '5c54a5d10ffe4538a937c270e94c438a', 'network_id': '91d717b1-0bff-41ed-b665-a0a9e4fe0350', 'ip_version': 4, 'cidr': '15.18.240.64/26', 'allocation_pools': [{'start': '15.18.240.66', 'end': '15.18.240.126'}], 'gateway_ip': '15.18.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.18.240.66', 'tags': [], 'project_id': '5c54a5d10ffe4538a937c270e94c438a'}}
2026-09-04 17:11:09,648 - INFO - Created VN ctest-ext_vn-68653917
2026-09-04 17:11:09,700 - DEBUG - VN ctest-ext_vn-68653917 UUID is 91d717b1-0bff-41ed-b665-a0a9e4fe0350
2026-09-04 17:11:09,896 - DEBUG - Services list from nova: [, , ]
2026-09-04 17:11:10,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6255-1)
2026-09-04 17:11:10,606 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6255-1)
2026-09-04 17:11:10,670 - INFO - Setting gateway for router e9355ef8-ff55-4225-b0d9-e677418b70cd to network 91d717b1-0bff-41ed-b665-a0a9e4fe0350
2026-09-04 17:11:10,730 - INFO - Adding interface with subnet_id 66f96861-25fc-4c78-bc4d-0a4b07064a09, port_id None to router e9355ef8-ff55-4225-b0d9-e677418b70cd
2026-09-04 17:11:11,031 - INFO - Waiting for VM ctest-TestRoutersBasic-90395488-59769372 to be up..
2026-09-04 17:11:11,107 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-04 17:11:16,190 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-04 17:11:21,269 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-04 17:11:26,348 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-04 17:11:31,435 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-04 17:11:36,576 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-04 17:11:41,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-04 17:11:46,729 - DEBUG - VM is in ACTIVE state now
2026-09-04 17:11:46,729 - INFO - VM name : ctest-TestRoutersBasic-90395488-59769372
2026-09-04 17:11:46,811 - DEBUG - VM ctest-TestRoutersBasic-90395488-59769372 ID is 7bbbe73e-c051-4e48-b45d-c62deba1f6ac
2026-09-04 17:11:46,833 - DEBUG - VM ctest-TestRoutersBasic-90395488-59769372 launched on Node cn-jenkins-deploy-platform-ansible-os-6255-1
2026-09-04 17:11:46,910 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/7bbbe73e-c051-4e48-b45d-c62deba1f6ac
2026-09-04 17:11:47,234 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/7bbbe73e-c051-4e48-b45d-c62deba1f6ac
2026-09-04 17:11:47,263 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/8b593a2a-d46c-4371-9d6d-adc4ea63fedf
2026-09-04 17:11:50,525 - 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-04 17:11:50,526 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-90395488-59769372 failed!
2026-09-04 17:11:50,580 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90395488:ctest-vn-28348523 is 148.8.108.65 and allocation pool is NOT set
2026-09-04 17:11:52,651 - 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=9.10 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.777 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.777/4.940/9.104/4.163 ms')
2026-09-04 17:11:52,651 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-90395488-59769372 passed
2026-09-04 17:11:52,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-04 17:11:52,801 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90395488-59769372, IP 148.8.108.67, Port 22
2026-09-04 17:11:52,867 - 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-09-04 17:11:52,941 - DEBUG - VM ctest-TestRoutersBasic-90395488-59769372 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-04 17:11:57,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-04 17:11:57,942 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90395488-59769372, IP 148.8.108.67, Port 22
2026-09-04 17:11:58,100 - DEBUG - VM ctest-TestRoutersBasic-90395488-59769372 is ready for SSH connections
2026-09-04 17:11:58,100 - INFO - Waiting for VM ctest-TestRoutersBasic-90395488-80962582 to be up..
2026-09-04 17:11:58,177 - DEBUG - VM is in ACTIVE state now
2026-09-04 17:11:58,177 - INFO - VM name : ctest-TestRoutersBasic-90395488-80962582
2026-09-04 17:11:58,251 - DEBUG - VM ctest-TestRoutersBasic-90395488-80962582 ID is 8aa96edb-522a-41f8-9ff1-aadcf578398a
2026-09-04 17:11:58,251 - DEBUG - VM ctest-TestRoutersBasic-90395488-80962582 launched on Node cn-jenkins-deploy-platform-ansible-os-6255-1
2026-09-04 17:11:58,327 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/8aa96edb-522a-41f8-9ff1-aadcf578398a
2026-09-04 17:11:58,337 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/8a0aba63-6a2c-439b-9b27-9a9b2fbfeb34
2026-09-04 17:11:59,588 - 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=3.55 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.449 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.449/1.997/3.546/1.548 ms')
2026-09-04 17:11:59,588 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-90395488-80962582 passed
2026-09-04 17:11:59,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-04 17:11:59,740 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90395488-80962582, IP 15.18.240.68, Port 22
2026-09-04 17:11:59,907 - DEBUG - VM ctest-TestRoutersBasic-90395488-80962582 is ready for SSH connections
2026-09-04 17:11:59,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-04 17:11:59,907 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.18.240.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123
2026-09-04 17:11:59,907 - DEBUG - ping -s 56 -c 3 -W 1 15.18.240.68
2026-09-04 17:12:02,878 - DEBUG - PING 15.18.240.68 (15.18.240.68): 56 data bytes
64 bytes from 15.18.240.68: seq=0 ttl=62 time=7.334 ms
64 bytes from 15.18.240.68: seq=1 ttl=62 time=1.164 ms
64 bytes from 15.18.240.68: seq=2 ttl=62 time=1.080 ms
--- 15.18.240.68 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.080/3.192/7.334 ms
2026-09-04 17:12:02,879 - INFO - Ping to IP 15.18.240.68 from VM ctest-TestRoutersBasic-90395488-59769372 passed
2026-09-04 17:12:02,879 - INFO - Deleting interface with subnet_id 66f96861-25fc-4c78-bc4d-0a4b07064a09, port_id None from router e9355ef8-ff55-4225-b0d9-e677418b70cd
2026-09-04 17:12:03,088 - INFO - Deleting VM ctest-TestRoutersBasic-90395488-80962582
2026-09-04 17:12:03,163 - INFO - Deleting VM ctest-TestRoutersBasic-90395488-59769372
2026-09-04 17:12:03,236 - INFO - Deleting VN ctest-ext_vn-68653917
2026-09-04 17:12:03,294 - DEBUG - VN 91d717b1-0bff-41ed-b665-a0a9e4fe0350 still in use: Unable to complete operation on network 91d717b1-0bff-41ed-b665-a0a9e4fe0350. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-444b3228-44bf-47a9-823b-6a88fe1dc29a']
2026-09-04 17:12:03,294 - WARNING - Deleting VN ctest-ext_vn-68653917 failed..Will retry
2026-09-04 17:12:05,465 - DEBUG - Response for deleting network ()
2026-09-04 17:12:05,465 - INFO - Deleting VN ctest-vn-28348523
2026-09-04 17:12:05,615 - DEBUG - Response for deleting network ()
2026-09-04 17:12:05,875 - DEBUG - No XMPP flaps were noticed during the test
2026-09-04 17:12:05,875 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58]
2026-09-04 17:12:05,875 - INFO - --------------------------------------------------------------------------------
2026-09-04 17:12:06,638 - INFO - Deleted project: ctest-TestRoutersBasic-90395488, ID : 5c54a5d1-0ffe-4538-a937-c270e94c438a