2026-10-30 02:52:32,687 - INFO - Domain Default found not creating 2026-10-30 02:52:32,814 - INFO - Project ctest-TestRoutersBasic-34257216 not found, creating it 2026-10-30 02:52:33,235 - INFO - Created Project:ctest-TestRoutersBasic-34257216, ID : 4f54b052-0ac9-4e91-a448-780017b33bb9 2026-10-30 02:52:34,608 - INFO - ================================================================================ 2026-10-30 02:52:34,608 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-30 02:52:34,608 - 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-10-30 02:52:34,855 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.25': '0'}} with 2026-10-30 02:52:34,855 - INFO - Initial checks done. Running the testcase now 2026-10-30 02:52:34,855 - INFO - 2026-10-30 02:52:35,574 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34257216 2026-10-30 02:52:35,667 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34257216 2026-10-30 02:52:35,967 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34257216', 'default']} 2026-10-30 02:52:36,214 - DEBUG - Response for create_network : {'network': {'id': '13cc6969-a508-46af-813e-5066176e28cc', 'name': 'ctest-vn-94849776', 'tenant_id': '4f54b0520ac94e91a448780017b33bb9', 'project_id': '4f54b0520ac94e91a448780017b33bb9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34257216', 'ctest-vn-94849776'], 'port_security_enabled': True, 'description': ''}} 2026-10-30 02:52:36,380 - DEBUG - Response for create_subnet : {'subnet': {'id': '886f5901-c685-47e6-a233-479f78b7ab28', 'name': '', 'tenant_id': '4f54b0520ac94e91a448780017b33bb9', 'network_id': '13cc6969-a508-46af-813e-5066176e28cc', 'ip_version': 4, 'cidr': '167.88.196.192/26', 'allocation_pools': [{'start': '167.88.196.194', 'end': '167.88.196.254'}], 'gateway_ip': '167.88.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.88.196.194', 'tags': [], 'project_id': '4f54b0520ac94e91a448780017b33bb9'}} 2026-10-30 02:52:36,392 - INFO - Created VN ctest-vn-94849776 2026-10-30 02:52:36,443 - DEBUG - VN ctest-vn-94849776 UUID is 13cc6969-a508-46af-813e-5066176e28cc 2026-10-30 02:52:36,733 - DEBUG - Response for create_network : {'network': {'id': '3f4406d6-2d1c-463b-9409-474b2941bebe', 'name': 'ctest-ext_vn-47147288', 'tenant_id': '4f54b0520ac94e91a448780017b33bb9', 'project_id': '4f54b0520ac94e91a448780017b33bb9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34257216', 'ctest-ext_vn-47147288'], 'port_security_enabled': True, 'description': ''}} 2026-10-30 02:52:36,930 - DEBUG - Response for create_subnet : {'subnet': {'id': '34cf7d73-d1d2-4769-8e30-7d2e2aeffab1', 'name': '', 'tenant_id': '4f54b0520ac94e91a448780017b33bb9', 'network_id': '3f4406d6-2d1c-463b-9409-474b2941bebe', 'ip_version': 4, 'cidr': '38.251.250.0/26', 'allocation_pools': [{'start': '38.251.250.2', 'end': '38.251.250.62'}], 'gateway_ip': '38.251.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.251.250.2', 'tags': [], 'project_id': '4f54b0520ac94e91a448780017b33bb9'}} 2026-10-30 02:52:36,943 - INFO - Created VN ctest-ext_vn-47147288 2026-10-30 02:52:36,991 - DEBUG - VN ctest-ext_vn-47147288 UUID is 3f4406d6-2d1c-463b-9409-474b2941bebe 2026-10-30 02:52:37,159 - DEBUG - Services list from nova: [, , ] 2026-10-30 02:52:37,403 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6448-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6448-1) 2026-10-30 02:52:37,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6448-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6448-1) 2026-10-30 02:52:37,729 - INFO - Setting gateway for router b3bc22e7-f3b6-49ec-af89-4d6fe2b1b9ac to network 3f4406d6-2d1c-463b-9409-474b2941bebe 2026-10-30 02:52:37,774 - INFO - Adding interface with subnet_id 886f5901-c685-47e6-a233-479f78b7ab28, port_id None to router b3bc22e7-f3b6-49ec-af89-4d6fe2b1b9ac 2026-10-30 02:52:37,966 - INFO - Waiting for VM ctest-TestRoutersBasic-34257216-52705377 to be up.. 2026-10-30 02:52:38,050 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:52:43,119 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:52:48,181 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:52:53,247 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:52:58,314 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:53:03,370 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:53:08,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:53:13,502 - DEBUG - VM is in ACTIVE state now 2026-10-30 02:53:13,502 - INFO - VM name : ctest-TestRoutersBasic-34257216-52705377 2026-10-30 02:53:13,555 - DEBUG - VM ctest-TestRoutersBasic-34257216-52705377 ID is fc2660c2-8651-422a-a2a2-9cb4f527c0d5 2026-10-30 02:53:13,570 - DEBUG - VM ctest-TestRoutersBasic-34257216-52705377 launched on Node cn-jenkins-deploy-platform-ansible-os-6448-1 2026-10-30 02:53:13,622 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/fc2660c2-8651-422a-a2a2-9cb4f527c0d5 2026-10-30 02:53:13,935 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/fc2660c2-8651-422a-a2a2-9cb4f527c0d5 2026-10-30 02:53:13,959 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/83916f08-a17c-4a31-9295-767b696b1d88 2026-10-30 02:53:17,211 - 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 1023ms') 2026-10-30 02:53:17,211 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-34257216-52705377 failed! 2026-10-30 02:53:17,263 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34257216:ctest-vn-94849776 is 167.88.196.193 and allocation pool is NOT set 2026-10-30 02:53:19,323 - 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=3.02 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.402 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.402/1.712/3.023/1.310 ms') 2026-10-30 02:53:19,323 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-34257216-52705377 passed 2026-10-30 02:53:19,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 02:53:19,471 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34257216-52705377, IP 167.88.196.195, Port 22 2026-10-30 02:53:19,627 - DEBUG - VM ctest-TestRoutersBasic-34257216-52705377 is ready for SSH connections 2026-10-30 02:53:19,627 - INFO - Waiting for VM ctest-TestRoutersBasic-34257216-78412731 to be up.. 2026-10-30 02:53:19,735 - DEBUG - VM is in ACTIVE state now 2026-10-30 02:53:19,735 - INFO - VM name : ctest-TestRoutersBasic-34257216-78412731 2026-10-30 02:53:19,788 - DEBUG - VM ctest-TestRoutersBasic-34257216-78412731 ID is d7067bc0-6f58-42f7-98e6-5b795d07be3a 2026-10-30 02:53:19,789 - DEBUG - VM ctest-TestRoutersBasic-34257216-78412731 launched on Node cn-jenkins-deploy-platform-ansible-os-6448-1 2026-10-30 02:53:19,848 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/d7067bc0-6f58-42f7-98e6-5b795d07be3a 2026-10-30 02:53:19,854 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/5d86643f-8837-4ca1-9b8f-5c0ba19841dd 2026-10-30 02:53:21,089 - 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.85 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.318 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.318/2.083/3.849/1.765 ms') 2026-10-30 02:53:21,089 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-34257216-78412731 passed 2026-10-30 02:53:21,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 02:53:21,235 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34257216-78412731, IP 38.251.250.4, Port 22 2026-10-30 02:53:21,401 - DEBUG - VM ctest-TestRoutersBasic-34257216-78412731 is ready for SSH connections 2026-10-30 02:53:21,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 02:53:21,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.251.250.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-10-30 02:53:21,402 - DEBUG - ping -s 56 -c 3 -W 1 38.251.250.4 2026-10-30 02:53:24,244 - DEBUG - PING 38.251.250.4 (38.251.250.4): 56 data bytes 64 bytes from 38.251.250.4: seq=0 ttl=62 time=5.343 ms 64 bytes from 38.251.250.4: seq=1 ttl=62 time=0.766 ms 64 bytes from 38.251.250.4: seq=2 ttl=62 time=1.122 ms --- 38.251.250.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.766/2.410/5.343 ms 2026-10-30 02:53:24,244 - INFO - Ping to IP 38.251.250.4 from VM ctest-TestRoutersBasic-34257216-52705377 passed 2026-10-30 02:53:24,244 - INFO - Deleting interface with subnet_id 886f5901-c685-47e6-a233-479f78b7ab28, port_id None from router b3bc22e7-f3b6-49ec-af89-4d6fe2b1b9ac 2026-10-30 02:53:24,410 - INFO - Deleting VM ctest-TestRoutersBasic-34257216-78412731 2026-10-30 02:53:24,471 - INFO - Deleting VM ctest-TestRoutersBasic-34257216-52705377 2026-10-30 02:53:24,536 - INFO - Deleting VN ctest-ext_vn-47147288 2026-10-30 02:53:24,584 - DEBUG - VN 3f4406d6-2d1c-463b-9409-474b2941bebe still in use: Unable to complete operation on network 3f4406d6-2d1c-463b-9409-474b2941bebe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12f5c28c-59ae-461b-a695-19131b52f538'] 2026-10-30 02:53:24,584 - WARNING - Deleting VN ctest-ext_vn-47147288 failed..Will retry 2026-10-30 02:53:26,611 - DEBUG - VN 3f4406d6-2d1c-463b-9409-474b2941bebe still in use: Unable to complete operation on network 3f4406d6-2d1c-463b-9409-474b2941bebe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e7ddace0-b1fe-4cee-b20c-795deb18ace0'] 2026-10-30 02:53:26,611 - WARNING - Deleting VN ctest-ext_vn-47147288 failed..Will retry 2026-10-30 02:53:28,690 - DEBUG - Response for deleting network () 2026-10-30 02:53:28,690 - INFO - Deleting VN ctest-vn-94849776 2026-10-30 02:53:28,772 - DEBUG - Response for deleting network () 2026-10-30 02:53:29,031 - DEBUG - No XMPP flaps were noticed during the test 2026-10-30 02:53:29,031 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:55] 2026-10-30 02:53:29,031 - INFO - -------------------------------------------------------------------------------- 2026-10-30 02:53:29,722 - INFO - Deleted project: ctest-TestRoutersBasic-34257216, ID : 4f54b052-0ac9-4e91-a448-780017b33bb9