2026-07-31 06:41:14,210 - INFO - Domain Default found not creating 2026-07-31 06:41:14,561 - INFO - Project ctest-TestRoutersBasic-97959779 not found, creating it 2026-07-31 06:41:15,118 - INFO - Created Project:ctest-TestRoutersBasic-97959779, ID : 84047430-38a5-4e80-8243-bf6241e94dc8 2026-07-31 06:41:16,984 - INFO - ================================================================================ 2026-07-31 06:41:16,985 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-31 06:41:16,985 - 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-07-31 06:41:17,248 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-31 06:41:17,248 - INFO - Initial checks done. Running the testcase now 2026-07-31 06:41:17,248 - INFO - 2026-07-31 06:41:18,128 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97959779 2026-07-31 06:41:18,228 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97959779 2026-07-31 06:41:18,564 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97959779', 'default']} 2026-07-31 06:41:18,906 - DEBUG - Response for create_network : {'network': {'id': '2109b40b-8cbd-4366-b997-d34b09d634aa', 'name': 'ctest-vn-88271111', 'tenant_id': '8404743038a54e808243bf6241e94dc8', 'project_id': '8404743038a54e808243bf6241e94dc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97959779', 'ctest-vn-88271111'], 'port_security_enabled': True, 'description': ''}} 2026-07-31 06:41:19,084 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb5426f2-921c-40ca-a92b-0a159c16d551', 'name': '', 'tenant_id': '8404743038a54e808243bf6241e94dc8', 'network_id': '2109b40b-8cbd-4366-b997-d34b09d634aa', 'ip_version': 4, 'cidr': '60.19.48.64/26', 'allocation_pools': [{'start': '60.19.48.66', 'end': '60.19.48.126'}], 'gateway_ip': '60.19.48.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.19.48.66', 'tags': [], 'project_id': '8404743038a54e808243bf6241e94dc8'}} 2026-07-31 06:41:19,107 - INFO - Created VN ctest-vn-88271111 2026-07-31 06:41:19,164 - DEBUG - VN ctest-vn-88271111 UUID is 2109b40b-8cbd-4366-b997-d34b09d634aa 2026-07-31 06:41:19,593 - DEBUG - Response for create_network : {'network': {'id': 'd3126955-aa2d-40b1-9d9a-0704777c936f', 'name': 'ctest-ext_vn-72222989', 'tenant_id': '8404743038a54e808243bf6241e94dc8', 'project_id': '8404743038a54e808243bf6241e94dc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97959779', 'ctest-ext_vn-72222989'], 'port_security_enabled': True, 'description': ''}} 2026-07-31 06:41:19,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '585b0c87-eaf5-4b1a-8084-01f6d0399e87', 'name': '', 'tenant_id': '8404743038a54e808243bf6241e94dc8', 'network_id': 'd3126955-aa2d-40b1-9d9a-0704777c936f', 'ip_version': 4, 'cidr': '33.118.111.64/26', 'allocation_pools': [{'start': '33.118.111.66', 'end': '33.118.111.126'}], 'gateway_ip': '33.118.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.118.111.66', 'tags': [], 'project_id': '8404743038a54e808243bf6241e94dc8'}} 2026-07-31 06:41:19,820 - INFO - Created VN ctest-ext_vn-72222989 2026-07-31 06:41:19,876 - DEBUG - VN ctest-ext_vn-72222989 UUID is d3126955-aa2d-40b1-9d9a-0704777c936f 2026-07-31 06:41:20,053 - DEBUG - Services list from nova: [, , ] 2026-07-31 06:41:20,553 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6127-1) 2026-07-31 06:41:21,003 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6127-1) 2026-07-31 06:41:21,110 - INFO - Setting gateway for router 03bd08ca-9a8c-4ee1-9ab8-4894e25267db to network d3126955-aa2d-40b1-9d9a-0704777c936f 2026-07-31 06:41:21,197 - INFO - Adding interface with subnet_id eb5426f2-921c-40ca-a92b-0a159c16d551, port_id None to router 03bd08ca-9a8c-4ee1-9ab8-4894e25267db 2026-07-31 06:41:21,532 - INFO - Waiting for VM ctest-TestRoutersBasic-97959779-58034001 to be up.. 2026-07-31 06:41:21,610 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-31 06:41:26,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-31 06:41:31,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-31 06:41:36,892 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-31 06:41:41,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-31 06:41:47,075 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-31 06:41:52,177 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-31 06:41:57,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-31 06:42:02,380 - DEBUG - VM is in ACTIVE state now 2026-07-31 06:42:02,380 - INFO - VM name : ctest-TestRoutersBasic-97959779-58034001 2026-07-31 06:42:02,476 - DEBUG - VM ctest-TestRoutersBasic-97959779-58034001 ID is d03c1a57-1bed-46e0-8415-0152b2b43978 2026-07-31 06:42:02,501 - DEBUG - VM ctest-TestRoutersBasic-97959779-58034001 launched on Node cn-jenkins-deploy-platform-ansible-os-6127-1 2026-07-31 06:42:02,602 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d03c1a57-1bed-46e0-8415-0152b2b43978 2026-07-31 06:42:02,975 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d03c1a57-1bed-46e0-8415-0152b2b43978 2026-07-31 06:42:03,017 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/154f3ef7-4bc1-4079-aa19-b5823491b7cc 2026-07-31 06:42:06,323 - 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 1021ms') 2026-07-31 06:42:06,323 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-97959779-58034001 failed! 2026-07-31 06:42:06,380 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97959779:ctest-vn-88271111 is 60.19.48.65 and allocation pool is NOT set 2026-07-31 06:42:08,446 - 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=4.34 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.488 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.488/2.413/4.338/1.925 ms') 2026-07-31 06:42:08,446 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-97959779-58034001 passed 2026-07-31 06:42:08,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-31 06:42:08,600 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97959779-58034001, IP 60.19.48.67, Port 22 2026-07-31 06:42:08,770 - DEBUG - VM ctest-TestRoutersBasic-97959779-58034001 is ready for SSH connections 2026-07-31 06:42:08,770 - INFO - Waiting for VM ctest-TestRoutersBasic-97959779-71142057 to be up.. 2026-07-31 06:42:08,858 - DEBUG - VM is in ACTIVE state now 2026-07-31 06:42:08,858 - INFO - VM name : ctest-TestRoutersBasic-97959779-71142057 2026-07-31 06:42:08,951 - DEBUG - VM ctest-TestRoutersBasic-97959779-71142057 ID is 10fb5705-5906-425b-a920-8e0be3a98da1 2026-07-31 06:42:08,951 - DEBUG - VM ctest-TestRoutersBasic-97959779-71142057 launched on Node cn-jenkins-deploy-platform-ansible-os-6127-1 2026-07-31 06:42:09,042 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/10fb5705-5906-425b-a920-8e0be3a98da1 2026-07-31 06:42:09,055 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8b390151-f80a-4554-a276-89ac764a7d02 2026-07-31 06:42:12,335 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-07-31 06:42:12,335 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-97959779-71142057 failed! 2026-07-31 06:42:12,392 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97959779:ctest-ext_vn-72222989 is 33.118.111.65 and allocation pool is NOT set 2026-07-31 06:42:14,460 - 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.92 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.676 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.676/2.295/3.915/1.619 ms') 2026-07-31 06:42:14,460 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-97959779-71142057 passed 2026-07-31 06:42:14,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-31 06:42:14,620 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97959779-71142057, IP 33.118.111.68, Port 22 2026-07-31 06:42:14,796 - DEBUG - VM ctest-TestRoutersBasic-97959779-71142057 is ready for SSH connections 2026-07-31 06:42:14,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-31 06:42:14,796 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.118.111.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-31 06:42:14,796 - DEBUG - ping -s 56 -c 3 -W 1 33.118.111.68 2026-07-31 06:42:18,236 - DEBUG - PING 33.118.111.68 (33.118.111.68): 56 data bytes 64 bytes from 33.118.111.68: seq=0 ttl=62 time=7.842 ms 64 bytes from 33.118.111.68: seq=1 ttl=62 time=1.273 ms 64 bytes from 33.118.111.68: seq=2 ttl=62 time=1.146 ms --- 33.118.111.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.146/3.420/7.842 ms 2026-07-31 06:42:18,236 - INFO - Ping to IP 33.118.111.68 from VM ctest-TestRoutersBasic-97959779-58034001 passed 2026-07-31 06:42:18,236 - INFO - Deleting interface with subnet_id eb5426f2-921c-40ca-a92b-0a159c16d551, port_id None from router 03bd08ca-9a8c-4ee1-9ab8-4894e25267db 2026-07-31 06:42:18,518 - INFO - Deleting VM ctest-TestRoutersBasic-97959779-71142057 2026-07-31 06:42:18,614 - INFO - Deleting VM ctest-TestRoutersBasic-97959779-58034001 2026-07-31 06:42:18,695 - INFO - Deleting VN ctest-ext_vn-72222989 2026-07-31 06:42:18,786 - DEBUG - VN d3126955-aa2d-40b1-9d9a-0704777c936f still in use: Unable to complete operation on network d3126955-aa2d-40b1-9d9a-0704777c936f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7e5e0b75-326b-4348-a87b-f222463849ff'] 2026-07-31 06:42:18,786 - WARNING - Deleting VN ctest-ext_vn-72222989 failed..Will retry 2026-07-31 06:42:21,006 - DEBUG - Response for deleting network () 2026-07-31 06:42:21,006 - INFO - Deleting VN ctest-vn-88271111 2026-07-31 06:42:21,211 - DEBUG - Response for deleting network () 2026-07-31 06:42:21,500 - DEBUG - No XMPP flaps were noticed during the test
2026-07-31 06:42:21,500 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05]
2026-07-31 06:42:21,500 - INFO - -------------------------------------------------------------------------------- 2026-07-31 06:42:22,385 - INFO - Deleted project: ctest-TestRoutersBasic-97959779, ID : 84047430-38a5-4e80-8243-bf6241e94dc8