2025-12-09 03:49:06,645 - INFO - Domain Default found not creating 2025-12-09 03:49:06,835 - INFO - Project ctest-TestRoutersBasic-59280403 not found, creating it 2025-12-09 03:49:07,318 - INFO - Created Project:ctest-TestRoutersBasic-59280403, ID : 6fa72e24-bf3e-4300-a0dc-33546aba08fe 2025-12-09 03:49:08,950 - INFO - ================================================================================ 2025-12-09 03:49:08,950 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-09 03:49:08,950 - 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 2025-12-09 03:49:09,203 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2025-12-09 03:49:09,203 - INFO - Initial checks done. Running the testcase now 2025-12-09 03:49:09,203 - INFO - 2025-12-09 03:49:10,010 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59280403 2025-12-09 03:49:10,105 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59280403 2025-12-09 03:49:10,441 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59280403', 'default']} 2025-12-09 03:49:10,748 - DEBUG - Response for create_network : {'network': {'id': 'b8f383df-742e-4231-8661-f113a61f7e3f', 'name': 'ctest-vn-83956349', 'tenant_id': '6fa72e24bf3e4300a0dc33546aba08fe', 'project_id': '6fa72e24bf3e4300a0dc33546aba08fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59280403', 'ctest-vn-83956349'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 03:49:10,952 - DEBUG - Response for create_subnet : {'subnet': {'id': '06b71525-d864-4ccf-88b2-4228c8b2838f', 'name': '', 'tenant_id': '6fa72e24bf3e4300a0dc33546aba08fe', 'network_id': 'b8f383df-742e-4231-8661-f113a61f7e3f', 'ip_version': 4, 'cidr': '84.6.241.192/26', 'allocation_pools': [{'start': '84.6.241.194', 'end': '84.6.241.254'}], 'gateway_ip': '84.6.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.6.241.194', 'tags': [], 'project_id': '6fa72e24bf3e4300a0dc33546aba08fe'}} 2025-12-09 03:49:10,970 - INFO - Created VN ctest-vn-83956349 2025-12-09 03:49:11,021 - DEBUG - VN ctest-vn-83956349 UUID is b8f383df-742e-4231-8661-f113a61f7e3f 2025-12-09 03:49:11,328 - DEBUG - Response for create_network : {'network': {'id': '06c34d63-cf14-423a-9f8c-6c8bd3d26849', 'name': 'ctest-ext_vn-73114456', 'tenant_id': '6fa72e24bf3e4300a0dc33546aba08fe', 'project_id': '6fa72e24bf3e4300a0dc33546aba08fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59280403', 'ctest-ext_vn-73114456'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 03:49:11,532 - DEBUG - Response for create_subnet : {'subnet': {'id': '60c89213-72a8-4479-83ed-fc1f56b20a0d', 'name': '', 'tenant_id': '6fa72e24bf3e4300a0dc33546aba08fe', 'network_id': '06c34d63-cf14-423a-9f8c-6c8bd3d26849', 'ip_version': 4, 'cidr': '58.183.53.128/26', 'allocation_pools': [{'start': '58.183.53.130', 'end': '58.183.53.190'}], 'gateway_ip': '58.183.53.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.183.53.130', 'tags': [], 'project_id': '6fa72e24bf3e4300a0dc33546aba08fe'}} 2025-12-09 03:49:11,549 - INFO - Created VN ctest-ext_vn-73114456 2025-12-09 03:49:11,601 - DEBUG - VN ctest-ext_vn-73114456 UUID is 06c34d63-cf14-423a-9f8c-6c8bd3d26849 2025-12-09 03:49:11,783 - DEBUG - Services list from nova: [, , ] 2025-12-09 03:49:12,930 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4865-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4865-1) 2025-12-09 03:49:14,189 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4865-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4865-1) 2025-12-09 03:49:14,246 - INFO - Setting gateway for router 9f0dfa8b-6b02-4985-aed7-4ef27665165b to network 06c34d63-cf14-423a-9f8c-6c8bd3d26849 2025-12-09 03:49:14,305 - INFO - Adding interface with subnet_id 06b71525-d864-4ccf-88b2-4228c8b2838f, port_id None to router 9f0dfa8b-6b02-4985-aed7-4ef27665165b 2025-12-09 03:49:14,707 - INFO - Waiting for VM ctest-TestRoutersBasic-59280403-05522795 to be up.. 2025-12-09 03:49:14,860 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 03:49:19,938 - DEBUG - VM is in ACTIVE state now 2025-12-09 03:49:19,938 - INFO - VM name : ctest-TestRoutersBasic-59280403-05522795 2025-12-09 03:49:20,015 - DEBUG - VM ctest-TestRoutersBasic-59280403-05522795 ID is 2de403cf-d657-41f8-bac4-6f353a115f90 2025-12-09 03:49:20,036 - DEBUG - VM ctest-TestRoutersBasic-59280403-05522795 launched on Node cn-jenkins-deploy-platform-ansible-os-4865-1 2025-12-09 03:49:20,114 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2de403cf-d657-41f8-bac4-6f353a115f90 2025-12-09 03:49:20,485 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2de403cf-d657-41f8-bac4-6f353a115f90 2025-12-09 03:49:20,545 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/77f9a5df-f5cb-45f4-8efa-b41ff72ae377 2025-12-09 03:49:23,811 - 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') 2025-12-09 03:49:23,811 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59280403-05522795 failed! 2025-12-09 03:49:23,873 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59280403:ctest-vn-83956349 is 84.6.241.193 and allocation pool is NOT set 2025-12-09 03:49:25,934 - 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=3.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.530/2.126/3.722/1.596 ms') 2025-12-09 03:49:25,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59280403-05522795 passed 2025-12-09 03:49:26,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:49:26,081 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59280403-05522795, IP 84.6.241.195, Port 22 2025-12-09 03:49:26,251 - DEBUG - VM ctest-TestRoutersBasic-59280403-05522795 is ready for SSH connections 2025-12-09 03:49:26,251 - INFO - Waiting for VM ctest-TestRoutersBasic-59280403-07598455 to be up.. 2025-12-09 03:49:26,337 - DEBUG - VM is in ACTIVE state now 2025-12-09 03:49:26,337 - INFO - VM name : ctest-TestRoutersBasic-59280403-07598455 2025-12-09 03:49:26,418 - DEBUG - VM ctest-TestRoutersBasic-59280403-07598455 ID is 8a10ea9e-85f6-4143-9664-3b98fb8948c6 2025-12-09 03:49:26,418 - DEBUG - VM ctest-TestRoutersBasic-59280403-07598455 launched on Node cn-jenkins-deploy-platform-ansible-os-4865-1 2025-12-09 03:49:26,493 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8a10ea9e-85f6-4143-9664-3b98fb8948c6 2025-12-09 03:49:26,501 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/91840128-fb4c-489a-95c0-db9904cba021 2025-12-09 03:49:27,743 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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.018/2.417/3.817/1.399 ms') 2025-12-09 03:49:27,744 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59280403-07598455 passed 2025-12-09 03:49:27,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:49:27,905 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59280403-07598455, IP 58.183.53.131, Port 22 2025-12-09 03:49:28,070 - DEBUG - VM ctest-TestRoutersBasic-59280403-07598455 is ready for SSH connections 2025-12-09 03:49:28,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:49:28,071 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.183.53.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 03:49:28,071 - DEBUG - ping -s 56 -c 3 -W 1 58.183.53.131 2025-12-09 03:49:31,797 - DEBUG - PING 58.183.53.131 (58.183.53.131): 56 data bytes 64 bytes from 58.183.53.131: seq=0 ttl=62 time=7.341 ms 64 bytes from 58.183.53.131: seq=1 ttl=62 time=1.074 ms 64 bytes from 58.183.53.131: seq=2 ttl=62 time=0.913 ms --- 58.183.53.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/3.109/7.341 ms 2025-12-09 03:49:31,797 - INFO - Ping to IP 58.183.53.131 from VM ctest-TestRoutersBasic-59280403-05522795 passed 2025-12-09 03:49:31,797 - INFO - Deleting interface with subnet_id 06b71525-d864-4ccf-88b2-4228c8b2838f, port_id None from router 9f0dfa8b-6b02-4985-aed7-4ef27665165b 2025-12-09 03:49:32,038 - INFO - Deleting VM ctest-TestRoutersBasic-59280403-07598455 2025-12-09 03:49:32,117 - INFO - Deleting VM ctest-TestRoutersBasic-59280403-05522795 2025-12-09 03:49:32,206 - INFO - Deleting VN ctest-ext_vn-73114456 2025-12-09 03:49:32,276 - DEBUG - VN 06c34d63-cf14-423a-9f8c-6c8bd3d26849 still in use: Unable to complete operation on network 06c34d63-cf14-423a-9f8c-6c8bd3d26849. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee04f2a5-0aef-48df-b088-71003b63f111'] 2025-12-09 03:49:32,276 - WARNING - Deleting VN ctest-ext_vn-73114456 failed..Will retry 2025-12-09 03:49:34,383 - DEBUG - Response for deleting network () 2025-12-09 03:49:34,383 - INFO - Deleting VN ctest-vn-83956349 2025-12-09 03:49:34,489 - DEBUG - Response for deleting network () 2025-12-09 03:49:34,754 - DEBUG - No XMPP flaps were noticed during the test 2025-12-09 03:49:34,754 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-12-09 03:49:34,754 - INFO - -------------------------------------------------------------------------------- 2025-12-09 03:49:35,478 - INFO - Deleted project: ctest-TestRoutersBasic-59280403, ID : 6fa72e24-bf3e-4300-a0dc-33546aba08fe