2026-09-07 13:23:05,840 - INFO - Domain Default found not creating 2026-09-07 13:23:06,027 - INFO - Project ctest-TestRoutersBasic-16003138 not found, creating it 2026-09-07 13:23:06,492 - INFO - Created Project:ctest-TestRoutersBasic-16003138, ID : df20baec-2a11-443e-bbd6-1c9968eff93b 2026-09-07 13:23:08,306 - INFO - ================================================================================ 2026-09-07 13:23:08,307 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-07 13:23:08,307 - 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-07 13:23:08,561 - DEBUG - Nothing to compare xmpp stats {'10.0.0.191': {'10.20.0.17': '0'}} with 2026-09-07 13:23:08,561 - INFO - Initial checks done. Running the testcase now 2026-09-07 13:23:08,561 - INFO - 2026-09-07 13:23:09,419 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16003138 2026-09-07 13:23:09,516 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16003138 2026-09-07 13:23:09,835 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16003138', 'default']} 2026-09-07 13:23:10,132 - DEBUG - Response for create_network : {'network': {'id': '920471df-bd6d-4bad-baaa-3f8462f64413', 'name': 'ctest-vn-85043278', 'tenant_id': 'df20baec2a11443ebbd61c9968eff93b', 'project_id': 'df20baec2a11443ebbd61c9968eff93b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16003138', 'ctest-vn-85043278'], 'port_security_enabled': True, 'description': ''}} 2026-09-07 13:23:10,273 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3db0434-258d-497c-bdbd-0ff03aa67007', 'name': '', 'tenant_id': 'df20baec2a11443ebbd61c9968eff93b', 'network_id': '920471df-bd6d-4bad-baaa-3f8462f64413', 'ip_version': 4, 'cidr': '60.185.85.128/26', 'allocation_pools': [{'start': '60.185.85.130', 'end': '60.185.85.190'}], 'gateway_ip': '60.185.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.185.85.130', 'tags': [], 'project_id': 'df20baec2a11443ebbd61c9968eff93b'}} 2026-09-07 13:23:10,288 - INFO - Created VN ctest-vn-85043278 2026-09-07 13:23:10,339 - DEBUG - VN ctest-vn-85043278 UUID is 920471df-bd6d-4bad-baaa-3f8462f64413 2026-09-07 13:23:10,690 - DEBUG - Response for create_network : {'network': {'id': '836e36e5-14fe-4fdf-a582-a061fa55d57a', 'name': 'ctest-ext_vn-51374175', 'tenant_id': 'df20baec2a11443ebbd61c9968eff93b', 'project_id': 'df20baec2a11443ebbd61c9968eff93b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16003138', 'ctest-ext_vn-51374175'], 'port_security_enabled': True, 'description': ''}} 2026-09-07 13:23:10,916 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef2cea79-6ab6-439c-9dff-73ee5065af79', 'name': '', 'tenant_id': 'df20baec2a11443ebbd61c9968eff93b', 'network_id': '836e36e5-14fe-4fdf-a582-a061fa55d57a', 'ip_version': 4, 'cidr': '126.87.210.64/26', 'allocation_pools': [{'start': '126.87.210.66', 'end': '126.87.210.126'}], 'gateway_ip': '126.87.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.87.210.66', 'tags': [], 'project_id': 'df20baec2a11443ebbd61c9968eff93b'}} 2026-09-07 13:23:10,932 - INFO - Created VN ctest-ext_vn-51374175 2026-09-07 13:23:10,983 - DEBUG - VN ctest-ext_vn-51374175 UUID is 836e36e5-14fe-4fdf-a582-a061fa55d57a 2026-09-07 13:23:11,182 - DEBUG - Services list from nova: [, , ] 2026-09-07 13:23:11,490 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6260-1) 2026-09-07 13:23:11,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6260-1) 2026-09-07 13:23:11,925 - INFO - Setting gateway for router d2f867e0-cef9-4ab8-8115-36c78ffa2a5f to network 836e36e5-14fe-4fdf-a582-a061fa55d57a 2026-09-07 13:23:11,986 - INFO - Adding interface with subnet_id f3db0434-258d-497c-bdbd-0ff03aa67007, port_id None to router d2f867e0-cef9-4ab8-8115-36c78ffa2a5f 2026-09-07 13:23:12,280 - INFO - Waiting for VM ctest-TestRoutersBasic-16003138-98877678 to be up.. 2026-09-07 13:23:12,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:23:17,420 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:23:22,497 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:23:27,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:23:32,642 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:23:37,787 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:23:42,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:23:47,954 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:23:53,033 - DEBUG - VM is in ACTIVE state now 2026-09-07 13:23:53,033 - INFO - VM name : ctest-TestRoutersBasic-16003138-98877678 2026-09-07 13:23:53,115 - DEBUG - VM ctest-TestRoutersBasic-16003138-98877678 ID is e861a3a0-72ea-4319-bea3-99e74d03d0fc 2026-09-07 13:23:53,134 - DEBUG - VM ctest-TestRoutersBasic-16003138-98877678 launched on Node cn-jenkins-deploy-platform-ansible-os-6260-1 2026-09-07 13:23:53,213 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/e861a3a0-72ea-4319-bea3-99e74d03d0fc 2026-09-07 13:23:53,580 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/e861a3a0-72ea-4319-bea3-99e74d03d0fc 2026-09-07 13:23:53,610 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/81333f3c-fe9d-4cf7-9caf-92d673fcc519 2026-09-07 13:23:54,849 - 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.19 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.490 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.490/2.841/5.193/2.351 ms') 2026-09-07 13:23:54,849 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-16003138-98877678 passed 2026-09-07 13:23:54,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 13:23:54,999 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16003138-98877678, IP 60.185.85.131, Port 22 2026-09-07 13:23:55,166 - DEBUG - VM ctest-TestRoutersBasic-16003138-98877678 is ready for SSH connections 2026-09-07 13:23:55,166 - INFO - Waiting for VM ctest-TestRoutersBasic-16003138-18970714 to be up.. 2026-09-07 13:23:55,245 - DEBUG - VM is in ACTIVE state now 2026-09-07 13:23:55,245 - INFO - VM name : ctest-TestRoutersBasic-16003138-18970714 2026-09-07 13:23:55,322 - DEBUG - VM ctest-TestRoutersBasic-16003138-18970714 ID is bce09d3d-ba27-47b8-8511-6908100a4a14 2026-09-07 13:23:55,322 - DEBUG - VM ctest-TestRoutersBasic-16003138-18970714 launched on Node cn-jenkins-deploy-platform-ansible-os-6260-1 2026-09-07 13:23:55,400 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/bce09d3d-ba27-47b8-8511-6908100a4a14 2026-09-07 13:23:55,408 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/e10150e3-aa3b-41a7-a9fc-d0b06ad9a1f4 2026-09-07 13:23:58,661 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-09-07 13:23:58,661 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-16003138-18970714 failed! 2026-09-07 13:23:58,716 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16003138:ctest-ext_vn-51374175 is 126.87.210.65 and allocation pool is NOT set 2026-09-07 13:24:00,778 - 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=10.4 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.634 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.634/5.519/10.405/4.885 ms') 2026-09-07 13:24:00,778 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-16003138-18970714 passed 2026-09-07 13:24:00,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 13:24:00,932 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16003138-18970714, IP 126.87.210.68, Port 22 2026-09-07 13:24:00,997 - 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-07 13:24:01,086 - DEBUG - VM ctest-TestRoutersBasic-16003138-18970714 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-07 13:24:06,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 13:24:06,087 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16003138-18970714, IP 126.87.210.68, Port 22 2026-09-07 13:24:06,243 - DEBUG - VM ctest-TestRoutersBasic-16003138-18970714 is ready for SSH connections 2026-09-07 13:24:06,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 13:24:06,243 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.87.210.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.191, gateway password: c0ntrail123 2026-09-07 13:24:06,243 - DEBUG - ping -s 56 -c 3 -W 1 126.87.210.68 2026-09-07 13:24:09,200 - DEBUG - PING 126.87.210.68 (126.87.210.68): 56 data bytes 64 bytes from 126.87.210.68: seq=0 ttl=62 time=7.427 ms 64 bytes from 126.87.210.68: seq=1 ttl=62 time=1.134 ms 64 bytes from 126.87.210.68: seq=2 ttl=62 time=0.970 ms --- 126.87.210.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.970/3.177/7.427 ms 2026-09-07 13:24:09,200 - INFO - Ping to IP 126.87.210.68 from VM ctest-TestRoutersBasic-16003138-98877678 passed 2026-09-07 13:24:09,200 - INFO - Deleting interface with subnet_id f3db0434-258d-497c-bdbd-0ff03aa67007, port_id None from router d2f867e0-cef9-4ab8-8115-36c78ffa2a5f 2026-09-07 13:24:09,487 - INFO - Deleting VM ctest-TestRoutersBasic-16003138-18970714 2026-09-07 13:24:09,566 - INFO - Deleting VM ctest-TestRoutersBasic-16003138-98877678 2026-09-07 13:24:09,644 - INFO - Deleting VN ctest-ext_vn-51374175 2026-09-07 13:24:09,705 - DEBUG - VN 836e36e5-14fe-4fdf-a582-a061fa55d57a still in use: Unable to complete operation on network 836e36e5-14fe-4fdf-a582-a061fa55d57a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e83fc7fb-3ceb-48ae-85c8-c2b6eaf99f60'] 2026-09-07 13:24:09,705 - WARNING - Deleting VN ctest-ext_vn-51374175 failed..Will retry 2026-09-07 13:24:11,870 - DEBUG - Response for deleting network () 2026-09-07 13:24:11,871 - INFO - Deleting VN ctest-vn-85043278 2026-09-07 13:24:12,018 - DEBUG - Response for deleting network () 2026-09-07 13:24:12,273 - DEBUG - No XMPP flaps were noticed during the test 2026-09-07 13:24:12,274 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04] 2026-09-07 13:24:12,274 - INFO - -------------------------------------------------------------------------------- 2026-09-07 13:24:13,069 - INFO - Deleted project: ctest-TestRoutersBasic-16003138, ID : df20baec-2a11-443e-bbd6-1c9968eff93b