2026-04-30 02:23:07,415 - INFO - Domain Default found not creating 2026-04-30 02:23:07,644 - INFO - Project ctest-TestRoutersBasic-04961209 not found, creating it 2026-04-30 02:23:08,157 - INFO - Created Project:ctest-TestRoutersBasic-04961209, ID : 5a947664-3a4c-49ff-ac94-185c0a58f8fe 2026-04-30 02:23:09,808 - INFO - ================================================================================ 2026-04-30 02:23:09,808 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-30 02:23:09,808 - 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-30 02:23:10,082 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-30 02:23:10,082 - INFO - Initial checks done. Running the testcase now 2026-04-30 02:23:10,082 - INFO - 2026-04-30 02:23:10,863 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04961209 2026-04-30 02:23:10,964 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04961209 2026-04-30 02:23:11,292 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04961209', 'default']} 2026-04-30 02:23:11,615 - DEBUG - Response for create_network : {'network': {'id': '8524f35e-8d54-4fe5-b8e9-d09ff0dd6b92', 'name': 'ctest-vn-06377155', 'tenant_id': '5a9476643a4c49ffac94185c0a58f8fe', 'project_id': '5a9476643a4c49ffac94185c0a58f8fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04961209', 'ctest-vn-06377155'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 02:23:11,810 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4782de0-044e-43a1-8be9-1369f8fb0ba6', 'name': '', 'tenant_id': '5a9476643a4c49ffac94185c0a58f8fe', 'network_id': '8524f35e-8d54-4fe5-b8e9-d09ff0dd6b92', 'ip_version': 4, 'cidr': '96.79.152.0/26', 'allocation_pools': [{'start': '96.79.152.2', 'end': '96.79.152.62'}], 'gateway_ip': '96.79.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.79.152.2', 'tags': [], 'project_id': '5a9476643a4c49ffac94185c0a58f8fe'}} 2026-04-30 02:23:11,833 - INFO - Created VN ctest-vn-06377155 2026-04-30 02:23:11,884 - DEBUG - VN ctest-vn-06377155 UUID is 8524f35e-8d54-4fe5-b8e9-d09ff0dd6b92 2026-04-30 02:23:12,358 - DEBUG - Response for create_network : {'network': {'id': 'a2546c57-8f52-49ae-9c46-17db05bb6f78', 'name': 'ctest-ext_vn-89000892', 'tenant_id': '5a9476643a4c49ffac94185c0a58f8fe', 'project_id': '5a9476643a4c49ffac94185c0a58f8fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04961209', 'ctest-ext_vn-89000892'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 02:23:12,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e6e8a65-a461-41ba-8636-ad20e45e7730', 'name': '', 'tenant_id': '5a9476643a4c49ffac94185c0a58f8fe', 'network_id': 'a2546c57-8f52-49ae-9c46-17db05bb6f78', 'ip_version': 4, 'cidr': '129.186.145.0/26', 'allocation_pools': [{'start': '129.186.145.2', 'end': '129.186.145.62'}], 'gateway_ip': '129.186.145.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.186.145.2', 'tags': [], 'project_id': '5a9476643a4c49ffac94185c0a58f8fe'}} 2026-04-30 02:23:12,784 - INFO - Created VN ctest-ext_vn-89000892 2026-04-30 02:23:12,852 - DEBUG - VN ctest-ext_vn-89000892 UUID is a2546c57-8f52-49ae-9c46-17db05bb6f78 2026-04-30 02:23:13,051 - DEBUG - Services list from nova: [, , ] 2026-04-30 02:23:14,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5721-1) 2026-04-30 02:23:15,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5721-1) 2026-04-30 02:23:15,623 - INFO - Setting gateway for router 1b847143-0caf-4b33-8014-9703c0fba64d to network a2546c57-8f52-49ae-9c46-17db05bb6f78 2026-04-30 02:23:15,683 - INFO - Adding interface with subnet_id f4782de0-044e-43a1-8be9-1369f8fb0ba6, port_id None to router 1b847143-0caf-4b33-8014-9703c0fba64d 2026-04-30 02:23:16,044 - INFO - Waiting for VM ctest-TestRoutersBasic-04961209-83639826 to be up.. 2026-04-30 02:23:16,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 02:23:21,322 - DEBUG - VM is in ACTIVE state now 2026-04-30 02:23:21,322 - INFO - VM name : ctest-TestRoutersBasic-04961209-83639826 2026-04-30 02:23:21,414 - DEBUG - VM ctest-TestRoutersBasic-04961209-83639826 ID is de126d34-4c10-49d6-8e53-29de7072f613 2026-04-30 02:23:21,437 - DEBUG - VM ctest-TestRoutersBasic-04961209-83639826 launched on Node cn-jenkins-deploy-platform-ansible-os-5721-1 2026-04-30 02:23:21,532 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/de126d34-4c10-49d6-8e53-29de7072f613 2026-04-30 02:23:21,852 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/de126d34-4c10-49d6-8e53-29de7072f613 2026-04-30 02:23:21,893 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/08e82197-01be-4bd5-8539-9be9506ceba5 2026-04-30 02:23:25,156 - 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 1001ms') 2026-04-30 02:23:25,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04961209-83639826 failed! 2026-04-30 02:23:25,220 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04961209:ctest-vn-06377155 is 96.79.152.1 and allocation pool is NOT set 2026-04-30 02:23:27,284 - 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=4.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.891 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.891/2.575/4.259/1.684 ms') 2026-04-30 02:23:27,284 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04961209-83639826 passed 2026-04-30 02:23:27,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:23:27,444 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04961209-83639826, IP 96.79.152.3, Port 22 2026-04-30 02:23:27,604 - DEBUG - VM ctest-TestRoutersBasic-04961209-83639826 is ready for SSH connections 2026-04-30 02:23:27,604 - INFO - Waiting for VM ctest-TestRoutersBasic-04961209-03766219 to be up.. 2026-04-30 02:23:27,710 - DEBUG - VM is in ACTIVE state now 2026-04-30 02:23:27,710 - INFO - VM name : ctest-TestRoutersBasic-04961209-03766219 2026-04-30 02:23:27,798 - DEBUG - VM ctest-TestRoutersBasic-04961209-03766219 ID is 5c1b9437-f722-46f0-8a5c-9b635f08f76b 2026-04-30 02:23:27,798 - DEBUG - VM ctest-TestRoutersBasic-04961209-03766219 launched on Node cn-jenkins-deploy-platform-ansible-os-5721-1 2026-04-30 02:23:27,887 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5c1b9437-f722-46f0-8a5c-9b635f08f76b 2026-04-30 02:23:27,899 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/56b69ba2-1eb2-4cba-983b-a9d948c9e6bc 2026-04-30 02:23:29,170 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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 = 1.098/2.147/3.197/1.049 ms') 2026-04-30 02:23:29,170 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-04961209-03766219 passed 2026-04-30 02:23:29,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:23:29,332 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04961209-03766219, IP 129.186.145.3, Port 22 2026-04-30 02:23:29,499 - DEBUG - VM ctest-TestRoutersBasic-04961209-03766219 is ready for SSH connections 2026-04-30 02:23:29,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:23:29,500 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.186.145.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-30 02:23:29,500 - DEBUG - ping -s 56 -c 3 -W 1 129.186.145.3 2026-04-30 02:23:33,272 - DEBUG - PING 129.186.145.3 (129.186.145.3): 56 data bytes 64 bytes from 129.186.145.3: seq=0 ttl=62 time=4.769 ms 64 bytes from 129.186.145.3: seq=1 ttl=62 time=0.854 ms 64 bytes from 129.186.145.3: seq=2 ttl=62 time=1.200 ms --- 129.186.145.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/2.274/4.769 ms 2026-04-30 02:23:33,272 - INFO - Ping to IP 129.186.145.3 from VM ctest-TestRoutersBasic-04961209-83639826 passed 2026-04-30 02:23:33,272 - INFO - Deleting interface with subnet_id f4782de0-044e-43a1-8be9-1369f8fb0ba6, port_id None from router 1b847143-0caf-4b33-8014-9703c0fba64d 2026-04-30 02:23:33,499 - INFO - Deleting VM ctest-TestRoutersBasic-04961209-03766219 2026-04-30 02:23:33,572 - INFO - Deleting VM ctest-TestRoutersBasic-04961209-83639826 2026-04-30 02:23:33,672 - INFO - Deleting VN ctest-ext_vn-89000892 2026-04-30 02:23:33,764 - DEBUG - VN a2546c57-8f52-49ae-9c46-17db05bb6f78 still in use: Unable to complete operation on network a2546c57-8f52-49ae-9c46-17db05bb6f78. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6a67591f-fea8-464d-8dbf-58c266c93d89'] 2026-04-30 02:23:33,765 - WARNING - Deleting VN ctest-ext_vn-89000892 failed..Will retry 2026-04-30 02:23:35,888 - DEBUG - Response for deleting network () 2026-04-30 02:23:35,889 - INFO - Deleting VN ctest-vn-06377155 2026-04-30 02:23:36,032 - DEBUG - Response for deleting network () 2026-04-30 02:23:36,304 - DEBUG - No XMPP flaps were noticed during the test 2026-04-30 02:23:36,304 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2026-04-30 02:23:36,304 - INFO - -------------------------------------------------------------------------------- 2026-04-30 02:23:37,087 - INFO - Deleted project: ctest-TestRoutersBasic-04961209, ID : 5a947664-3a4c-49ff-ac94-185c0a58f8fe