2026-02-04 10:20:12,546 - INFO - Domain Default found not creating 2026-02-04 10:20:12,737 - INFO - Project ctest-TestRoutersBasic-57038155 not found, creating it 2026-02-04 10:20:13,221 - INFO - Created Project:ctest-TestRoutersBasic-57038155, ID : 400ba55e-eb30-4983-b7b9-dc79349d247e 2026-02-04 10:20:14,761 - INFO - ================================================================================ 2026-02-04 10:20:14,761 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-04 10:20:14,762 - 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-02-04 10:20:15,035 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.25': '0'}} with 2026-02-04 10:20:15,035 - INFO - Initial checks done. Running the testcase now 2026-02-04 10:20:15,035 - INFO - 2026-02-04 10:20:15,787 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57038155 2026-02-04 10:20:15,886 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57038155 2026-02-04 10:20:16,210 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57038155', 'default']} 2026-02-04 10:20:16,507 - DEBUG - Response for create_network : {'network': {'id': 'e38e0655-58be-4d7c-be6e-09ccdeaba0e1', 'name': 'ctest-vn-31087141', 'tenant_id': '400ba55eeb304983b7b9dc79349d247e', 'project_id': '400ba55eeb304983b7b9dc79349d247e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57038155', 'ctest-vn-31087141'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:20:16,672 - DEBUG - Response for create_subnet : {'subnet': {'id': '526c0dea-c5c9-46d2-8b9b-f8b7f0a9e0ec', 'name': '', 'tenant_id': '400ba55eeb304983b7b9dc79349d247e', 'network_id': 'e38e0655-58be-4d7c-be6e-09ccdeaba0e1', 'ip_version': 4, 'cidr': '41.190.24.0/26', 'allocation_pools': [{'start': '41.190.24.2', 'end': '41.190.24.62'}], 'gateway_ip': '41.190.24.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.190.24.2', 'tags': [], 'project_id': '400ba55eeb304983b7b9dc79349d247e'}} 2026-02-04 10:20:16,691 - INFO - Created VN ctest-vn-31087141 2026-02-04 10:20:16,742 - DEBUG - VN ctest-vn-31087141 UUID is e38e0655-58be-4d7c-be6e-09ccdeaba0e1 2026-02-04 10:20:17,061 - DEBUG - Response for create_network : {'network': {'id': '0308e6cd-897c-46a1-ba91-8b993980a8cc', 'name': 'ctest-ext_vn-29278890', 'tenant_id': '400ba55eeb304983b7b9dc79349d247e', 'project_id': '400ba55eeb304983b7b9dc79349d247e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57038155', 'ctest-ext_vn-29278890'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:20:17,247 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b6a6aa8-8c60-4aa5-96d7-765de6bbb656', 'name': '', 'tenant_id': '400ba55eeb304983b7b9dc79349d247e', 'network_id': '0308e6cd-897c-46a1-ba91-8b993980a8cc', 'ip_version': 4, 'cidr': '213.175.241.192/26', 'allocation_pools': [{'start': '213.175.241.194', 'end': '213.175.241.254'}], 'gateway_ip': '213.175.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.175.241.194', 'tags': [], 'project_id': '400ba55eeb304983b7b9dc79349d247e'}} 2026-02-04 10:20:17,264 - INFO - Created VN ctest-ext_vn-29278890 2026-02-04 10:20:17,318 - DEBUG - VN ctest-ext_vn-29278890 UUID is 0308e6cd-897c-46a1-ba91-8b993980a8cc 2026-02-04 10:20:17,500 - DEBUG - Services list from nova: [, , ] 2026-02-04 10:20:18,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5203-1) 2026-02-04 10:20:19,671 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5203-1) 2026-02-04 10:20:19,754 - INFO - Setting gateway for router 300c8166-9244-4b1c-ad7b-45b45faf18d9 to network 0308e6cd-897c-46a1-ba91-8b993980a8cc 2026-02-04 10:20:19,822 - INFO - Adding interface with subnet_id 526c0dea-c5c9-46d2-8b9b-f8b7f0a9e0ec, port_id None to router 300c8166-9244-4b1c-ad7b-45b45faf18d9 2026-02-04 10:20:20,162 - INFO - Waiting for VM ctest-TestRoutersBasic-57038155-42357381 to be up.. 2026-02-04 10:20:20,317 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 10:20:25,394 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:20:25,394 - INFO - VM name : ctest-TestRoutersBasic-57038155-42357381 2026-02-04 10:20:25,470 - DEBUG - VM ctest-TestRoutersBasic-57038155-42357381 ID is 4ac8d7c0-0de7-4367-9f4b-e0af376adab0 2026-02-04 10:20:25,490 - DEBUG - VM ctest-TestRoutersBasic-57038155-42357381 launched on Node cn-jenkins-deploy-platform-ansible-os-5203-1 2026-02-04 10:20:25,571 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/4ac8d7c0-0de7-4367-9f4b-e0af376adab0 2026-02-04 10:20:25,865 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/4ac8d7c0-0de7-4367-9f4b-e0af376adab0 2026-02-04 10:20:25,900 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/ec6dccbb-dcdc-4ace-bb46-735b6631e27d 2026-02-04 10:20:29,152 - 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 1014ms') 2026-02-04 10:20:29,152 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57038155-42357381 failed! 2026-02-04 10:20:29,206 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57038155:ctest-vn-31087141 is 41.190.24.1 and allocation pool is NOT set 2026-02-04 10:20:31,272 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.863 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.863/2.321/3.779/1.458 ms') 2026-02-04 10:20:31,272 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57038155-42357381 passed 2026-02-04 10:20:31,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:20:31,422 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57038155-42357381, IP 41.190.24.3, Port 22 2026-02-04 10:20:31,578 - DEBUG - VM ctest-TestRoutersBasic-57038155-42357381 is ready for SSH connections 2026-02-04 10:20:31,578 - INFO - Waiting for VM ctest-TestRoutersBasic-57038155-68427481 to be up.. 2026-02-04 10:20:31,655 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:20:31,655 - INFO - VM name : ctest-TestRoutersBasic-57038155-68427481 2026-02-04 10:20:31,731 - DEBUG - VM ctest-TestRoutersBasic-57038155-68427481 ID is edb360ea-4c80-4679-9b93-932c41b46ea3 2026-02-04 10:20:31,732 - DEBUG - VM ctest-TestRoutersBasic-57038155-68427481 launched on Node cn-jenkins-deploy-platform-ansible-os-5203-1 2026-02-04 10:20:31,815 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/edb360ea-4c80-4679-9b93-932c41b46ea3 2026-02-04 10:20:31,823 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/1d2aae07-99be-4ce7-8dce-cd7bc17c90dc 2026-02-04 10:20:33,063 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.947 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.947/1.907/2.868/0.960 ms') 2026-02-04 10:20:33,063 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57038155-68427481 passed 2026-02-04 10:20:33,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:20:33,210 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57038155-68427481, IP 213.175.241.195, Port 22 2026-02-04 10:20:33,370 - DEBUG - VM ctest-TestRoutersBasic-57038155-68427481 is ready for SSH connections 2026-02-04 10:20:33,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:20:33,370 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.175.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-02-04 10:20:33,370 - DEBUG - ping -s 56 -c 3 -W 1 213.175.241.195 2026-02-04 10:20:37,097 - DEBUG - PING 213.175.241.195 (213.175.241.195): 56 data bytes 64 bytes from 213.175.241.195: seq=0 ttl=62 time=7.120 ms 64 bytes from 213.175.241.195: seq=1 ttl=62 time=0.986 ms 64 bytes from 213.175.241.195: seq=2 ttl=62 time=0.876 ms --- 213.175.241.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/2.994/7.120 ms 2026-02-04 10:20:37,097 - INFO - Ping to IP 213.175.241.195 from VM ctest-TestRoutersBasic-57038155-42357381 passed 2026-02-04 10:20:37,098 - INFO - Deleting interface with subnet_id 526c0dea-c5c9-46d2-8b9b-f8b7f0a9e0ec, port_id None from router 300c8166-9244-4b1c-ad7b-45b45faf18d9 2026-02-04 10:20:37,284 - INFO - Deleting VM ctest-TestRoutersBasic-57038155-68427481 2026-02-04 10:20:37,375 - INFO - Deleting VM ctest-TestRoutersBasic-57038155-42357381 2026-02-04 10:20:37,463 - INFO - Deleting VN ctest-ext_vn-29278890 2026-02-04 10:20:37,532 - DEBUG - VN 0308e6cd-897c-46a1-ba91-8b993980a8cc still in use: Unable to complete operation on network 0308e6cd-897c-46a1-ba91-8b993980a8cc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6b935a85-c641-40af-91af-a37561d3e002'] 2026-02-04 10:20:37,532 - WARNING - Deleting VN ctest-ext_vn-29278890 failed..Will retry 2026-02-04 10:20:39,632 - DEBUG - Response for deleting network () 2026-02-04 10:20:39,632 - INFO - Deleting VN ctest-vn-31087141 2026-02-04 10:20:39,738 - DEBUG - Response for deleting network () 2026-02-04 10:20:40,006 - DEBUG - No XMPP flaps were noticed during the test 2026-02-04 10:20:40,006 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-02-04 10:20:40,006 - INFO - -------------------------------------------------------------------------------- 2026-02-04 10:20:40,708 - INFO - Deleted project: ctest-TestRoutersBasic-57038155, ID : 400ba55e-eb30-4983-b7b9-dc79349d247e