2026-05-18 02:09:48,927 - INFO - Domain Default found not creating 2026-05-18 02:09:49,124 - INFO - Project ctest-TestRoutersBasic-94807923 not found, creating it 2026-05-18 02:09:49,555 - INFO - Created Project:ctest-TestRoutersBasic-94807923, ID : 00fa8ea1-46e4-44c4-bbf9-6b6d180bcc27 2026-05-18 02:09:51,114 - INFO - ================================================================================ 2026-05-18 02:09:51,114 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-18 02:09:51,114 - 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-18 02:09:51,369 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-05-18 02:09:51,369 - INFO - Initial checks done. Running the testcase now 2026-05-18 02:09:51,369 - INFO - 2026-05-18 02:09:52,721 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94807923 2026-05-18 02:09:52,816 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94807923 2026-05-18 02:09:53,136 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94807923', 'default']} 2026-05-18 02:09:53,423 - DEBUG - Response for create_network : {'network': {'id': 'ee05972f-e297-4265-9181-d15de2260dfb', 'name': 'ctest-vn-39700445', 'tenant_id': '00fa8ea146e444c4bbf96b6d180bcc27', 'project_id': '00fa8ea146e444c4bbf96b6d180bcc27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94807923', 'ctest-vn-39700445'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:09:53,588 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a73c0fd6-2f11-42d6-a8bd-71fe5e1e82a9', 'name': '', 'tenant_id': '00fa8ea146e444c4bbf96b6d180bcc27', 'network_id': 'ee05972f-e297-4265-9181-d15de2260dfb', 'ip_version': 4, 'cidr': '101.151.192.64/26', 'allocation_pools': [{'start': '101.151.192.66', 'end': '101.151.192.126'}], 'gateway_ip': '101.151.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.151.192.66', 'tags': [], 'project_id': '00fa8ea146e444c4bbf96b6d180bcc27'}} 2026-05-18 02:09:53,607 - INFO - Created VN ctest-vn-39700445 2026-05-18 02:09:53,660 - DEBUG - VN ctest-vn-39700445 UUID is ee05972f-e297-4265-9181-d15de2260dfb 2026-05-18 02:09:53,976 - DEBUG - Response for create_network : {'network': {'id': '929cb74c-3d95-4bd1-8b2a-9b4ce9468696', 'name': 'ctest-ext_vn-22111419', 'tenant_id': '00fa8ea146e444c4bbf96b6d180bcc27', 'project_id': '00fa8ea146e444c4bbf96b6d180bcc27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94807923', 'ctest-ext_vn-22111419'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:09:54,187 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4d2999f-34b8-4115-9f11-5a98311ddf65', 'name': '', 'tenant_id': '00fa8ea146e444c4bbf96b6d180bcc27', 'network_id': '929cb74c-3d95-4bd1-8b2a-9b4ce9468696', 'ip_version': 4, 'cidr': '14.24.81.0/26', 'allocation_pools': [{'start': '14.24.81.2', 'end': '14.24.81.62'}], 'gateway_ip': '14.24.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.24.81.2', 'tags': [], 'project_id': '00fa8ea146e444c4bbf96b6d180bcc27'}} 2026-05-18 02:09:54,205 - INFO - Created VN ctest-ext_vn-22111419 2026-05-18 02:09:54,256 - DEBUG - VN ctest-ext_vn-22111419 UUID is 929cb74c-3d95-4bd1-8b2a-9b4ce9468696 2026-05-18 02:09:54,457 - DEBUG - Services list from nova: [, , ] 2026-05-18 02:09:55,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5789-1) 2026-05-18 02:09:56,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5789-1) 2026-05-18 02:09:56,657 - INFO - Setting gateway for router aa6a0c33-1b8f-4afa-ac01-3738f8a22faa to network 929cb74c-3d95-4bd1-8b2a-9b4ce9468696 2026-05-18 02:09:56,724 - INFO - Adding interface with subnet_id a73c0fd6-2f11-42d6-a8bd-71fe5e1e82a9, port_id None to router aa6a0c33-1b8f-4afa-ac01-3738f8a22faa 2026-05-18 02:09:57,158 - INFO - Waiting for VM ctest-TestRoutersBasic-94807923-21007589 to be up.. 2026-05-18 02:09:57,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-18 02:10:02,444 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:10:02,444 - INFO - VM name : ctest-TestRoutersBasic-94807923-21007589 2026-05-18 02:10:02,527 - DEBUG - VM ctest-TestRoutersBasic-94807923-21007589 ID is 9fe7d1ae-4d1a-4960-b6c3-1ba9f2c6594b 2026-05-18 02:10:02,545 - DEBUG - VM ctest-TestRoutersBasic-94807923-21007589 launched on Node cn-jenkins-deploy-platform-ansible-os-5789-1 2026-05-18 02:10:02,619 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9fe7d1ae-4d1a-4960-b6c3-1ba9f2c6594b 2026-05-18 02:10:02,919 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9fe7d1ae-4d1a-4960-b6c3-1ba9f2c6594b 2026-05-18 02:10:02,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5d213884-458a-4388-a04d-584f7d710708 2026-05-18 02:10:06,227 - 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 1031ms') 2026-05-18 02:10:06,227 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94807923-21007589 failed! 2026-05-18 02:10:06,280 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94807923:ctest-vn-39700445 is 101.151.192.65 and allocation pool is NOT set 2026-05-18 02:10:08,340 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.983 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 = 0.983/3.157/5.332/2.174 ms') 2026-05-18 02:10:08,340 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94807923-21007589 passed 2026-05-18 02:10:08,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:10:08,493 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94807923-21007589, IP 101.151.192.67, Port 22 2026-05-18 02:10:08,549 - 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-05-18 02:10:08,639 - DEBUG - VM ctest-TestRoutersBasic-94807923-21007589 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-18 02:10:13,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:10:13,640 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94807923-21007589, IP 101.151.192.67, Port 22 2026-05-18 02:10:13,806 - DEBUG - VM ctest-TestRoutersBasic-94807923-21007589 is ready for SSH connections 2026-05-18 02:10:13,806 - INFO - Waiting for VM ctest-TestRoutersBasic-94807923-02795241 to be up.. 2026-05-18 02:10:13,888 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:10:13,889 - INFO - VM name : ctest-TestRoutersBasic-94807923-02795241 2026-05-18 02:10:13,976 - DEBUG - VM ctest-TestRoutersBasic-94807923-02795241 ID is 63238ebe-329f-4d31-ab02-726475b21050 2026-05-18 02:10:13,976 - DEBUG - VM ctest-TestRoutersBasic-94807923-02795241 launched on Node cn-jenkins-deploy-platform-ansible-os-5789-1 2026-05-18 02:10:14,052 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63238ebe-329f-4d31-ab02-726475b21050 2026-05-18 02:10:14,061 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cb6818bc-a7d1-4dd7-b6b7-052587c712d6 2026-05-18 02:10:15,318 - 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=3.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.783/3.142/1.358 ms') 2026-05-18 02:10:15,318 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94807923-02795241 passed 2026-05-18 02:10:15,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:10:15,469 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94807923-02795241, IP 14.24.81.3, Port 22 2026-05-18 02:10:15,628 - DEBUG - VM ctest-TestRoutersBasic-94807923-02795241 is ready for SSH connections 2026-05-18 02:10:15,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:10:15,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.24.81.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-18 02:10:15,629 - DEBUG - ping -s 56 -c 3 -W 1 14.24.81.3 2026-05-18 02:10:19,331 - DEBUG - PING 14.24.81.3 (14.24.81.3): 56 data bytes 64 bytes from 14.24.81.3: seq=0 ttl=62 time=6.188 ms 64 bytes from 14.24.81.3: seq=1 ttl=62 time=0.908 ms 64 bytes from 14.24.81.3: seq=2 ttl=62 time=1.529 ms --- 14.24.81.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/2.875/6.188 ms 2026-05-18 02:10:19,332 - INFO - Ping to IP 14.24.81.3 from VM ctest-TestRoutersBasic-94807923-21007589 passed 2026-05-18 02:10:19,332 - INFO - Deleting interface with subnet_id a73c0fd6-2f11-42d6-a8bd-71fe5e1e82a9, port_id None from router aa6a0c33-1b8f-4afa-ac01-3738f8a22faa 2026-05-18 02:10:19,515 - INFO - Deleting VM ctest-TestRoutersBasic-94807923-02795241 2026-05-18 02:10:19,588 - INFO - Deleting VM ctest-TestRoutersBasic-94807923-21007589 2026-05-18 02:10:19,682 - INFO - Deleting VN ctest-ext_vn-22111419 2026-05-18 02:10:19,753 - DEBUG - VN 929cb74c-3d95-4bd1-8b2a-9b4ce9468696 still in use: Unable to complete operation on network 929cb74c-3d95-4bd1-8b2a-9b4ce9468696. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8228dfbd-fa57-4477-a7af-39c09e9e4b44'] 2026-05-18 02:10:19,753 - WARNING - Deleting VN ctest-ext_vn-22111419 failed..Will retry 2026-05-18 02:10:21,856 - DEBUG - Response for deleting network () 2026-05-18 02:10:21,856 - INFO - Deleting VN ctest-vn-39700445 2026-05-18 02:10:21,958 - DEBUG - Response for deleting network () 2026-05-18 02:10:22,222 - DEBUG - No XMPP flaps were noticed during the test 2026-05-18 02:10:22,222 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-05-18 02:10:22,222 - INFO - -------------------------------------------------------------------------------- 2026-05-18 02:10:22,935 - INFO - Deleted project: ctest-TestRoutersBasic-94807923, ID : 00fa8ea1-46e4-44c4-bbf9-6b6d180bcc27