2026-11-30 02:41:22,368 - INFO - Domain Default found not creating 2026-11-30 02:41:22,551 - INFO - Project ctest-TestRoutersBasic-17826378 not found, creating it 2026-11-30 02:41:23,061 - INFO - Created Project:ctest-TestRoutersBasic-17826378, ID : 7571570a-bf0b-4196-8eca-136364cd343b 2026-11-30 02:41:24,901 - INFO - ================================================================================ 2026-11-30 02:41:24,901 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-30 02:41:24,901 - 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-11-30 02:41:26,208 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.29': '0', '10.20.0.30': '0'}, '10.0.0.162': {'10.20.0.29': '0', '10.20.0.30': '0'}} with 2026-11-30 02:41:26,208 - INFO - Initial checks done. Running the testcase now 2026-11-30 02:41:26,208 - INFO - 2026-11-30 02:41:27,089 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17826378 2026-11-30 02:41:27,148 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17826378 2026-11-30 02:41:27,486 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17826378', 'default']} 2026-11-30 02:41:27,883 - DEBUG - Response for create_network : {'network': {'id': '27c5f070-e3b3-4072-bddd-3414e00e05f7', 'name': 'ctest-vn-99502123', 'tenant_id': '7571570abf0b41968eca136364cd343b', 'project_id': '7571570abf0b41968eca136364cd343b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17826378', 'ctest-vn-99502123'], 'port_security_enabled': True, 'description': ''}} 2026-11-30 02:41:28,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '4df21cf7-450c-4bc8-b425-b4ecc239d1c6', 'name': '', 'tenant_id': '7571570abf0b41968eca136364cd343b', 'network_id': '27c5f070-e3b3-4072-bddd-3414e00e05f7', 'ip_version': 4, 'cidr': '179.36.95.128/26', 'allocation_pools': [{'start': '179.36.95.130', 'end': '179.36.95.190'}], 'gateway_ip': '179.36.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.36.95.130', 'tags': [], 'project_id': '7571570abf0b41968eca136364cd343b'}} 2026-11-30 02:41:28,176 - INFO - Created VN ctest-vn-99502123 2026-11-30 02:41:28,187 - DEBUG - VN ctest-vn-99502123 UUID is 27c5f070-e3b3-4072-bddd-3414e00e05f7 2026-11-30 02:41:28,612 - DEBUG - Response for create_network : {'network': {'id': 'fb98fce3-775a-4885-b883-e5197099af0e', 'name': 'ctest-ext_vn-24034367', 'tenant_id': '7571570abf0b41968eca136364cd343b', 'project_id': '7571570abf0b41968eca136364cd343b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17826378', 'ctest-ext_vn-24034367'], 'port_security_enabled': True, 'description': ''}} 2026-11-30 02:41:28,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '616df2e3-b54d-4be0-8a57-908baf2bc115', 'name': '', 'tenant_id': '7571570abf0b41968eca136364cd343b', 'network_id': 'fb98fce3-775a-4885-b883-e5197099af0e', 'ip_version': 4, 'cidr': '61.242.180.128/26', 'allocation_pools': [{'start': '61.242.180.130', 'end': '61.242.180.190'}], 'gateway_ip': '61.242.180.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.242.180.130', 'tags': [], 'project_id': '7571570abf0b41968eca136364cd343b'}} 2026-11-30 02:41:28,918 - INFO - Created VN ctest-ext_vn-24034367 2026-11-30 02:41:28,932 - DEBUG - VN ctest-ext_vn-24034367 UUID is fb98fce3-775a-4885-b883-e5197099af0e 2026-11-30 02:41:29,084 - DEBUG - Services list from nova: [, , , ] 2026-11-30 02:41:29,545 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6522-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6522-1) 2026-11-30 02:41:29,970 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6522-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6522-2) 2026-11-30 02:41:30,069 - INFO - Setting gateway for router 06c06b75-2fdc-489a-bd2f-0285734f6fba to network fb98fce3-775a-4885-b883-e5197099af0e 2026-11-30 02:41:30,155 - INFO - Adding interface with subnet_id 4df21cf7-450c-4bc8-b425-b4ecc239d1c6, port_id None to router 06c06b75-2fdc-489a-bd2f-0285734f6fba 2026-11-30 02:41:30,599 - INFO - Waiting for VM ctest-TestRoutersBasic-17826378-09777688 to be up.. 2026-11-30 02:41:30,676 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:41:35,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:41:40,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:41:45,958 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:41:51,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:41:56,175 - DEBUG - VM is in ACTIVE state now 2026-11-30 02:41:56,175 - INFO - VM name : ctest-TestRoutersBasic-17826378-09777688 2026-11-30 02:41:56,252 - DEBUG - VM ctest-TestRoutersBasic-17826378-09777688 ID is 51cc2617-6743-42d0-adf0-4f16b560b08a 2026-11-30 02:41:56,275 - DEBUG - VM ctest-TestRoutersBasic-17826378-09777688 launched on Node an-jenkins-deploy-platform-ansible-os-6522-1 2026-11-30 02:41:56,348 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/51cc2617-6743-42d0-adf0-4f16b560b08a 2026-11-30 02:41:56,723 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/51cc2617-6743-42d0-adf0-4f16b560b08a 2026-11-30 02:41:56,755 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/b441d439-cf48-4c4b-8b7a-43016303d540 2026-11-30 02:41:59,919 - 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 1002ms') 2026-11-30 02:41:59,919 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-17826378-09777688 failed! 2026-11-30 02:41:59,935 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17826378:ctest-vn-99502123 is 179.36.95.129 and allocation pool is NOT set 2026-11-30 02:42:01,999 - 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=10.1 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.92 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.924/5.990/10.057/4.066 ms') 2026-11-30 02:42:01,999 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-17826378-09777688 passed 2026-11-30 02:42:02,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 02:42:02,067 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17826378-09777688, IP 179.36.95.131, Port 22 2026-11-30 02:42:02,135 - 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-11-30 02:42:02,219 - DEBUG - VM ctest-TestRoutersBasic-17826378-09777688 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-30 02:42:07,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 02:42:07,220 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17826378-09777688, IP 179.36.95.131, Port 22 2026-11-30 02:42:07,396 - DEBUG - VM ctest-TestRoutersBasic-17826378-09777688 is ready for SSH connections 2026-11-30 02:42:07,396 - INFO - Waiting for VM ctest-TestRoutersBasic-17826378-81333743 to be up.. 2026-11-30 02:42:07,483 - DEBUG - VM is in ACTIVE state now 2026-11-30 02:42:07,483 - INFO - VM name : ctest-TestRoutersBasic-17826378-81333743 2026-11-30 02:42:07,562 - DEBUG - VM ctest-TestRoutersBasic-17826378-81333743 ID is e61d58a3-a66c-4a76-bf5f-f03d8ab53ccb 2026-11-30 02:42:07,562 - DEBUG - VM ctest-TestRoutersBasic-17826378-81333743 launched on Node an-jenkins-deploy-platform-ansible-os-6522-2 2026-11-30 02:42:07,641 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/e61d58a3-a66c-4a76-bf5f-f03d8ab53ccb 2026-11-30 02:42:07,651 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/4ea7ef8d-63ac-4e4b-b362-65eaf577498d 2026-11-30 02:42:08,804 - 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=3.55 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.436 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 = 0.436/1.991/3.547/1.555 ms') 2026-11-30 02:42:08,804 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-17826378-81333743 passed 2026-11-30 02:42:08,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 02:42:08,871 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17826378-81333743, IP 61.242.180.132, Port 22 2026-11-30 02:42:09,042 - DEBUG - VM ctest-TestRoutersBasic-17826378-81333743 is ready for SSH connections 2026-11-30 02:42:09,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 02:42:09,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.242.180.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-11-30 02:42:09,042 - DEBUG - ping -s 56 -c 3 -W 1 61.242.180.132 2026-11-30 02:42:11,970 - DEBUG - PING 61.242.180.132 (61.242.180.132): 56 data bytes 64 bytes from 61.242.180.132: seq=0 ttl=62 time=9.748 ms 64 bytes from 61.242.180.132: seq=1 ttl=62 time=1.526 ms 64 bytes from 61.242.180.132: seq=2 ttl=62 time=1.383 ms --- 61.242.180.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.383/4.219/9.748 ms 2026-11-30 02:42:11,971 - INFO - Ping to IP 61.242.180.132 from VM ctest-TestRoutersBasic-17826378-09777688 passed 2026-11-30 02:42:11,971 - INFO - Deleting interface with subnet_id 4df21cf7-450c-4bc8-b425-b4ecc239d1c6, port_id None from router 06c06b75-2fdc-489a-bd2f-0285734f6fba 2026-11-30 02:42:12,310 - INFO - Deleting VM ctest-TestRoutersBasic-17826378-81333743 2026-11-30 02:42:12,440 - INFO - Deleting VM ctest-TestRoutersBasic-17826378-09777688 2026-11-30 02:42:12,523 - INFO - Deleting VN ctest-ext_vn-24034367 2026-11-30 02:42:12,628 - DEBUG - VN fb98fce3-775a-4885-b883-e5197099af0e still in use: Unable to complete operation on network fb98fce3-775a-4885-b883-e5197099af0e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca76e65d-78f2-402f-bcdd-44218a05e03a'] 2026-11-30 02:42:12,628 - WARNING - Deleting VN ctest-ext_vn-24034367 failed..Will retry 2026-11-30 02:42:14,665 - DEBUG - VN fb98fce3-775a-4885-b883-e5197099af0e still in use: Unable to complete operation on network fb98fce3-775a-4885-b883-e5197099af0e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ec0da3e-55ac-4070-8481-6336ab9dede7'] 2026-11-30 02:42:14,665 - WARNING - Deleting VN ctest-ext_vn-24034367 failed..Will retry 2026-11-30 02:42:16,874 - DEBUG - Response for deleting network () 2026-11-30 02:42:16,874 - INFO - Deleting VN ctest-vn-99502123 2026-11-30 02:42:17,041 - DEBUG - Response for deleting network () 2026-11-30 02:42:18,332 - DEBUG - No XMPP flaps were noticed during the test
2026-11-30 02:42:18,332 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:54]
2026-11-30 02:42:18,332 - INFO - -------------------------------------------------------------------------------- 2026-11-30 02:42:19,162 - INFO - Deleted project: ctest-TestRoutersBasic-17826378, ID : 7571570a-bf0b-4196-8eca-136364cd343b