2026-09-16 13:07:24,494 - INFO - Domain Default found not creating 2026-09-16 13:07:24,670 - INFO - Project ctest-TestRoutersBasic-46646354 not found, creating it 2026-09-16 13:07:25,159 - INFO - Created Project:ctest-TestRoutersBasic-46646354, ID : 57141215-307f-49ec-a498-c1224a7faa1f 2026-09-16 13:07:26,867 - INFO - ================================================================================ 2026-09-16 13:07:26,867 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-16 13:07:26,867 - 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-16 13:07:27,142 - DEBUG - Nothing to compare xmpp stats {'10.0.0.191': {'10.20.0.29': '0'}} with 2026-09-16 13:07:27,142 - INFO - Initial checks done. Running the testcase now 2026-09-16 13:07:27,143 - INFO - 2026-09-16 13:07:28,022 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46646354 2026-09-16 13:07:28,121 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46646354 2026-09-16 13:07:28,453 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46646354', 'default']} 2026-09-16 13:07:28,766 - DEBUG - Response for create_network : {'network': {'id': '9bb99aff-607e-4174-9510-4adab390ef57', 'name': 'ctest-vn-61495286', 'tenant_id': '57141215307f49eca498c1224a7faa1f', 'project_id': '57141215307f49eca498c1224a7faa1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46646354', 'ctest-vn-61495286'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 13:07:28,931 - DEBUG - Response for create_subnet : {'subnet': {'id': '88b6e3d0-d157-4ee4-81b6-df623b7272f2', 'name': '', 'tenant_id': '57141215307f49eca498c1224a7faa1f', 'network_id': '9bb99aff-607e-4174-9510-4adab390ef57', 'ip_version': 4, 'cidr': '219.139.247.64/26', 'allocation_pools': [{'start': '219.139.247.66', 'end': '219.139.247.126'}], 'gateway_ip': '219.139.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.139.247.66', 'tags': [], 'project_id': '57141215307f49eca498c1224a7faa1f'}} 2026-09-16 13:07:28,949 - INFO - Created VN ctest-vn-61495286 2026-09-16 13:07:29,005 - DEBUG - VN ctest-vn-61495286 UUID is 9bb99aff-607e-4174-9510-4adab390ef57 2026-09-16 13:07:29,343 - DEBUG - Response for create_network : {'network': {'id': 'f8cefa25-46b9-43f2-beba-ca887260d10b', 'name': 'ctest-ext_vn-42457290', 'tenant_id': '57141215307f49eca498c1224a7faa1f', 'project_id': '57141215307f49eca498c1224a7faa1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46646354', 'ctest-ext_vn-42457290'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 13:07:29,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '048d64be-2dd3-4d88-9275-ee8886fbd257', 'name': '', 'tenant_id': '57141215307f49eca498c1224a7faa1f', 'network_id': 'f8cefa25-46b9-43f2-beba-ca887260d10b', 'ip_version': 4, 'cidr': '13.70.239.64/26', 'allocation_pools': [{'start': '13.70.239.66', 'end': '13.70.239.126'}], 'gateway_ip': '13.70.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.70.239.66', 'tags': [], 'project_id': '57141215307f49eca498c1224a7faa1f'}} 2026-09-16 13:07:29,602 - INFO - Created VN ctest-ext_vn-42457290 2026-09-16 13:07:29,657 - DEBUG - VN ctest-ext_vn-42457290 UUID is f8cefa25-46b9-43f2-beba-ca887260d10b 2026-09-16 13:07:29,842 - DEBUG - Services list from nova: [, , ] 2026-09-16 13:07:30,237 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6291-1) 2026-09-16 13:07:30,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6291-1) 2026-09-16 13:07:30,798 - INFO - Setting gateway for router fe67461f-6923-4a30-a7f9-d8fb3c0d1b95 to network f8cefa25-46b9-43f2-beba-ca887260d10b 2026-09-16 13:07:30,861 - INFO - Adding interface with subnet_id 88b6e3d0-d157-4ee4-81b6-df623b7272f2, port_id None to router fe67461f-6923-4a30-a7f9-d8fb3c0d1b95 2026-09-16 13:07:31,253 - INFO - Waiting for VM ctest-TestRoutersBasic-46646354-22865496 to be up.. 2026-09-16 13:07:31,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:07:36,419 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:07:41,521 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:07:46,667 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:07:51,751 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:07:56,832 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:08:01,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:08:07,002 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:08:12,084 - DEBUG - VM is in ACTIVE state now 2026-09-16 13:08:12,084 - INFO - VM name : ctest-TestRoutersBasic-46646354-22865496 2026-09-16 13:08:12,168 - DEBUG - VM ctest-TestRoutersBasic-46646354-22865496 ID is b672444c-7ad7-4a44-9404-d45e4a7150c0 2026-09-16 13:08:12,193 - DEBUG - VM ctest-TestRoutersBasic-46646354-22865496 launched on Node cn-jenkins-deploy-platform-ansible-os-6291-1 2026-09-16 13:08:12,278 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/b672444c-7ad7-4a44-9404-d45e4a7150c0 2026-09-16 13:08:12,656 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/b672444c-7ad7-4a44-9404-d45e4a7150c0 2026-09-16 13:08:12,703 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/371953d4-7d98-4fce-9a6c-7b8266c91c0f 2026-09-16 13:08:16,000 - 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=2 ttl=63 time=11.3 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1025ms\r\nrtt min/avg/max/mdev = 11.315/11.315/11.315/0.000 ms') 2026-09-16 13:08:16,000 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-46646354-22865496 passed 2026-09-16 13:08:16,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:08:16,157 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46646354-22865496, IP 219.139.247.67, Port 22 2026-09-16 13:08:16,223 - 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-16 13:08:16,310 - DEBUG - VM ctest-TestRoutersBasic-46646354-22865496 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-16 13:08:21,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:08:21,310 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46646354-22865496, IP 219.139.247.67, Port 22 2026-09-16 13:08:21,465 - DEBUG - VM ctest-TestRoutersBasic-46646354-22865496 is ready for SSH connections 2026-09-16 13:08:21,465 - INFO - Waiting for VM ctest-TestRoutersBasic-46646354-18807389 to be up.. 2026-09-16 13:08:21,551 - DEBUG - VM is in ACTIVE state now 2026-09-16 13:08:21,551 - INFO - VM name : ctest-TestRoutersBasic-46646354-18807389 2026-09-16 13:08:21,637 - DEBUG - VM ctest-TestRoutersBasic-46646354-18807389 ID is a364fffd-0a01-4008-9906-87f160a0f631 2026-09-16 13:08:21,637 - DEBUG - VM ctest-TestRoutersBasic-46646354-18807389 launched on Node cn-jenkins-deploy-platform-ansible-os-6291-1 2026-09-16 13:08:21,732 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/a364fffd-0a01-4008-9906-87f160a0f631 2026-09-16 13:08:21,741 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/6f4729c8-04d4-4795-b98b-02111b7e95a2 2026-09-16 13:08:22,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=2.55 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.434 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.434/1.493/2.553/1.059 ms') 2026-09-16 13:08:22,992 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-46646354-18807389 passed 2026-09-16 13:08:23,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:08:23,149 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46646354-18807389, IP 13.70.239.68, Port 22 2026-09-16 13:08:23,319 - DEBUG - VM ctest-TestRoutersBasic-46646354-18807389 is ready for SSH connections 2026-09-16 13:08:23,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:08:23,320 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.70.239.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.191, gateway password: c0ntrail123 2026-09-16 13:08:23,320 - DEBUG - ping -s 56 -c 3 -W 1 13.70.239.68 2026-09-16 13:08:26,370 - DEBUG - PING 13.70.239.68 (13.70.239.68): 56 data bytes 64 bytes from 13.70.239.68: seq=0 ttl=62 time=5.840 ms 64 bytes from 13.70.239.68: seq=1 ttl=62 time=1.049 ms 64 bytes from 13.70.239.68: seq=2 ttl=62 time=1.129 ms --- 13.70.239.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.049/2.672/5.840 ms 2026-09-16 13:08:26,370 - INFO - Ping to IP 13.70.239.68 from VM ctest-TestRoutersBasic-46646354-22865496 passed 2026-09-16 13:08:26,370 - INFO - Deleting interface with subnet_id 88b6e3d0-d157-4ee4-81b6-df623b7272f2, port_id None from router fe67461f-6923-4a30-a7f9-d8fb3c0d1b95 2026-09-16 13:08:26,594 - INFO - Deleting VM ctest-TestRoutersBasic-46646354-18807389 2026-09-16 13:08:26,697 - INFO - Deleting VM ctest-TestRoutersBasic-46646354-22865496 2026-09-16 13:08:26,783 - INFO - Deleting VN ctest-ext_vn-42457290 2026-09-16 13:08:26,859 - DEBUG - VN f8cefa25-46b9-43f2-beba-ca887260d10b still in use: Unable to complete operation on network f8cefa25-46b9-43f2-beba-ca887260d10b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b320169a-d286-4f1c-9228-99dad99349f7'] 2026-09-16 13:08:26,859 - WARNING - Deleting VN ctest-ext_vn-42457290 failed..Will retry 2026-09-16 13:08:29,108 - DEBUG - Response for deleting network () 2026-09-16 13:08:29,109 - INFO - Deleting VN ctest-vn-61495286 2026-09-16 13:08:29,243 - DEBUG - Response for deleting network () 2026-09-16 13:08:29,518 - DEBUG - No XMPP flaps were noticed during the test
2026-09-16 13:08:29,518 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:03]
2026-09-16 13:08:29,518 - INFO - -------------------------------------------------------------------------------- 2026-09-16 13:08:30,311 - INFO - Deleted project: ctest-TestRoutersBasic-46646354, ID : 57141215-307f-49ec-a498-c1224a7faa1f