2026-01-01 01:56:26,399 - INFO - Domain Default found not creating 2026-01-01 01:56:26,560 - INFO - Project ctest-TestRoutersBasic-96082092 not found, creating it 2026-01-01 01:56:27,029 - INFO - Created Project:ctest-TestRoutersBasic-96082092, ID : 734e284a-879e-40d4-b0bd-c8aac703051e 2026-01-01 01:56:28,523 - INFO - ================================================================================ 2026-01-01 01:56:28,523 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-01 01:56:28,523 - 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-01-01 01:56:28,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with 2026-01-01 01:56:28,783 - INFO - Initial checks done. Running the testcase now 2026-01-01 01:56:28,783 - INFO - 2026-01-01 01:56:29,507 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96082092 2026-01-01 01:56:29,601 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96082092 2026-01-01 01:56:29,925 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96082092', 'default']} 2026-01-01 01:56:30,223 - DEBUG - Response for create_network : {'network': {'id': 'ba323213-8711-4a4e-88d3-e56bf45587cd', 'name': 'ctest-vn-36949333', 'tenant_id': '734e284a879e40d4b0bdc8aac703051e', 'project_id': '734e284a879e40d4b0bdc8aac703051e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96082092', 'ctest-vn-36949333'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 01:56:30,386 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f128ee3-9768-4f01-8664-08fa04658ff0', 'name': '', 'tenant_id': '734e284a879e40d4b0bdc8aac703051e', 'network_id': 'ba323213-8711-4a4e-88d3-e56bf45587cd', 'ip_version': 4, 'cidr': '85.109.41.128/26', 'allocation_pools': [{'start': '85.109.41.130', 'end': '85.109.41.190'}], 'gateway_ip': '85.109.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.109.41.130', 'tags': [], 'project_id': '734e284a879e40d4b0bdc8aac703051e'}} 2026-01-01 01:56:30,404 - INFO - Created VN ctest-vn-36949333 2026-01-01 01:56:30,457 - DEBUG - VN ctest-vn-36949333 UUID is ba323213-8711-4a4e-88d3-e56bf45587cd 2026-01-01 01:56:30,784 - DEBUG - Response for create_network : {'network': {'id': 'f0740357-bd64-49fd-870e-49d5b0d695d9', 'name': 'ctest-ext_vn-16286887', 'tenant_id': '734e284a879e40d4b0bdc8aac703051e', 'project_id': '734e284a879e40d4b0bdc8aac703051e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96082092', 'ctest-ext_vn-16286887'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 01:56:30,980 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1d16cb1-fa23-4081-b2fe-0dcb2de7adf5', 'name': '', 'tenant_id': '734e284a879e40d4b0bdc8aac703051e', 'network_id': 'f0740357-bd64-49fd-870e-49d5b0d695d9', 'ip_version': 4, 'cidr': '28.95.68.128/26', 'allocation_pools': [{'start': '28.95.68.130', 'end': '28.95.68.190'}], 'gateway_ip': '28.95.68.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.95.68.130', 'tags': [], 'project_id': '734e284a879e40d4b0bdc8aac703051e'}} 2026-01-01 01:56:30,997 - INFO - Created VN ctest-ext_vn-16286887 2026-01-01 01:56:31,049 - DEBUG - VN ctest-ext_vn-16286887 UUID is f0740357-bd64-49fd-870e-49d5b0d695d9 2026-01-01 01:56:31,214 - DEBUG - Services list from nova: [, , ] 2026-01-01 01:56:32,259 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4944-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4944-1) 2026-01-01 01:56:33,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4944-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4944-1) 2026-01-01 01:56:33,484 - INFO - Setting gateway for router ae511291-55fe-4fcf-980d-b7ce3db41697 to network f0740357-bd64-49fd-870e-49d5b0d695d9 2026-01-01 01:56:33,572 - INFO - Adding interface with subnet_id 2f128ee3-9768-4f01-8664-08fa04658ff0, port_id None to router ae511291-55fe-4fcf-980d-b7ce3db41697 2026-01-01 01:56:34,014 - INFO - Waiting for VM ctest-TestRoutersBasic-96082092-13327865 to be up.. 2026-01-01 01:56:34,167 - DEBUG - VM is in ACTIVE state now 2026-01-01 01:56:34,167 - INFO - VM name : ctest-TestRoutersBasic-96082092-13327865 2026-01-01 01:56:34,289 - DEBUG - VM ctest-TestRoutersBasic-96082092-13327865 ID is 379a42d1-81c1-43a3-b45c-4b51a5e23f87 2026-01-01 01:56:34,325 - DEBUG - VM ctest-TestRoutersBasic-96082092-13327865 launched on Node cn-jenkins-deploy-platform-ansible-os-4944-1 2026-01-01 01:56:34,428 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/379a42d1-81c1-43a3-b45c-4b51a5e23f87 2026-01-01 01:56:34,764 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/379a42d1-81c1-43a3-b45c-4b51a5e23f87 2026-01-01 01:56:34,811 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7f2e76cf-98d6-42bb-963f-9bb00931cb76 2026-01-01 01:56:38,079 - 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 1019ms') 2026-01-01 01:56:38,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96082092-13327865 failed! 2026-01-01 01:56:38,133 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96082092:ctest-vn-36949333 is 85.109.41.129 and allocation pool is NOT set 2026-01-01 01:56:42,207 - 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 1011ms') 2026-01-01 01:56:42,208 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96082092-13327865 failed! 2026-01-01 01:56:42,266 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96082092:ctest-vn-36949333 is 85.109.41.129 and allocation pool is NOT set 2026-01-01 01:56:44,322 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 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.477/2.663/4.850/2.186 ms') 2026-01-01 01:56:44,322 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96082092-13327865 passed 2026-01-01 01:56:44,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 01:56:44,474 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96082092-13327865, IP 85.109.41.131, Port 22 2026-01-01 01:56:44,634 - DEBUG - VM ctest-TestRoutersBasic-96082092-13327865 is ready for SSH connections 2026-01-01 01:56:44,634 - INFO - Waiting for VM ctest-TestRoutersBasic-96082092-20425881 to be up.. 2026-01-01 01:56:44,705 - DEBUG - VM is in ACTIVE state now 2026-01-01 01:56:44,705 - INFO - VM name : ctest-TestRoutersBasic-96082092-20425881 2026-01-01 01:56:44,780 - DEBUG - VM ctest-TestRoutersBasic-96082092-20425881 ID is 3cf8ad8d-d2cc-455c-a696-86ad6f7d173a 2026-01-01 01:56:44,780 - DEBUG - VM ctest-TestRoutersBasic-96082092-20425881 launched on Node cn-jenkins-deploy-platform-ansible-os-4944-1 2026-01-01 01:56:44,850 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3cf8ad8d-d2cc-455c-a696-86ad6f7d173a 2026-01-01 01:56:44,857 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/906e371a-3ef2-46a9-9d35-54decfecdd63 2026-01-01 01:56:46,093 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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.489/1.693/2.898/1.204 ms') 2026-01-01 01:56:46,093 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96082092-20425881 passed 2026-01-01 01:56:46,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 01:56:46,245 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96082092-20425881, IP 28.95.68.131, Port 22 2026-01-01 01:56:46,411 - DEBUG - VM ctest-TestRoutersBasic-96082092-20425881 is ready for SSH connections 2026-01-01 01:56:46,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 01:56:46,411 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.95.68.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-01 01:56:46,411 - DEBUG - ping -s 56 -c 3 -W 1 28.95.68.131 2026-01-01 01:56:50,107 - DEBUG - PING 28.95.68.131 (28.95.68.131): 56 data bytes 64 bytes from 28.95.68.131: seq=0 ttl=62 time=5.431 ms 64 bytes from 28.95.68.131: seq=1 ttl=62 time=1.008 ms 64 bytes from 28.95.68.131: seq=2 ttl=62 time=0.916 ms --- 28.95.68.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/2.451/5.431 ms 2026-01-01 01:56:50,108 - INFO - Ping to IP 28.95.68.131 from VM ctest-TestRoutersBasic-96082092-13327865 passed 2026-01-01 01:56:50,108 - INFO - Deleting interface with subnet_id 2f128ee3-9768-4f01-8664-08fa04658ff0, port_id None from router ae511291-55fe-4fcf-980d-b7ce3db41697 2026-01-01 01:56:50,288 - INFO - Deleting VM ctest-TestRoutersBasic-96082092-20425881 2026-01-01 01:56:50,351 - INFO - Deleting VM ctest-TestRoutersBasic-96082092-13327865 2026-01-01 01:56:50,427 - INFO - Deleting VN ctest-ext_vn-16286887 2026-01-01 01:56:50,491 - DEBUG - VN f0740357-bd64-49fd-870e-49d5b0d695d9 still in use: Unable to complete operation on network f0740357-bd64-49fd-870e-49d5b0d695d9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b1f513c8-e430-4473-ad86-37a49656362c'] 2026-01-01 01:56:50,491 - WARNING - Deleting VN ctest-ext_vn-16286887 failed..Will retry 2026-01-01 01:56:52,583 - DEBUG - Response for deleting network () 2026-01-01 01:56:52,583 - INFO - Deleting VN ctest-vn-36949333 2026-01-01 01:56:52,685 - DEBUG - Response for deleting network () 2026-01-01 01:56:52,939 - DEBUG - No XMPP flaps were noticed during the test 2026-01-01 01:56:52,939 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2026-01-01 01:56:52,939 - INFO - -------------------------------------------------------------------------------- 2026-01-01 01:56:53,622 - INFO - Deleted project: ctest-TestRoutersBasic-96082092, ID : 734e284a-879e-40d4-b0bd-c8aac703051e