2026-06-16 15:35:36,615 - INFO - Domain Default found not creating 2026-06-16 15:35:36,740 - INFO - Project ctest-TestRoutersBasic-98500840 not found, creating it 2026-06-16 15:35:37,157 - INFO - Created Project:ctest-TestRoutersBasic-98500840, ID : c6d9cdb0-87d0-469e-8d8b-8ee12f57dc6c 2026-06-16 15:35:38,545 - INFO - ================================================================================ 2026-06-16 15:35:38,545 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-16 15:35:38,545 - 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-06-16 15:35:38,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2026-06-16 15:35:38,800 - INFO - Initial checks done. Running the testcase now 2026-06-16 15:35:38,800 - INFO - 2026-06-16 15:35:39,529 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98500840 2026-06-16 15:35:39,623 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98500840 2026-06-16 15:35:39,931 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98500840', 'default']} 2026-06-16 15:35:40,199 - DEBUG - Response for create_network : {'network': {'id': '07689cfa-88e0-4fdf-be19-f00418f94ca6', 'name': 'ctest-vn-95483198', 'tenant_id': 'c6d9cdb087d0469e8d8b8ee12f57dc6c', 'project_id': 'c6d9cdb087d0469e8d8b8ee12f57dc6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98500840', 'ctest-vn-95483198'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 15:35:40,342 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ed5be29-e4f0-40da-b869-e9376ed2e845', 'name': '', 'tenant_id': 'c6d9cdb087d0469e8d8b8ee12f57dc6c', 'network_id': '07689cfa-88e0-4fdf-be19-f00418f94ca6', 'ip_version': 4, 'cidr': '132.182.72.128/26', 'allocation_pools': [{'start': '132.182.72.130', 'end': '132.182.72.190'}], 'gateway_ip': '132.182.72.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.182.72.130', 'tags': [], 'project_id': 'c6d9cdb087d0469e8d8b8ee12f57dc6c'}} 2026-06-16 15:35:40,355 - INFO - Created VN ctest-vn-95483198 2026-06-16 15:35:40,407 - DEBUG - VN ctest-vn-95483198 UUID is 07689cfa-88e0-4fdf-be19-f00418f94ca6 2026-06-16 15:35:40,708 - DEBUG - Response for create_network : {'network': {'id': '60b84468-e303-4a48-b626-7c9479c1a130', 'name': 'ctest-ext_vn-78634285', 'tenant_id': 'c6d9cdb087d0469e8d8b8ee12f57dc6c', 'project_id': 'c6d9cdb087d0469e8d8b8ee12f57dc6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98500840', 'ctest-ext_vn-78634285'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 15:35:40,871 - DEBUG - Response for create_subnet : {'subnet': {'id': '6deb1af0-b073-4b02-9511-7c7c1637153d', 'name': '', 'tenant_id': 'c6d9cdb087d0469e8d8b8ee12f57dc6c', 'network_id': '60b84468-e303-4a48-b626-7c9479c1a130', 'ip_version': 4, 'cidr': '26.28.174.0/26', 'allocation_pools': [{'start': '26.28.174.2', 'end': '26.28.174.62'}], 'gateway_ip': '26.28.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.28.174.2', 'tags': [], 'project_id': 'c6d9cdb087d0469e8d8b8ee12f57dc6c'}} 2026-06-16 15:35:40,883 - INFO - Created VN ctest-ext_vn-78634285 2026-06-16 15:35:40,936 - DEBUG - VN ctest-ext_vn-78634285 UUID is 60b84468-e303-4a48-b626-7c9479c1a130 2026-06-16 15:35:41,113 - DEBUG - Services list from nova: [, , ] 2026-06-16 15:35:42,155 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5954-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5954-1) 2026-06-16 15:35:43,204 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5954-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5954-1) 2026-06-16 15:35:43,267 - INFO - Setting gateway for router cd468330-1ef8-41b5-8411-30077a0075fb to network 60b84468-e303-4a48-b626-7c9479c1a130 2026-06-16 15:35:43,311 - INFO - Adding interface with subnet_id 0ed5be29-e4f0-40da-b869-e9376ed2e845, port_id None to router cd468330-1ef8-41b5-8411-30077a0075fb 2026-06-16 15:35:43,616 - INFO - Waiting for VM ctest-TestRoutersBasic-98500840-47497266 to be up.. 2026-06-16 15:35:43,715 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 15:35:48,777 - DEBUG - VM is in ACTIVE state now 2026-06-16 15:35:48,778 - INFO - VM name : ctest-TestRoutersBasic-98500840-47497266 2026-06-16 15:35:48,842 - DEBUG - VM ctest-TestRoutersBasic-98500840-47497266 ID is cad88e0e-71a5-43c4-8f15-97ed8407f65e 2026-06-16 15:35:48,858 - DEBUG - VM ctest-TestRoutersBasic-98500840-47497266 launched on Node cn-jenkins-deploy-platform-ansible-os-5954-1 2026-06-16 15:35:48,914 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cad88e0e-71a5-43c4-8f15-97ed8407f65e 2026-06-16 15:35:49,236 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cad88e0e-71a5-43c4-8f15-97ed8407f65e 2026-06-16 15:35:49,270 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8a91f7d5-e26b-4c91-89ca-e33ded7e2fea 2026-06-16 15:35:50,510 - 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=2.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.33 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 = 1.330/1.968/2.607/0.638 ms') 2026-06-16 15:35:50,510 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98500840-47497266 passed 2026-06-16 15:35:50,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 15:35:50,659 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98500840-47497266, IP 132.182.72.131, Port 22 2026-06-16 15:35:50,725 - 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-06-16 15:35:50,787 - DEBUG - VM ctest-TestRoutersBasic-98500840-47497266 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-16 15:35:55,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 15:35:55,788 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98500840-47497266, IP 132.182.72.131, Port 22 2026-06-16 15:35:55,942 - DEBUG - VM ctest-TestRoutersBasic-98500840-47497266 is ready for SSH connections 2026-06-16 15:35:55,942 - INFO - Waiting for VM ctest-TestRoutersBasic-98500840-74054513 to be up.. 2026-06-16 15:35:56,013 - DEBUG - VM is in ACTIVE state now 2026-06-16 15:35:56,013 - INFO - VM name : ctest-TestRoutersBasic-98500840-74054513 2026-06-16 15:35:56,085 - DEBUG - VM ctest-TestRoutersBasic-98500840-74054513 ID is 3cbfdd9c-c3ff-4212-9956-04d5f342cf67 2026-06-16 15:35:56,085 - DEBUG - VM ctest-TestRoutersBasic-98500840-74054513 launched on Node cn-jenkins-deploy-platform-ansible-os-5954-1 2026-06-16 15:35:56,152 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3cbfdd9c-c3ff-4212-9956-04d5f342cf67 2026-06-16 15:35:56,161 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/55d4c632-fabd-4b65-8bdc-7a497d80734f 2026-06-16 15:35:57,396 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.377 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.377/1.752/3.128/1.375 ms') 2026-06-16 15:35:57,396 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98500840-74054513 passed 2026-06-16 15:35:57,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 15:35:57,543 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98500840-74054513, IP 26.28.174.3, Port 22 2026-06-16 15:35:57,694 - DEBUG - VM ctest-TestRoutersBasic-98500840-74054513 is ready for SSH connections 2026-06-16 15:35:57,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 15:35:57,695 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.28.174.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-16 15:35:57,695 - DEBUG - ping -s 56 -c 3 -W 1 26.28.174.3 2026-06-16 15:36:01,577 - DEBUG - PING 26.28.174.3 (26.28.174.3): 56 data bytes 64 bytes from 26.28.174.3: seq=0 ttl=62 time=4.943 ms 64 bytes from 26.28.174.3: seq=1 ttl=62 time=0.845 ms 64 bytes from 26.28.174.3: seq=2 ttl=62 time=0.954 ms --- 26.28.174.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.845/2.247/4.943 ms 2026-06-16 15:36:01,578 - INFO - Ping to IP 26.28.174.3 from VM ctest-TestRoutersBasic-98500840-47497266 passed 2026-06-16 15:36:01,578 - INFO - Deleting interface with subnet_id 0ed5be29-e4f0-40da-b869-e9376ed2e845, port_id None from router cd468330-1ef8-41b5-8411-30077a0075fb 2026-06-16 15:36:01,729 - INFO - Deleting VM ctest-TestRoutersBasic-98500840-74054513 2026-06-16 15:36:01,784 - INFO - Deleting VM ctest-TestRoutersBasic-98500840-47497266 2026-06-16 15:36:01,851 - INFO - Deleting VN ctest-ext_vn-78634285 2026-06-16 15:36:01,907 - DEBUG - VN 60b84468-e303-4a48-b626-7c9479c1a130 still in use: Unable to complete operation on network 60b84468-e303-4a48-b626-7c9479c1a130. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c0e160b-acff-497c-bff1-762db786f87b'] 2026-06-16 15:36:01,908 - WARNING - Deleting VN ctest-ext_vn-78634285 failed..Will retry 2026-06-16 15:36:03,986 - DEBUG - Response for deleting network () 2026-06-16 15:36:03,986 - INFO - Deleting VN ctest-vn-95483198 2026-06-16 15:36:04,066 - DEBUG - Response for deleting network () 2026-06-16 15:36:04,315 - DEBUG - No XMPP flaps were noticed during the test 2026-06-16 15:36:04,315 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-06-16 15:36:04,316 - INFO - -------------------------------------------------------------------------------- 2026-06-16 15:36:04,982 - INFO - Deleted project: ctest-TestRoutersBasic-98500840, ID : c6d9cdb0-87d0-469e-8d8b-8ee12f57dc6c