2026-04-29 19:04:44,069 - INFO - Domain Default found not creating 2026-04-29 19:04:44,246 - INFO - Project ctest-TestRoutersBasic-90584257 not found, creating it 2026-04-29 19:04:44,758 - INFO - Created Project:ctest-TestRoutersBasic-90584257, ID : c7ad63c7-d9ef-4719-a801-9d5ff37b51b5 2026-04-29 19:04:46,285 - INFO - ================================================================================ 2026-04-29 19:04:46,285 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-29 19:04:46,286 - 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-04-29 19:04:46,541 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-04-29 19:04:46,541 - INFO - Initial checks done. Running the testcase now 2026-04-29 19:04:46,542 - INFO - 2026-04-29 19:04:47,264 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90584257 2026-04-29 19:04:47,363 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90584257 2026-04-29 19:04:47,687 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90584257', 'default']} 2026-04-29 19:04:47,980 - DEBUG - Response for create_network : {'network': {'id': 'd1283128-4c83-43b0-8e8f-0655b993da11', 'name': 'ctest-vn-10425679', 'tenant_id': 'c7ad63c7d9ef4719a8019d5ff37b51b5', 'project_id': 'c7ad63c7d9ef4719a8019d5ff37b51b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90584257', 'ctest-vn-10425679'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:04:48,161 - DEBUG - Response for create_subnet : {'subnet': {'id': '32ac470e-07a0-4db4-b39a-f1ef03e8c8ca', 'name': '', 'tenant_id': 'c7ad63c7d9ef4719a8019d5ff37b51b5', 'network_id': 'd1283128-4c83-43b0-8e8f-0655b993da11', 'ip_version': 4, 'cidr': '190.67.204.192/26', 'allocation_pools': [{'start': '190.67.204.194', 'end': '190.67.204.254'}], 'gateway_ip': '190.67.204.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.67.204.194', 'tags': [], 'project_id': 'c7ad63c7d9ef4719a8019d5ff37b51b5'}} 2026-04-29 19:04:48,179 - INFO - Created VN ctest-vn-10425679 2026-04-29 19:04:48,231 - DEBUG - VN ctest-vn-10425679 UUID is d1283128-4c83-43b0-8e8f-0655b993da11 2026-04-29 19:04:48,533 - DEBUG - Response for create_network : {'network': {'id': '95ab3ebc-ef6f-404d-8d04-1befc3577ef4', 'name': 'ctest-ext_vn-03884081', 'tenant_id': 'c7ad63c7d9ef4719a8019d5ff37b51b5', 'project_id': 'c7ad63c7d9ef4719a8019d5ff37b51b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90584257', 'ctest-ext_vn-03884081'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:04:48,739 - DEBUG - Response for create_subnet : {'subnet': {'id': '25860250-06a5-4b0c-96e2-8dfdfda9f39f', 'name': '', 'tenant_id': 'c7ad63c7d9ef4719a8019d5ff37b51b5', 'network_id': '95ab3ebc-ef6f-404d-8d04-1befc3577ef4', 'ip_version': 4, 'cidr': '32.125.198.64/26', 'allocation_pools': [{'start': '32.125.198.66', 'end': '32.125.198.126'}], 'gateway_ip': '32.125.198.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.125.198.66', 'tags': [], 'project_id': 'c7ad63c7d9ef4719a8019d5ff37b51b5'}} 2026-04-29 19:04:48,756 - INFO - Created VN ctest-ext_vn-03884081 2026-04-29 19:04:48,807 - DEBUG - VN ctest-ext_vn-03884081 UUID is 95ab3ebc-ef6f-404d-8d04-1befc3577ef4 2026-04-29 19:04:48,967 - DEBUG - Services list from nova: [, , ] 2026-04-29 19:04:49,992 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5713-1) 2026-04-29 19:04:51,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5713-1) 2026-04-29 19:04:51,248 - INFO - Setting gateway for router 88e34dc9-6acd-4c92-bc6f-0e4ccac8e2d7 to network 95ab3ebc-ef6f-404d-8d04-1befc3577ef4 2026-04-29 19:04:51,334 - INFO - Adding interface with subnet_id 32ac470e-07a0-4db4-b39a-f1ef03e8c8ca, port_id None to router 88e34dc9-6acd-4c92-bc6f-0e4ccac8e2d7 2026-04-29 19:04:51,649 - INFO - Waiting for VM ctest-TestRoutersBasic-90584257-15734516 to be up.. 2026-04-29 19:04:51,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 19:04:56,828 - DEBUG - VM is in ACTIVE state now 2026-04-29 19:04:56,829 - INFO - VM name : ctest-TestRoutersBasic-90584257-15734516 2026-04-29 19:04:56,918 - DEBUG - VM ctest-TestRoutersBasic-90584257-15734516 ID is 091f0226-e227-43fc-b1ff-b9475b3d912f 2026-04-29 19:04:56,941 - DEBUG - VM ctest-TestRoutersBasic-90584257-15734516 launched on Node cn-jenkins-deploy-platform-ansible-os-5713-1 2026-04-29 19:04:57,019 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/091f0226-e227-43fc-b1ff-b9475b3d912f 2026-04-29 19:04:57,313 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/091f0226-e227-43fc-b1ff-b9475b3d912f 2026-04-29 19:04:57,347 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/0193297f-bbf5-41fe-820a-de5698f1f4fd 2026-04-29 19:05:00,623 - 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 1026ms') 2026-04-29 19:05:00,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90584257-15734516 failed! 2026-04-29 19:05:00,679 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90584257:ctest-vn-10425679 is 190.67.204.193 and allocation pool is NOT set 2026-04-29 19:05:02,747 - 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=5.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.89 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.892/3.728/5.564/1.836 ms') 2026-04-29 19:05:02,747 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90584257-15734516 passed 2026-04-29 19:05:02,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:05:02,895 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90584257-15734516, IP 190.67.204.195, Port 22 2026-04-29 19:05:02,961 - 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-04-29 19:05:03,040 - DEBUG - VM ctest-TestRoutersBasic-90584257-15734516 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-29 19:05:08,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:05:08,041 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90584257-15734516, IP 190.67.204.195, Port 22 2026-04-29 19:05:08,198 - DEBUG - VM ctest-TestRoutersBasic-90584257-15734516 is ready for SSH connections 2026-04-29 19:05:08,198 - INFO - Waiting for VM ctest-TestRoutersBasic-90584257-08115587 to be up.. 2026-04-29 19:05:08,281 - DEBUG - VM is in ACTIVE state now 2026-04-29 19:05:08,282 - INFO - VM name : ctest-TestRoutersBasic-90584257-08115587 2026-04-29 19:05:08,364 - DEBUG - VM ctest-TestRoutersBasic-90584257-08115587 ID is 8abab1c6-6c49-4c13-b431-4b855a83a8ba 2026-04-29 19:05:08,365 - DEBUG - VM ctest-TestRoutersBasic-90584257-08115587 launched on Node cn-jenkins-deploy-platform-ansible-os-5713-1 2026-04-29 19:05:08,441 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8abab1c6-6c49-4c13-b431-4b855a83a8ba 2026-04-29 19:05:08,450 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7e37aaff-bf1b-4af0-a223-9769c03445e1 2026-04-29 19:05:09,680 - 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=3.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.442/1.785/3.128/1.343 ms') 2026-04-29 19:05:09,680 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90584257-08115587 passed 2026-04-29 19:05:09,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:05:09,827 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90584257-08115587, IP 32.125.198.67, Port 22 2026-04-29 19:05:09,982 - DEBUG - VM ctest-TestRoutersBasic-90584257-08115587 is ready for SSH connections 2026-04-29 19:05:09,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:05:09,983 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.125.198.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-29 19:05:09,983 - DEBUG - ping -s 56 -c 3 -W 1 32.125.198.67 2026-04-29 19:05:13,723 - DEBUG - PING 32.125.198.67 (32.125.198.67): 56 data bytes 64 bytes from 32.125.198.67: seq=0 ttl=62 time=8.010 ms 64 bytes from 32.125.198.67: seq=1 ttl=62 time=0.957 ms 64 bytes from 32.125.198.67: seq=2 ttl=62 time=0.868 ms --- 32.125.198.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.868/3.278/8.010 ms 2026-04-29 19:05:13,723 - INFO - Ping to IP 32.125.198.67 from VM ctest-TestRoutersBasic-90584257-15734516 passed 2026-04-29 19:05:13,723 - INFO - Deleting interface with subnet_id 32ac470e-07a0-4db4-b39a-f1ef03e8c8ca, port_id None from router 88e34dc9-6acd-4c92-bc6f-0e4ccac8e2d7 2026-04-29 19:05:13,897 - INFO - Deleting VM ctest-TestRoutersBasic-90584257-08115587 2026-04-29 19:05:13,986 - INFO - Deleting VM ctest-TestRoutersBasic-90584257-15734516 2026-04-29 19:05:14,083 - INFO - Deleting VN ctest-ext_vn-03884081 2026-04-29 19:05:14,157 - DEBUG - VN 95ab3ebc-ef6f-404d-8d04-1befc3577ef4 still in use: Unable to complete operation on network 95ab3ebc-ef6f-404d-8d04-1befc3577ef4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81fc0e98-927c-4bc2-9a07-9a60365d465a'] 2026-04-29 19:05:14,157 - WARNING - Deleting VN ctest-ext_vn-03884081 failed..Will retry 2026-04-29 19:05:16,268 - DEBUG - Response for deleting network () 2026-04-29 19:05:16,268 - INFO - Deleting VN ctest-vn-10425679 2026-04-29 19:05:16,368 - DEBUG - Response for deleting network () 2026-04-29 19:05:16,620 - DEBUG - No XMPP flaps were noticed during the test 2026-04-29 19:05:16,620 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2026-04-29 19:05:16,621 - INFO - -------------------------------------------------------------------------------- 2026-04-29 19:05:17,339 - INFO - Deleted project: ctest-TestRoutersBasic-90584257, ID : c7ad63c7-d9ef-4719-a801-9d5ff37b51b5