2026-05-04 02:23:18,614 - INFO - Domain Default found not creating 2026-05-04 02:23:18,802 - INFO - Project ctest-TestRoutersBasic-83268420 not found, creating it 2026-05-04 02:23:19,296 - INFO - Created Project:ctest-TestRoutersBasic-83268420, ID : 286f81e0-a737-46ad-834a-d5b4575fbc3f 2026-05-04 02:23:20,984 - INFO - ================================================================================ 2026-05-04 02:23:20,984 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-04 02:23:20,984 - 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-04 02:23:21,251 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-05-04 02:23:21,251 - INFO - Initial checks done. Running the testcase now 2026-05-04 02:23:21,252 - INFO - 2026-05-04 02:23:22,801 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83268420 2026-05-04 02:23:22,900 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83268420 2026-05-04 02:23:23,227 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83268420', 'default']} 2026-05-04 02:23:23,529 - DEBUG - Response for create_network : {'network': {'id': '45ffd7b8-45c9-4d65-bf35-edef95ce5c43', 'name': 'ctest-vn-85582856', 'tenant_id': '286f81e0a73746ad834ad5b4575fbc3f', 'project_id': '286f81e0a73746ad834ad5b4575fbc3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83268420', 'ctest-vn-85582856'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:23:23,721 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d21da57-317e-4819-9b19-6bd534cd3cf1', 'name': '', 'tenant_id': '286f81e0a73746ad834ad5b4575fbc3f', 'network_id': '45ffd7b8-45c9-4d65-bf35-edef95ce5c43', 'ip_version': 4, 'cidr': '2.140.240.64/26', 'allocation_pools': [{'start': '2.140.240.66', 'end': '2.140.240.126'}], 'gateway_ip': '2.140.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.140.240.66', 'tags': [], 'project_id': '286f81e0a73746ad834ad5b4575fbc3f'}} 2026-05-04 02:23:23,743 - INFO - Created VN ctest-vn-85582856 2026-05-04 02:23:23,795 - DEBUG - VN ctest-vn-85582856 UUID is 45ffd7b8-45c9-4d65-bf35-edef95ce5c43 2026-05-04 02:23:24,117 - DEBUG - Response for create_network : {'network': {'id': '98683226-6b1f-4883-86e2-54111237c4c4', 'name': 'ctest-ext_vn-55110945', 'tenant_id': '286f81e0a73746ad834ad5b4575fbc3f', 'project_id': '286f81e0a73746ad834ad5b4575fbc3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83268420', 'ctest-ext_vn-55110945'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:23:24,286 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bef657e-52c8-416b-ab73-36c77f72a038', 'name': '', 'tenant_id': '286f81e0a73746ad834ad5b4575fbc3f', 'network_id': '98683226-6b1f-4883-86e2-54111237c4c4', 'ip_version': 4, 'cidr': '191.190.143.0/26', 'allocation_pools': [{'start': '191.190.143.2', 'end': '191.190.143.62'}], 'gateway_ip': '191.190.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.190.143.2', 'tags': [], 'project_id': '286f81e0a73746ad834ad5b4575fbc3f'}} 2026-05-04 02:23:24,307 - INFO - Created VN ctest-ext_vn-55110945 2026-05-04 02:23:24,359 - DEBUG - VN ctest-ext_vn-55110945 UUID is 98683226-6b1f-4883-86e2-54111237c4c4 2026-05-04 02:23:24,538 - DEBUG - Services list from nova: [, , ] 2026-05-04 02:23:25,712 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5739-1) 2026-05-04 02:23:27,021 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5739-1) 2026-05-04 02:23:27,123 - INFO - Setting gateway for router 70169f7e-41f1-4821-9d61-0efa2a86fd4f to network 98683226-6b1f-4883-86e2-54111237c4c4 2026-05-04 02:23:27,211 - INFO - Adding interface with subnet_id 3d21da57-317e-4819-9b19-6bd534cd3cf1, port_id None to router 70169f7e-41f1-4821-9d61-0efa2a86fd4f 2026-05-04 02:23:27,660 - INFO - Waiting for VM ctest-TestRoutersBasic-83268420-26346748 to be up.. 2026-05-04 02:23:27,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-04 02:23:32,924 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:23:32,924 - INFO - VM name : ctest-TestRoutersBasic-83268420-26346748 2026-05-04 02:23:33,005 - DEBUG - VM ctest-TestRoutersBasic-83268420-26346748 ID is f0038bf7-c865-4927-b9ec-14bb9b6247d2 2026-05-04 02:23:33,026 - DEBUG - VM ctest-TestRoutersBasic-83268420-26346748 launched on Node cn-jenkins-deploy-platform-ansible-os-5739-1 2026-05-04 02:23:33,109 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f0038bf7-c865-4927-b9ec-14bb9b6247d2 2026-05-04 02:23:33,443 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f0038bf7-c865-4927-b9ec-14bb9b6247d2 2026-05-04 02:23:33,477 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/47bdbe38-89e2-471f-9fa3-e6356a2eb8c5 2026-05-04 02:23:36,744 - 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-04 02:23:36,744 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83268420-26346748 failed! 2026-05-04 02:23:36,807 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83268420:ctest-vn-85582856 is 2.140.240.65 and allocation pool is NOT set 2026-05-04 02:23:38,869 - 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=5.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.648 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.648/3.287/5.927/2.639 ms') 2026-05-04 02:23:38,869 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83268420-26346748 passed 2026-05-04 02:23:39,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:23:39,028 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83268420-26346748, IP 2.140.240.67, Port 22 2026-05-04 02:23:39,198 - DEBUG - VM ctest-TestRoutersBasic-83268420-26346748 is ready for SSH connections 2026-05-04 02:23:39,198 - INFO - Waiting for VM ctest-TestRoutersBasic-83268420-14938783 to be up.. 2026-05-04 02:23:39,295 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:23:39,295 - INFO - VM name : ctest-TestRoutersBasic-83268420-14938783 2026-05-04 02:23:39,400 - DEBUG - VM ctest-TestRoutersBasic-83268420-14938783 ID is faf22bd5-4c84-4685-a869-65e8e3884bb5 2026-05-04 02:23:39,401 - DEBUG - VM ctest-TestRoutersBasic-83268420-14938783 launched on Node cn-jenkins-deploy-platform-ansible-os-5739-1 2026-05-04 02:23:39,491 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/faf22bd5-4c84-4685-a869-65e8e3884bb5 2026-05-04 02:23:39,502 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ec18c062-a61a-46d2-8d08-1f5cfe2e3efd 2026-05-04 02:23:40,745 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.21 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.206/3.006/4.807/1.800 ms') 2026-05-04 02:23:40,745 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83268420-14938783 passed 2026-05-04 02:23:40,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:23:40,900 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83268420-14938783, IP 191.190.143.3, Port 22 2026-05-04 02:23:41,056 - DEBUG - VM ctest-TestRoutersBasic-83268420-14938783 is ready for SSH connections 2026-05-04 02:23:41,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:23:41,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.190.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-04 02:23:41,056 - DEBUG - ping -s 56 -c 3 -W 1 191.190.143.3 2026-05-04 02:23:44,825 - DEBUG - PING 191.190.143.3 (191.190.143.3): 56 data bytes 64 bytes from 191.190.143.3: seq=0 ttl=62 time=6.841 ms 64 bytes from 191.190.143.3: seq=1 ttl=62 time=0.946 ms 64 bytes from 191.190.143.3: seq=2 ttl=62 time=1.262 ms --- 191.190.143.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.946/3.016/6.841 ms 2026-05-04 02:23:44,825 - INFO - Ping to IP 191.190.143.3 from VM ctest-TestRoutersBasic-83268420-26346748 passed 2026-05-04 02:23:44,825 - INFO - Deleting interface with subnet_id 3d21da57-317e-4819-9b19-6bd534cd3cf1, port_id None from router 70169f7e-41f1-4821-9d61-0efa2a86fd4f 2026-05-04 02:23:45,049 - INFO - Deleting VM ctest-TestRoutersBasic-83268420-14938783 2026-05-04 02:23:45,131 - INFO - Deleting VM ctest-TestRoutersBasic-83268420-26346748 2026-05-04 02:23:45,226 - INFO - Deleting VN ctest-ext_vn-55110945 2026-05-04 02:23:45,320 - DEBUG - VN 98683226-6b1f-4883-86e2-54111237c4c4 still in use: Unable to complete operation on network 98683226-6b1f-4883-86e2-54111237c4c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4a049497-df24-4a05-b19b-a66982c4e991'] 2026-05-04 02:23:45,320 - WARNING - Deleting VN ctest-ext_vn-55110945 failed..Will retry 2026-05-04 02:23:47,425 - DEBUG - Response for deleting network () 2026-05-04 02:23:47,426 - INFO - Deleting VN ctest-vn-85582856 2026-05-04 02:23:47,537 - DEBUG - Response for deleting network () 2026-05-04 02:23:47,793 - DEBUG - No XMPP flaps were noticed during the test
2026-05-04 02:23:47,793 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2026-05-04 02:23:47,793 - INFO - -------------------------------------------------------------------------------- 2026-05-04 02:23:48,549 - INFO - Deleted project: ctest-TestRoutersBasic-83268420, ID : 286f81e0-a737-46ad-834a-d5b4575fbc3f