2026-09-29 15:23:34,704 - INFO - Domain Default found not creating 2026-09-29 15:23:34,894 - INFO - Project ctest-TestRoutersBasic-71699663 not found, creating it 2026-09-29 15:23:35,541 - INFO - Created Project:ctest-TestRoutersBasic-71699663, ID : 4b498e7f-9774-4111-8fd5-992d2c612c49 2026-09-29 15:23:37,422 - INFO - ================================================================================ 2026-09-29 15:23:37,423 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-29 15:23:37,423 - 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-09-29 15:23:37,701 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-09-29 15:23:37,701 - INFO - Initial checks done. Running the testcase now 2026-09-29 15:23:37,701 - INFO - 2026-09-29 15:23:38,580 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71699663 2026-09-29 15:23:38,682 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71699663 2026-09-29 15:23:39,017 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71699663', 'default']} 2026-09-29 15:23:39,357 - DEBUG - Response for create_network : {'network': {'id': 'ce414337-f322-4517-91cf-bcdd283cda43', 'name': 'ctest-vn-12158941', 'tenant_id': '4b498e7f977441118fd5992d2c612c49', 'project_id': '4b498e7f977441118fd5992d2c612c49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71699663', 'ctest-vn-12158941'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 15:23:39,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '507cb5b9-3317-47e9-989e-146b56d58066', 'name': '', 'tenant_id': '4b498e7f977441118fd5992d2c612c49', 'network_id': 'ce414337-f322-4517-91cf-bcdd283cda43', 'ip_version': 4, 'cidr': '220.61.27.64/26', 'allocation_pools': [{'start': '220.61.27.66', 'end': '220.61.27.126'}], 'gateway_ip': '220.61.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.61.27.66', 'tags': [], 'project_id': '4b498e7f977441118fd5992d2c612c49'}} 2026-09-29 15:23:39,577 - INFO - Created VN ctest-vn-12158941 2026-09-29 15:23:39,630 - DEBUG - VN ctest-vn-12158941 UUID is ce414337-f322-4517-91cf-bcdd283cda43 2026-09-29 15:23:40,005 - DEBUG - Response for create_network : {'network': {'id': '16ca5614-9075-4024-83b8-0083826cfb76', 'name': 'ctest-ext_vn-64829618', 'tenant_id': '4b498e7f977441118fd5992d2c612c49', 'project_id': '4b498e7f977441118fd5992d2c612c49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71699663', 'ctest-ext_vn-64829618'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 15:23:40,258 - DEBUG - Response for create_subnet : {'subnet': {'id': '445d165e-c344-4499-81a7-6f6dae557288', 'name': '', 'tenant_id': '4b498e7f977441118fd5992d2c612c49', 'network_id': '16ca5614-9075-4024-83b8-0083826cfb76', 'ip_version': 4, 'cidr': '117.217.243.0/26', 'allocation_pools': [{'start': '117.217.243.2', 'end': '117.217.243.62'}], 'gateway_ip': '117.217.243.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.217.243.2', 'tags': [], 'project_id': '4b498e7f977441118fd5992d2c612c49'}} 2026-09-29 15:23:40,280 - INFO - Created VN ctest-ext_vn-64829618 2026-09-29 15:23:40,338 - DEBUG - VN ctest-ext_vn-64829618 UUID is 16ca5614-9075-4024-83b8-0083826cfb76 2026-09-29 15:23:40,556 - DEBUG - Services list from nova: [, , ] 2026-09-29 15:23:41,099 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6327-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6327-1) 2026-09-29 15:23:41,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6327-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6327-1) 2026-09-29 15:23:41,634 - INFO - Setting gateway for router dc1e7714-dea9-4d2e-82b6-cea93374b8fd to network 16ca5614-9075-4024-83b8-0083826cfb76 2026-09-29 15:23:41,708 - INFO - Adding interface with subnet_id 507cb5b9-3317-47e9-989e-146b56d58066, port_id None to router dc1e7714-dea9-4d2e-82b6-cea93374b8fd 2026-09-29 15:23:42,080 - INFO - Waiting for VM ctest-TestRoutersBasic-71699663-70118032 to be up.. 2026-09-29 15:23:42,148 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:23:47,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:23:52,317 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:23:57,419 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:24:02,530 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:24:07,635 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:24:12,729 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:24:17,818 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 15:24:22,923 - DEBUG - VM is in ACTIVE state now 2026-09-29 15:24:22,923 - INFO - VM name : ctest-TestRoutersBasic-71699663-70118032 2026-09-29 15:24:23,007 - DEBUG - VM ctest-TestRoutersBasic-71699663-70118032 ID is ce8ce855-367d-43be-9668-05008a1fd7c1 2026-09-29 15:24:23,030 - DEBUG - VM ctest-TestRoutersBasic-71699663-70118032 launched on Node cn-jenkins-deploy-platform-ansible-os-6327-1 2026-09-29 15:24:23,144 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ce8ce855-367d-43be-9668-05008a1fd7c1 2026-09-29 15:24:23,525 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ce8ce855-367d-43be-9668-05008a1fd7c1 2026-09-29 15:24:23,564 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ecd8eb70-7df5-42d3-868d-992912bdcf15 2026-09-29 15:24:26,821 - 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 1009ms') 2026-09-29 15:24:26,821 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-71699663-70118032 failed! 2026-09-29 15:24:26,878 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71699663:ctest-vn-12158941 is 220.61.27.65 and allocation pool is NOT set 2026-09-29 15:24:30,953 - 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=2 ttl=63 time=5.04 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 5.039/5.039/5.039/0.000 ms') 2026-09-29 15:24:30,953 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-71699663-70118032 passed 2026-09-29 15:24:31,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 15:24:31,110 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71699663-70118032, IP 220.61.27.67, Port 22 2026-09-29 15:24:31,280 - DEBUG - VM ctest-TestRoutersBasic-71699663-70118032 is ready for SSH connections 2026-09-29 15:24:31,280 - INFO - Waiting for VM ctest-TestRoutersBasic-71699663-29317399 to be up.. 2026-09-29 15:24:31,372 - DEBUG - VM is in ACTIVE state now 2026-09-29 15:24:31,372 - INFO - VM name : ctest-TestRoutersBasic-71699663-29317399 2026-09-29 15:24:31,461 - DEBUG - VM ctest-TestRoutersBasic-71699663-29317399 ID is 6fd3d603-3913-4721-b9a7-0debbdaf5c2c 2026-09-29 15:24:31,461 - DEBUG - VM ctest-TestRoutersBasic-71699663-29317399 launched on Node cn-jenkins-deploy-platform-ansible-os-6327-1 2026-09-29 15:24:31,556 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6fd3d603-3913-4721-b9a7-0debbdaf5c2c 2026-09-29 15:24:31,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9e10b081-eef0-47a2-a644-5bbbc14020cf 2026-09-29 15:24:32,816 - 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=3.63 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.499 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.499/2.063/3.628/1.564 ms') 2026-09-29 15:24:32,816 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-71699663-29317399 passed 2026-09-29 15:24:32,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 15:24:32,970 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71699663-29317399, IP 117.217.243.4, Port 22 2026-09-29 15:24:33,140 - DEBUG - VM ctest-TestRoutersBasic-71699663-29317399 is ready for SSH connections 2026-09-29 15:24:33,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 15:24:33,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.217.243.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-29 15:24:33,140 - DEBUG - ping -s 56 -c 3 -W 1 117.217.243.4 2026-09-29 15:24:36,189 - DEBUG - PING 117.217.243.4 (117.217.243.4): 56 data bytes 64 bytes from 117.217.243.4: seq=0 ttl=62 time=6.916 ms 64 bytes from 117.217.243.4: seq=1 ttl=62 time=1.019 ms 64 bytes from 117.217.243.4: seq=2 ttl=62 time=0.972 ms --- 117.217.243.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/2.969/6.916 ms 2026-09-29 15:24:36,189 - INFO - Ping to IP 117.217.243.4 from VM ctest-TestRoutersBasic-71699663-70118032 passed 2026-09-29 15:24:36,190 - INFO - Deleting interface with subnet_id 507cb5b9-3317-47e9-989e-146b56d58066, port_id None from router dc1e7714-dea9-4d2e-82b6-cea93374b8fd 2026-09-29 15:24:36,436 - INFO - Deleting VM ctest-TestRoutersBasic-71699663-29317399 2026-09-29 15:24:36,527 - INFO - Deleting VM ctest-TestRoutersBasic-71699663-70118032 2026-09-29 15:24:36,625 - INFO - Deleting VN ctest-ext_vn-64829618 2026-09-29 15:24:36,714 - DEBUG - VN 16ca5614-9075-4024-83b8-0083826cfb76 still in use: Unable to complete operation on network 16ca5614-9075-4024-83b8-0083826cfb76. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f8973e04-23e0-4189-8c15-8ceaa7cdbc0a'] 2026-09-29 15:24:36,714 - WARNING - Deleting VN ctest-ext_vn-64829618 failed..Will retry 2026-09-29 15:24:38,915 - DEBUG - Response for deleting network () 2026-09-29 15:24:38,916 - INFO - Deleting VN ctest-vn-12158941 2026-09-29 15:24:39,069 - DEBUG - Response for deleting network () 2026-09-29 15:24:39,351 - DEBUG - No XMPP flaps were noticed during the test
2026-09-29 15:24:39,351 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02]
2026-09-29 15:24:39,351 - INFO - -------------------------------------------------------------------------------- 2026-09-29 15:24:40,193 - INFO - Deleted project: ctest-TestRoutersBasic-71699663, ID : 4b498e7f-9774-4111-8fd5-992d2c612c49