2026-11-06 14:35:30,293 - INFO - Domain Default found not creating 2026-11-06 14:35:30,513 - INFO - Project ctest-TestRoutersBasic-37422913 not found, creating it 2026-11-06 14:35:31,066 - INFO - Created Project:ctest-TestRoutersBasic-37422913, ID : 7873371d-2ede-4564-8ca9-2a5cfdeea3bd 2026-11-06 14:35:32,774 - INFO - ================================================================================ 2026-11-06 14:35:32,774 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-06 14:35:32,774 - 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-11-06 14:35:33,031 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-11-06 14:35:33,031 - INFO - Initial checks done. Running the testcase now 2026-11-06 14:35:33,031 - INFO - 2026-11-06 14:35:33,892 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37422913 2026-11-06 14:35:33,988 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37422913 2026-11-06 14:35:34,344 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37422913', 'default']} 2026-11-06 14:35:34,655 - DEBUG - Response for create_network : {'network': {'id': '01b9a218-32f8-443a-a677-401b52f0493e', 'name': 'ctest-vn-68787640', 'tenant_id': '7873371d2ede45648ca92a5cfdeea3bd', 'project_id': '7873371d2ede45648ca92a5cfdeea3bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37422913', 'ctest-vn-68787640'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 14:35:34,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '43893c10-6310-436d-acc7-39e04f647e9f', 'name': '', 'tenant_id': '7873371d2ede45648ca92a5cfdeea3bd', 'network_id': '01b9a218-32f8-443a-a677-401b52f0493e', 'ip_version': 4, 'cidr': '80.239.115.64/26', 'allocation_pools': [{'start': '80.239.115.66', 'end': '80.239.115.126'}], 'gateway_ip': '80.239.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.239.115.66', 'tags': [], 'project_id': '7873371d2ede45648ca92a5cfdeea3bd'}} 2026-11-06 14:35:34,886 - INFO - Created VN ctest-vn-68787640 2026-11-06 14:35:34,944 - DEBUG - VN ctest-vn-68787640 UUID is 01b9a218-32f8-443a-a677-401b52f0493e 2026-11-06 14:35:35,309 - DEBUG - Response for create_network : {'network': {'id': '865cee57-5037-4bc7-b62f-e0571fc20276', 'name': 'ctest-ext_vn-43610447', 'tenant_id': '7873371d2ede45648ca92a5cfdeea3bd', 'project_id': '7873371d2ede45648ca92a5cfdeea3bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37422913', 'ctest-ext_vn-43610447'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 14:35:35,464 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c11b675-d821-45bc-ad54-95db6700b59f', 'name': '', 'tenant_id': '7873371d2ede45648ca92a5cfdeea3bd', 'network_id': '865cee57-5037-4bc7-b62f-e0571fc20276', 'ip_version': 4, 'cidr': '151.97.6.0/26', 'allocation_pools': [{'start': '151.97.6.2', 'end': '151.97.6.62'}], 'gateway_ip': '151.97.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.97.6.2', 'tags': [], 'project_id': '7873371d2ede45648ca92a5cfdeea3bd'}} 2026-11-06 14:35:35,486 - INFO - Created VN ctest-ext_vn-43610447 2026-11-06 14:35:35,540 - DEBUG - VN ctest-ext_vn-43610447 UUID is 865cee57-5037-4bc7-b62f-e0571fc20276 2026-11-06 14:35:35,713 - DEBUG - Services list from nova: [, , ] 2026-11-06 14:35:36,125 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6489-1) 2026-11-06 14:35:36,536 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6489-1) 2026-11-06 14:35:36,694 - INFO - Setting gateway for router 257dca44-0ca7-433b-bcb6-4f21486bedc6 to network 865cee57-5037-4bc7-b62f-e0571fc20276 2026-11-06 14:35:36,772 - INFO - Adding interface with subnet_id 43893c10-6310-436d-acc7-39e04f647e9f, port_id None to router 257dca44-0ca7-433b-bcb6-4f21486bedc6 2026-11-06 14:35:37,070 - INFO - Waiting for VM ctest-TestRoutersBasic-37422913-39825030 to be up.. 2026-11-06 14:35:37,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:35:42,220 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:35:47,298 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:35:52,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:35:57,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:36:02,633 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:36:07,722 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:36:12,808 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 14:36:17,893 - DEBUG - VM is in ACTIVE state now 2026-11-06 14:36:17,893 - INFO - VM name : ctest-TestRoutersBasic-37422913-39825030 2026-11-06 14:36:17,970 - DEBUG - VM ctest-TestRoutersBasic-37422913-39825030 ID is 42804086-bec8-41f6-970d-2ed080f3e60a 2026-11-06 14:36:17,991 - DEBUG - VM ctest-TestRoutersBasic-37422913-39825030 launched on Node cn-jenkins-deploy-platform-ansible-os-6489-1 2026-11-06 14:36:18,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/42804086-bec8-41f6-970d-2ed080f3e60a 2026-11-06 14:36:18,397 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/42804086-bec8-41f6-970d-2ed080f3e60a 2026-11-06 14:36:18,427 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9e124730-0865-4739-a4d9-8d8c94f20bd7 2026-11-06 14:36:21,665 - 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 1001ms') 2026-11-06 14:36:21,665 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-37422913-39825030 failed! 2026-11-06 14:36:21,720 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37422913:ctest-vn-68787640 is 80.239.115.65 and allocation pool is NOT set 2026-11-06 14:36:23,780 - 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=6.16 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.529 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.529/3.344/6.160/2.815 ms') 2026-11-06 14:36:23,780 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-37422913-39825030 passed 2026-11-06 14:36:23,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 14:36:23,928 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37422913-39825030, IP 80.239.115.67, Port 22 2026-11-06 14:36:24,083 - DEBUG - VM ctest-TestRoutersBasic-37422913-39825030 is ready for SSH connections 2026-11-06 14:36:24,083 - INFO - Waiting for VM ctest-TestRoutersBasic-37422913-41366642 to be up.. 2026-11-06 14:36:24,161 - DEBUG - VM is in ACTIVE state now 2026-11-06 14:36:24,161 - INFO - VM name : ctest-TestRoutersBasic-37422913-41366642 2026-11-06 14:36:24,235 - DEBUG - VM ctest-TestRoutersBasic-37422913-41366642 ID is fdc363ea-7e96-4032-a588-7ed43a41914c 2026-11-06 14:36:24,235 - DEBUG - VM ctest-TestRoutersBasic-37422913-41366642 launched on Node cn-jenkins-deploy-platform-ansible-os-6489-1 2026-11-06 14:36:24,310 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fdc363ea-7e96-4032-a588-7ed43a41914c 2026-11-06 14:36:24,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d8e74153-01fb-4d20-8021-bda71c255173 2026-11-06 14:36:25,558 - 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.67 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.458 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.458/2.061/3.665/1.603 ms') 2026-11-06 14:36:25,558 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-37422913-41366642 passed 2026-11-06 14:36:25,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 14:36:25,712 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37422913-41366642, IP 151.97.6.4, Port 22 2026-11-06 14:36:25,867 - DEBUG - VM ctest-TestRoutersBasic-37422913-41366642 is ready for SSH connections 2026-11-06 14:36:25,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 14:36:25,867 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.97.6.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-06 14:36:25,867 - DEBUG - ping -s 56 -c 3 -W 1 151.97.6.4 2026-11-06 14:36:28,800 - DEBUG - PING 151.97.6.4 (151.97.6.4): 56 data bytes 64 bytes from 151.97.6.4: seq=0 ttl=62 time=5.888 ms 64 bytes from 151.97.6.4: seq=1 ttl=62 time=0.970 ms 64 bytes from 151.97.6.4: seq=2 ttl=62 time=1.189 ms --- 151.97.6.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.970/2.682/5.888 ms 2026-11-06 14:36:28,800 - INFO - Ping to IP 151.97.6.4 from VM ctest-TestRoutersBasic-37422913-39825030 passed 2026-11-06 14:36:28,800 - INFO - Deleting interface with subnet_id 43893c10-6310-436d-acc7-39e04f647e9f, port_id None from router 257dca44-0ca7-433b-bcb6-4f21486bedc6 2026-11-06 14:36:29,024 - INFO - Deleting VM ctest-TestRoutersBasic-37422913-41366642 2026-11-06 14:36:29,107 - INFO - Deleting VM ctest-TestRoutersBasic-37422913-39825030 2026-11-06 14:36:29,183 - INFO - Deleting VN ctest-ext_vn-43610447 2026-11-06 14:36:29,252 - DEBUG - VN 865cee57-5037-4bc7-b62f-e0571fc20276 still in use: Unable to complete operation on network 865cee57-5037-4bc7-b62f-e0571fc20276. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-82241794-8ea8-4443-86bd-2dafb2168102'] 2026-11-06 14:36:29,252 - WARNING - Deleting VN ctest-ext_vn-43610447 failed..Will retry 2026-11-06 14:36:31,287 - DEBUG - VN 865cee57-5037-4bc7-b62f-e0571fc20276 still in use: Unable to complete operation on network 865cee57-5037-4bc7-b62f-e0571fc20276. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-105c7731-e1a2-4fea-a513-3f40437fbb84'] 2026-11-06 14:36:31,287 - WARNING - Deleting VN ctest-ext_vn-43610447 failed..Will retry 2026-11-06 14:36:33,411 - DEBUG - Response for deleting network () 2026-11-06 14:36:33,411 - INFO - Deleting VN ctest-vn-68787640 2026-11-06 14:36:33,524 - DEBUG - Response for deleting network () 2026-11-06 14:36:33,797 - DEBUG - No XMPP flaps were noticed during the test
2026-11-06 14:36:33,798 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01]
2026-11-06 14:36:33,798 - INFO - -------------------------------------------------------------------------------- 2026-11-06 14:36:34,574 - INFO - Deleted project: ctest-TestRoutersBasic-37422913, ID : 7873371d-2ede-4564-8ca9-2a5cfdeea3bd