2026-05-26 16:07:03,581 - INFO - Domain Default found not creating 2026-05-26 16:07:03,748 - INFO - Project ctest-TestRoutersBasic-64346153 not found, creating it 2026-05-26 16:07:04,195 - INFO - Created Project:ctest-TestRoutersBasic-64346153, ID : e68e3e68-6da9-4bb7-a426-ded47bbd8c34 2026-05-26 16:07:05,675 - INFO - ================================================================================ 2026-05-26 16:07:05,675 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-26 16:07:05,675 - 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-05-26 16:07:05,935 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2026-05-26 16:07:05,935 - INFO - Initial checks done. Running the testcase now 2026-05-26 16:07:05,935 - INFO - 2026-05-26 16:07:06,669 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64346153 2026-05-26 16:07:06,765 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64346153 2026-05-26 16:07:07,080 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64346153', 'default']} 2026-05-26 16:07:07,360 - DEBUG - Response for create_network : {'network': {'id': '011f01fa-aeed-4846-b17d-72d48f0785d5', 'name': 'ctest-vn-91326719', 'tenant_id': 'e68e3e686da94bb7a426ded47bbd8c34', 'project_id': 'e68e3e686da94bb7a426ded47bbd8c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64346153', 'ctest-vn-91326719'], 'port_security_enabled': True, 'description': ''}} 2026-05-26 16:07:07,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f83c407-70c6-4ca0-b763-67fa264b138f', 'name': '', 'tenant_id': 'e68e3e686da94bb7a426ded47bbd8c34', 'network_id': '011f01fa-aeed-4846-b17d-72d48f0785d5', 'ip_version': 4, 'cidr': '32.50.200.128/26', 'allocation_pools': [{'start': '32.50.200.130', 'end': '32.50.200.190'}], 'gateway_ip': '32.50.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.50.200.130', 'tags': [], 'project_id': 'e68e3e686da94bb7a426ded47bbd8c34'}} 2026-05-26 16:07:07,575 - INFO - Created VN ctest-vn-91326719 2026-05-26 16:07:07,625 - DEBUG - VN ctest-vn-91326719 UUID is 011f01fa-aeed-4846-b17d-72d48f0785d5 2026-05-26 16:07:07,965 - DEBUG - Response for create_network : {'network': {'id': '539e92ee-7c55-4e9a-81da-5607d03ddc6d', 'name': 'ctest-ext_vn-64473011', 'tenant_id': 'e68e3e686da94bb7a426ded47bbd8c34', 'project_id': 'e68e3e686da94bb7a426ded47bbd8c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64346153', 'ctest-ext_vn-64473011'], 'port_security_enabled': True, 'description': ''}} 2026-05-26 16:07:08,140 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8f2e42d-afb1-4a26-a1c1-a34effbfff08', 'name': '', 'tenant_id': 'e68e3e686da94bb7a426ded47bbd8c34', 'network_id': '539e92ee-7c55-4e9a-81da-5607d03ddc6d', 'ip_version': 4, 'cidr': '181.99.53.192/26', 'allocation_pools': [{'start': '181.99.53.194', 'end': '181.99.53.254'}], 'gateway_ip': '181.99.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.99.53.194', 'tags': [], 'project_id': 'e68e3e686da94bb7a426ded47bbd8c34'}} 2026-05-26 16:07:08,157 - INFO - Created VN ctest-ext_vn-64473011 2026-05-26 16:07:08,208 - DEBUG - VN ctest-ext_vn-64473011 UUID is 539e92ee-7c55-4e9a-81da-5607d03ddc6d 2026-05-26 16:07:08,377 - DEBUG - Services list from nova: [, , ] 2026-05-26 16:07:09,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5829-1) 2026-05-26 16:07:10,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5829-1) 2026-05-26 16:07:10,575 - INFO - Setting gateway for router 8a168e11-7e90-4796-a910-a411b971e9b4 to network 539e92ee-7c55-4e9a-81da-5607d03ddc6d 2026-05-26 16:07:10,624 - INFO - Adding interface with subnet_id 1f83c407-70c6-4ca0-b763-67fa264b138f, port_id None to router 8a168e11-7e90-4796-a910-a411b971e9b4 2026-05-26 16:07:11,013 - INFO - Waiting for VM ctest-TestRoutersBasic-64346153-84540542 to be up.. 2026-05-26 16:07:11,205 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-26 16:07:16,280 - DEBUG - VM is in ACTIVE state now 2026-05-26 16:07:16,280 - INFO - VM name : ctest-TestRoutersBasic-64346153-84540542 2026-05-26 16:07:16,353 - DEBUG - VM ctest-TestRoutersBasic-64346153-84540542 ID is dd5898f7-1e6e-41d2-9361-0f2ad6acf50d 2026-05-26 16:07:16,376 - DEBUG - VM ctest-TestRoutersBasic-64346153-84540542 launched on Node cn-jenkins-deploy-platform-ansible-os-5829-1 2026-05-26 16:07:16,443 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dd5898f7-1e6e-41d2-9361-0f2ad6acf50d 2026-05-26 16:07:16,747 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dd5898f7-1e6e-41d2-9361-0f2ad6acf50d 2026-05-26 16:07:16,778 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/310b2a7f-7fb5-4f47-b3e9-562832c83119 2026-05-26 16:07:20,025 - 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 1015ms') 2026-05-26 16:07:20,025 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64346153-84540542 failed! 2026-05-26 16:07:20,076 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64346153:ctest-vn-91326719 is 32.50.200.129 and allocation pool is NOT set 2026-05-26 16:07:22,132 - 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=2.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 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.469/1.689/2.909/1.220 ms') 2026-05-26 16:07:22,132 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64346153-84540542 passed 2026-05-26 16:07:22,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-26 16:07:22,285 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64346153-84540542, IP 32.50.200.131, Port 22 2026-05-26 16:07:22,440 - DEBUG - VM ctest-TestRoutersBasic-64346153-84540542 is ready for SSH connections 2026-05-26 16:07:22,440 - INFO - Waiting for VM ctest-TestRoutersBasic-64346153-78745967 to be up.. 2026-05-26 16:07:22,517 - DEBUG - VM is in ACTIVE state now 2026-05-26 16:07:22,517 - INFO - VM name : ctest-TestRoutersBasic-64346153-78745967 2026-05-26 16:07:22,588 - DEBUG - VM ctest-TestRoutersBasic-64346153-78745967 ID is 4396ab19-7180-4b59-afa3-7fb09f823e25 2026-05-26 16:07:22,589 - DEBUG - VM ctest-TestRoutersBasic-64346153-78745967 launched on Node cn-jenkins-deploy-platform-ansible-os-5829-1 2026-05-26 16:07:22,662 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4396ab19-7180-4b59-afa3-7fb09f823e25 2026-05-26 16:07:22,670 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d589b08a-4250-4b64-94cf-f592766c6104 2026-05-26 16:07:23,920 - 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=2.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.527 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.527/1.720/2.914/1.193 ms') 2026-05-26 16:07:23,920 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64346153-78745967 passed 2026-05-26 16:07:24,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-26 16:07:24,069 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64346153-78745967, IP 181.99.53.195, Port 22 2026-05-26 16:07:24,250 - DEBUG - VM ctest-TestRoutersBasic-64346153-78745967 is ready for SSH connections 2026-05-26 16:07:24,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-26 16:07:24,250 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.99.53.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-26 16:07:24,250 - DEBUG - ping -s 56 -c 3 -W 1 181.99.53.195 2026-05-26 16:07:27,931 - DEBUG - PING 181.99.53.195 (181.99.53.195): 56 data bytes 64 bytes from 181.99.53.195: seq=0 ttl=62 time=5.955 ms 64 bytes from 181.99.53.195: seq=1 ttl=62 time=0.929 ms 64 bytes from 181.99.53.195: seq=2 ttl=62 time=0.935 ms --- 181.99.53.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.929/2.606/5.955 ms 2026-05-26 16:07:27,931 - INFO - Ping to IP 181.99.53.195 from VM ctest-TestRoutersBasic-64346153-84540542 passed 2026-05-26 16:07:27,931 - INFO - Deleting interface with subnet_id 1f83c407-70c6-4ca0-b763-67fa264b138f, port_id None from router 8a168e11-7e90-4796-a910-a411b971e9b4 2026-05-26 16:07:28,114 - INFO - Deleting VM ctest-TestRoutersBasic-64346153-78745967 2026-05-26 16:07:28,179 - INFO - Deleting VM ctest-TestRoutersBasic-64346153-84540542 2026-05-26 16:07:28,255 - INFO - Deleting VN ctest-ext_vn-64473011 2026-05-26 16:07:28,314 - DEBUG - VN 539e92ee-7c55-4e9a-81da-5607d03ddc6d still in use: Unable to complete operation on network 539e92ee-7c55-4e9a-81da-5607d03ddc6d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9b973d24-537e-4a0b-9e55-cec536f0d63e'] 2026-05-26 16:07:28,314 - WARNING - Deleting VN ctest-ext_vn-64473011 failed..Will retry 2026-05-26 16:07:30,415 - DEBUG - Response for deleting network () 2026-05-26 16:07:30,415 - INFO - Deleting VN ctest-vn-91326719 2026-05-26 16:07:30,515 - DEBUG - Response for deleting network () 2026-05-26 16:07:30,773 - DEBUG - No XMPP flaps were noticed during the test
2026-05-26 16:07:30,773 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-05-26 16:07:30,774 - INFO - -------------------------------------------------------------------------------- 2026-05-26 16:07:31,455 - INFO - Deleted project: ctest-TestRoutersBasic-64346153, ID : e68e3e68-6da9-4bb7-a426-ded47bbd8c34