2026-10-21 15:34:47,048 - INFO - Domain Default found not creating 2026-10-21 15:34:47,312 - INFO - Project ctest-TestRoutersBasic-76044058 not found, creating it 2026-10-21 15:34:47,848 - INFO - Created Project:ctest-TestRoutersBasic-76044058, ID : 3ce997a9-e24a-4025-a2b6-c9f5e2d13304 2026-10-21 15:34:49,871 - INFO - ================================================================================ 2026-10-21 15:34:49,871 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-21 15:34:49,871 - 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 15:34:50,153 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.25': '0'}} with 2026-10-21 15:34:50,153 - INFO - Initial checks done. Running the testcase now 2026-10-21 15:34:50,153 - INFO - 2026-10-21 15:34:51,088 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76044058 2026-10-21 15:34:51,195 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76044058 2026-10-21 15:34:51,566 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76044058', 'default']} 2026-10-21 15:34:51,942 - DEBUG - Response for create_network : {'network': {'id': '096691b8-7245-4cc9-bd50-ee15fca0f820', 'name': 'ctest-vn-02873925', 'tenant_id': '3ce997a9e24a4025a2b6c9f5e2d13304', 'project_id': '3ce997a9e24a4025a2b6c9f5e2d13304', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76044058', 'ctest-vn-02873925'], 'port_security_enabled': True, 'description': ''}} 2026-10-21 15:34:52,174 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f7859e8-38e9-46b4-a96d-9f98be6faded', 'name': '', 'tenant_id': '3ce997a9e24a4025a2b6c9f5e2d13304', 'network_id': '096691b8-7245-4cc9-bd50-ee15fca0f820', 'ip_version': 4, 'cidr': '39.89.56.192/26', 'allocation_pools': [{'start': '39.89.56.194', 'end': '39.89.56.254'}], 'gateway_ip': '39.89.56.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.89.56.194', 'tags': [], 'project_id': '3ce997a9e24a4025a2b6c9f5e2d13304'}} 2026-10-21 15:34:52,196 - INFO - Created VN ctest-vn-02873925 2026-10-21 15:34:52,250 - DEBUG - VN ctest-vn-02873925 UUID is 096691b8-7245-4cc9-bd50-ee15fca0f820 2026-10-21 15:34:52,658 - DEBUG - Response for create_network : {'network': {'id': 'd1cba7b0-5575-4c54-847a-11fd724a771e', 'name': 'ctest-ext_vn-57890935', 'tenant_id': '3ce997a9e24a4025a2b6c9f5e2d13304', 'project_id': '3ce997a9e24a4025a2b6c9f5e2d13304', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76044058', 'ctest-ext_vn-57890935'], 'port_security_enabled': True, 'description': ''}} 2026-10-21 15:34:52,866 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da00d2e5-e929-47c6-8bc9-0da165c305a0', 'name': '', 'tenant_id': '3ce997a9e24a4025a2b6c9f5e2d13304', 'network_id': 'd1cba7b0-5575-4c54-847a-11fd724a771e', 'ip_version': 4, 'cidr': '78.220.29.0/26', 'allocation_pools': [{'start': '78.220.29.2', 'end': '78.220.29.62'}], 'gateway_ip': '78.220.29.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.220.29.2', 'tags': [], 'project_id': '3ce997a9e24a4025a2b6c9f5e2d13304'}} 2026-10-21 15:34:52,887 - INFO - Created VN ctest-ext_vn-57890935 2026-10-21 15:34:52,947 - DEBUG - VN ctest-ext_vn-57890935 UUID is d1cba7b0-5575-4c54-847a-11fd724a771e 2026-10-21 15:34:53,144 - DEBUG - Services list from nova: [, , ] 2026-10-21 15:34:53,609 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6379-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6379-1) 2026-10-21 15:34:54,198 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6379-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6379-1) 2026-10-21 15:34:54,301 - INFO - Setting gateway for router 997b408b-f8ee-4ff0-8d82-850bd53c8b19 to network d1cba7b0-5575-4c54-847a-11fd724a771e 2026-10-21 15:34:54,380 - INFO - Adding interface with subnet_id 0f7859e8-38e9-46b4-a96d-9f98be6faded, port_id None to router 997b408b-f8ee-4ff0-8d82-850bd53c8b19 2026-10-21 15:34:54,755 - INFO - Waiting for VM ctest-TestRoutersBasic-76044058-32737913 to be up.. 2026-10-21 15:34:54,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 15:34:59,993 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 15:35:05,106 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 15:35:10,258 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 15:35:15,364 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 15:35:20,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 15:35:25,606 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 15:35:30,738 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 15:35:35,845 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 15:35:40,961 - DEBUG - VM is in ACTIVE state now 2026-10-21 15:35:40,961 - INFO - VM name : ctest-TestRoutersBasic-76044058-32737913 2026-10-21 15:35:41,059 - DEBUG - VM ctest-TestRoutersBasic-76044058-32737913 ID is 699f6d3d-506f-482d-84dd-7281bf137bc1 2026-10-21 15:35:41,088 - DEBUG - VM ctest-TestRoutersBasic-76044058-32737913 launched on Node cn-jenkins-deploy-platform-ansible-os-6379-1 2026-10-21 15:35:41,206 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/699f6d3d-506f-482d-84dd-7281bf137bc1 2026-10-21 15:35:41,612 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/699f6d3d-506f-482d-84dd-7281bf137bc1 2026-10-21 15:35:41,656 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/26d35275-b307-4abf-945a-956b7033b599 2026-10-21 15:35:45,033 - 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 1003ms') 2026-10-21 15:35:45,033 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-76044058-32737913 failed! 2026-10-21 15:35:45,090 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76044058:ctest-vn-02873925 is 39.89.56.193 and allocation pool is NOT set 2026-10-21 15:35:47,156 - 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=5.26 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.555 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.555/2.906/5.257/2.351 ms') 2026-10-21 15:35:47,156 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-76044058-32737913 passed 2026-10-21 15:35:47,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 15:35:47,311 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76044058-32737913, IP 39.89.56.195, Port 22 2026-10-21 15:35:47,384 - 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 15:35:47,475 - DEBUG - VM ctest-TestRoutersBasic-76044058-32737913 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 15:35:52,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 15:35:52,477 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76044058-32737913, IP 39.89.56.195, Port 22 2026-10-21 15:35:52,544 - 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 15:35:52,639 - DEBUG - VM ctest-TestRoutersBasic-76044058-32737913 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 15:35:57,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 15:35:57,640 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76044058-32737913, IP 39.89.56.195, Port 22 2026-10-21 15:35:57,710 - 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 15:35:57,834 - DEBUG - VM ctest-TestRoutersBasic-76044058-32737913 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 15:36:02,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 15:36:02,835 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76044058-32737913, IP 39.89.56.195, Port 22 2026-10-21 15:36:02,901 - 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 15:36:03,004 - DEBUG - VM ctest-TestRoutersBasic-76044058-32737913 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 15:36:08,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 15:36:08,005 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76044058-32737913, IP 39.89.56.195, Port 22 2026-10-21 15:36:08,073 - 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 15:36:08,191 - DEBUG - VM ctest-TestRoutersBasic-76044058-32737913 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 15:36:13,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 15:36:13,193 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76044058-32737913, IP 39.89.56.195, Port 22 2026-10-21 15:36:13,261 - 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 15:36:13,363 - DEBUG - VM ctest-TestRoutersBasic-76044058-32737913 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 15:36:18,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 15:36:18,363 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76044058-32737913, IP 39.89.56.195, Port 22 2026-10-21 15:36:18,433 - 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 15:36:18,546 - DEBUG - VM ctest-TestRoutersBasic-76044058-32737913 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 15:36:23,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 15:36:23,547 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76044058-32737913, IP 39.89.56.195, Port 22 2026-10-21 15:36:23,612 - 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 15:36:23,722 - DEBUG - VM ctest-TestRoutersBasic-76044058-32737913 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 15:36:28,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 15:36:28,723 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76044058-32737913, IP 39.89.56.195, Port 22 2026-10-21 15:36:28,905 - DEBUG - VM ctest-TestRoutersBasic-76044058-32737913 is ready for SSH connections 2026-10-21 15:36:28,905 - INFO - Waiting for VM ctest-TestRoutersBasic-76044058-30356610 to be up.. 2026-10-21 15:36:29,018 - DEBUG - VM is in ACTIVE state now 2026-10-21 15:36:29,019 - INFO - VM name : ctest-TestRoutersBasic-76044058-30356610 2026-10-21 15:36:29,126 - DEBUG - VM ctest-TestRoutersBasic-76044058-30356610 ID is 2c8829dd-0ba4-4b50-b11b-ab7290d3e6d8 2026-10-21 15:36:29,126 - DEBUG - VM ctest-TestRoutersBasic-76044058-30356610 launched on Node cn-jenkins-deploy-platform-ansible-os-6379-1 2026-10-21 15:36:29,235 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/2c8829dd-0ba4-4b50-b11b-ab7290d3e6d8 2026-10-21 15:36:29,247 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/f104fc7d-1cd1-4b7c-9a66-cf9498f79547 2026-10-21 15:36:30,509 - 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.52 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.511 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.511/1.516/2.521/1.005 ms') 2026-10-21 15:36:30,509 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-76044058-30356610 passed 2026-10-21 15:36:30,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 15:36:30,667 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76044058-30356610, IP 78.220.29.4, Port 22 2026-10-21 15:36:30,841 - DEBUG - VM ctest-TestRoutersBasic-76044058-30356610 is ready for SSH connections 2026-10-21 15:36:30,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 15:36:30,841 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.220.29.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.186, gateway password: c0ntrail123 2026-10-21 15:36:30,842 - DEBUG - ping -s 56 -c 3 -W 1 78.220.29.4 2026-10-21 15:36:34,177 - DEBUG - PING 78.220.29.4 (78.220.29.4): 56 data bytes 64 bytes from 78.220.29.4: seq=0 ttl=62 time=6.438 ms 64 bytes from 78.220.29.4: seq=1 ttl=62 time=1.231 ms 64 bytes from 78.220.29.4: seq=2 ttl=62 time=1.202 ms --- 78.220.29.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.202/2.957/6.438 ms 2026-10-21 15:36:34,178 - INFO - Ping to IP 78.220.29.4 from VM ctest-TestRoutersBasic-76044058-32737913 passed 2026-10-21 15:36:34,178 - INFO - Deleting interface with subnet_id 0f7859e8-38e9-46b4-a96d-9f98be6faded, port_id None from router 997b408b-f8ee-4ff0-8d82-850bd53c8b19 2026-10-21 15:36:34,553 - INFO - Deleting VM ctest-TestRoutersBasic-76044058-30356610 2026-10-21 15:36:34,672 - INFO - Deleting VM ctest-TestRoutersBasic-76044058-32737913 2026-10-21 15:36:34,791 - INFO - Deleting VN ctest-ext_vn-57890935 2026-10-21 15:36:34,964 - DEBUG - VN d1cba7b0-5575-4c54-847a-11fd724a771e still in use: Unable to complete operation on network d1cba7b0-5575-4c54-847a-11fd724a771e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b45a818-49ac-467d-a2a1-944363f6507d'] 2026-10-21 15:36:34,965 - WARNING - Deleting VN ctest-ext_vn-57890935 failed..Will retry 2026-10-21 15:36:37,009 - DEBUG - VN d1cba7b0-5575-4c54-847a-11fd724a771e still in use: Unable to complete operation on network d1cba7b0-5575-4c54-847a-11fd724a771e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a58666a-dcbe-4f31-8de9-d49382221468'] 2026-10-21 15:36:37,010 - WARNING - Deleting VN ctest-ext_vn-57890935 failed..Will retry 2026-10-21 15:36:39,153 - DEBUG - Response for deleting network () 2026-10-21 15:36:39,153 - INFO - Deleting VN ctest-vn-02873925 2026-10-21 15:36:39,295 - DEBUG - Response for deleting network () 2026-10-21 15:36:39,577 - DEBUG - No XMPP flaps were noticed during the test
2026-10-21 15:36:39,577 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:50]
2026-10-21 15:36:39,577 - INFO - -------------------------------------------------------------------------------- 2026-10-21 15:36:40,483 - INFO - Deleted project: ctest-TestRoutersBasic-76044058, ID : 3ce997a9-e24a-4025-a2b6-c9f5e2d13304