2026-03-19 14:54:30,348 - INFO - Domain Default found not creating 2026-03-19 14:54:30,497 - INFO - Project ctest-TestRoutersBasic-76370012 not found, creating it 2026-03-19 14:54:30,953 - INFO - Created Project:ctest-TestRoutersBasic-76370012, ID : 9359877b-43c3-4abf-8aad-659c55d4b0f1 2026-03-19 14:54:32,375 - INFO - ================================================================================ 2026-03-19 14:54:32,375 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-19 14:54:32,375 - 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-03-19 14:54:32,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-19 14:54:32,631 - INFO - Initial checks done. Running the testcase now 2026-03-19 14:54:32,631 - INFO - 2026-03-19 14:54:33,321 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76370012 2026-03-19 14:54:33,421 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76370012 2026-03-19 14:54:33,737 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76370012', 'default']} 2026-03-19 14:54:34,008 - DEBUG - Response for create_network : {'network': {'id': '373b875e-96f0-4ab3-857c-191dd7693813', 'name': 'ctest-vn-43465811', 'tenant_id': '9359877b43c34abf8aad659c55d4b0f1', 'project_id': '9359877b43c34abf8aad659c55d4b0f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76370012', 'ctest-vn-43465811'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 14:54:34,182 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8046eea-6f7f-4756-93e2-7207e1bafa37', 'name': '', 'tenant_id': '9359877b43c34abf8aad659c55d4b0f1', 'network_id': '373b875e-96f0-4ab3-857c-191dd7693813', 'ip_version': 4, 'cidr': '169.10.247.64/26', 'allocation_pools': [{'start': '169.10.247.66', 'end': '169.10.247.126'}], 'gateway_ip': '169.10.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.10.247.66', 'tags': [], 'project_id': '9359877b43c34abf8aad659c55d4b0f1'}} 2026-03-19 14:54:34,199 - INFO - Created VN ctest-vn-43465811 2026-03-19 14:54:34,249 - DEBUG - VN ctest-vn-43465811 UUID is 373b875e-96f0-4ab3-857c-191dd7693813 2026-03-19 14:54:34,576 - DEBUG - Response for create_network : {'network': {'id': '82c54c7a-1ea0-4cbf-9bff-cc95295aa040', 'name': 'ctest-ext_vn-23645245', 'tenant_id': '9359877b43c34abf8aad659c55d4b0f1', 'project_id': '9359877b43c34abf8aad659c55d4b0f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76370012', 'ctest-ext_vn-23645245'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 14:54:34,769 - DEBUG - Response for create_subnet : {'subnet': {'id': '498a9a58-6475-4511-a3ae-23c95b136315', 'name': '', 'tenant_id': '9359877b43c34abf8aad659c55d4b0f1', 'network_id': '82c54c7a-1ea0-4cbf-9bff-cc95295aa040', 'ip_version': 4, 'cidr': '176.90.244.64/26', 'allocation_pools': [{'start': '176.90.244.66', 'end': '176.90.244.126'}], 'gateway_ip': '176.90.244.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.90.244.66', 'tags': [], 'project_id': '9359877b43c34abf8aad659c55d4b0f1'}} 2026-03-19 14:54:34,786 - INFO - Created VN ctest-ext_vn-23645245 2026-03-19 14:54:34,837 - DEBUG - VN ctest-ext_vn-23645245 UUID is 82c54c7a-1ea0-4cbf-9bff-cc95295aa040 2026-03-19 14:54:35,009 - DEBUG - Services list from nova: [, , ] 2026-03-19 14:54:36,014 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5500-1) 2026-03-19 14:54:37,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5500-1) 2026-03-19 14:54:37,165 - INFO - Setting gateway for router 69e1033d-3741-4818-b78b-91f5570d35bd to network 82c54c7a-1ea0-4cbf-9bff-cc95295aa040 2026-03-19 14:54:37,246 - INFO - Adding interface with subnet_id b8046eea-6f7f-4756-93e2-7207e1bafa37, port_id None to router 69e1033d-3741-4818-b78b-91f5570d35bd 2026-03-19 14:54:37,569 - INFO - Waiting for VM ctest-TestRoutersBasic-76370012-46277719 to be up.. 2026-03-19 14:54:37,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 14:54:42,766 - DEBUG - VM is in ACTIVE state now 2026-03-19 14:54:42,766 - INFO - VM name : ctest-TestRoutersBasic-76370012-46277719 2026-03-19 14:54:42,849 - DEBUG - VM ctest-TestRoutersBasic-76370012-46277719 ID is 186c4b28-dc8d-4ae3-9d8a-34ffdb30e4a6 2026-03-19 14:54:42,872 - DEBUG - VM ctest-TestRoutersBasic-76370012-46277719 launched on Node cn-jenkins-deploy-platform-ansible-os-5500-1 2026-03-19 14:54:42,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/186c4b28-dc8d-4ae3-9d8a-34ffdb30e4a6 2026-03-19 14:54:43,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/186c4b28-dc8d-4ae3-9d8a-34ffdb30e4a6 2026-03-19 14:54:43,275 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b3974329-c735-4377-a7a8-78ca891c559d 2026-03-19 14:54:46,512 - 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 1008ms') 2026-03-19 14:54:46,512 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76370012-46277719 failed! 2026-03-19 14:54:46,565 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76370012:ctest-vn-43465811 is 169.10.247.65 and allocation pool is NOT set 2026-03-19 14:54:48,623 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.795 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.795/1.856/2.918/1.061 ms') 2026-03-19 14:54:48,623 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76370012-46277719 passed 2026-03-19 14:54:48,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 14:54:48,777 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76370012-46277719, IP 169.10.247.67, Port 22 2026-03-19 14:54:48,937 - DEBUG - VM ctest-TestRoutersBasic-76370012-46277719 is ready for SSH connections 2026-03-19 14:54:48,937 - INFO - Waiting for VM ctest-TestRoutersBasic-76370012-30528833 to be up.. 2026-03-19 14:54:49,009 - DEBUG - VM is in ACTIVE state now 2026-03-19 14:54:49,010 - INFO - VM name : ctest-TestRoutersBasic-76370012-30528833 2026-03-19 14:54:49,080 - DEBUG - VM ctest-TestRoutersBasic-76370012-30528833 ID is 56fd81f9-7cb7-4575-9cf2-f47e25d89bf8 2026-03-19 14:54:49,080 - DEBUG - VM ctest-TestRoutersBasic-76370012-30528833 launched on Node cn-jenkins-deploy-platform-ansible-os-5500-1 2026-03-19 14:54:49,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/56fd81f9-7cb7-4575-9cf2-f47e25d89bf8 2026-03-19 14:54:49,164 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/57eba9f9-39c0-4c7a-bde3-247a5a515f99 2026-03-19 14:54:50,413 - 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=4.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.59 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 = 1.591/3.197/4.803/1.606 ms') 2026-03-19 14:54:50,413 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76370012-30528833 passed 2026-03-19 14:54:50,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 14:54:50,561 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76370012-30528833, IP 176.90.244.67, Port 22 2026-03-19 14:54:50,713 - DEBUG - VM ctest-TestRoutersBasic-76370012-30528833 is ready for SSH connections 2026-03-19 14:54:50,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 14:54:50,713 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.90.244.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-19 14:54:50,713 - DEBUG - ping -s 56 -c 3 -W 1 176.90.244.67 2026-03-19 14:54:54,422 - DEBUG - PING 176.90.244.67 (176.90.244.67): 56 data bytes 64 bytes from 176.90.244.67: seq=0 ttl=62 time=7.346 ms 64 bytes from 176.90.244.67: seq=1 ttl=62 time=0.784 ms 64 bytes from 176.90.244.67: seq=2 ttl=62 time=0.850 ms --- 176.90.244.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/2.993/7.346 ms 2026-03-19 14:54:54,422 - INFO - Ping to IP 176.90.244.67 from VM ctest-TestRoutersBasic-76370012-46277719 passed 2026-03-19 14:54:54,423 - INFO - Deleting interface with subnet_id b8046eea-6f7f-4756-93e2-7207e1bafa37, port_id None from router 69e1033d-3741-4818-b78b-91f5570d35bd 2026-03-19 14:54:54,593 - INFO - Deleting VM ctest-TestRoutersBasic-76370012-30528833 2026-03-19 14:54:54,658 - INFO - Deleting VM ctest-TestRoutersBasic-76370012-46277719 2026-03-19 14:54:54,727 - INFO - Deleting VN ctest-ext_vn-23645245 2026-03-19 14:54:54,796 - DEBUG - VN 82c54c7a-1ea0-4cbf-9bff-cc95295aa040 still in use: Unable to complete operation on network 82c54c7a-1ea0-4cbf-9bff-cc95295aa040. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d8a8fce2-2af3-45de-a8d9-ec464c2603c9'] 2026-03-19 14:54:54,796 - WARNING - Deleting VN ctest-ext_vn-23645245 failed..Will retry 2026-03-19 14:54:56,887 - DEBUG - Response for deleting network () 2026-03-19 14:54:56,887 - INFO - Deleting VN ctest-vn-43465811 2026-03-19 14:54:56,991 - DEBUG - Response for deleting network () 2026-03-19 14:54:57,250 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 14:54:57,250 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-03-19 14:54:57,250 - INFO - -------------------------------------------------------------------------------- 2026-03-19 14:54:57,904 - INFO - Deleted project: ctest-TestRoutersBasic-76370012, ID : 9359877b-43c3-4abf-8aad-659c55d4b0f1