2026-03-19 13:18:40,375 - INFO - Domain Default found not creating 2026-03-19 13:18:40,578 - INFO - Project ctest-TestRoutersBasic-79561317 not found, creating it 2026-03-19 13:18:41,055 - INFO - Created Project:ctest-TestRoutersBasic-79561317, ID : f696a4ce-42a9-4302-ba60-1d197ac66c59 2026-03-19 13:18:42,676 - INFO - ================================================================================ 2026-03-19 13:18:42,676 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-19 13:18:42,676 - 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 13:18:42,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2026-03-19 13:18:42,957 - INFO - Initial checks done. Running the testcase now 2026-03-19 13:18:42,957 - INFO - 2026-03-19 13:18:43,739 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79561317 2026-03-19 13:18:43,840 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79561317 2026-03-19 13:18:44,183 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79561317', 'default']} 2026-03-19 13:18:44,521 - DEBUG - Response for create_network : {'network': {'id': 'd0b12954-d058-4896-a215-ee3e471cf7c8', 'name': 'ctest-vn-03967379', 'tenant_id': 'f696a4ce42a94302ba601d197ac66c59', 'project_id': 'f696a4ce42a94302ba601d197ac66c59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79561317', 'ctest-vn-03967379'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 13:18:44,716 - DEBUG - Response for create_subnet : {'subnet': {'id': '26e4d629-77b3-4494-9342-5c771333d95b', 'name': '', 'tenant_id': 'f696a4ce42a94302ba601d197ac66c59', 'network_id': 'd0b12954-d058-4896-a215-ee3e471cf7c8', 'ip_version': 4, 'cidr': '110.4.175.64/26', 'allocation_pools': [{'start': '110.4.175.66', 'end': '110.4.175.126'}], 'gateway_ip': '110.4.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.4.175.66', 'tags': [], 'project_id': 'f696a4ce42a94302ba601d197ac66c59'}} 2026-03-19 13:18:44,739 - INFO - Created VN ctest-vn-03967379 2026-03-19 13:18:44,792 - DEBUG - VN ctest-vn-03967379 UUID is d0b12954-d058-4896-a215-ee3e471cf7c8 2026-03-19 13:18:45,154 - DEBUG - Response for create_network : {'network': {'id': '849eeec6-0c36-4258-a997-04283326d496', 'name': 'ctest-ext_vn-44810879', 'tenant_id': 'f696a4ce42a94302ba601d197ac66c59', 'project_id': 'f696a4ce42a94302ba601d197ac66c59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79561317', 'ctest-ext_vn-44810879'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 13:18:45,321 - DEBUG - Response for create_subnet : {'subnet': {'id': '35fa96fa-4cf2-4e97-855d-2d7a109f28d5', 'name': '', 'tenant_id': 'f696a4ce42a94302ba601d197ac66c59', 'network_id': '849eeec6-0c36-4258-a997-04283326d496', 'ip_version': 4, 'cidr': '64.107.203.192/26', 'allocation_pools': [{'start': '64.107.203.194', 'end': '64.107.203.254'}], 'gateway_ip': '64.107.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.107.203.194', 'tags': [], 'project_id': 'f696a4ce42a94302ba601d197ac66c59'}} 2026-03-19 13:18:45,343 - INFO - Created VN ctest-ext_vn-44810879 2026-03-19 13:18:45,396 - DEBUG - VN ctest-ext_vn-44810879 UUID is 849eeec6-0c36-4258-a997-04283326d496 2026-03-19 13:18:45,583 - DEBUG - Services list from nova: [, , ] 2026-03-19 13:18:46,722 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5498-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5498-1) 2026-03-19 13:18:48,057 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5498-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5498-1) 2026-03-19 13:18:48,135 - INFO - Setting gateway for router 4177e1d9-42b0-40f3-9db9-27ab841fb082 to network 849eeec6-0c36-4258-a997-04283326d496 2026-03-19 13:18:48,216 - INFO - Adding interface with subnet_id 26e4d629-77b3-4494-9342-5c771333d95b, port_id None to router 4177e1d9-42b0-40f3-9db9-27ab841fb082 2026-03-19 13:18:48,693 - INFO - Waiting for VM ctest-TestRoutersBasic-79561317-56265387 to be up.. 2026-03-19 13:18:48,911 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 13:18:54,009 - DEBUG - VM is in ACTIVE state now 2026-03-19 13:18:54,009 - INFO - VM name : ctest-TestRoutersBasic-79561317-56265387 2026-03-19 13:18:54,104 - DEBUG - VM ctest-TestRoutersBasic-79561317-56265387 ID is e72baf21-8950-4827-aca7-c5ef25c90665 2026-03-19 13:18:54,142 - DEBUG - VM ctest-TestRoutersBasic-79561317-56265387 launched on Node cn-jenkins-deploy-platform-ansible-os-5498-1 2026-03-19 13:18:54,230 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e72baf21-8950-4827-aca7-c5ef25c90665 2026-03-19 13:18:54,546 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e72baf21-8950-4827-aca7-c5ef25c90665 2026-03-19 13:18:54,588 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/93c4ffa3-33a5-4453-887c-b4a596dec4c7 2026-03-19 13:18:57,855 - 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 1013ms') 2026-03-19 13:18:57,855 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79561317-56265387 failed! 2026-03-19 13:18:57,916 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79561317:ctest-vn-03967379 is 110.4.175.65 and allocation pool is NOT set 2026-03-19 13:18:59,987 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.89 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 = 3.888/4.082/4.276/0.194 ms') 2026-03-19 13:18:59,987 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79561317-56265387 passed 2026-03-19 13:19:00,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 13:19:00,144 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79561317-56265387, IP 110.4.175.67, Port 22 2026-03-19 13:19:00,216 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-19 13:19:00,333 - DEBUG - VM ctest-TestRoutersBasic-79561317-56265387 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-19 13:19:05,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 13:19:05,333 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79561317-56265387, IP 110.4.175.67, Port 22 2026-03-19 13:19:05,510 - DEBUG - VM ctest-TestRoutersBasic-79561317-56265387 is ready for SSH connections 2026-03-19 13:19:05,510 - INFO - Waiting for VM ctest-TestRoutersBasic-79561317-20833540 to be up.. 2026-03-19 13:19:05,604 - DEBUG - VM is in ACTIVE state now 2026-03-19 13:19:05,604 - INFO - VM name : ctest-TestRoutersBasic-79561317-20833540 2026-03-19 13:19:05,688 - DEBUG - VM ctest-TestRoutersBasic-79561317-20833540 ID is 96ccbab7-cee1-4309-a291-ed01c4167c34 2026-03-19 13:19:05,688 - DEBUG - VM ctest-TestRoutersBasic-79561317-20833540 launched on Node cn-jenkins-deploy-platform-ansible-os-5498-1 2026-03-19 13:19:05,770 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/96ccbab7-cee1-4309-a291-ed01c4167c34 2026-03-19 13:19:05,782 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2302de1c-7388-4764-9c8e-ed4b2acdcfba 2026-03-19 13:19:07,024 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 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 = 0.457/1.706/2.956/1.249 ms') 2026-03-19 13:19:07,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79561317-20833540 passed 2026-03-19 13:19:07,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 13:19:07,176 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79561317-20833540, IP 64.107.203.195, Port 22 2026-03-19 13:19:07,342 - DEBUG - VM ctest-TestRoutersBasic-79561317-20833540 is ready for SSH connections 2026-03-19 13:19:07,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 13:19:07,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.107.203.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-19 13:19:07,342 - DEBUG - ping -s 56 -c 3 -W 1 64.107.203.195 2026-03-19 13:19:11,077 - DEBUG - PING 64.107.203.195 (64.107.203.195): 56 data bytes 64 bytes from 64.107.203.195: seq=0 ttl=62 time=7.361 ms 64 bytes from 64.107.203.195: seq=1 ttl=62 time=1.289 ms 64 bytes from 64.107.203.195: seq=2 ttl=62 time=1.157 ms --- 64.107.203.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.157/3.269/7.361 ms 2026-03-19 13:19:11,077 - INFO - Ping to IP 64.107.203.195 from VM ctest-TestRoutersBasic-79561317-56265387 passed 2026-03-19 13:19:11,077 - INFO - Deleting interface with subnet_id 26e4d629-77b3-4494-9342-5c771333d95b, port_id None from router 4177e1d9-42b0-40f3-9db9-27ab841fb082 2026-03-19 13:19:11,267 - INFO - Deleting VM ctest-TestRoutersBasic-79561317-20833540 2026-03-19 13:19:11,351 - INFO - Deleting VM ctest-TestRoutersBasic-79561317-56265387 2026-03-19 13:19:11,443 - INFO - Deleting VN ctest-ext_vn-44810879 2026-03-19 13:19:11,529 - DEBUG - VN 849eeec6-0c36-4258-a997-04283326d496 still in use: Unable to complete operation on network 849eeec6-0c36-4258-a997-04283326d496. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-007aa016-a7f1-4ad3-a289-d02e8fc57783'] 2026-03-19 13:19:11,530 - WARNING - Deleting VN ctest-ext_vn-44810879 failed..Will retry 2026-03-19 13:19:13,640 - DEBUG - Response for deleting network () 2026-03-19 13:19:13,640 - INFO - Deleting VN ctest-vn-03967379 2026-03-19 13:19:13,755 - DEBUG - Response for deleting network () 2026-03-19 13:19:14,034 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 13:19:14,034 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-03-19 13:19:14,034 - INFO - -------------------------------------------------------------------------------- 2026-03-19 13:19:14,773 - INFO - Deleted project: ctest-TestRoutersBasic-79561317, ID : f696a4ce-42a9-4302-ba60-1d197ac66c59