2026-04-03 17:12:16,413 - INFO - Domain Default found not creating 2026-04-03 17:12:16,590 - INFO - Project ctest-TestRoutersBasic-85765199 not found, creating it 2026-04-03 17:12:17,052 - INFO - Created Project:ctest-TestRoutersBasic-85765199, ID : 02ed0559-0e76-4f75-9018-9b877086ff8b 2026-04-03 17:12:18,582 - INFO - ================================================================================ 2026-04-03 17:12:18,582 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-03 17:12:18,582 - 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-04-03 17:12:18,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2026-04-03 17:12:18,848 - INFO - Initial checks done. Running the testcase now 2026-04-03 17:12:18,848 - INFO - 2026-04-03 17:12:19,588 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85765199 2026-04-03 17:12:19,684 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85765199 2026-04-03 17:12:20,004 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85765199', 'default']} 2026-04-03 17:12:20,299 - DEBUG - Response for create_network : {'network': {'id': '16afa85b-39b0-4b4f-a769-6b8907d934f7', 'name': 'ctest-vn-56521200', 'tenant_id': '02ed05590e764f7590189b877086ff8b', 'project_id': '02ed05590e764f7590189b877086ff8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85765199', 'ctest-vn-56521200'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 17:12:20,521 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3708bf2-d8f8-4c40-8457-13a958b089f5', 'name': '', 'tenant_id': '02ed05590e764f7590189b877086ff8b', 'network_id': '16afa85b-39b0-4b4f-a769-6b8907d934f7', 'ip_version': 4, 'cidr': '108.40.57.128/26', 'allocation_pools': [{'start': '108.40.57.130', 'end': '108.40.57.190'}], 'gateway_ip': '108.40.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.40.57.130', 'tags': [], 'project_id': '02ed05590e764f7590189b877086ff8b'}} 2026-04-03 17:12:20,539 - INFO - Created VN ctest-vn-56521200 2026-04-03 17:12:20,588 - DEBUG - VN ctest-vn-56521200 UUID is 16afa85b-39b0-4b4f-a769-6b8907d934f7 2026-04-03 17:12:20,902 - DEBUG - Response for create_network : {'network': {'id': '7647d0e5-271b-46d4-b542-f73387a5a8be', 'name': 'ctest-ext_vn-68692760', 'tenant_id': '02ed05590e764f7590189b877086ff8b', 'project_id': '02ed05590e764f7590189b877086ff8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85765199', 'ctest-ext_vn-68692760'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 17:12:21,122 - DEBUG - Response for create_subnet : {'subnet': {'id': '1620e71d-f721-4a09-adbd-ef208aa2c667', 'name': '', 'tenant_id': '02ed05590e764f7590189b877086ff8b', 'network_id': '7647d0e5-271b-46d4-b542-f73387a5a8be', 'ip_version': 4, 'cidr': '103.162.170.128/26', 'allocation_pools': [{'start': '103.162.170.130', 'end': '103.162.170.190'}], 'gateway_ip': '103.162.170.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.162.170.130', 'tags': [], 'project_id': '02ed05590e764f7590189b877086ff8b'}} 2026-04-03 17:12:21,142 - INFO - Created VN ctest-ext_vn-68692760 2026-04-03 17:12:21,196 - DEBUG - VN ctest-ext_vn-68692760 UUID is 7647d0e5-271b-46d4-b542-f73387a5a8be 2026-04-03 17:12:21,382 - DEBUG - Services list from nova: [, , ] 2026-04-03 17:12:22,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5590-1) 2026-04-03 17:12:23,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5590-1) 2026-04-03 17:12:23,642 - INFO - Setting gateway for router 3333c2f8-da03-4392-bd2a-18cec3061479 to network 7647d0e5-271b-46d4-b542-f73387a5a8be 2026-04-03 17:12:23,692 - INFO - Adding interface with subnet_id f3708bf2-d8f8-4c40-8457-13a958b089f5, port_id None to router 3333c2f8-da03-4392-bd2a-18cec3061479 2026-04-03 17:12:24,055 - INFO - Waiting for VM ctest-TestRoutersBasic-85765199-40125863 to be up.. 2026-04-03 17:12:24,182 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-03 17:12:29,257 - DEBUG - VM is in ACTIVE state now 2026-04-03 17:12:29,258 - INFO - VM name : ctest-TestRoutersBasic-85765199-40125863 2026-04-03 17:12:29,344 - DEBUG - VM ctest-TestRoutersBasic-85765199-40125863 ID is b446a5e0-abf8-4b7f-bf97-6234d37a2de5 2026-04-03 17:12:29,369 - DEBUG - VM ctest-TestRoutersBasic-85765199-40125863 launched on Node cn-jenkins-deploy-platform-ansible-os-5590-1 2026-04-03 17:12:29,445 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b446a5e0-abf8-4b7f-bf97-6234d37a2de5 2026-04-03 17:12:29,755 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b446a5e0-abf8-4b7f-bf97-6234d37a2de5 2026-04-03 17:12:29,800 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4965f322-6e38-4aa9-9bc0-4e35b0d8200a 2026-04-03 17:12:33,067 - 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 1026ms') 2026-04-03 17:12:33,067 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85765199-40125863 failed! 2026-04-03 17:12:33,128 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85765199:ctest-vn-56521200 is 108.40.57.129 and allocation pool is NOT set 2026-04-03 17:12:35,191 - 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=2.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.469/1.564/2.660/1.095 ms') 2026-04-03 17:12:35,191 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85765199-40125863 passed 2026-04-03 17:12:35,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 17:12:35,344 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85765199-40125863, IP 108.40.57.131, Port 22 2026-04-03 17:12:35,516 - DEBUG - VM ctest-TestRoutersBasic-85765199-40125863 is ready for SSH connections 2026-04-03 17:12:35,516 - INFO - Waiting for VM ctest-TestRoutersBasic-85765199-24946867 to be up.. 2026-04-03 17:12:35,598 - DEBUG - VM is in ACTIVE state now 2026-04-03 17:12:35,599 - INFO - VM name : ctest-TestRoutersBasic-85765199-24946867 2026-04-03 17:12:35,677 - DEBUG - VM ctest-TestRoutersBasic-85765199-24946867 ID is d5861348-d89f-4865-ac68-42bd4049a4c9 2026-04-03 17:12:35,677 - DEBUG - VM ctest-TestRoutersBasic-85765199-24946867 launched on Node cn-jenkins-deploy-platform-ansible-os-5590-1 2026-04-03 17:12:35,750 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d5861348-d89f-4865-ac68-42bd4049a4c9 2026-04-03 17:12:35,759 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/60dfb2e4-d0f8-4a80-9ee6-b6231f8fa385 2026-04-03 17:12:36,997 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/1.943/3.480/1.536 ms') 2026-04-03 17:12:36,997 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-85765199-24946867 passed 2026-04-03 17:12:37,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 17:12:37,148 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85765199-24946867, IP 103.162.170.131, Port 22 2026-04-03 17:12:37,315 - DEBUG - VM ctest-TestRoutersBasic-85765199-24946867 is ready for SSH connections 2026-04-03 17:12:37,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 17:12:37,315 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.162.170.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-03 17:12:37,316 - DEBUG - ping -s 56 -c 3 -W 1 103.162.170.131 2026-04-03 17:12:41,006 - DEBUG - PING 103.162.170.131 (103.162.170.131): 56 data bytes 64 bytes from 103.162.170.131: seq=0 ttl=62 time=6.734 ms 64 bytes from 103.162.170.131: seq=1 ttl=62 time=0.917 ms 64 bytes from 103.162.170.131: seq=2 ttl=62 time=0.849 ms --- 103.162.170.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/2.833/6.734 ms 2026-04-03 17:12:41,006 - INFO - Ping to IP 103.162.170.131 from VM ctest-TestRoutersBasic-85765199-40125863 passed 2026-04-03 17:12:41,006 - INFO - Deleting interface with subnet_id f3708bf2-d8f8-4c40-8457-13a958b089f5, port_id None from router 3333c2f8-da03-4392-bd2a-18cec3061479 2026-04-03 17:12:41,197 - INFO - Deleting VM ctest-TestRoutersBasic-85765199-24946867 2026-04-03 17:12:41,274 - INFO - Deleting VM ctest-TestRoutersBasic-85765199-40125863 2026-04-03 17:12:41,369 - INFO - Deleting VN ctest-ext_vn-68692760 2026-04-03 17:12:41,447 - DEBUG - VN 7647d0e5-271b-46d4-b542-f73387a5a8be still in use: Unable to complete operation on network 7647d0e5-271b-46d4-b542-f73387a5a8be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-991d396e-0e39-4013-b20c-afe2933e47fc'] 2026-04-03 17:12:41,447 - WARNING - Deleting VN ctest-ext_vn-68692760 failed..Will retry 2026-04-03 17:12:43,554 - DEBUG - Response for deleting network () 2026-04-03 17:12:43,554 - INFO - Deleting VN ctest-vn-56521200 2026-04-03 17:12:43,664 - DEBUG - Response for deleting network () 2026-04-03 17:12:43,926 - DEBUG - No XMPP flaps were noticed during the test
2026-04-03 17:12:43,926 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-04-03 17:12:43,926 - INFO - -------------------------------------------------------------------------------- 2026-04-03 17:12:44,617 - INFO - Deleted project: ctest-TestRoutersBasic-85765199, ID : 02ed0559-0e76-4f75-9018-9b877086ff8b