2026-05-12 13:20:13,051 - INFO - Domain Default found not creating 2026-05-12 13:20:13,284 - INFO - Project ctest-TestRoutersBasic-15523906 not found, creating it 2026-05-12 13:20:13,807 - INFO - Created Project:ctest-TestRoutersBasic-15523906, ID : 0144dfdd-af57-40fb-bfce-2e4b6bcfe8e3 2026-05-12 13:20:15,706 - INFO - ================================================================================ 2026-05-12 13:20:15,706 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-12 13:20:15,707 - 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-12 13:20:15,980 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-05-12 13:20:15,980 - INFO - Initial checks done. Running the testcase now 2026-05-12 13:20:15,980 - INFO - 2026-05-12 13:20:16,812 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15523906 2026-05-12 13:20:16,914 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15523906 2026-05-12 13:20:17,254 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15523906', 'default']} 2026-05-12 13:20:17,613 - DEBUG - Response for create_network : {'network': {'id': '3535bdb2-cb19-44f1-b6eb-53d66de5f54b', 'name': 'ctest-vn-94952278', 'tenant_id': '0144dfddaf5740fbbfce2e4b6bcfe8e3', 'project_id': '0144dfddaf5740fbbfce2e4b6bcfe8e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15523906', 'ctest-vn-94952278'], 'port_security_enabled': True, 'description': ''}} 2026-05-12 13:20:17,890 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4768db3-e5d9-4014-938a-76c262f845c7', 'name': '', 'tenant_id': '0144dfddaf5740fbbfce2e4b6bcfe8e3', 'network_id': '3535bdb2-cb19-44f1-b6eb-53d66de5f54b', 'ip_version': 4, 'cidr': '87.244.0.0/26', 'allocation_pools': [{'start': '87.244.0.2', 'end': '87.244.0.62'}], 'gateway_ip': '87.244.0.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.244.0.2', 'tags': [], 'project_id': '0144dfddaf5740fbbfce2e4b6bcfe8e3'}} 2026-05-12 13:20:17,913 - INFO - Created VN ctest-vn-94952278 2026-05-12 13:20:17,970 - DEBUG - VN ctest-vn-94952278 UUID is 3535bdb2-cb19-44f1-b6eb-53d66de5f54b 2026-05-12 13:20:18,399 - DEBUG - Response for create_network : {'network': {'id': '2ae8c107-9de3-4cba-bb0f-0f7fd668f1dc', 'name': 'ctest-ext_vn-63648117', 'tenant_id': '0144dfddaf5740fbbfce2e4b6bcfe8e3', 'project_id': '0144dfddaf5740fbbfce2e4b6bcfe8e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15523906', 'ctest-ext_vn-63648117'], 'port_security_enabled': True, 'description': ''}} 2026-05-12 13:20:18,670 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb70e6ac-56c2-48bf-91a0-804850e1bc22', 'name': '', 'tenant_id': '0144dfddaf5740fbbfce2e4b6bcfe8e3', 'network_id': '2ae8c107-9de3-4cba-bb0f-0f7fd668f1dc', 'ip_version': 4, 'cidr': '210.127.252.128/26', 'allocation_pools': [{'start': '210.127.252.130', 'end': '210.127.252.190'}], 'gateway_ip': '210.127.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.127.252.130', 'tags': [], 'project_id': '0144dfddaf5740fbbfce2e4b6bcfe8e3'}} 2026-05-12 13:20:18,695 - INFO - Created VN ctest-ext_vn-63648117 2026-05-12 13:20:18,750 - DEBUG - VN ctest-ext_vn-63648117 UUID is 2ae8c107-9de3-4cba-bb0f-0f7fd668f1dc 2026-05-12 13:20:18,959 - DEBUG - Services list from nova: [, , ] 2026-05-12 13:20:20,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5771-1) 2026-05-12 13:20:21,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5771-1) 2026-05-12 13:20:21,678 - INFO - Setting gateway for router f0d79f97-08e0-4ce8-8b61-dd9bda447069 to network 2ae8c107-9de3-4cba-bb0f-0f7fd668f1dc 2026-05-12 13:20:21,781 - INFO - Adding interface with subnet_id c4768db3-e5d9-4014-938a-76c262f845c7, port_id None to router f0d79f97-08e0-4ce8-8b61-dd9bda447069 2026-05-12 13:20:22,425 - INFO - Waiting for VM ctest-TestRoutersBasic-15523906-99209820 to be up.. 2026-05-12 13:20:22,621 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-12 13:20:27,731 - DEBUG - VM is in ACTIVE state now 2026-05-12 13:20:27,731 - INFO - VM name : ctest-TestRoutersBasic-15523906-99209820 2026-05-12 13:20:27,843 - DEBUG - VM ctest-TestRoutersBasic-15523906-99209820 ID is 8d5970f7-750f-4db1-bfae-cfcc99efda05 2026-05-12 13:20:27,874 - DEBUG - VM ctest-TestRoutersBasic-15523906-99209820 launched on Node cn-jenkins-deploy-platform-ansible-os-5771-1 2026-05-12 13:20:27,986 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8d5970f7-750f-4db1-bfae-cfcc99efda05 2026-05-12 13:20:28,303 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8d5970f7-750f-4db1-bfae-cfcc99efda05 2026-05-12 13:20:28,351 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2998d98b-f706-42f8-be5a-feb68e944e84 2026-05-12 13:20:31,620 - 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 1013ms') 2026-05-12 13:20:31,620 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15523906-99209820 failed! 2026-05-12 13:20:31,678 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15523906:ctest-vn-94952278 is 87.244.0.1 and allocation pool is NOT set 2026-05-12 13:20:33,751 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.06 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 = 4.061/7.242/10.423/3.181 ms') 2026-05-12 13:20:33,751 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15523906-99209820 passed 2026-05-12 13:20:33,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 13:20:33,910 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15523906-99209820, IP 87.244.0.3, Port 22 2026-05-12 13:20:33,977 - 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-12 13:20:34,089 - DEBUG - VM ctest-TestRoutersBasic-15523906-99209820 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-12 13:20:39,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 13:20:39,090 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15523906-99209820, IP 87.244.0.3, Port 22 2026-05-12 13:20:39,260 - DEBUG - VM ctest-TestRoutersBasic-15523906-99209820 is ready for SSH connections 2026-05-12 13:20:39,260 - INFO - Waiting for VM ctest-TestRoutersBasic-15523906-81811838 to be up.. 2026-05-12 13:20:39,373 - DEBUG - VM is in ACTIVE state now 2026-05-12 13:20:39,373 - INFO - VM name : ctest-TestRoutersBasic-15523906-81811838 2026-05-12 13:20:39,468 - DEBUG - VM ctest-TestRoutersBasic-15523906-81811838 ID is c677adaa-0a40-4c20-a798-e26e67481cfa 2026-05-12 13:20:39,469 - DEBUG - VM ctest-TestRoutersBasic-15523906-81811838 launched on Node cn-jenkins-deploy-platform-ansible-os-5771-1 2026-05-12 13:20:39,577 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c677adaa-0a40-4c20-a798-e26e67481cfa 2026-05-12 13:20:39,589 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2f828807-c1d7-45c2-bcf3-2583e43c31f6 2026-05-12 13:20:40,845 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.682 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.682/1.954/3.227/1.272 ms') 2026-05-12 13:20:40,845 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15523906-81811838 passed 2026-05-12 13:20:41,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 13:20:41,006 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15523906-81811838, IP 210.127.252.131, Port 22 2026-05-12 13:20:41,181 - DEBUG - VM ctest-TestRoutersBasic-15523906-81811838 is ready for SSH connections 2026-05-12 13:20:41,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 13:20:41,181 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.127.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-05-12 13:20:41,181 - DEBUG - ping -s 56 -c 3 -W 1 210.127.252.131 2026-05-12 13:20:44,931 - DEBUG - PING 210.127.252.131 (210.127.252.131): 56 data bytes 64 bytes from 210.127.252.131: seq=0 ttl=62 time=6.122 ms 64 bytes from 210.127.252.131: seq=1 ttl=62 time=1.337 ms 64 bytes from 210.127.252.131: seq=2 ttl=62 time=1.294 ms --- 210.127.252.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.294/2.917/6.122 ms 2026-05-12 13:20:44,931 - INFO - Ping to IP 210.127.252.131 from VM ctest-TestRoutersBasic-15523906-99209820 passed 2026-05-12 13:20:44,931 - INFO - Deleting interface with subnet_id c4768db3-e5d9-4014-938a-76c262f845c7, port_id None from router f0d79f97-08e0-4ce8-8b61-dd9bda447069 2026-05-12 13:20:45,198 - INFO - Deleting VM ctest-TestRoutersBasic-15523906-81811838 2026-05-12 13:20:45,318 - INFO - Deleting VM ctest-TestRoutersBasic-15523906-99209820 2026-05-12 13:20:45,418 - INFO - Deleting VN ctest-ext_vn-63648117 2026-05-12 13:20:45,533 - DEBUG - VN 2ae8c107-9de3-4cba-bb0f-0f7fd668f1dc still in use: Unable to complete operation on network 2ae8c107-9de3-4cba-bb0f-0f7fd668f1dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bc4d0d6b-66d3-4145-9301-1bca58e76862'] 2026-05-12 13:20:45,534 - WARNING - Deleting VN ctest-ext_vn-63648117 failed..Will retry 2026-05-12 13:20:47,686 - DEBUG - Response for deleting network () 2026-05-12 13:20:47,686 - INFO - Deleting VN ctest-vn-94952278 2026-05-12 13:20:47,835 - DEBUG - Response for deleting network () 2026-05-12 13:20:48,109 - DEBUG - No XMPP flaps were noticed during the test
2026-05-12 13:20:48,109 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2026-05-12 13:20:48,109 - INFO - -------------------------------------------------------------------------------- 2026-05-12 13:20:48,906 - INFO - Deleted project: ctest-TestRoutersBasic-15523906, ID : 0144dfdd-af57-40fb-bfce-2e4b6bcfe8e3