2026-10-21 16:44:15,356 - INFO - Domain Default found not creating 2026-10-21 16:44:15,568 - INFO - Project ctest-TestRoutersBasic-61205864 not found, creating it 2026-10-21 16:44:16,135 - INFO - Created Project:ctest-TestRoutersBasic-61205864, ID : ceb74ffb-c511-4fc2-bdf6-f7a87f51d6de 2026-10-21 16:44:17,942 - INFO - ================================================================================ 2026-10-21 16:44:17,942 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-21 16:44:17,943 - 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-10-21 16:44:18,205 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with 2026-10-21 16:44:18,205 - INFO - Initial checks done. Running the testcase now 2026-10-21 16:44:18,205 - INFO - 2026-10-21 16:44:19,079 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61205864 2026-10-21 16:44:19,177 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61205864 2026-10-21 16:44:19,497 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61205864', 'default']} 2026-10-21 16:44:19,813 - DEBUG - Response for create_network : {'network': {'id': 'f6e2ffd3-f925-4416-96da-45d834009a26', 'name': 'ctest-vn-82019787', 'tenant_id': 'ceb74ffbc5114fc2bdf6f7a87f51d6de', 'project_id': 'ceb74ffbc5114fc2bdf6f7a87f51d6de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61205864', 'ctest-vn-82019787'], 'port_security_enabled': True, 'description': ''}} 2026-10-21 16:44:20,017 - DEBUG - Response for create_subnet : {'subnet': {'id': '4442a648-f72f-4340-8b2d-9e100c48a055', 'name': '', 'tenant_id': 'ceb74ffbc5114fc2bdf6f7a87f51d6de', 'network_id': 'f6e2ffd3-f925-4416-96da-45d834009a26', 'ip_version': 4, 'cidr': '163.192.62.192/26', 'allocation_pools': [{'start': '163.192.62.194', 'end': '163.192.62.254'}], 'gateway_ip': '163.192.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.192.62.194', 'tags': [], 'project_id': 'ceb74ffbc5114fc2bdf6f7a87f51d6de'}} 2026-10-21 16:44:20,034 - INFO - Created VN ctest-vn-82019787 2026-10-21 16:44:20,089 - DEBUG - VN ctest-vn-82019787 UUID is f6e2ffd3-f925-4416-96da-45d834009a26 2026-10-21 16:44:20,449 - DEBUG - Response for create_network : {'network': {'id': '2de916fa-583a-4099-b244-0b008ea09c25', 'name': 'ctest-ext_vn-32336250', 'tenant_id': 'ceb74ffbc5114fc2bdf6f7a87f51d6de', 'project_id': 'ceb74ffbc5114fc2bdf6f7a87f51d6de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61205864', 'ctest-ext_vn-32336250'], 'port_security_enabled': True, 'description': ''}} 2026-10-21 16:44:20,614 - DEBUG - Response for create_subnet : {'subnet': {'id': '16086c20-0faa-454e-9672-0d5ddd485f9d', 'name': '', 'tenant_id': 'ceb74ffbc5114fc2bdf6f7a87f51d6de', 'network_id': '2de916fa-583a-4099-b244-0b008ea09c25', 'ip_version': 4, 'cidr': '212.60.63.0/26', 'allocation_pools': [{'start': '212.60.63.2', 'end': '212.60.63.62'}], 'gateway_ip': '212.60.63.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.60.63.2', 'tags': [], 'project_id': 'ceb74ffbc5114fc2bdf6f7a87f51d6de'}} 2026-10-21 16:44:20,632 - INFO - Created VN ctest-ext_vn-32336250 2026-10-21 16:44:20,685 - DEBUG - VN ctest-ext_vn-32336250 UUID is 2de916fa-583a-4099-b244-0b008ea09c25 2026-10-21 16:44:20,864 - DEBUG - Services list from nova: [, , ] 2026-10-21 16:44:21,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6382-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6382-1) 2026-10-21 16:44:21,746 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6382-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6382-1) 2026-10-21 16:44:21,845 - INFO - Setting gateway for router 777d0b2b-4a51-4283-8c00-3b48ab688ce3 to network 2de916fa-583a-4099-b244-0b008ea09c25 2026-10-21 16:44:21,919 - INFO - Adding interface with subnet_id 4442a648-f72f-4340-8b2d-9e100c48a055, port_id None to router 777d0b2b-4a51-4283-8c00-3b48ab688ce3 2026-10-21 16:44:22,186 - INFO - Waiting for VM ctest-TestRoutersBasic-61205864-21901839 to be up.. 2026-10-21 16:44:22,279 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 16:44:27,367 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 16:44:32,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 16:44:37,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 16:44:42,653 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 16:44:47,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 16:44:52,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 16:44:57,903 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 16:45:02,997 - DEBUG - VM is in ACTIVE state now 2026-10-21 16:45:02,997 - INFO - VM name : ctest-TestRoutersBasic-61205864-21901839 2026-10-21 16:45:03,097 - DEBUG - VM ctest-TestRoutersBasic-61205864-21901839 ID is 28ac3faf-be7b-4c90-afd3-708335998f27 2026-10-21 16:45:03,122 - DEBUG - VM ctest-TestRoutersBasic-61205864-21901839 launched on Node cn-jenkins-deploy-platform-ansible-os-6382-1 2026-10-21 16:45:03,216 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/28ac3faf-be7b-4c90-afd3-708335998f27 2026-10-21 16:45:03,589 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/28ac3faf-be7b-4c90-afd3-708335998f27 2026-10-21 16:45:03,623 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/6897a0ab-e3b6-4858-94a3-e7c6a8830f79 2026-10-21 16:45:06,891 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2026-10-21 16:45:06,891 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-61205864-21901839 failed! 2026-10-21 16:45:06,949 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61205864:ctest-vn-82019787 is 163.192.62.193 and allocation pool is NOT set 2026-10-21 16:45:09,011 - 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=3.97 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.608 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.608/2.287/3.966/1.679 ms') 2026-10-21 16:45:09,011 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-61205864-21901839 passed 2026-10-21 16:45:09,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 16:45:09,166 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61205864-21901839, IP 163.192.62.195, Port 22 2026-10-21 16:45:09,231 - 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-10-21 16:45:09,323 - DEBUG - VM ctest-TestRoutersBasic-61205864-21901839 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 16:45:14,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 16:45:14,324 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61205864-21901839, IP 163.192.62.195, Port 22 2026-10-21 16:45:14,393 - 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-10-21 16:45:14,485 - DEBUG - VM ctest-TestRoutersBasic-61205864-21901839 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 16:45:19,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 16:45:19,486 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61205864-21901839, IP 163.192.62.195, Port 22 2026-10-21 16:45:19,551 - 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-10-21 16:45:19,633 - DEBUG - VM ctest-TestRoutersBasic-61205864-21901839 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 16:45:24,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 16:45:24,634 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61205864-21901839, IP 163.192.62.195, Port 22 2026-10-21 16:45:24,699 - 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-10-21 16:45:24,789 - DEBUG - VM ctest-TestRoutersBasic-61205864-21901839 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 16:45:29,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 16:45:29,790 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61205864-21901839, IP 163.192.62.195, Port 22 2026-10-21 16:45:29,856 - 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-10-21 16:45:29,943 - DEBUG - VM ctest-TestRoutersBasic-61205864-21901839 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 16:45:34,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 16:45:34,945 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61205864-21901839, IP 163.192.62.195, Port 22 2026-10-21 16:45:35,012 - 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-10-21 16:45:35,095 - DEBUG - VM ctest-TestRoutersBasic-61205864-21901839 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 16:45:40,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 16:45:40,096 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61205864-21901839, IP 163.192.62.195, Port 22 2026-10-21 16:45:40,165 - 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-10-21 16:45:40,252 - DEBUG - VM ctest-TestRoutersBasic-61205864-21901839 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 16:45:45,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 16:45:45,252 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61205864-21901839, IP 163.192.62.195, Port 22 2026-10-21 16:45:45,309 - 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-10-21 16:45:45,398 - DEBUG - VM ctest-TestRoutersBasic-61205864-21901839 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 16:45:50,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 16:45:50,399 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61205864-21901839, IP 163.192.62.195, Port 22 2026-10-21 16:45:50,575 - DEBUG - VM ctest-TestRoutersBasic-61205864-21901839 is ready for SSH connections 2026-10-21 16:45:50,576 - INFO - Waiting for VM ctest-TestRoutersBasic-61205864-66995055 to be up.. 2026-10-21 16:45:50,670 - DEBUG - VM is in ACTIVE state now 2026-10-21 16:45:50,670 - INFO - VM name : ctest-TestRoutersBasic-61205864-66995055 2026-10-21 16:45:50,753 - DEBUG - VM ctest-TestRoutersBasic-61205864-66995055 ID is 6663ee5a-2d53-4332-9213-95ddc6e81978 2026-10-21 16:45:50,753 - DEBUG - VM ctest-TestRoutersBasic-61205864-66995055 launched on Node cn-jenkins-deploy-platform-ansible-os-6382-1 2026-10-21 16:45:50,841 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/6663ee5a-2d53-4332-9213-95ddc6e81978 2026-10-21 16:45:50,851 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/59b97d73-c4e2-41f6-b759-e65586766e92 2026-10-21 16:45:52,097 - 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=2.60 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.617 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.617/1.609/2.602/0.992 ms') 2026-10-21 16:45:52,097 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-61205864-66995055 passed 2026-10-21 16:45:52,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 16:45:52,253 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61205864-66995055, IP 212.60.63.4, Port 22 2026-10-21 16:45:52,423 - DEBUG - VM ctest-TestRoutersBasic-61205864-66995055 is ready for SSH connections 2026-10-21 16:45:52,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 16:45:52,423 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.60.63.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-10-21 16:45:52,423 - DEBUG - ping -s 56 -c 3 -W 1 212.60.63.4 2026-10-21 16:45:55,671 - DEBUG - PING 212.60.63.4 (212.60.63.4): 56 data bytes 64 bytes from 212.60.63.4: seq=0 ttl=62 time=6.591 ms 64 bytes from 212.60.63.4: seq=1 ttl=62 time=0.971 ms 64 bytes from 212.60.63.4: seq=2 ttl=62 time=1.191 ms --- 212.60.63.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.971/2.917/6.591 ms 2026-10-21 16:45:55,671 - INFO - Ping to IP 212.60.63.4 from VM ctest-TestRoutersBasic-61205864-21901839 passed 2026-10-21 16:45:55,672 - INFO - Deleting interface with subnet_id 4442a648-f72f-4340-8b2d-9e100c48a055, port_id None from router 777d0b2b-4a51-4283-8c00-3b48ab688ce3 2026-10-21 16:45:55,912 - INFO - Deleting VM ctest-TestRoutersBasic-61205864-66995055 2026-10-21 16:45:56,020 - INFO - Deleting VM ctest-TestRoutersBasic-61205864-21901839 2026-10-21 16:45:56,102 - INFO - Deleting VN ctest-ext_vn-32336250 2026-10-21 16:45:56,173 - DEBUG - VN 2de916fa-583a-4099-b244-0b008ea09c25 still in use: Unable to complete operation on network 2de916fa-583a-4099-b244-0b008ea09c25. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e06fc130-78c6-46f5-9132-05de8c07b4a4'] 2026-10-21 16:45:56,174 - WARNING - Deleting VN ctest-ext_vn-32336250 failed..Will retry 2026-10-21 16:45:58,212 - DEBUG - VN 2de916fa-583a-4099-b244-0b008ea09c25 still in use: Unable to complete operation on network 2de916fa-583a-4099-b244-0b008ea09c25. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4748288-a45f-4ae4-90e2-e0bedc1436da'] 2026-10-21 16:45:58,212 - WARNING - Deleting VN ctest-ext_vn-32336250 failed..Will retry 2026-10-21 16:46:00,360 - DEBUG - Response for deleting network () 2026-10-21 16:46:00,360 - INFO - Deleting VN ctest-vn-82019787 2026-10-21 16:46:00,483 - DEBUG - Response for deleting network () 2026-10-21 16:46:00,751 - DEBUG - No XMPP flaps were noticed during the test 2026-10-21 16:46:00,752 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:43] 2026-10-21 16:46:00,752 - INFO - -------------------------------------------------------------------------------- 2026-10-21 16:46:01,611 - INFO - Deleted project: ctest-TestRoutersBasic-61205864, ID : ceb74ffb-c511-4fc2-bdf6-f7a87f51d6de