2026-05-07 13:35:10,872 - INFO - Domain Default found not creating 2026-05-07 13:35:11,072 - INFO - Project ctest-TestRoutersBasic-34398059 not found, creating it 2026-05-07 13:35:11,575 - INFO - Created Project:ctest-TestRoutersBasic-34398059, ID : 4d7c0542-5c44-44b5-a6ea-957805cf09ff 2026-05-07 13:35:13,292 - INFO - ================================================================================ 2026-05-07 13:35:13,292 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-07 13:35:13,292 - 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-05-07 13:35:13,556 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-07 13:35:13,556 - INFO - Initial checks done. Running the testcase now 2026-05-07 13:35:13,557 - INFO - 2026-05-07 13:35:14,378 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34398059 2026-05-07 13:35:14,478 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34398059 2026-05-07 13:35:14,802 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34398059', 'default']} 2026-05-07 13:35:15,130 - DEBUG - Response for create_network : {'network': {'id': 'a7d6c2f1-0186-4886-9ff6-f0975be3800c', 'name': 'ctest-vn-19705674', 'tenant_id': '4d7c05425c4444b5a6ea957805cf09ff', 'project_id': '4d7c05425c4444b5a6ea957805cf09ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34398059', 'ctest-vn-19705674'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 13:35:15,320 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcf964e4-eb27-42df-9669-071dd2304b0d', 'name': '', 'tenant_id': '4d7c05425c4444b5a6ea957805cf09ff', 'network_id': 'a7d6c2f1-0186-4886-9ff6-f0975be3800c', 'ip_version': 4, 'cidr': '120.176.225.192/26', 'allocation_pools': [{'start': '120.176.225.194', 'end': '120.176.225.254'}], 'gateway_ip': '120.176.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.176.225.194', 'tags': [], 'project_id': '4d7c05425c4444b5a6ea957805cf09ff'}} 2026-05-07 13:35:15,342 - INFO - Created VN ctest-vn-19705674 2026-05-07 13:35:15,394 - DEBUG - VN ctest-vn-19705674 UUID is a7d6c2f1-0186-4886-9ff6-f0975be3800c 2026-05-07 13:35:15,733 - DEBUG - Response for create_network : {'network': {'id': '741f00b9-afba-444a-9771-62a87aa7f7c1', 'name': 'ctest-ext_vn-19328309', 'tenant_id': '4d7c05425c4444b5a6ea957805cf09ff', 'project_id': '4d7c05425c4444b5a6ea957805cf09ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34398059', 'ctest-ext_vn-19328309'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 13:35:15,901 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ea30150-cbd1-481e-87a6-d7a5c5f84c79', 'name': '', 'tenant_id': '4d7c05425c4444b5a6ea957805cf09ff', 'network_id': '741f00b9-afba-444a-9771-62a87aa7f7c1', 'ip_version': 4, 'cidr': '153.71.204.128/26', 'allocation_pools': [{'start': '153.71.204.130', 'end': '153.71.204.190'}], 'gateway_ip': '153.71.204.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.71.204.130', 'tags': [], 'project_id': '4d7c05425c4444b5a6ea957805cf09ff'}} 2026-05-07 13:35:15,923 - INFO - Created VN ctest-ext_vn-19328309 2026-05-07 13:35:15,978 - DEBUG - VN ctest-ext_vn-19328309 UUID is 741f00b9-afba-444a-9771-62a87aa7f7c1 2026-05-07 13:35:16,173 - DEBUG - Services list from nova: [, , ] 2026-05-07 13:35:17,377 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5756-1) 2026-05-07 13:35:18,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5756-1) 2026-05-07 13:35:18,808 - INFO - Setting gateway for router 09fe9f41-a15f-469b-adfa-1de1c26acf46 to network 741f00b9-afba-444a-9771-62a87aa7f7c1 2026-05-07 13:35:18,885 - INFO - Adding interface with subnet_id bcf964e4-eb27-42df-9669-071dd2304b0d, port_id None to router 09fe9f41-a15f-469b-adfa-1de1c26acf46 2026-05-07 13:35:19,288 - INFO - Waiting for VM ctest-TestRoutersBasic-34398059-99964291 to be up.. 2026-05-07 13:35:19,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-07 13:35:24,597 - DEBUG - VM is in ACTIVE state now 2026-05-07 13:35:24,597 - INFO - VM name : ctest-TestRoutersBasic-34398059-99964291 2026-05-07 13:35:24,690 - DEBUG - VM ctest-TestRoutersBasic-34398059-99964291 ID is 1a71780b-156f-4326-9a09-a2fadc2aa61a 2026-05-07 13:35:24,713 - DEBUG - VM ctest-TestRoutersBasic-34398059-99964291 launched on Node cn-jenkins-deploy-platform-ansible-os-5756-1 2026-05-07 13:35:24,814 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1a71780b-156f-4326-9a09-a2fadc2aa61a 2026-05-07 13:35:25,159 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1a71780b-156f-4326-9a09-a2fadc2aa61a 2026-05-07 13:35:25,198 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/82aeba89-c537-4c57-a837-88827ffa439f 2026-05-07 13:35:28,484 - 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 1023ms') 2026-05-07 13:35:28,485 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34398059-99964291 failed! 2026-05-07 13:35:28,542 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34398059:ctest-vn-19705674 is 120.176.225.193 and allocation pool is NOT set 2026-05-07 13:35:30,606 - 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=6.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.52 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.518/4.192/6.866/2.674 ms') 2026-05-07 13:35:30,606 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34398059-99964291 passed 2026-05-07 13:35:30,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 13:35:30,762 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34398059-99964291, IP 120.176.225.195, Port 22 2026-05-07 13:35:30,929 - DEBUG - VM ctest-TestRoutersBasic-34398059-99964291 is ready for SSH connections 2026-05-07 13:35:30,929 - INFO - Waiting for VM ctest-TestRoutersBasic-34398059-30318490 to be up.. 2026-05-07 13:35:31,021 - DEBUG - VM is in ACTIVE state now 2026-05-07 13:35:31,021 - INFO - VM name : ctest-TestRoutersBasic-34398059-30318490 2026-05-07 13:35:31,122 - DEBUG - VM ctest-TestRoutersBasic-34398059-30318490 ID is 7df16cd5-92c8-4688-9dde-365e97d2ee9a 2026-05-07 13:35:31,122 - DEBUG - VM ctest-TestRoutersBasic-34398059-30318490 launched on Node cn-jenkins-deploy-platform-ansible-os-5756-1 2026-05-07 13:35:31,216 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7df16cd5-92c8-4688-9dde-365e97d2ee9a 2026-05-07 13:35:31,227 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c99b33fa-c0ee-4107-a93a-175961c4f1fa 2026-05-07 13:35:32,507 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.578 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.578/1.835/3.093/1.257 ms') 2026-05-07 13:35:32,507 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34398059-30318490 passed 2026-05-07 13:35:32,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 13:35:32,658 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34398059-30318490, IP 153.71.204.131, Port 22 2026-05-07 13:35:32,724 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-07 13:35:32,823 - DEBUG - VM ctest-TestRoutersBasic-34398059-30318490 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-07 13:35:37,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 13:35:37,825 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34398059-30318490, IP 153.71.204.131, Port 22 2026-05-07 13:35:38,001 - DEBUG - VM ctest-TestRoutersBasic-34398059-30318490 is ready for SSH connections 2026-05-07 13:35:38,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 13:35:38,001 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.71.204.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-07 13:35:38,001 - DEBUG - ping -s 56 -c 3 -W 1 153.71.204.131 2026-05-07 13:35:41,808 - DEBUG - PING 153.71.204.131 (153.71.204.131): 56 data bytes 64 bytes from 153.71.204.131: seq=0 ttl=62 time=6.181 ms 64 bytes from 153.71.204.131: seq=1 ttl=62 time=1.209 ms 64 bytes from 153.71.204.131: seq=2 ttl=62 time=1.718 ms --- 153.71.204.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.209/3.036/6.181 ms 2026-05-07 13:35:41,808 - INFO - Ping to IP 153.71.204.131 from VM ctest-TestRoutersBasic-34398059-99964291 passed 2026-05-07 13:35:41,808 - INFO - Deleting interface with subnet_id bcf964e4-eb27-42df-9669-071dd2304b0d, port_id None from router 09fe9f41-a15f-469b-adfa-1de1c26acf46 2026-05-07 13:35:42,047 - INFO - Deleting VM ctest-TestRoutersBasic-34398059-30318490 2026-05-07 13:35:42,147 - INFO - Deleting VM ctest-TestRoutersBasic-34398059-99964291 2026-05-07 13:35:42,246 - INFO - Deleting VN ctest-ext_vn-19328309 2026-05-07 13:35:42,339 - DEBUG - VN 741f00b9-afba-444a-9771-62a87aa7f7c1 still in use: Unable to complete operation on network 741f00b9-afba-444a-9771-62a87aa7f7c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb6fb98f-81a3-451f-a78f-11589af1ae48'] 2026-05-07 13:35:42,339 - WARNING - Deleting VN ctest-ext_vn-19328309 failed..Will retry 2026-05-07 13:35:44,461 - DEBUG - Response for deleting network () 2026-05-07 13:35:44,461 - INFO - Deleting VN ctest-vn-19705674 2026-05-07 13:35:44,585 - DEBUG - Response for deleting network () 2026-05-07 13:35:44,844 - DEBUG - No XMPP flaps were noticed during the test
2026-05-07 13:35:44,844 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-05-07 13:35:44,844 - INFO - -------------------------------------------------------------------------------- 2026-05-07 13:35:45,610 - INFO - Deleted project: ctest-TestRoutersBasic-34398059, ID : 4d7c0542-5c44-44b5-a6ea-957805cf09ff