2026-09-22 13:03:19,566 - INFO - Domain Default found not creating 2026-09-22 13:03:19,774 - INFO - Project ctest-TestRoutersBasic-51288331 not found, creating it 2026-09-22 13:03:20,375 - INFO - Created Project:ctest-TestRoutersBasic-51288331, ID : 3e880d1b-d9cd-498e-8240-b949a9445916 2026-09-22 13:03:22,294 - INFO - ================================================================================ 2026-09-22 13:03:22,294 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-22 13:03:22,294 - 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-22 13:03:22,574 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-09-22 13:03:22,575 - INFO - Initial checks done. Running the testcase now 2026-09-22 13:03:22,575 - INFO - 2026-09-22 13:03:23,472 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51288331 2026-09-22 13:03:23,575 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51288331 2026-09-22 13:03:23,915 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51288331', 'default']} 2026-09-22 13:03:24,287 - DEBUG - Response for create_network : {'network': {'id': '9adb230c-bc84-4cc0-b705-13dfe033eea7', 'name': 'ctest-vn-44767321', 'tenant_id': '3e880d1bd9cd498e8240b949a9445916', 'project_id': '3e880d1bd9cd498e8240b949a9445916', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51288331', 'ctest-vn-44767321'], 'port_security_enabled': True, 'description': ''}} 2026-09-22 13:03:24,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fbe9975-1f03-40aa-b14f-9dae299665f0', 'name': '', 'tenant_id': '3e880d1bd9cd498e8240b949a9445916', 'network_id': '9adb230c-bc84-4cc0-b705-13dfe033eea7', 'ip_version': 4, 'cidr': '217.19.55.0/26', 'allocation_pools': [{'start': '217.19.55.2', 'end': '217.19.55.62'}], 'gateway_ip': '217.19.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.19.55.2', 'tags': [], 'project_id': '3e880d1bd9cd498e8240b949a9445916'}} 2026-09-22 13:03:24,502 - INFO - Created VN ctest-vn-44767321 2026-09-22 13:03:24,560 - DEBUG - VN ctest-vn-44767321 UUID is 9adb230c-bc84-4cc0-b705-13dfe033eea7 2026-09-22 13:03:24,962 - DEBUG - Response for create_network : {'network': {'id': 'f339ffbd-30f6-4255-acfa-c6c492dd0d50', 'name': 'ctest-ext_vn-84006749', 'tenant_id': '3e880d1bd9cd498e8240b949a9445916', 'project_id': '3e880d1bd9cd498e8240b949a9445916', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51288331', 'ctest-ext_vn-84006749'], 'port_security_enabled': True, 'description': ''}} 2026-09-22 13:03:25,202 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b859096-55ea-4798-9c8f-73aca553f27a', 'name': '', 'tenant_id': '3e880d1bd9cd498e8240b949a9445916', 'network_id': 'f339ffbd-30f6-4255-acfa-c6c492dd0d50', 'ip_version': 4, 'cidr': '71.36.75.128/26', 'allocation_pools': [{'start': '71.36.75.130', 'end': '71.36.75.190'}], 'gateway_ip': '71.36.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.36.75.130', 'tags': [], 'project_id': '3e880d1bd9cd498e8240b949a9445916'}} 2026-09-22 13:03:25,231 - INFO - Created VN ctest-ext_vn-84006749 2026-09-22 13:03:25,287 - DEBUG - VN ctest-ext_vn-84006749 UUID is f339ffbd-30f6-4255-acfa-c6c492dd0d50 2026-09-22 13:03:25,495 - DEBUG - Services list from nova: [, , ] 2026-09-22 13:03:26,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6318-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6318-1) 2026-09-22 13:03:26,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6318-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6318-1) 2026-09-22 13:03:26,794 - INFO - Setting gateway for router bea35c97-1549-4ec6-a897-5245362ef74e to network f339ffbd-30f6-4255-acfa-c6c492dd0d50 2026-09-22 13:03:26,882 - INFO - Adding interface with subnet_id 3fbe9975-1f03-40aa-b14f-9dae299665f0, port_id None to router bea35c97-1549-4ec6-a897-5245362ef74e 2026-09-22 13:03:27,306 - INFO - Waiting for VM ctest-TestRoutersBasic-51288331-37232508 to be up.. 2026-09-22 13:03:27,394 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:03:32,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:03:37,597 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:03:42,700 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:03:47,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:03:52,898 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:03:58,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:04:03,119 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:04:08,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 13:04:13,338 - DEBUG - VM is in ACTIVE state now 2026-09-22 13:04:13,338 - INFO - VM name : ctest-TestRoutersBasic-51288331-37232508 2026-09-22 13:04:13,429 - DEBUG - VM ctest-TestRoutersBasic-51288331-37232508 ID is 2ccf8e7b-7033-49e4-9e19-3c6bb511a32b 2026-09-22 13:04:13,454 - DEBUG - VM ctest-TestRoutersBasic-51288331-37232508 launched on Node cn-jenkins-deploy-platform-ansible-os-6318-1 2026-09-22 13:04:13,551 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/2ccf8e7b-7033-49e4-9e19-3c6bb511a32b 2026-09-22 13:04:13,934 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/2ccf8e7b-7033-49e4-9e19-3c6bb511a32b 2026-09-22 13:04:13,979 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/babbf2af-7df1-4d5e-ade3-f7f6a8c7a198 2026-09-22 13:04:17,269 - 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=4.76 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1029ms\r\nrtt min/avg/max/mdev = 4.759/4.759/4.759/0.000 ms') 2026-09-22 13:04:17,269 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-51288331-37232508 passed 2026-09-22 13:04:17,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 13:04:17,428 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51288331-37232508, IP 217.19.55.3, Port 22 2026-09-22 13:04:17,495 - 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-22 13:04:17,667 - DEBUG - VM ctest-TestRoutersBasic-51288331-37232508 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-22 13:04:22,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 13:04:22,668 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51288331-37232508, IP 217.19.55.3, Port 22 2026-09-22 13:04:22,837 - DEBUG - VM ctest-TestRoutersBasic-51288331-37232508 is ready for SSH connections 2026-09-22 13:04:22,837 - INFO - Waiting for VM ctest-TestRoutersBasic-51288331-38072988 to be up.. 2026-09-22 13:04:22,923 - DEBUG - VM is in ACTIVE state now 2026-09-22 13:04:22,923 - INFO - VM name : ctest-TestRoutersBasic-51288331-38072988 2026-09-22 13:04:23,013 - DEBUG - VM ctest-TestRoutersBasic-51288331-38072988 ID is eaf981c9-5132-441c-84d9-b817973cca7e 2026-09-22 13:04:23,013 - DEBUG - VM ctest-TestRoutersBasic-51288331-38072988 launched on Node cn-jenkins-deploy-platform-ansible-os-6318-1 2026-09-22 13:04:23,125 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/eaf981c9-5132-441c-84d9-b817973cca7e 2026-09-22 13:04:23,136 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/490f3b40-c849-443b-a8a8-d34c80f0b26b 2026-09-22 13:04:24,391 - 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.88 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.605 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.605/2.243/3.882/1.638 ms') 2026-09-22 13:04:24,391 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-51288331-38072988 passed 2026-09-22 13:04:24,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 13:04:24,547 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51288331-38072988, IP 71.36.75.132, Port 22 2026-09-22 13:04:24,717 - DEBUG - VM ctest-TestRoutersBasic-51288331-38072988 is ready for SSH connections 2026-09-22 13:04:24,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 13:04:24,718 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.36.75.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-22 13:04:24,718 - DEBUG - ping -s 56 -c 3 -W 1 71.36.75.132 2026-09-22 13:04:27,853 - DEBUG - PING 71.36.75.132 (71.36.75.132): 56 data bytes 64 bytes from 71.36.75.132: seq=0 ttl=62 time=5.983 ms 64 bytes from 71.36.75.132: seq=1 ttl=62 time=1.396 ms 64 bytes from 71.36.75.132: seq=2 ttl=62 time=1.104 ms --- 71.36.75.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.104/2.827/5.983 ms 2026-09-22 13:04:27,853 - INFO - Ping to IP 71.36.75.132 from VM ctest-TestRoutersBasic-51288331-37232508 passed 2026-09-22 13:04:27,853 - INFO - Deleting interface with subnet_id 3fbe9975-1f03-40aa-b14f-9dae299665f0, port_id None from router bea35c97-1549-4ec6-a897-5245362ef74e 2026-09-22 13:04:28,163 - INFO - Deleting VM ctest-TestRoutersBasic-51288331-38072988 2026-09-22 13:04:28,309 - INFO - Deleting VM ctest-TestRoutersBasic-51288331-37232508 2026-09-22 13:04:28,430 - INFO - Deleting VN ctest-ext_vn-84006749 2026-09-22 13:04:28,589 - DEBUG - VN f339ffbd-30f6-4255-acfa-c6c492dd0d50 still in use: Unable to complete operation on network f339ffbd-30f6-4255-acfa-c6c492dd0d50. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cdce4daa-3c9b-4354-af5e-47f067d7cf99'] 2026-09-22 13:04:28,590 - WARNING - Deleting VN ctest-ext_vn-84006749 failed..Will retry 2026-09-22 13:04:30,791 - DEBUG - Response for deleting network () 2026-09-22 13:04:30,792 - INFO - Deleting VN ctest-vn-44767321 2026-09-22 13:04:30,931 - DEBUG - Response for deleting network () 2026-09-22 13:04:31,211 - DEBUG - No XMPP flaps were noticed during the test
2026-09-22 13:04:31,211 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:09]
2026-09-22 13:04:31,211 - INFO - -------------------------------------------------------------------------------- 2026-09-22 13:04:32,062 - INFO - Deleted project: ctest-TestRoutersBasic-51288331, ID : 3e880d1b-d9cd-498e-8240-b949a9445916