2026-01-26 16:02:59,310 - INFO - Domain Default found not creating 2026-01-26 16:02:59,618 - INFO - Project ctest-TestRoutersBasic-30571648 not found, creating it 2026-01-26 16:03:00,223 - INFO - Created Project:ctest-TestRoutersBasic-30571648, ID : fdd371a0-b521-4b3d-87e5-d27de0c49372 2026-01-26 16:03:01,924 - INFO - ================================================================================ 2026-01-26 16:03:01,925 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-26 16:03:01,925 - 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-01-26 16:03:02,188 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2026-01-26 16:03:02,188 - INFO - Initial checks done. Running the testcase now 2026-01-26 16:03:02,188 - INFO - 2026-01-26 16:03:03,003 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30571648 2026-01-26 16:03:03,105 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30571648 2026-01-26 16:03:03,448 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30571648', 'default']} 2026-01-26 16:03:03,800 - DEBUG - Response for create_network : {'network': {'id': '656d1ecf-36e1-41b4-834b-664c7d9b0bb7', 'name': 'ctest-vn-30435695', 'tenant_id': 'fdd371a0b5214b3d87e5d27de0c49372', 'project_id': 'fdd371a0b5214b3d87e5d27de0c49372', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30571648', 'ctest-vn-30435695'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 16:03:03,990 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f4b65fa-a453-486e-8614-8760c75e0cfb', 'name': '', 'tenant_id': 'fdd371a0b5214b3d87e5d27de0c49372', 'network_id': '656d1ecf-36e1-41b4-834b-664c7d9b0bb7', 'ip_version': 4, 'cidr': '172.202.209.128/26', 'allocation_pools': [{'start': '172.202.209.130', 'end': '172.202.209.190'}], 'gateway_ip': '172.202.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.202.209.130', 'tags': [], 'project_id': 'fdd371a0b5214b3d87e5d27de0c49372'}} 2026-01-26 16:03:04,012 - INFO - Created VN ctest-vn-30435695 2026-01-26 16:03:04,065 - DEBUG - VN ctest-vn-30435695 UUID is 656d1ecf-36e1-41b4-834b-664c7d9b0bb7 2026-01-26 16:03:04,458 - DEBUG - Response for create_network : {'network': {'id': 'd14fc9b7-5cd2-4af2-ab0d-95203888ff3a', 'name': 'ctest-ext_vn-54269314', 'tenant_id': 'fdd371a0b5214b3d87e5d27de0c49372', 'project_id': 'fdd371a0b5214b3d87e5d27de0c49372', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30571648', 'ctest-ext_vn-54269314'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 16:03:04,688 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4940f5e-280c-4dc1-add2-a3a2d28d83ce', 'name': '', 'tenant_id': 'fdd371a0b5214b3d87e5d27de0c49372', 'network_id': 'd14fc9b7-5cd2-4af2-ab0d-95203888ff3a', 'ip_version': 4, 'cidr': '80.30.53.192/26', 'allocation_pools': [{'start': '80.30.53.194', 'end': '80.30.53.254'}], 'gateway_ip': '80.30.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.30.53.194', 'tags': [], 'project_id': 'fdd371a0b5214b3d87e5d27de0c49372'}} 2026-01-26 16:03:04,719 - INFO - Created VN ctest-ext_vn-54269314 2026-01-26 16:03:04,773 - DEBUG - VN ctest-ext_vn-54269314 UUID is d14fc9b7-5cd2-4af2-ab0d-95203888ff3a 2026-01-26 16:03:04,968 - DEBUG - Services list from nova: [, , ] 2026-01-26 16:03:06,145 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5081-1) 2026-01-26 16:03:07,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5081-1) 2026-01-26 16:03:07,507 - INFO - Setting gateway for router d8fc0baa-9544-4dec-8cc3-3dfbd21cb92c to network d14fc9b7-5cd2-4af2-ab0d-95203888ff3a 2026-01-26 16:03:07,581 - INFO - Adding interface with subnet_id 4f4b65fa-a453-486e-8614-8760c75e0cfb, port_id None to router d8fc0baa-9544-4dec-8cc3-3dfbd21cb92c 2026-01-26 16:03:08,072 - INFO - Waiting for VM ctest-TestRoutersBasic-30571648-43909117 to be up.. 2026-01-26 16:03:08,222 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-26 16:03:13,333 - DEBUG - VM is in ACTIVE state now 2026-01-26 16:03:13,334 - INFO - VM name : ctest-TestRoutersBasic-30571648-43909117 2026-01-26 16:03:13,439 - DEBUG - VM ctest-TestRoutersBasic-30571648-43909117 ID is d0e782f8-3d83-4f1e-bb30-0db59884c289 2026-01-26 16:03:13,462 - DEBUG - VM ctest-TestRoutersBasic-30571648-43909117 launched on Node cn-jenkins-deploy-platform-ansible-os-5081-1 2026-01-26 16:03:13,546 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/d0e782f8-3d83-4f1e-bb30-0db59884c289 2026-01-26 16:03:13,857 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/d0e782f8-3d83-4f1e-bb30-0db59884c289 2026-01-26 16:03:13,921 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/88f476ce-c787-4a11-9f95-c058a1ed8caf 2026-01-26 16:03:17,243 - 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 1017ms') 2026-01-26 16:03:17,243 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30571648-43909117 failed! 2026-01-26 16:03:17,305 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30571648:ctest-vn-30435695 is 172.202.209.129 and allocation pool is NOT set 2026-01-26 16:03:19,385 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.36 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 = 1.361/3.187/5.014/1.826 ms') 2026-01-26 16:03:19,385 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30571648-43909117 passed 2026-01-26 16:03:19,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:03:19,545 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30571648-43909117, IP 172.202.209.131, Port 22 2026-01-26 16:03:19,627 - 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-01-26 16:03:19,718 - DEBUG - VM ctest-TestRoutersBasic-30571648-43909117 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-26 16:03:24,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:03:24,718 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30571648-43909117, IP 172.202.209.131, Port 22 2026-01-26 16:03:24,895 - DEBUG - VM ctest-TestRoutersBasic-30571648-43909117 is ready for SSH connections 2026-01-26 16:03:24,896 - INFO - Waiting for VM ctest-TestRoutersBasic-30571648-25347185 to be up.. 2026-01-26 16:03:25,071 - DEBUG - VM is in ACTIVE state now 2026-01-26 16:03:25,071 - INFO - VM name : ctest-TestRoutersBasic-30571648-25347185 2026-01-26 16:03:25,178 - DEBUG - VM ctest-TestRoutersBasic-30571648-25347185 ID is 1cf817e6-b8ea-4e2e-89e1-a0334c5ed753 2026-01-26 16:03:25,178 - DEBUG - VM ctest-TestRoutersBasic-30571648-25347185 launched on Node cn-jenkins-deploy-platform-ansible-os-5081-1 2026-01-26 16:03:25,310 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/1cf817e6-b8ea-4e2e-89e1-a0334c5ed753 2026-01-26 16:03:25,325 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/4bcc3089-317e-426f-b0ea-6576dcc1b390 2026-01-26 16:03:26,607 - 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=8.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.749 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.749/4.536/8.323/3.787 ms') 2026-01-26 16:03:26,608 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-30571648-25347185 passed 2026-01-26 16:03:26,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:03:26,790 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30571648-25347185, IP 80.30.53.195, Port 22 2026-01-26 16:03:26,975 - DEBUG - VM ctest-TestRoutersBasic-30571648-25347185 is ready for SSH connections 2026-01-26 16:03:26,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 16:03:26,975 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.30.53.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-01-26 16:03:26,975 - DEBUG - ping -s 56 -c 3 -W 1 80.30.53.195 2026-01-26 16:03:30,832 - DEBUG - PING 80.30.53.195 (80.30.53.195): 56 data bytes 64 bytes from 80.30.53.195: seq=0 ttl=62 time=7.447 ms 64 bytes from 80.30.53.195: seq=1 ttl=62 time=1.848 ms 64 bytes from 80.30.53.195: seq=2 ttl=62 time=1.156 ms --- 80.30.53.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.156/3.483/7.447 ms 2026-01-26 16:03:30,833 - INFO - Ping to IP 80.30.53.195 from VM ctest-TestRoutersBasic-30571648-43909117 passed 2026-01-26 16:03:30,833 - INFO - Deleting interface with subnet_id 4f4b65fa-a453-486e-8614-8760c75e0cfb, port_id None from router d8fc0baa-9544-4dec-8cc3-3dfbd21cb92c 2026-01-26 16:03:31,051 - INFO - Deleting VM ctest-TestRoutersBasic-30571648-25347185 2026-01-26 16:03:31,130 - INFO - Deleting VM ctest-TestRoutersBasic-30571648-43909117 2026-01-26 16:03:31,227 - INFO - Deleting VN ctest-ext_vn-54269314 2026-01-26 16:03:31,311 - DEBUG - VN d14fc9b7-5cd2-4af2-ab0d-95203888ff3a still in use: Unable to complete operation on network d14fc9b7-5cd2-4af2-ab0d-95203888ff3a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-948cafa0-8909-456e-a5bb-8adf6ba321fe'] 2026-01-26 16:03:31,312 - WARNING - Deleting VN ctest-ext_vn-54269314 failed..Will retry 2026-01-26 16:03:33,486 - DEBUG - Response for deleting network () 2026-01-26 16:03:33,486 - INFO - Deleting VN ctest-vn-30435695 2026-01-26 16:03:33,616 - DEBUG - Response for deleting network () 2026-01-26 16:03:33,879 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 16:03:33,880 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-01-26 16:03:33,880 - INFO - -------------------------------------------------------------------------------- 2026-01-26 16:03:34,707 - INFO - Deleted project: ctest-TestRoutersBasic-30571648, ID : fdd371a0-b521-4b3d-87e5-d27de0c49372