2026-01-20 19:08:47,717 - INFO - Domain Default found not creating 2026-01-20 19:08:47,932 - INFO - Project ctest-TestRoutersBasic-91700740 not found, creating it 2026-01-20 19:08:48,406 - INFO - Created Project:ctest-TestRoutersBasic-91700740, ID : a52caf88-126e-4f2c-8479-527ce2eec0d4 2026-01-20 19:08:50,090 - INFO - ================================================================================ 2026-01-20 19:08:50,091 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-20 19:08:50,091 - 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-20 19:08:50,346 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-20 19:08:50,346 - INFO - Initial checks done. Running the testcase now 2026-01-20 19:08:50,346 - INFO - 2026-01-20 19:08:51,158 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91700740 2026-01-20 19:08:51,256 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91700740 2026-01-20 19:08:51,584 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91700740', 'default']} 2026-01-20 19:08:51,883 - DEBUG - Response for create_network : {'network': {'id': '10397927-fd37-4c3b-8122-8a53c5a4c871', 'name': 'ctest-vn-95350591', 'tenant_id': 'a52caf88126e4f2c8479527ce2eec0d4', 'project_id': 'a52caf88126e4f2c8479527ce2eec0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91700740', 'ctest-vn-95350591'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 19:08:52,103 - DEBUG - Response for create_subnet : {'subnet': {'id': '40a133cf-1620-42de-b16a-f675a8c9ec71', 'name': '', 'tenant_id': 'a52caf88126e4f2c8479527ce2eec0d4', 'network_id': '10397927-fd37-4c3b-8122-8a53c5a4c871', 'ip_version': 4, 'cidr': '194.223.127.64/26', 'allocation_pools': [{'start': '194.223.127.66', 'end': '194.223.127.126'}], 'gateway_ip': '194.223.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.223.127.66', 'tags': [], 'project_id': 'a52caf88126e4f2c8479527ce2eec0d4'}} 2026-01-20 19:08:52,123 - INFO - Created VN ctest-vn-95350591 2026-01-20 19:08:52,176 - DEBUG - VN ctest-vn-95350591 UUID is 10397927-fd37-4c3b-8122-8a53c5a4c871 2026-01-20 19:08:52,495 - DEBUG - Response for create_network : {'network': {'id': '91360ac1-fafb-4d04-8611-cde5aaae6077', 'name': 'ctest-ext_vn-20276289', 'tenant_id': 'a52caf88126e4f2c8479527ce2eec0d4', 'project_id': 'a52caf88126e4f2c8479527ce2eec0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91700740', 'ctest-ext_vn-20276289'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 19:08:52,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '83e022a4-6e4b-4e64-b926-94471bb2c4c0', 'name': '', 'tenant_id': 'a52caf88126e4f2c8479527ce2eec0d4', 'network_id': '91360ac1-fafb-4d04-8611-cde5aaae6077', 'ip_version': 4, 'cidr': '214.164.132.192/26', 'allocation_pools': [{'start': '214.164.132.194', 'end': '214.164.132.254'}], 'gateway_ip': '214.164.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.164.132.194', 'tags': [], 'project_id': 'a52caf88126e4f2c8479527ce2eec0d4'}} 2026-01-20 19:08:52,670 - INFO - Created VN ctest-ext_vn-20276289 2026-01-20 19:08:52,724 - DEBUG - VN ctest-ext_vn-20276289 UUID is 91360ac1-fafb-4d04-8611-cde5aaae6077 2026-01-20 19:08:52,907 - DEBUG - Services list from nova: [, , ] 2026-01-20 19:08:54,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5052-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5052-1) 2026-01-20 19:08:55,360 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5052-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5052-1) 2026-01-20 19:08:55,443 - INFO - Setting gateway for router c052afd7-b892-4d4c-927e-58875f98586a to network 91360ac1-fafb-4d04-8611-cde5aaae6077 2026-01-20 19:08:55,525 - INFO - Adding interface with subnet_id 40a133cf-1620-42de-b16a-f675a8c9ec71, port_id None to router c052afd7-b892-4d4c-927e-58875f98586a 2026-01-20 19:08:55,823 - INFO - Waiting for VM ctest-TestRoutersBasic-91700740-41290893 to be up.. 2026-01-20 19:08:55,953 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-20 19:09:01,037 - DEBUG - VM is in ACTIVE state now 2026-01-20 19:09:01,037 - INFO - VM name : ctest-TestRoutersBasic-91700740-41290893 2026-01-20 19:09:01,129 - DEBUG - VM ctest-TestRoutersBasic-91700740-41290893 ID is 9b12e18a-b8c6-4c36-a35e-7af242c14e90 2026-01-20 19:09:01,153 - DEBUG - VM ctest-TestRoutersBasic-91700740-41290893 launched on Node cn-jenkins-deploy-platform-ansible-os-5052-1 2026-01-20 19:09:01,250 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9b12e18a-b8c6-4c36-a35e-7af242c14e90 2026-01-20 19:09:01,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9b12e18a-b8c6-4c36-a35e-7af242c14e90 2026-01-20 19:09:01,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c223a346-5ab1-428b-9872-2ad9b06f282d 2026-01-20 19:09:04,959 - 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 1001ms') 2026-01-20 19:09:04,959 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91700740-41290893 failed! 2026-01-20 19:09:05,016 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91700740:ctest-vn-95350591 is 194.223.127.65 and allocation pool is NOT set 2026-01-20 19:09:07,077 - 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=5.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 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 = 2.180/3.768/5.357/1.588 ms') 2026-01-20 19:09:07,077 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91700740-41290893 passed 2026-01-20 19:09:07,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:09:07,236 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91700740-41290893, IP 194.223.127.67, Port 22 2026-01-20 19:09:07,302 - 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-20 19:09:07,405 - DEBUG - VM ctest-TestRoutersBasic-91700740-41290893 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-20 19:09:12,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:09:12,407 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91700740-41290893, IP 194.223.127.67, Port 22 2026-01-20 19:09:12,567 - DEBUG - VM ctest-TestRoutersBasic-91700740-41290893 is ready for SSH connections 2026-01-20 19:09:12,568 - INFO - Waiting for VM ctest-TestRoutersBasic-91700740-34056594 to be up.. 2026-01-20 19:09:12,653 - DEBUG - VM is in ACTIVE state now 2026-01-20 19:09:12,653 - INFO - VM name : ctest-TestRoutersBasic-91700740-34056594 2026-01-20 19:09:12,741 - DEBUG - VM ctest-TestRoutersBasic-91700740-34056594 ID is 2aa5c1ef-a347-44b6-80c7-93945ed2fd31 2026-01-20 19:09:12,741 - DEBUG - VM ctest-TestRoutersBasic-91700740-34056594 launched on Node cn-jenkins-deploy-platform-ansible-os-5052-1 2026-01-20 19:09:12,821 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2aa5c1ef-a347-44b6-80c7-93945ed2fd31 2026-01-20 19:09:12,829 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/355347e6-71a2-4a9f-8b07-6b546755c9ba 2026-01-20 19:09:14,072 - 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=4.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.527 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.527/2.343/4.159/1.816 ms') 2026-01-20 19:09:14,072 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91700740-34056594 passed 2026-01-20 19:09:14,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:09:14,224 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91700740-34056594, IP 214.164.132.195, Port 22 2026-01-20 19:09:14,390 - DEBUG - VM ctest-TestRoutersBasic-91700740-34056594 is ready for SSH connections 2026-01-20 19:09:14,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:09:14,390 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.164.132.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-20 19:09:14,390 - DEBUG - ping -s 56 -c 3 -W 1 214.164.132.195 2026-01-20 19:09:18,176 - DEBUG - PING 214.164.132.195 (214.164.132.195): 56 data bytes 64 bytes from 214.164.132.195: seq=0 ttl=62 time=6.602 ms 64 bytes from 214.164.132.195: seq=1 ttl=62 time=1.017 ms 64 bytes from 214.164.132.195: seq=2 ttl=62 time=0.902 ms --- 214.164.132.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/2.840/6.602 ms 2026-01-20 19:09:18,176 - INFO - Ping to IP 214.164.132.195 from VM ctest-TestRoutersBasic-91700740-41290893 passed 2026-01-20 19:09:18,176 - INFO - Deleting interface with subnet_id 40a133cf-1620-42de-b16a-f675a8c9ec71, port_id None from router c052afd7-b892-4d4c-927e-58875f98586a 2026-01-20 19:09:18,374 - INFO - Deleting VM ctest-TestRoutersBasic-91700740-34056594 2026-01-20 19:09:18,446 - INFO - Deleting VM ctest-TestRoutersBasic-91700740-41290893 2026-01-20 19:09:18,535 - INFO - Deleting VN ctest-ext_vn-20276289 2026-01-20 19:09:18,608 - DEBUG - VN 91360ac1-fafb-4d04-8611-cde5aaae6077 still in use: Unable to complete operation on network 91360ac1-fafb-4d04-8611-cde5aaae6077. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f953c3ed-14a2-45e5-be90-3476f43ae98a'] 2026-01-20 19:09:18,608 - WARNING - Deleting VN ctest-ext_vn-20276289 failed..Will retry 2026-01-20 19:09:20,721 - DEBUG - Response for deleting network () 2026-01-20 19:09:20,721 - INFO - Deleting VN ctest-vn-95350591 2026-01-20 19:09:20,824 - DEBUG - Response for deleting network () 2026-01-20 19:09:21,081 - DEBUG - No XMPP flaps were noticed during the test
2026-01-20 19:09:21,082 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-01-20 19:09:21,082 - INFO - -------------------------------------------------------------------------------- 2026-01-20 19:09:21,839 - INFO - Deleted project: ctest-TestRoutersBasic-91700740, ID : a52caf88-126e-4f2c-8479-527ce2eec0d4