2026-08-14 11:40:32,347 - INFO - Domain Default found not creating 2026-08-14 11:40:32,529 - INFO - Project ctest-TestRoutersBasic-58363182 not found, creating it 2026-08-14 11:40:33,459 - INFO - Created Project:ctest-TestRoutersBasic-58363182, ID : 970054e9-1bfe-4efd-8563-2e0e3fe597d9 2026-08-14 11:40:35,208 - INFO - ================================================================================ 2026-08-14 11:40:35,208 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-14 11:40:35,208 - 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-08-14 11:40:35,469 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-08-14 11:40:35,469 - INFO - Initial checks done. Running the testcase now 2026-08-14 11:40:35,469 - INFO - 2026-08-14 11:40:36,282 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58363182 2026-08-14 11:40:36,382 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58363182 2026-08-14 11:40:36,713 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58363182', 'default']} 2026-08-14 11:40:37,091 - DEBUG - Response for create_network : {'network': {'id': 'b0a44290-fe57-4016-ae52-461a6671a59f', 'name': 'ctest-vn-77406552', 'tenant_id': '970054e91bfe4efd85632e0e3fe597d9', 'project_id': '970054e91bfe4efd85632e0e3fe597d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58363182', 'ctest-vn-77406552'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 11:40:37,287 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bea25de-ee93-4f4b-a193-e2d9e16e59ab', 'name': '', 'tenant_id': '970054e91bfe4efd85632e0e3fe597d9', 'network_id': 'b0a44290-fe57-4016-ae52-461a6671a59f', 'ip_version': 4, 'cidr': '183.28.226.128/26', 'allocation_pools': [{'start': '183.28.226.130', 'end': '183.28.226.190'}], 'gateway_ip': '183.28.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.28.226.130', 'tags': [], 'project_id': '970054e91bfe4efd85632e0e3fe597d9'}} 2026-08-14 11:40:37,307 - INFO - Created VN ctest-vn-77406552 2026-08-14 11:40:37,365 - DEBUG - VN ctest-vn-77406552 UUID is b0a44290-fe57-4016-ae52-461a6671a59f 2026-08-14 11:40:37,797 - DEBUG - Response for create_network : {'network': {'id': '6519eb4d-6548-44bf-ba50-84711757af48', 'name': 'ctest-ext_vn-03726512', 'tenant_id': '970054e91bfe4efd85632e0e3fe597d9', 'project_id': '970054e91bfe4efd85632e0e3fe597d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58363182', 'ctest-ext_vn-03726512'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 11:40:38,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '27f57f8e-8575-4fc5-9d8e-e34c24d865e9', 'name': '', 'tenant_id': '970054e91bfe4efd85632e0e3fe597d9', 'network_id': '6519eb4d-6548-44bf-ba50-84711757af48', 'ip_version': 4, 'cidr': '44.246.150.64/26', 'allocation_pools': [{'start': '44.246.150.66', 'end': '44.246.150.126'}], 'gateway_ip': '44.246.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.246.150.66', 'tags': [], 'project_id': '970054e91bfe4efd85632e0e3fe597d9'}} 2026-08-14 11:40:38,065 - INFO - Created VN ctest-ext_vn-03726512 2026-08-14 11:40:38,121 - DEBUG - VN ctest-ext_vn-03726512 UUID is 6519eb4d-6548-44bf-ba50-84711757af48 2026-08-14 11:40:38,298 - DEBUG - Services list from nova: [, , ] 2026-08-14 11:40:38,694 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6161-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6161-1) 2026-08-14 11:40:39,184 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6161-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6161-1) 2026-08-14 11:40:39,320 - INFO - Setting gateway for router fe7fef92-08d6-49be-8cdf-9fa6ed711ff9 to network 6519eb4d-6548-44bf-ba50-84711757af48 2026-08-14 11:40:39,402 - INFO - Adding interface with subnet_id 1bea25de-ee93-4f4b-a193-e2d9e16e59ab, port_id None to router fe7fef92-08d6-49be-8cdf-9fa6ed711ff9 2026-08-14 11:40:39,698 - INFO - Waiting for VM ctest-TestRoutersBasic-58363182-44761244 to be up.. 2026-08-14 11:40:39,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:40:44,870 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:40:49,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:40:55,105 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:41:00,188 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:41:05,268 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:41:10,348 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 11:41:15,430 - DEBUG - VM is in ACTIVE state now 2026-08-14 11:41:15,430 - INFO - VM name : ctest-TestRoutersBasic-58363182-44761244 2026-08-14 11:41:15,519 - DEBUG - VM ctest-TestRoutersBasic-58363182-44761244 ID is 12b7fb89-2c1c-4828-b819-820f1f81eee0 2026-08-14 11:41:15,539 - DEBUG - VM ctest-TestRoutersBasic-58363182-44761244 launched on Node cn-jenkins-deploy-platform-ansible-os-6161-1 2026-08-14 11:41:15,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/12b7fb89-2c1c-4828-b819-820f1f81eee0 2026-08-14 11:41:15,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/12b7fb89-2c1c-4828-b819-820f1f81eee0 2026-08-14 11:41:15,983 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3d4b59b0-ef8e-424d-8c58-cfd5e2a53882 2026-08-14 11:41:19,244 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-08-14 11:41:19,245 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-58363182-44761244 failed! 2026-08-14 11:41:19,302 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58363182:ctest-vn-77406552 is 183.28.226.129 and allocation pool is NOT set 2026-08-14 11:41:21,369 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=16.6 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.00 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.004/9.795/16.586/6.791 ms') 2026-08-14 11:41:21,369 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-58363182-44761244 passed 2026-08-14 11:41:21,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 11:41:21,518 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58363182-44761244, IP 183.28.226.131, Port 22 2026-08-14 11:41:21,583 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-14 11:41:21,663 - DEBUG - VM ctest-TestRoutersBasic-58363182-44761244 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-14 11:41:26,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 11:41:26,665 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58363182-44761244, IP 183.28.226.131, Port 22 2026-08-14 11:41:26,821 - DEBUG - VM ctest-TestRoutersBasic-58363182-44761244 is ready for SSH connections 2026-08-14 11:41:26,821 - INFO - Waiting for VM ctest-TestRoutersBasic-58363182-24440948 to be up.. 2026-08-14 11:41:26,896 - DEBUG - VM is in ACTIVE state now 2026-08-14 11:41:26,896 - INFO - VM name : ctest-TestRoutersBasic-58363182-24440948 2026-08-14 11:41:26,971 - DEBUG - VM ctest-TestRoutersBasic-58363182-24440948 ID is 9f7e4ec5-0b20-44e3-be59-99a568340b97 2026-08-14 11:41:26,972 - DEBUG - VM ctest-TestRoutersBasic-58363182-24440948 launched on Node cn-jenkins-deploy-platform-ansible-os-6161-1 2026-08-14 11:41:27,050 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9f7e4ec5-0b20-44e3-be59-99a568340b97 2026-08-14 11:41:27,059 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/430b5327-d4ad-4180-bfaa-5fc2bc8e7c7c 2026-08-14 11:41:28,309 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=4.32 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.498 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.498/2.410/4.323/1.912 ms') 2026-08-14 11:41:28,309 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-58363182-24440948 passed 2026-08-14 11:41:28,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 11:41:28,461 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58363182-24440948, IP 44.246.150.68, Port 22 2026-08-14 11:41:28,625 - DEBUG - VM ctest-TestRoutersBasic-58363182-24440948 is ready for SSH connections 2026-08-14 11:41:28,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 11:41:28,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.246.150.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-14 11:41:28,625 - DEBUG - ping -s 56 -c 3 -W 1 44.246.150.68 2026-08-14 11:41:31,639 - DEBUG - PING 44.246.150.68 (44.246.150.68): 56 data bytes 64 bytes from 44.246.150.68: seq=0 ttl=62 time=5.840 ms 64 bytes from 44.246.150.68: seq=1 ttl=62 time=1.411 ms 64 bytes from 44.246.150.68: seq=2 ttl=62 time=1.234 ms --- 44.246.150.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.234/2.828/5.840 ms 2026-08-14 11:41:31,639 - INFO - Ping to IP 44.246.150.68 from VM ctest-TestRoutersBasic-58363182-44761244 passed 2026-08-14 11:41:31,639 - INFO - Deleting interface with subnet_id 1bea25de-ee93-4f4b-a193-e2d9e16e59ab, port_id None from router fe7fef92-08d6-49be-8cdf-9fa6ed711ff9 2026-08-14 11:41:31,889 - INFO - Deleting VM ctest-TestRoutersBasic-58363182-24440948 2026-08-14 11:41:31,972 - INFO - Deleting VM ctest-TestRoutersBasic-58363182-44761244 2026-08-14 11:41:32,060 - INFO - Deleting VN ctest-ext_vn-03726512 2026-08-14 11:41:32,164 - DEBUG - VN 6519eb4d-6548-44bf-ba50-84711757af48 still in use: Unable to complete operation on network 6519eb4d-6548-44bf-ba50-84711757af48. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ad587ef-df32-4fab-84c8-c420e98fa625'] 2026-08-14 11:41:32,164 - WARNING - Deleting VN ctest-ext_vn-03726512 failed..Will retry 2026-08-14 11:41:34,327 - DEBUG - Response for deleting network () 2026-08-14 11:41:34,327 - INFO - Deleting VN ctest-vn-77406552 2026-08-14 11:41:34,458 - DEBUG - Response for deleting network () 2026-08-14 11:41:34,723 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 11:41:34,723 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:59]
2026-08-14 11:41:34,723 - INFO - -------------------------------------------------------------------------------- 2026-08-14 11:41:35,478 - INFO - Deleted project: ctest-TestRoutersBasic-58363182, ID : 970054e9-1bfe-4efd-8563-2e0e3fe597d9