2026-06-01 13:19:18,147 - INFO - Domain Default found not creating 2026-06-01 13:19:18,322 - INFO - Project ctest-TestRoutersBasic-41888029 not found, creating it 2026-06-01 13:19:18,804 - INFO - Created Project:ctest-TestRoutersBasic-41888029, ID : 45d5faf0-b8a7-4dc3-bea6-9614badd8961 2026-06-01 13:19:20,317 - INFO - ================================================================================ 2026-06-01 13:19:20,317 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-01 13:19:20,317 - 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-06-01 13:19:20,573 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2026-06-01 13:19:20,573 - INFO - Initial checks done. Running the testcase now 2026-06-01 13:19:20,573 - INFO - 2026-06-01 13:19:21,294 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41888029 2026-06-01 13:19:21,387 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41888029 2026-06-01 13:19:21,715 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41888029', 'default']} 2026-06-01 13:19:22,020 - DEBUG - Response for create_network : {'network': {'id': 'b3cebe9f-acb0-4d29-8650-99bb4e3c0a82', 'name': 'ctest-vn-32507112', 'tenant_id': '45d5faf0b8a74dc3bea69614badd8961', 'project_id': '45d5faf0b8a74dc3bea69614badd8961', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41888029', 'ctest-vn-32507112'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 13:19:22,189 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b20dc2c8-a2c4-4f93-8e9d-e01e489cddb1', 'name': '', 'tenant_id': '45d5faf0b8a74dc3bea69614badd8961', 'network_id': 'b3cebe9f-acb0-4d29-8650-99bb4e3c0a82', 'ip_version': 4, 'cidr': '4.146.174.128/26', 'allocation_pools': [{'start': '4.146.174.130', 'end': '4.146.174.190'}], 'gateway_ip': '4.146.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.146.174.130', 'tags': [], 'project_id': '45d5faf0b8a74dc3bea69614badd8961'}} 2026-06-01 13:19:22,209 - INFO - Created VN ctest-vn-32507112 2026-06-01 13:19:22,263 - DEBUG - VN ctest-vn-32507112 UUID is b3cebe9f-acb0-4d29-8650-99bb4e3c0a82 2026-06-01 13:19:22,595 - DEBUG - Response for create_network : {'network': {'id': '23cc3d74-f91c-4b7b-b7f7-6143a5d5b8d6', 'name': 'ctest-ext_vn-54419511', 'tenant_id': '45d5faf0b8a74dc3bea69614badd8961', 'project_id': '45d5faf0b8a74dc3bea69614badd8961', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41888029', 'ctest-ext_vn-54419511'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 13:19:22,833 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b211ac2-a8a2-49b7-bd73-94a566f65f5a', 'name': '', 'tenant_id': '45d5faf0b8a74dc3bea69614badd8961', 'network_id': '23cc3d74-f91c-4b7b-b7f7-6143a5d5b8d6', 'ip_version': 4, 'cidr': '1.28.232.128/26', 'allocation_pools': [{'start': '1.28.232.130', 'end': '1.28.232.190'}], 'gateway_ip': '1.28.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.28.232.130', 'tags': [], 'project_id': '45d5faf0b8a74dc3bea69614badd8961'}} 2026-06-01 13:19:22,853 - INFO - Created VN ctest-ext_vn-54419511 2026-06-01 13:19:22,907 - DEBUG - VN ctest-ext_vn-54419511 UUID is 23cc3d74-f91c-4b7b-b7f7-6143a5d5b8d6 2026-06-01 13:19:23,079 - DEBUG - Services list from nova: [, , ] 2026-06-01 13:19:24,117 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5867-1) 2026-06-01 13:19:25,303 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5867-1) 2026-06-01 13:19:25,375 - INFO - Setting gateway for router f83deee7-238c-4002-ae4e-439b78592fb6 to network 23cc3d74-f91c-4b7b-b7f7-6143a5d5b8d6 2026-06-01 13:19:25,444 - INFO - Adding interface with subnet_id b20dc2c8-a2c4-4f93-8e9d-e01e489cddb1, port_id None to router f83deee7-238c-4002-ae4e-439b78592fb6 2026-06-01 13:19:25,817 - INFO - Waiting for VM ctest-TestRoutersBasic-41888029-47722093 to be up.. 2026-06-01 13:19:25,961 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 13:19:31,035 - DEBUG - VM is in ACTIVE state now 2026-06-01 13:19:31,035 - INFO - VM name : ctest-TestRoutersBasic-41888029-47722093 2026-06-01 13:19:31,111 - DEBUG - VM ctest-TestRoutersBasic-41888029-47722093 ID is c7c17953-c2b6-4822-bd94-3acd1584f760 2026-06-01 13:19:31,139 - DEBUG - VM ctest-TestRoutersBasic-41888029-47722093 launched on Node cn-jenkins-deploy-platform-ansible-os-5867-1 2026-06-01 13:19:31,238 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c7c17953-c2b6-4822-bd94-3acd1584f760 2026-06-01 13:19:31,540 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c7c17953-c2b6-4822-bd94-3acd1584f760 2026-06-01 13:19:31,582 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/d2df0479-f8e5-47d1-b776-53e29e919982 2026-06-01 13:19:34,826 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-06-01 13:19:34,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41888029-47722093 failed! 2026-06-01 13:19:34,883 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41888029:ctest-vn-32507112 is 4.146.174.129 and allocation pool is NOT set 2026-06-01 13:19:36,944 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.224/2.716/4.209/1.492 ms') 2026-06-01 13:19:36,944 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41888029-47722093 passed 2026-06-01 13:19:37,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 13:19:37,095 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41888029-47722093, IP 4.146.174.131, Port 22 2026-06-01 13:19:37,164 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-01 13:19:37,245 - DEBUG - VM ctest-TestRoutersBasic-41888029-47722093 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-01 13:19:42,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 13:19:42,246 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41888029-47722093, IP 4.146.174.131, Port 22 2026-06-01 13:19:42,402 - DEBUG - VM ctest-TestRoutersBasic-41888029-47722093 is ready for SSH connections 2026-06-01 13:19:42,402 - INFO - Waiting for VM ctest-TestRoutersBasic-41888029-68777995 to be up.. 2026-06-01 13:19:42,483 - DEBUG - VM is in ACTIVE state now 2026-06-01 13:19:42,483 - INFO - VM name : ctest-TestRoutersBasic-41888029-68777995 2026-06-01 13:19:42,558 - DEBUG - VM ctest-TestRoutersBasic-41888029-68777995 ID is a192224c-823b-45e8-b50c-c21a72dc55fb 2026-06-01 13:19:42,558 - DEBUG - VM ctest-TestRoutersBasic-41888029-68777995 launched on Node cn-jenkins-deploy-platform-ansible-os-5867-1 2026-06-01 13:19:42,634 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a192224c-823b-45e8-b50c-c21a72dc55fb 2026-06-01 13:19:42,643 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/d706c9fe-e086-498c-8335-00160fc0af50 2026-06-01 13:19:43,887 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.420/1.613/2.807/1.193 ms') 2026-06-01 13:19:43,887 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-41888029-68777995 passed 2026-06-01 13:19:44,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 13:19:44,039 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41888029-68777995, IP 1.28.232.131, Port 22 2026-06-01 13:19:44,203 - DEBUG - VM ctest-TestRoutersBasic-41888029-68777995 is ready for SSH connections 2026-06-01 13:19:44,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 13:19:44,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.28.232.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-01 13:19:44,203 - DEBUG - ping -s 56 -c 3 -W 1 1.28.232.131 2026-06-01 13:19:47,905 - DEBUG - PING 1.28.232.131 (1.28.232.131): 56 data bytes 64 bytes from 1.28.232.131: seq=0 ttl=62 time=7.642 ms 64 bytes from 1.28.232.131: seq=1 ttl=62 time=1.109 ms 64 bytes from 1.28.232.131: seq=2 ttl=62 time=1.042 ms --- 1.28.232.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.042/3.264/7.642 ms 2026-06-01 13:19:47,905 - INFO - Ping to IP 1.28.232.131 from VM ctest-TestRoutersBasic-41888029-47722093 passed 2026-06-01 13:19:47,906 - INFO - Deleting interface with subnet_id b20dc2c8-a2c4-4f93-8e9d-e01e489cddb1, port_id None from router f83deee7-238c-4002-ae4e-439b78592fb6 2026-06-01 13:19:48,140 - INFO - Deleting VM ctest-TestRoutersBasic-41888029-68777995 2026-06-01 13:19:48,225 - INFO - Deleting VM ctest-TestRoutersBasic-41888029-47722093 2026-06-01 13:19:48,336 - INFO - Deleting VN ctest-ext_vn-54419511 2026-06-01 13:19:48,429 - DEBUG - VN 23cc3d74-f91c-4b7b-b7f7-6143a5d5b8d6 still in use: Unable to complete operation on network 23cc3d74-f91c-4b7b-b7f7-6143a5d5b8d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03652b9a-c00d-4fd6-bdf8-b20bf8242e72'] 2026-06-01 13:19:48,429 - WARNING - Deleting VN ctest-ext_vn-54419511 failed..Will retry 2026-06-01 13:19:50,518 - DEBUG - Response for deleting network () 2026-06-01 13:19:50,518 - INFO - Deleting VN ctest-vn-32507112 2026-06-01 13:19:50,620 - DEBUG - Response for deleting network () 2026-06-01 13:19:50,880 - DEBUG - No XMPP flaps were noticed during the test 2026-06-01 13:19:50,880 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2026-06-01 13:19:50,881 - INFO - -------------------------------------------------------------------------------- 2026-06-01 13:19:51,570 - INFO - Deleted project: ctest-TestRoutersBasic-41888029, ID : 45d5faf0-b8a7-4dc3-bea6-9614badd8961