2026-01-29 13:31:52,938 - INFO - Domain Default found not creating 2026-01-29 13:31:53,191 - INFO - Project ctest-TestRoutersBasic-29638470 not found, creating it 2026-01-29 13:31:53,735 - INFO - Created Project:ctest-TestRoutersBasic-29638470, ID : b5d938a1-1a37-48a8-98d4-f107195d79c9 2026-01-29 13:31:55,564 - INFO - ================================================================================ 2026-01-29 13:31:55,565 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 13:31:55,565 - 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-01-29 13:31:55,833 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2026-01-29 13:31:55,833 - INFO - Initial checks done. Running the testcase now 2026-01-29 13:31:55,833 - INFO - 2026-01-29 13:31:56,633 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29638470 2026-01-29 13:31:56,735 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29638470 2026-01-29 13:31:57,081 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29638470', 'default']} 2026-01-29 13:31:57,438 - DEBUG - Response for create_network : {'network': {'id': '73eb1a90-3561-4c1d-9ad5-ab7b5a7f6f25', 'name': 'ctest-vn-60737339', 'tenant_id': 'b5d938a11a3748a898d4f107195d79c9', 'project_id': 'b5d938a11a3748a898d4f107195d79c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29638470', 'ctest-vn-60737339'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:31:57,714 - DEBUG - Response for create_subnet : {'subnet': {'id': '84c75b23-d51d-4b25-bc15-153b88f4f975', 'name': '', 'tenant_id': 'b5d938a11a3748a898d4f107195d79c9', 'network_id': '73eb1a90-3561-4c1d-9ad5-ab7b5a7f6f25', 'ip_version': 4, 'cidr': '49.202.183.128/26', 'allocation_pools': [{'start': '49.202.183.130', 'end': '49.202.183.190'}], 'gateway_ip': '49.202.183.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.202.183.130', 'tags': [], 'project_id': 'b5d938a11a3748a898d4f107195d79c9'}} 2026-01-29 13:31:57,745 - INFO - Created VN ctest-vn-60737339 2026-01-29 13:31:57,803 - DEBUG - VN ctest-vn-60737339 UUID is 73eb1a90-3561-4c1d-9ad5-ab7b5a7f6f25 2026-01-29 13:31:58,232 - DEBUG - Response for create_network : {'network': {'id': '6798fac5-34b7-4403-8987-78dbc45e093a', 'name': 'ctest-ext_vn-94622408', 'tenant_id': 'b5d938a11a3748a898d4f107195d79c9', 'project_id': 'b5d938a11a3748a898d4f107195d79c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29638470', 'ctest-ext_vn-94622408'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:31:58,412 - DEBUG - Response for create_subnet : {'subnet': {'id': '19e4728b-a5cb-401f-9f85-ed047f35ef39', 'name': '', 'tenant_id': 'b5d938a11a3748a898d4f107195d79c9', 'network_id': '6798fac5-34b7-4403-8987-78dbc45e093a', 'ip_version': 4, 'cidr': '137.129.244.192/26', 'allocation_pools': [{'start': '137.129.244.194', 'end': '137.129.244.254'}], 'gateway_ip': '137.129.244.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.129.244.194', 'tags': [], 'project_id': 'b5d938a11a3748a898d4f107195d79c9'}} 2026-01-29 13:31:58,434 - INFO - Created VN ctest-ext_vn-94622408 2026-01-29 13:31:58,491 - DEBUG - VN ctest-ext_vn-94622408 UUID is 6798fac5-34b7-4403-8987-78dbc45e093a 2026-01-29 13:31:58,691 - DEBUG - Services list from nova: [, , ] 2026-01-29 13:31:59,852 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5127-1) 2026-01-29 13:32:01,139 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5127-1) 2026-01-29 13:32:01,235 - INFO - Setting gateway for router aeed44b4-cb03-4276-95f5-409767b284ca to network 6798fac5-34b7-4403-8987-78dbc45e093a 2026-01-29 13:32:01,335 - INFO - Adding interface with subnet_id 84c75b23-d51d-4b25-bc15-153b88f4f975, port_id None to router aeed44b4-cb03-4276-95f5-409767b284ca 2026-01-29 13:32:01,696 - INFO - Waiting for VM ctest-TestRoutersBasic-29638470-25370406 to be up.. 2026-01-29 13:32:01,893 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 13:32:06,985 - DEBUG - VM is in ACTIVE state now 2026-01-29 13:32:06,985 - INFO - VM name : ctest-TestRoutersBasic-29638470-25370406 2026-01-29 13:32:07,089 - DEBUG - VM ctest-TestRoutersBasic-29638470-25370406 ID is 0285a964-8371-4f5c-98e3-b6d3bc93b022 2026-01-29 13:32:07,113 - DEBUG - VM ctest-TestRoutersBasic-29638470-25370406 launched on Node cn-jenkins-deploy-platform-ansible-os-5127-1 2026-01-29 13:32:07,210 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0285a964-8371-4f5c-98e3-b6d3bc93b022 2026-01-29 13:32:07,514 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0285a964-8371-4f5c-98e3-b6d3bc93b022 2026-01-29 13:32:07,560 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7ffacae1-b21d-4971-abd3-71bcd3f5bf93 2026-01-29 13:32:10,813 - 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 1002ms') 2026-01-29 13:32:10,813 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29638470-25370406 failed! 2026-01-29 13:32:10,879 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29638470:ctest-vn-60737339 is 49.202.183.129 and allocation pool is NOT set 2026-01-29 13:32:12,952 - 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=7.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.40 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 = 3.397/5.426/7.455/2.029 ms') 2026-01-29 13:32:12,952 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29638470-25370406 passed 2026-01-29 13:32:13,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:32:13,067 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29638470-25370406, IP 49.202.183.131, Port 22 2026-01-29 13:32:13,133 - 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-01-29 13:32:13,235 - DEBUG - VM ctest-TestRoutersBasic-29638470-25370406 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 13:32:18,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:32:18,235 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29638470-25370406, IP 49.202.183.131, Port 22 2026-01-29 13:32:18,409 - DEBUG - VM ctest-TestRoutersBasic-29638470-25370406 is ready for SSH connections 2026-01-29 13:32:18,410 - INFO - Waiting for VM ctest-TestRoutersBasic-29638470-93391098 to be up.. 2026-01-29 13:32:18,513 - DEBUG - VM is in ACTIVE state now 2026-01-29 13:32:18,513 - INFO - VM name : ctest-TestRoutersBasic-29638470-93391098 2026-01-29 13:32:18,626 - DEBUG - VM ctest-TestRoutersBasic-29638470-93391098 ID is a73e02bd-a5e5-4df6-bc8a-68b47bbdb239 2026-01-29 13:32:18,627 - DEBUG - VM ctest-TestRoutersBasic-29638470-93391098 launched on Node cn-jenkins-deploy-platform-ansible-os-5127-1 2026-01-29 13:32:18,712 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a73e02bd-a5e5-4df6-bc8a-68b47bbdb239 2026-01-29 13:32:18,721 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/84cba15b-d5d7-4a0e-a60c-9d4481ab0299 2026-01-29 13:32:19,964 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.571 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.571/2.021/3.472/1.450 ms') 2026-01-29 13:32:19,965 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29638470-93391098 passed 2026-01-29 13:32:20,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:32:20,123 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29638470-93391098, IP 137.129.244.195, Port 22 2026-01-29 13:32:20,279 - DEBUG - VM ctest-TestRoutersBasic-29638470-93391098 is ready for SSH connections 2026-01-29 13:32:20,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:32:20,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.129.244.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-29 13:32:20,279 - DEBUG - ping -s 56 -c 3 -W 1 137.129.244.195 2026-01-29 13:32:24,102 - DEBUG - PING 137.129.244.195 (137.129.244.195): 56 data bytes 64 bytes from 137.129.244.195: seq=0 ttl=62 time=7.001 ms 64 bytes from 137.129.244.195: seq=1 ttl=62 time=1.439 ms 64 bytes from 137.129.244.195: seq=2 ttl=62 time=1.649 ms --- 137.129.244.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.439/3.363/7.001 ms 2026-01-29 13:32:24,103 - INFO - Ping to IP 137.129.244.195 from VM ctest-TestRoutersBasic-29638470-25370406 passed 2026-01-29 13:32:24,103 - INFO - Deleting interface with subnet_id 84c75b23-d51d-4b25-bc15-153b88f4f975, port_id None from router aeed44b4-cb03-4276-95f5-409767b284ca 2026-01-29 13:32:24,360 - INFO - Deleting VM ctest-TestRoutersBasic-29638470-93391098 2026-01-29 13:32:24,448 - INFO - Deleting VM ctest-TestRoutersBasic-29638470-25370406 2026-01-29 13:32:24,536 - INFO - Deleting VN ctest-ext_vn-94622408 2026-01-29 13:32:24,626 - DEBUG - VN 6798fac5-34b7-4403-8987-78dbc45e093a still in use: Unable to complete operation on network 6798fac5-34b7-4403-8987-78dbc45e093a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-111a1506-291d-4d61-8d14-b395fd593618'] 2026-01-29 13:32:24,626 - WARNING - Deleting VN ctest-ext_vn-94622408 failed..Will retry 2026-01-29 13:32:26,783 - DEBUG - Response for deleting network () 2026-01-29 13:32:26,784 - INFO - Deleting VN ctest-vn-60737339 2026-01-29 13:32:26,946 - DEBUG - Response for deleting network () 2026-01-29 13:32:27,226 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 13:32:27,226 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32] 2026-01-29 13:32:27,226 - INFO - -------------------------------------------------------------------------------- 2026-01-29 13:32:28,063 - INFO - Deleted project: ctest-TestRoutersBasic-29638470, ID : b5d938a1-1a37-48a8-98d4-f107195d79c9