2026-02-10 01:18:53,543 - INFO - Domain Default found not creating 2026-02-10 01:18:53,688 - INFO - Project ctest-TestRoutersBasic-47868399 not found, creating it 2026-02-10 01:18:54,120 - INFO - Created Project:ctest-TestRoutersBasic-47868399, ID : 96e0f388-216a-46e9-8dc0-7891bce20970 2026-02-10 01:18:55,505 - INFO - ================================================================================ 2026-02-10 01:18:55,505 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-10 01:18:55,505 - 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-10 01:18:55,770 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2026-02-10 01:18:55,771 - INFO - Initial checks done. Running the testcase now 2026-02-10 01:18:55,771 - INFO - 2026-02-10 01:18:56,450 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-47868399 2026-02-10 01:18:56,546 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-47868399 2026-02-10 01:18:56,862 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47868399', 'default']} 2026-02-10 01:18:57,131 - DEBUG - Response for create_network : {'network': {'id': '477f9194-c059-4826-8710-c7a47b1c764a', 'name': 'ctest-vn-71894506', 'tenant_id': '96e0f388216a46e98dc07891bce20970', 'project_id': '96e0f388216a46e98dc07891bce20970', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47868399', 'ctest-vn-71894506'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 01:18:57,301 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b3ea538-b4b0-4d81-835c-15e15f6ea2b8', 'name': '', 'tenant_id': '96e0f388216a46e98dc07891bce20970', 'network_id': '477f9194-c059-4826-8710-c7a47b1c764a', 'ip_version': 4, 'cidr': '123.229.212.0/26', 'allocation_pools': [{'start': '123.229.212.2', 'end': '123.229.212.62'}], 'gateway_ip': '123.229.212.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.229.212.2', 'tags': [], 'project_id': '96e0f388216a46e98dc07891bce20970'}} 2026-02-10 01:18:57,317 - INFO - Created VN ctest-vn-71894506 2026-02-10 01:18:57,366 - DEBUG - VN ctest-vn-71894506 UUID is 477f9194-c059-4826-8710-c7a47b1c764a 2026-02-10 01:18:57,687 - DEBUG - Response for create_network : {'network': {'id': '0821dc73-efdf-46cb-9cb1-9453901d37d5', 'name': 'ctest-ext_vn-03214188', 'tenant_id': '96e0f388216a46e98dc07891bce20970', 'project_id': '96e0f388216a46e98dc07891bce20970', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47868399', 'ctest-ext_vn-03214188'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 01:18:57,867 - DEBUG - Response for create_subnet : {'subnet': {'id': '86a035f8-a1dc-4570-b190-9a4d27c909c8', 'name': '', 'tenant_id': '96e0f388216a46e98dc07891bce20970', 'network_id': '0821dc73-efdf-46cb-9cb1-9453901d37d5', 'ip_version': 4, 'cidr': '21.186.131.192/26', 'allocation_pools': [{'start': '21.186.131.194', 'end': '21.186.131.254'}], 'gateway_ip': '21.186.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.186.131.194', 'tags': [], 'project_id': '96e0f388216a46e98dc07891bce20970'}} 2026-02-10 01:18:57,882 - INFO - Created VN ctest-ext_vn-03214188 2026-02-10 01:18:57,934 - DEBUG - VN ctest-ext_vn-03214188 UUID is 0821dc73-efdf-46cb-9cb1-9453901d37d5 2026-02-10 01:18:58,129 - DEBUG - Services list from nova: [, , ] 2026-02-10 01:18:59,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5256-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5256-1) 2026-02-10 01:19:00,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5256-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5256-1) 2026-02-10 01:19:00,207 - INFO - Setting gateway for router 3a16ef28-9815-469d-8b58-31a3aa02d333 to network 0821dc73-efdf-46cb-9cb1-9453901d37d5 2026-02-10 01:19:00,283 - INFO - Adding interface with subnet_id 9b3ea538-b4b0-4d81-835c-15e15f6ea2b8, port_id None to router 3a16ef28-9815-469d-8b58-31a3aa02d333 2026-02-10 01:19:00,549 - INFO - Waiting for VM ctest-TestRoutersBasic-47868399-48172880 to be up.. 2026-02-10 01:19:00,715 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 01:19:05,788 - DEBUG - VM is in ACTIVE state now 2026-02-10 01:19:05,788 - INFO - VM name : ctest-TestRoutersBasic-47868399-48172880 2026-02-10 01:19:05,853 - DEBUG - VM ctest-TestRoutersBasic-47868399-48172880 ID is 54a701f0-0991-4751-bf08-714fc8680bf1 2026-02-10 01:19:05,870 - DEBUG - VM ctest-TestRoutersBasic-47868399-48172880 launched on Node cn-jenkins-deploy-platform-ansible-os-5256-1 2026-02-10 01:19:05,932 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/54a701f0-0991-4751-bf08-714fc8680bf1 2026-02-10 01:19:06,221 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/54a701f0-0991-4751-bf08-714fc8680bf1 2026-02-10 01:19:06,254 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/399762f4-c7ab-49d7-a715-fb3dd894965d 2026-02-10 01:19:09,515 - 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 1020ms') 2026-02-10 01:19:09,516 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47868399-48172880 failed! 2026-02-10 01:19:09,566 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-47868399:ctest-vn-71894506 is 123.229.212.1 and allocation pool is NOT set 2026-02-10 01:19:11,627 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.954 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.954/2.713/4.472/1.759 ms') 2026-02-10 01:19:11,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47868399-48172880 passed 2026-02-10 01:19:11,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 01:19:11,778 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47868399-48172880, IP 123.229.212.3, Port 22 2026-02-10 01:19:11,833 - 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-10 01:19:11,904 - DEBUG - VM ctest-TestRoutersBasic-47868399-48172880 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-10 01:19:16,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 01:19:16,904 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47868399-48172880, IP 123.229.212.3, Port 22 2026-02-10 01:19:17,061 - DEBUG - VM ctest-TestRoutersBasic-47868399-48172880 is ready for SSH connections 2026-02-10 01:19:17,061 - INFO - Waiting for VM ctest-TestRoutersBasic-47868399-03863862 to be up.. 2026-02-10 01:19:17,125 - DEBUG - VM is in ACTIVE state now 2026-02-10 01:19:17,125 - INFO - VM name : ctest-TestRoutersBasic-47868399-03863862 2026-02-10 01:19:17,189 - DEBUG - VM ctest-TestRoutersBasic-47868399-03863862 ID is bf61590a-93d8-4c1f-87f7-288f20aa1b0a 2026-02-10 01:19:17,189 - DEBUG - VM ctest-TestRoutersBasic-47868399-03863862 launched on Node cn-jenkins-deploy-platform-ansible-os-5256-1 2026-02-10 01:19:17,255 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/bf61590a-93d8-4c1f-87f7-288f20aa1b0a 2026-02-10 01:19:17,262 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/07c3b8f7-eb0c-4851-ade0-85073bd5a5ea 2026-02-10 01:19:18,494 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.324 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.324/1.772/3.220/1.448 ms') 2026-02-10 01:19:18,495 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-47868399-03863862 passed 2026-02-10 01:19:18,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 01:19:18,638 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47868399-03863862, IP 21.186.131.195, Port 22 2026-02-10 01:19:18,797 - DEBUG - VM ctest-TestRoutersBasic-47868399-03863862 is ready for SSH connections 2026-02-10 01:19:18,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 01:19:18,797 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.186.131.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-10 01:19:18,797 - DEBUG - ping -s 56 -c 3 -W 1 21.186.131.195 2026-02-10 01:19:22,729 - DEBUG - PING 21.186.131.195 (21.186.131.195): 56 data bytes 64 bytes from 21.186.131.195: seq=0 ttl=62 time=6.577 ms 64 bytes from 21.186.131.195: seq=1 ttl=62 time=0.865 ms 64 bytes from 21.186.131.195: seq=2 ttl=62 time=1.038 ms --- 21.186.131.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/2.826/6.577 ms 2026-02-10 01:19:22,729 - INFO - Ping to IP 21.186.131.195 from VM ctest-TestRoutersBasic-47868399-48172880 passed 2026-02-10 01:19:22,730 - INFO - Deleting interface with subnet_id 9b3ea538-b4b0-4d81-835c-15e15f6ea2b8, port_id None from router 3a16ef28-9815-469d-8b58-31a3aa02d333 2026-02-10 01:19:22,918 - INFO - Deleting VM ctest-TestRoutersBasic-47868399-03863862 2026-02-10 01:19:22,999 - INFO - Deleting VM ctest-TestRoutersBasic-47868399-48172880 2026-02-10 01:19:23,079 - INFO - Deleting VN ctest-ext_vn-03214188 2026-02-10 01:19:23,151 - DEBUG - VN 0821dc73-efdf-46cb-9cb1-9453901d37d5 still in use: Unable to complete operation on network 0821dc73-efdf-46cb-9cb1-9453901d37d5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2dfb7fc9-027d-4195-aa34-b721c115d299'] 2026-02-10 01:19:23,151 - WARNING - Deleting VN ctest-ext_vn-03214188 failed..Will retry 2026-02-10 01:19:25,232 - DEBUG - Response for deleting network () 2026-02-10 01:19:25,232 - INFO - Deleting VN ctest-vn-71894506 2026-02-10 01:19:25,311 - DEBUG - Response for deleting network () 2026-02-10 01:19:25,562 - DEBUG - No XMPP flaps were noticed during the test 2026-02-10 01:19:25,562 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2026-02-10 01:19:25,562 - INFO - -------------------------------------------------------------------------------- 2026-02-10 01:19:26,205 - INFO - Deleted project: ctest-TestRoutersBasic-47868399, ID : 96e0f388-216a-46e9-8dc0-7891bce20970