2026-09-01 14:49:15,390 - INFO - Domain Default found not creating 2026-09-01 14:49:15,567 - INFO - Project ctest-TestRoutersBasic-31512425 not found, creating it 2026-09-01 14:49:16,068 - INFO - Created Project:ctest-TestRoutersBasic-31512425, ID : 6f3c1dd7-c2c6-4130-95e5-7c2a8ecc5db4 2026-09-01 14:49:17,895 - INFO - ================================================================================ 2026-09-01 14:49:17,895 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-01 14:49:17,895 - 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-01 14:49:18,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-09-01 14:49:18,179 - INFO - Initial checks done. Running the testcase now 2026-09-01 14:49:18,179 - INFO - 2026-09-01 14:49:19,054 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31512425 2026-09-01 14:49:19,155 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31512425 2026-09-01 14:49:19,483 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31512425', 'default']} 2026-09-01 14:49:19,831 - DEBUG - Response for create_network : {'network': {'id': 'fe93d696-343e-4bff-b0c2-40b62429f9c6', 'name': 'ctest-vn-42374286', 'tenant_id': '6f3c1dd7c2c6413095e57c2a8ecc5db4', 'project_id': '6f3c1dd7c2c6413095e57c2a8ecc5db4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31512425', 'ctest-vn-42374286'], 'port_security_enabled': True, 'description': ''}} 2026-09-01 14:49:20,047 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aab91007-12df-42ce-8f6d-10b31a59011a', 'name': '', 'tenant_id': '6f3c1dd7c2c6413095e57c2a8ecc5db4', 'network_id': 'fe93d696-343e-4bff-b0c2-40b62429f9c6', 'ip_version': 4, 'cidr': '208.76.8.64/26', 'allocation_pools': [{'start': '208.76.8.66', 'end': '208.76.8.126'}], 'gateway_ip': '208.76.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.76.8.66', 'tags': [], 'project_id': '6f3c1dd7c2c6413095e57c2a8ecc5db4'}} 2026-09-01 14:49:20,068 - INFO - Created VN ctest-vn-42374286 2026-09-01 14:49:20,123 - DEBUG - VN ctest-vn-42374286 UUID is fe93d696-343e-4bff-b0c2-40b62429f9c6 2026-09-01 14:49:20,496 - DEBUG - Response for create_network : {'network': {'id': '36ceb4a8-d484-475f-ab10-a218217078bf', 'name': 'ctest-ext_vn-63588812', 'tenant_id': '6f3c1dd7c2c6413095e57c2a8ecc5db4', 'project_id': '6f3c1dd7c2c6413095e57c2a8ecc5db4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31512425', 'ctest-ext_vn-63588812'], 'port_security_enabled': True, 'description': ''}} 2026-09-01 14:49:20,718 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb084497-ea1c-4621-9360-ec17faedc04d', 'name': '', 'tenant_id': '6f3c1dd7c2c6413095e57c2a8ecc5db4', 'network_id': '36ceb4a8-d484-475f-ab10-a218217078bf', 'ip_version': 4, 'cidr': '179.97.179.128/26', 'allocation_pools': [{'start': '179.97.179.130', 'end': '179.97.179.190'}], 'gateway_ip': '179.97.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.97.179.130', 'tags': [], 'project_id': '6f3c1dd7c2c6413095e57c2a8ecc5db4'}} 2026-09-01 14:49:20,739 - INFO - Created VN ctest-ext_vn-63588812 2026-09-01 14:49:20,795 - DEBUG - VN ctest-ext_vn-63588812 UUID is 36ceb4a8-d484-475f-ab10-a218217078bf 2026-09-01 14:49:20,980 - DEBUG - Services list from nova: [, , ] 2026-09-01 14:49:21,368 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6240-1) 2026-09-01 14:49:21,815 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6240-1) 2026-09-01 14:49:21,913 - INFO - Setting gateway for router 6b11be86-1cb7-4a39-a334-5b82750aa5c9 to network 36ceb4a8-d484-475f-ab10-a218217078bf 2026-09-01 14:49:21,974 - INFO - Adding interface with subnet_id aab91007-12df-42ce-8f6d-10b31a59011a, port_id None to router 6b11be86-1cb7-4a39-a334-5b82750aa5c9 2026-09-01 14:49:22,286 - INFO - Waiting for VM ctest-TestRoutersBasic-31512425-73456711 to be up.. 2026-09-01 14:49:22,355 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:49:27,446 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:49:32,539 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:49:37,719 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:49:42,800 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:49:47,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:49:52,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:49:58,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:50:03,170 - DEBUG - VM is in ACTIVE state now 2026-09-01 14:50:03,170 - INFO - VM name : ctest-TestRoutersBasic-31512425-73456711 2026-09-01 14:50:03,254 - DEBUG - VM ctest-TestRoutersBasic-31512425-73456711 ID is 28a0a7da-ceab-4c21-880b-824858279146 2026-09-01 14:50:03,279 - DEBUG - VM ctest-TestRoutersBasic-31512425-73456711 launched on Node cn-jenkins-deploy-platform-ansible-os-6240-1 2026-09-01 14:50:03,376 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/28a0a7da-ceab-4c21-880b-824858279146 2026-09-01 14:50:03,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/28a0a7da-ceab-4c21-880b-824858279146 2026-09-01 14:50:03,795 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e879433d-2626-4b4d-bc99-e07c56be3083 2026-09-01 14:50:07,069 - 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 1012ms') 2026-09-01 14:50:07,069 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-31512425-73456711 failed! 2026-09-01 14:50:07,128 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31512425:ctest-vn-42374286 is 208.76.8.65 and allocation pool is NOT set 2026-09-01 14:50:09,197 - 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.33 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.53 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 = 1.527/3.427/5.327/1.900 ms') 2026-09-01 14:50:09,197 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-31512425-73456711 passed 2026-09-01 14:50:09,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 14:50:09,352 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31512425-73456711, IP 208.76.8.67, Port 22 2026-09-01 14:50:09,418 - 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-01 14:50:09,511 - DEBUG - VM ctest-TestRoutersBasic-31512425-73456711 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-01 14:50:14,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 14:50:14,512 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31512425-73456711, IP 208.76.8.67, Port 22 2026-09-01 14:50:14,686 - DEBUG - VM ctest-TestRoutersBasic-31512425-73456711 is ready for SSH connections 2026-09-01 14:50:14,686 - INFO - Waiting for VM ctest-TestRoutersBasic-31512425-24651198 to be up.. 2026-09-01 14:50:14,774 - DEBUG - VM is in ACTIVE state now 2026-09-01 14:50:14,774 - INFO - VM name : ctest-TestRoutersBasic-31512425-24651198 2026-09-01 14:50:14,857 - DEBUG - VM ctest-TestRoutersBasic-31512425-24651198 ID is 0378be40-62b7-4576-917f-7789532e95db 2026-09-01 14:50:14,857 - DEBUG - VM ctest-TestRoutersBasic-31512425-24651198 launched on Node cn-jenkins-deploy-platform-ansible-os-6240-1 2026-09-01 14:50:14,947 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0378be40-62b7-4576-917f-7789532e95db 2026-09-01 14:50:14,957 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dbaef120-4703-471b-a463-6ed137bcce7d 2026-09-01 14:50:16,201 - 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.65 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.582 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 = 0.582/2.116/3.651/1.534 ms') 2026-09-01 14:50:16,201 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-31512425-24651198 passed 2026-09-01 14:50:16,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 14:50:16,356 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31512425-24651198, IP 179.97.179.132, Port 22 2026-09-01 14:50:16,526 - DEBUG - VM ctest-TestRoutersBasic-31512425-24651198 is ready for SSH connections 2026-09-01 14:50:16,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 14:50:16,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.97.179.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-01 14:50:16,526 - DEBUG - ping -s 56 -c 3 -W 1 179.97.179.132 2026-09-01 14:50:19,699 - DEBUG - PING 179.97.179.132 (179.97.179.132): 56 data bytes 64 bytes from 179.97.179.132: seq=0 ttl=62 time=6.357 ms 64 bytes from 179.97.179.132: seq=1 ttl=62 time=1.328 ms 64 bytes from 179.97.179.132: seq=2 ttl=62 time=1.861 ms --- 179.97.179.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.328/3.182/6.357 ms 2026-09-01 14:50:19,699 - INFO - Ping to IP 179.97.179.132 from VM ctest-TestRoutersBasic-31512425-73456711 passed 2026-09-01 14:50:19,700 - INFO - Deleting interface with subnet_id aab91007-12df-42ce-8f6d-10b31a59011a, port_id None from router 6b11be86-1cb7-4a39-a334-5b82750aa5c9 2026-09-01 14:50:20,055 - INFO - Deleting VM ctest-TestRoutersBasic-31512425-24651198 2026-09-01 14:50:20,140 - INFO - Deleting VM ctest-TestRoutersBasic-31512425-73456711 2026-09-01 14:50:20,229 - INFO - Deleting VN ctest-ext_vn-63588812 2026-09-01 14:50:20,313 - DEBUG - VN 36ceb4a8-d484-475f-ab10-a218217078bf still in use: Unable to complete operation on network 36ceb4a8-d484-475f-ab10-a218217078bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fac65ae2-3936-4b11-b186-37079b70983d'] 2026-09-01 14:50:20,314 - WARNING - Deleting VN ctest-ext_vn-63588812 failed..Will retry 2026-09-01 14:50:22,528 - DEBUG - Response for deleting network () 2026-09-01 14:50:22,528 - INFO - Deleting VN ctest-vn-42374286 2026-09-01 14:50:22,658 - DEBUG - Response for deleting network () 2026-09-01 14:50:22,928 - DEBUG - No XMPP flaps were noticed during the test 2026-09-01 14:50:22,928 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05] 2026-09-01 14:50:22,928 - INFO - -------------------------------------------------------------------------------- 2026-09-01 14:50:23,754 - INFO - Deleted project: ctest-TestRoutersBasic-31512425, ID : 6f3c1dd7-c2c6-4130-95e5-7c2a8ecc5db4