2026-02-02 09:15:27,247 - INFO - Domain Default found not creating 2026-02-02 09:15:27,427 - INFO - Project ctest-TestRoutersBasic-89687167 not found, creating it 2026-02-02 09:15:27,945 - INFO - Created Project:ctest-TestRoutersBasic-89687167, ID : 7eacd8dc-1a4a-42c4-9029-3ac95d41aeb7 2026-02-02 09:15:29,474 - INFO - ================================================================================ 2026-02-02 09:15:29,474 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-02 09:15:29,474 - 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-02 09:15:29,729 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-02-02 09:15:29,729 - INFO - Initial checks done. Running the testcase now 2026-02-02 09:15:29,729 - INFO - 2026-02-02 09:15:30,450 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89687167 2026-02-02 09:15:30,548 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89687167 2026-02-02 09:15:30,872 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89687167', 'default']} 2026-02-02 09:15:31,178 - DEBUG - Response for create_network : {'network': {'id': '3972a09a-03d4-4f71-a45f-f3629c8c4337', 'name': 'ctest-vn-75711799', 'tenant_id': '7eacd8dc1a4a42c490293ac95d41aeb7', 'project_id': '7eacd8dc1a4a42c490293ac95d41aeb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89687167', 'ctest-vn-75711799'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 09:15:31,394 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8fd780a-6bdc-4160-917e-e241886e306d', 'name': '', 'tenant_id': '7eacd8dc1a4a42c490293ac95d41aeb7', 'network_id': '3972a09a-03d4-4f71-a45f-f3629c8c4337', 'ip_version': 4, 'cidr': '123.215.231.64/26', 'allocation_pools': [{'start': '123.215.231.66', 'end': '123.215.231.126'}], 'gateway_ip': '123.215.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.215.231.66', 'tags': [], 'project_id': '7eacd8dc1a4a42c490293ac95d41aeb7'}} 2026-02-02 09:15:31,413 - INFO - Created VN ctest-vn-75711799 2026-02-02 09:15:31,468 - DEBUG - VN ctest-vn-75711799 UUID is 3972a09a-03d4-4f71-a45f-f3629c8c4337 2026-02-02 09:15:31,782 - DEBUG - Response for create_network : {'network': {'id': '40553ce8-8b85-49ab-8ed6-4ea16a50816d', 'name': 'ctest-ext_vn-15346849', 'tenant_id': '7eacd8dc1a4a42c490293ac95d41aeb7', 'project_id': '7eacd8dc1a4a42c490293ac95d41aeb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89687167', 'ctest-ext_vn-15346849'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 09:15:31,983 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6e25cb3-6a63-42a7-a813-41048b17b238', 'name': '', 'tenant_id': '7eacd8dc1a4a42c490293ac95d41aeb7', 'network_id': '40553ce8-8b85-49ab-8ed6-4ea16a50816d', 'ip_version': 4, 'cidr': '124.17.6.64/26', 'allocation_pools': [{'start': '124.17.6.66', 'end': '124.17.6.126'}], 'gateway_ip': '124.17.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.17.6.66', 'tags': [], 'project_id': '7eacd8dc1a4a42c490293ac95d41aeb7'}} 2026-02-02 09:15:32,002 - INFO - Created VN ctest-ext_vn-15346849 2026-02-02 09:15:32,056 - DEBUG - VN ctest-ext_vn-15346849 UUID is 40553ce8-8b85-49ab-8ed6-4ea16a50816d 2026-02-02 09:15:32,234 - DEBUG - Services list from nova: [, , ] 2026-02-02 09:15:33,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5170-1) 2026-02-02 09:15:34,476 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5170-1) 2026-02-02 09:15:34,559 - INFO - Setting gateway for router 5da2359b-bda4-4aef-9159-5759a8151f95 to network 40553ce8-8b85-49ab-8ed6-4ea16a50816d 2026-02-02 09:15:34,628 - INFO - Adding interface with subnet_id a8fd780a-6bdc-4160-917e-e241886e306d, port_id None to router 5da2359b-bda4-4aef-9159-5759a8151f95 2026-02-02 09:15:34,997 - INFO - Waiting for VM ctest-TestRoutersBasic-89687167-57261048 to be up.. 2026-02-02 09:15:35,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 09:15:40,245 - DEBUG - VM is in ACTIVE state now 2026-02-02 09:15:40,245 - INFO - VM name : ctest-TestRoutersBasic-89687167-57261048 2026-02-02 09:15:40,328 - DEBUG - VM ctest-TestRoutersBasic-89687167-57261048 ID is ea6da2a6-f717-4cd4-91f2-f7c1aff26160 2026-02-02 09:15:40,352 - DEBUG - VM ctest-TestRoutersBasic-89687167-57261048 launched on Node cn-jenkins-deploy-platform-ansible-os-5170-1 2026-02-02 09:15:40,438 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ea6da2a6-f717-4cd4-91f2-f7c1aff26160 2026-02-02 09:15:40,737 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ea6da2a6-f717-4cd4-91f2-f7c1aff26160 2026-02-02 09:15:40,783 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/35f8afa1-49cc-4d9a-bfa2-606953d0a1ec 2026-02-02 09:15:44,038 - 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 1009ms') 2026-02-02 09:15:44,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89687167-57261048 failed! 2026-02-02 09:15:44,096 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89687167:ctest-vn-75711799 is 123.215.231.65 and allocation pool is NOT set 2026-02-02 09:15:46,157 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 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 = 1.878/3.140/4.403/1.262 ms') 2026-02-02 09:15:46,158 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89687167-57261048 passed 2026-02-02 09:15:46,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 09:15:46,312 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89687167-57261048, IP 123.215.231.67, Port 22 2026-02-02 09:15:46,368 - 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-02-02 09:15:46,452 - DEBUG - VM ctest-TestRoutersBasic-89687167-57261048 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-02 09:15:51,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 09:15:51,453 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89687167-57261048, IP 123.215.231.67, Port 22 2026-02-02 09:15:51,508 - 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-02-02 09:15:51,596 - DEBUG - VM ctest-TestRoutersBasic-89687167-57261048 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-02 09:15:56,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 09:15:56,596 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89687167-57261048, IP 123.215.231.67, Port 22 2026-02-02 09:15:56,756 - DEBUG - VM ctest-TestRoutersBasic-89687167-57261048 is ready for SSH connections 2026-02-02 09:15:56,756 - INFO - Waiting for VM ctest-TestRoutersBasic-89687167-76604420 to be up.. 2026-02-02 09:15:56,836 - DEBUG - VM is in ACTIVE state now 2026-02-02 09:15:56,836 - INFO - VM name : ctest-TestRoutersBasic-89687167-76604420 2026-02-02 09:15:56,914 - DEBUG - VM ctest-TestRoutersBasic-89687167-76604420 ID is 135b6bc8-f739-46dc-873b-d5d39ff8332a 2026-02-02 09:15:56,916 - DEBUG - VM ctest-TestRoutersBasic-89687167-76604420 launched on Node cn-jenkins-deploy-platform-ansible-os-5170-1 2026-02-02 09:15:57,001 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/135b6bc8-f739-46dc-873b-d5d39ff8332a 2026-02-02 09:15:57,009 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f344e9d2-ba29-479c-8b85-cb54835e1766 2026-02-02 09:15:58,261 - 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.629 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.629/1.792/2.955/1.163 ms') 2026-02-02 09:15:58,261 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-89687167-76604420 passed 2026-02-02 09:15:58,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 09:15:58,416 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89687167-76604420, IP 124.17.6.67, Port 22 2026-02-02 09:15:58,572 - DEBUG - VM ctest-TestRoutersBasic-89687167-76604420 is ready for SSH connections 2026-02-02 09:15:58,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 09:15:58,572 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.17.6.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-02 09:15:58,572 - DEBUG - ping -s 56 -c 3 -W 1 124.17.6.67 2026-02-02 09:16:02,283 - DEBUG - PING 124.17.6.67 (124.17.6.67): 56 data bytes 64 bytes from 124.17.6.67: seq=0 ttl=62 time=6.786 ms 64 bytes from 124.17.6.67: seq=1 ttl=62 time=1.105 ms 64 bytes from 124.17.6.67: seq=2 ttl=62 time=1.145 ms --- 124.17.6.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.105/3.012/6.786 ms 2026-02-02 09:16:02,283 - INFO - Ping to IP 124.17.6.67 from VM ctest-TestRoutersBasic-89687167-57261048 passed 2026-02-02 09:16:02,284 - INFO - Deleting interface with subnet_id a8fd780a-6bdc-4160-917e-e241886e306d, port_id None from router 5da2359b-bda4-4aef-9159-5759a8151f95 2026-02-02 09:16:02,498 - INFO - Deleting VM ctest-TestRoutersBasic-89687167-76604420 2026-02-02 09:16:02,583 - INFO - Deleting VM ctest-TestRoutersBasic-89687167-57261048 2026-02-02 09:16:02,675 - INFO - Deleting VN ctest-ext_vn-15346849 2026-02-02 09:16:02,748 - DEBUG - VN 40553ce8-8b85-49ab-8ed6-4ea16a50816d still in use: Unable to complete operation on network 40553ce8-8b85-49ab-8ed6-4ea16a50816d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-16b415ba-93e6-4059-9ead-a913455ec0f7'] 2026-02-02 09:16:02,749 - WARNING - Deleting VN ctest-ext_vn-15346849 failed..Will retry 2026-02-02 09:16:04,861 - DEBUG - Response for deleting network () 2026-02-02 09:16:04,861 - INFO - Deleting VN ctest-vn-75711799 2026-02-02 09:16:04,982 - DEBUG - Response for deleting network () 2026-02-02 09:16:05,242 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 09:16:05,242 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:36]
2026-02-02 09:16:05,243 - INFO - -------------------------------------------------------------------------------- 2026-02-02 09:16:05,971 - INFO - Deleted project: ctest-TestRoutersBasic-89687167, ID : 7eacd8dc-1a4a-42c4-9029-3ac95d41aeb7