2026-09-29 20:56:30,780 - INFO - Domain Default found not creating 2026-09-29 20:56:30,971 - INFO - Project ctest-TestRoutersBasic-28351620 not found, creating it 2026-09-29 20:56:31,623 - INFO - Created Project:ctest-TestRoutersBasic-28351620, ID : 2a130954-0bab-4924-9b50-afd3074ca9d6 2026-09-29 20:56:33,395 - INFO - ================================================================================ 2026-09-29 20:56:33,396 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-29 20:56:33,396 - 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 20:56:33,675 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with 2026-09-29 20:56:33,676 - INFO - Initial checks done. Running the testcase now 2026-09-29 20:56:33,676 - INFO - 2026-09-29 20:56:34,547 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28351620 2026-09-29 20:56:34,647 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28351620 2026-09-29 20:56:34,978 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28351620', 'default']} 2026-09-29 20:56:35,294 - DEBUG - Response for create_network : {'network': {'id': 'c35e44bd-37c5-4d67-86b3-f6939c398831', 'name': 'ctest-vn-48190371', 'tenant_id': '2a1309540bab49249b50afd3074ca9d6', 'project_id': '2a1309540bab49249b50afd3074ca9d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28351620', 'ctest-vn-48190371'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 20:56:35,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '38e5c503-dd08-4002-a920-a07718c4b4b6', 'name': '', 'tenant_id': '2a1309540bab49249b50afd3074ca9d6', 'network_id': 'c35e44bd-37c5-4d67-86b3-f6939c398831', 'ip_version': 4, 'cidr': '111.235.25.64/26', 'allocation_pools': [{'start': '111.235.25.66', 'end': '111.235.25.126'}], 'gateway_ip': '111.235.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.235.25.66', 'tags': [], 'project_id': '2a1309540bab49249b50afd3074ca9d6'}} 2026-09-29 20:56:35,543 - INFO - Created VN ctest-vn-48190371 2026-09-29 20:56:35,595 - DEBUG - VN ctest-vn-48190371 UUID is c35e44bd-37c5-4d67-86b3-f6939c398831 2026-09-29 20:56:35,955 - DEBUG - Response for create_network : {'network': {'id': '3e12b2e9-1a5c-42b9-98e2-174051897182', 'name': 'ctest-ext_vn-42592862', 'tenant_id': '2a1309540bab49249b50afd3074ca9d6', 'project_id': '2a1309540bab49249b50afd3074ca9d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28351620', 'ctest-ext_vn-42592862'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 20:56:36,193 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e00b75c2-8b97-435c-9659-3b775abe150c', 'name': '', 'tenant_id': '2a1309540bab49249b50afd3074ca9d6', 'network_id': '3e12b2e9-1a5c-42b9-98e2-174051897182', 'ip_version': 4, 'cidr': '103.22.43.192/26', 'allocation_pools': [{'start': '103.22.43.194', 'end': '103.22.43.254'}], 'gateway_ip': '103.22.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.22.43.194', 'tags': [], 'project_id': '2a1309540bab49249b50afd3074ca9d6'}} 2026-09-29 20:56:36,213 - INFO - Created VN ctest-ext_vn-42592862 2026-09-29 20:56:36,267 - DEBUG - VN ctest-ext_vn-42592862 UUID is 3e12b2e9-1a5c-42b9-98e2-174051897182 2026-09-29 20:56:36,473 - DEBUG - Services list from nova: [, , ] 2026-09-29 20:56:37,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6330-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6330-1) 2026-09-29 20:56:37,446 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6330-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6330-1) 2026-09-29 20:56:37,544 - INFO - Setting gateway for router f6a3823b-547b-46d5-968e-2b75469c916e to network 3e12b2e9-1a5c-42b9-98e2-174051897182 2026-09-29 20:56:37,615 - INFO - Adding interface with subnet_id 38e5c503-dd08-4002-a920-a07718c4b4b6, port_id None to router f6a3823b-547b-46d5-968e-2b75469c916e 2026-09-29 20:56:37,918 - INFO - Waiting for VM ctest-TestRoutersBasic-28351620-40487858 to be up.. 2026-09-29 20:56:37,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 20:56:43,085 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 20:56:48,169 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 20:56:53,248 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 20:56:58,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 20:57:03,449 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 20:57:08,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 20:57:13,635 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 20:57:18,741 - DEBUG - VM is in ACTIVE state now 2026-09-29 20:57:18,741 - INFO - VM name : ctest-TestRoutersBasic-28351620-40487858 2026-09-29 20:57:18,834 - DEBUG - VM ctest-TestRoutersBasic-28351620-40487858 ID is 534f78ca-e593-4529-bcc0-d273d70fee02 2026-09-29 20:57:18,860 - DEBUG - VM ctest-TestRoutersBasic-28351620-40487858 launched on Node cn-jenkins-deploy-platform-ansible-os-6330-1 2026-09-29 20:57:18,952 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/534f78ca-e593-4529-bcc0-d273d70fee02 2026-09-29 20:57:19,332 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/534f78ca-e593-4529-bcc0-d273d70fee02 2026-09-29 20:57:19,365 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/395253b1-1559-4b2d-afe1-78140808bf6e 2026-09-29 20:57:22,641 - 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 1013ms') 2026-09-29 20:57:22,641 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-28351620-40487858 failed! 2026-09-29 20:57:22,699 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28351620:ctest-vn-48190371 is 111.235.25.65 and allocation pool is NOT set 2026-09-29 20:57:24,758 - 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=5.74 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.500 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.500/3.120/5.740/2.620 ms') 2026-09-29 20:57:24,758 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-28351620-40487858 passed 2026-09-29 20:57:24,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 20:57:24,915 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28351620-40487858, IP 111.235.25.67, Port 22 2026-09-29 20:57:25,085 - DEBUG - VM ctest-TestRoutersBasic-28351620-40487858 is ready for SSH connections 2026-09-29 20:57:25,085 - INFO - Waiting for VM ctest-TestRoutersBasic-28351620-59846913 to be up.. 2026-09-29 20:57:25,166 - DEBUG - VM is in ACTIVE state now 2026-09-29 20:57:25,166 - INFO - VM name : ctest-TestRoutersBasic-28351620-59846913 2026-09-29 20:57:25,242 - DEBUG - VM ctest-TestRoutersBasic-28351620-59846913 ID is f2a0aaa7-b691-415c-9ee4-e563c7fa238f 2026-09-29 20:57:25,243 - DEBUG - VM ctest-TestRoutersBasic-28351620-59846913 launched on Node cn-jenkins-deploy-platform-ansible-os-6330-1 2026-09-29 20:57:25,326 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/f2a0aaa7-b691-415c-9ee4-e563c7fa238f 2026-09-29 20:57:25,335 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/3337d18f-1a0b-4bd8-86f7-84f2580e5ccc 2026-09-29 20:57:28,590 - 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=2 ttl=63 time=6.32 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 6.319/6.319/6.319/0.000 ms') 2026-09-29 20:57:28,590 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-28351620-59846913 passed 2026-09-29 20:57:28,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 20:57:28,743 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28351620-59846913, IP 103.22.43.196, Port 22 2026-09-29 20:57:28,910 - DEBUG - VM ctest-TestRoutersBasic-28351620-59846913 is ready for SSH connections 2026-09-29 20:57:28,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 20:57:28,910 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.22.43.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-29 20:57:28,910 - DEBUG - ping -s 56 -c 3 -W 1 103.22.43.196 2026-09-29 20:57:31,974 - DEBUG - PING 103.22.43.196 (103.22.43.196): 56 data bytes 64 bytes from 103.22.43.196: seq=0 ttl=62 time=7.139 ms 64 bytes from 103.22.43.196: seq=1 ttl=62 time=1.058 ms 64 bytes from 103.22.43.196: seq=2 ttl=62 time=1.778 ms --- 103.22.43.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.058/3.325/7.139 ms 2026-09-29 20:57:31,974 - INFO - Ping to IP 103.22.43.196 from VM ctest-TestRoutersBasic-28351620-40487858 passed 2026-09-29 20:57:31,975 - INFO - Deleting interface with subnet_id 38e5c503-dd08-4002-a920-a07718c4b4b6, port_id None from router f6a3823b-547b-46d5-968e-2b75469c916e 2026-09-29 20:57:32,225 - INFO - Deleting VM ctest-TestRoutersBasic-28351620-59846913 2026-09-29 20:57:32,312 - INFO - Deleting VM ctest-TestRoutersBasic-28351620-40487858 2026-09-29 20:57:32,413 - INFO - Deleting VN ctest-ext_vn-42592862 2026-09-29 20:57:32,500 - DEBUG - VN 3e12b2e9-1a5c-42b9-98e2-174051897182 still in use: Unable to complete operation on network 3e12b2e9-1a5c-42b9-98e2-174051897182. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e30355a8-d79b-4cf1-b671-021c58498b54'] 2026-09-29 20:57:32,500 - WARNING - Deleting VN ctest-ext_vn-42592862 failed..Will retry 2026-09-29 20:57:34,713 - DEBUG - Response for deleting network () 2026-09-29 20:57:34,714 - INFO - Deleting VN ctest-vn-48190371 2026-09-29 20:57:34,880 - DEBUG - Response for deleting network () 2026-09-29 20:57:35,159 - DEBUG - No XMPP flaps were noticed during the test 2026-09-29 20:57:35,160 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02] 2026-09-29 20:57:35,160 - INFO - -------------------------------------------------------------------------------- 2026-09-29 20:57:35,958 - INFO - Deleted project: ctest-TestRoutersBasic-28351620, ID : 2a130954-0bab-4924-9b50-afd3074ca9d6