2026-01-15 02:08:31,694 - INFO - Domain Default found not creating 2026-01-15 02:08:31,868 - INFO - Project ctest-TestRoutersBasic-79902114 not found, creating it 2026-01-15 02:08:32,332 - INFO - Created Project:ctest-TestRoutersBasic-79902114, ID : d156c50b-0e78-47a2-b6f6-cc8714554296 2026-01-15 02:08:33,913 - INFO - ================================================================================ 2026-01-15 02:08:33,914 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-15 02:08:33,914 - 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-15 02:08:34,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.252': '0'}} with 2026-01-15 02:08:34,169 - INFO - Initial checks done. Running the testcase now 2026-01-15 02:08:34,169 - INFO - 2026-01-15 02:08:34,887 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79902114 2026-01-15 02:08:34,983 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79902114 2026-01-15 02:08:35,315 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79902114', 'default']} 2026-01-15 02:08:35,607 - DEBUG - Response for create_network : {'network': {'id': '8232a874-5e8e-49b8-8a74-051255334e26', 'name': 'ctest-vn-15661211', 'tenant_id': 'd156c50b0e7847a2b6f6cc8714554296', 'project_id': 'd156c50b0e7847a2b6f6cc8714554296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79902114', 'ctest-vn-15661211'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:08:35,805 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e135c6af-4a01-4da8-adf2-ade9e4f82a21', 'name': '', 'tenant_id': 'd156c50b0e7847a2b6f6cc8714554296', 'network_id': '8232a874-5e8e-49b8-8a74-051255334e26', 'ip_version': 4, 'cidr': '141.15.31.192/26', 'allocation_pools': [{'start': '141.15.31.194', 'end': '141.15.31.254'}], 'gateway_ip': '141.15.31.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.15.31.194', 'tags': [], 'project_id': 'd156c50b0e7847a2b6f6cc8714554296'}} 2026-01-15 02:08:35,823 - INFO - Created VN ctest-vn-15661211 2026-01-15 02:08:35,875 - DEBUG - VN ctest-vn-15661211 UUID is 8232a874-5e8e-49b8-8a74-051255334e26 2026-01-15 02:08:36,220 - DEBUG - Response for create_network : {'network': {'id': 'ecc65c51-fffc-4ba9-be42-16e8ffbaeb96', 'name': 'ctest-ext_vn-43098680', 'tenant_id': 'd156c50b0e7847a2b6f6cc8714554296', 'project_id': 'd156c50b0e7847a2b6f6cc8714554296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79902114', 'ctest-ext_vn-43098680'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:08:36,402 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cd1bbf9-5986-4ab0-8cde-64b7f02aefff', 'name': '', 'tenant_id': 'd156c50b0e7847a2b6f6cc8714554296', 'network_id': 'ecc65c51-fffc-4ba9-be42-16e8ffbaeb96', 'ip_version': 4, 'cidr': '167.54.185.192/26', 'allocation_pools': [{'start': '167.54.185.194', 'end': '167.54.185.254'}], 'gateway_ip': '167.54.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.54.185.194', 'tags': [], 'project_id': 'd156c50b0e7847a2b6f6cc8714554296'}} 2026-01-15 02:08:36,421 - INFO - Created VN ctest-ext_vn-43098680 2026-01-15 02:08:36,475 - DEBUG - VN ctest-ext_vn-43098680 UUID is ecc65c51-fffc-4ba9-be42-16e8ffbaeb96 2026-01-15 02:08:36,642 - DEBUG - Services list from nova: [, , ] 2026-01-15 02:08:37,681 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5010-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5010-1) 2026-01-15 02:08:38,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5010-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5010-1) 2026-01-15 02:08:38,903 - INFO - Setting gateway for router 118f2917-d4f2-4319-9dfb-9b7aa0c09fb3 to network ecc65c51-fffc-4ba9-be42-16e8ffbaeb96 2026-01-15 02:08:38,958 - INFO - Adding interface with subnet_id e135c6af-4a01-4da8-adf2-ade9e4f82a21, port_id None to router 118f2917-d4f2-4319-9dfb-9b7aa0c09fb3 2026-01-15 02:08:39,460 - INFO - Waiting for VM ctest-TestRoutersBasic-79902114-00658328 to be up.. 2026-01-15 02:08:39,646 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-15 02:08:44,759 - DEBUG - VM is in ACTIVE state now 2026-01-15 02:08:44,759 - INFO - VM name : ctest-TestRoutersBasic-79902114-00658328 2026-01-15 02:08:44,866 - DEBUG - VM ctest-TestRoutersBasic-79902114-00658328 ID is a91bad4a-4e53-48e1-bbfc-0d4d9fbe24c2 2026-01-15 02:08:44,887 - DEBUG - VM ctest-TestRoutersBasic-79902114-00658328 launched on Node cn-jenkins-deploy-platform-ansible-os-5010-1 2026-01-15 02:08:44,991 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/a91bad4a-4e53-48e1-bbfc-0d4d9fbe24c2 2026-01-15 02:08:45,440 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/a91bad4a-4e53-48e1-bbfc-0d4d9fbe24c2 2026-01-15 02:08:45,498 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/3d156853-c6ef-44ff-babf-93f26606d0a1 2026-01-15 02:08:48,783 - 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 1027ms') 2026-01-15 02:08:48,783 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79902114-00658328 failed! 2026-01-15 02:08:48,839 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79902114:ctest-vn-15661211 is 141.15.31.193 and allocation pool is NOT set 2026-01-15 02:08:50,906 - 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=3.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.92 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.921/3.930/3.939/0.009 ms') 2026-01-15 02:08:50,906 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79902114-00658328 passed 2026-01-15 02:08:51,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:08:51,056 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79902114-00658328, IP 141.15.31.195, Port 22 2026-01-15 02:08:51,125 - 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-15 02:08:51,206 - DEBUG - VM ctest-TestRoutersBasic-79902114-00658328 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-15 02:08:56,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:08:56,208 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79902114-00658328, IP 141.15.31.195, Port 22 2026-01-15 02:08:56,363 - DEBUG - VM ctest-TestRoutersBasic-79902114-00658328 is ready for SSH connections 2026-01-15 02:08:56,363 - INFO - Waiting for VM ctest-TestRoutersBasic-79902114-11691549 to be up.. 2026-01-15 02:08:56,444 - DEBUG - VM is in ACTIVE state now 2026-01-15 02:08:56,444 - INFO - VM name : ctest-TestRoutersBasic-79902114-11691549 2026-01-15 02:08:56,525 - DEBUG - VM ctest-TestRoutersBasic-79902114-11691549 ID is f2664a21-14b2-4042-8fc7-4a3853fd359f 2026-01-15 02:08:56,525 - DEBUG - VM ctest-TestRoutersBasic-79902114-11691549 launched on Node cn-jenkins-deploy-platform-ansible-os-5010-1 2026-01-15 02:08:56,602 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/f2664a21-14b2-4042-8fc7-4a3853fd359f 2026-01-15 02:08:56,611 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/67a60cf1-d2c7-4a4f-bfc0-5cb0c5820573 2026-01-15 02:08:57,852 - 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=2.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.448/1.651/2.854/1.203 ms') 2026-01-15 02:08:57,852 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79902114-11691549 passed 2026-01-15 02:08:58,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:08:58,003 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79902114-11691549, IP 167.54.185.195, Port 22 2026-01-15 02:08:58,166 - DEBUG - VM ctest-TestRoutersBasic-79902114-11691549 is ready for SSH connections 2026-01-15 02:08:58,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:08:58,166 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.54.185.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-01-15 02:08:58,166 - DEBUG - ping -s 56 -c 3 -W 1 167.54.185.195 2026-01-15 02:09:01,901 - DEBUG - PING 167.54.185.195 (167.54.185.195): 56 data bytes 64 bytes from 167.54.185.195: seq=0 ttl=62 time=4.990 ms 64 bytes from 167.54.185.195: seq=1 ttl=62 time=1.100 ms 64 bytes from 167.54.185.195: seq=2 ttl=62 time=0.757 ms --- 167.54.185.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/2.282/4.990 ms 2026-01-15 02:09:01,901 - INFO - Ping to IP 167.54.185.195 from VM ctest-TestRoutersBasic-79902114-00658328 passed 2026-01-15 02:09:01,901 - INFO - Deleting interface with subnet_id e135c6af-4a01-4da8-adf2-ade9e4f82a21, port_id None from router 118f2917-d4f2-4319-9dfb-9b7aa0c09fb3 2026-01-15 02:09:02,111 - INFO - Deleting VM ctest-TestRoutersBasic-79902114-11691549 2026-01-15 02:09:02,202 - INFO - Deleting VM ctest-TestRoutersBasic-79902114-00658328 2026-01-15 02:09:02,279 - INFO - Deleting VN ctest-ext_vn-43098680 2026-01-15 02:09:02,355 - DEBUG - VN ecc65c51-fffc-4ba9-be42-16e8ffbaeb96 still in use: Unable to complete operation on network ecc65c51-fffc-4ba9-be42-16e8ffbaeb96. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f4cecc79-dc02-4e82-94e7-8a327428d81b'] 2026-01-15 02:09:02,355 - WARNING - Deleting VN ctest-ext_vn-43098680 failed..Will retry 2026-01-15 02:09:04,458 - DEBUG - Response for deleting network () 2026-01-15 02:09:04,458 - INFO - Deleting VN ctest-vn-15661211 2026-01-15 02:09:04,582 - DEBUG - Response for deleting network () 2026-01-15 02:09:04,840 - DEBUG - No XMPP flaps were noticed during the test 2026-01-15 02:09:04,840 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-01-15 02:09:04,841 - INFO - -------------------------------------------------------------------------------- 2026-01-15 02:09:05,552 - INFO - Deleted project: ctest-TestRoutersBasic-79902114, ID : d156c50b-0e78-47a2-b6f6-cc8714554296