2026-04-20 16:32:53,784 - INFO - Domain Default found not creating 2026-04-20 16:32:53,970 - INFO - Project ctest-TestRoutersBasic-88365331 not found, creating it 2026-04-20 16:32:54,625 - INFO - Created Project:ctest-TestRoutersBasic-88365331, ID : 6302d716-a606-4d42-99af-82efad17b875 2026-04-20 16:32:56,186 - INFO - ================================================================================ 2026-04-20 16:32:56,186 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-20 16:32:56,186 - 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-04-20 16:32:56,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2026-04-20 16:32:56,440 - INFO - Initial checks done. Running the testcase now 2026-04-20 16:32:56,440 - INFO - 2026-04-20 16:32:57,189 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88365331 2026-04-20 16:32:57,287 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88365331 2026-04-20 16:32:57,619 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88365331', 'default']} 2026-04-20 16:32:57,924 - DEBUG - Response for create_network : {'network': {'id': 'a9bd6686-fc92-46e5-ba85-8bdeec222722', 'name': 'ctest-vn-33286953', 'tenant_id': '6302d716a6064d4299af82efad17b875', 'project_id': '6302d716a6064d4299af82efad17b875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88365331', 'ctest-vn-33286953'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:32:58,150 - DEBUG - Response for create_subnet : {'subnet': {'id': '16a320ce-d469-42d6-9706-16b502a1f0ef', 'name': '', 'tenant_id': '6302d716a6064d4299af82efad17b875', 'network_id': 'a9bd6686-fc92-46e5-ba85-8bdeec222722', 'ip_version': 4, 'cidr': '35.157.137.0/26', 'allocation_pools': [{'start': '35.157.137.2', 'end': '35.157.137.62'}], 'gateway_ip': '35.157.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.157.137.2', 'tags': [], 'project_id': '6302d716a6064d4299af82efad17b875'}} 2026-04-20 16:32:58,171 - INFO - Created VN ctest-vn-33286953 2026-04-20 16:32:58,223 - DEBUG - VN ctest-vn-33286953 UUID is a9bd6686-fc92-46e5-ba85-8bdeec222722 2026-04-20 16:32:58,573 - DEBUG - Response for create_network : {'network': {'id': '50955c39-fe54-4846-b474-9ab656231843', 'name': 'ctest-ext_vn-28096188', 'tenant_id': '6302d716a6064d4299af82efad17b875', 'project_id': '6302d716a6064d4299af82efad17b875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88365331', 'ctest-ext_vn-28096188'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:32:58,782 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec7e3a12-2af9-4cf0-ae46-78accc083d2c', 'name': '', 'tenant_id': '6302d716a6064d4299af82efad17b875', 'network_id': '50955c39-fe54-4846-b474-9ab656231843', 'ip_version': 4, 'cidr': '129.115.191.0/26', 'allocation_pools': [{'start': '129.115.191.2', 'end': '129.115.191.62'}], 'gateway_ip': '129.115.191.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.115.191.2', 'tags': [], 'project_id': '6302d716a6064d4299af82efad17b875'}} 2026-04-20 16:32:58,805 - INFO - Created VN ctest-ext_vn-28096188 2026-04-20 16:32:58,863 - DEBUG - VN ctest-ext_vn-28096188 UUID is 50955c39-fe54-4846-b474-9ab656231843 2026-04-20 16:32:59,038 - DEBUG - Services list from nova: [, , ] 2026-04-20 16:33:00,084 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5653-1) 2026-04-20 16:33:01,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5653-1) 2026-04-20 16:33:01,418 - INFO - Setting gateway for router 3f28c7bd-dfa9-4dbe-8856-8eeb4d42a70d to network 50955c39-fe54-4846-b474-9ab656231843 2026-04-20 16:33:01,489 - INFO - Adding interface with subnet_id 16a320ce-d469-42d6-9706-16b502a1f0ef, port_id None to router 3f28c7bd-dfa9-4dbe-8856-8eeb4d42a70d 2026-04-20 16:33:01,910 - INFO - Waiting for VM ctest-TestRoutersBasic-88365331-51120534 to be up.. 2026-04-20 16:33:02,103 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 16:33:07,183 - DEBUG - VM is in ACTIVE state now 2026-04-20 16:33:07,183 - INFO - VM name : ctest-TestRoutersBasic-88365331-51120534 2026-04-20 16:33:07,279 - DEBUG - VM ctest-TestRoutersBasic-88365331-51120534 ID is d14a1260-3100-45b8-bf0c-56ac6433186b 2026-04-20 16:33:07,309 - DEBUG - VM ctest-TestRoutersBasic-88365331-51120534 launched on Node cn-jenkins-deploy-platform-ansible-os-5653-1 2026-04-20 16:33:07,402 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d14a1260-3100-45b8-bf0c-56ac6433186b 2026-04-20 16:33:07,711 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d14a1260-3100-45b8-bf0c-56ac6433186b 2026-04-20 16:33:07,748 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4baaf48f-5d90-42ae-9fbb-6a22e5fb1335 2026-04-20 16:33:10,988 - 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 1002ms') 2026-04-20 16:33:10,988 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88365331-51120534 failed! 2026-04-20 16:33:11,043 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88365331:ctest-vn-33286953 is 35.157.137.1 and allocation pool is NOT set 2026-04-20 16:33:13,111 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.44 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 = 2.437/3.615/4.794/1.178 ms') 2026-04-20 16:33:13,111 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88365331-51120534 passed 2026-04-20 16:33:13,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:33:13,267 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88365331-51120534, IP 35.157.137.3, Port 22 2026-04-20 16:33:13,442 - DEBUG - VM ctest-TestRoutersBasic-88365331-51120534 is ready for SSH connections 2026-04-20 16:33:13,442 - INFO - Waiting for VM ctest-TestRoutersBasic-88365331-78060718 to be up.. 2026-04-20 16:33:13,527 - DEBUG - VM is in ACTIVE state now 2026-04-20 16:33:13,527 - INFO - VM name : ctest-TestRoutersBasic-88365331-78060718 2026-04-20 16:33:13,610 - DEBUG - VM ctest-TestRoutersBasic-88365331-78060718 ID is fe55a86a-cd3d-4237-8997-06c7f62ae398 2026-04-20 16:33:13,611 - DEBUG - VM ctest-TestRoutersBasic-88365331-78060718 launched on Node cn-jenkins-deploy-platform-ansible-os-5653-1 2026-04-20 16:33:13,696 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/fe55a86a-cd3d-4237-8997-06c7f62ae398 2026-04-20 16:33:13,706 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8912b36c-0e96-4abe-9681-4b88d2c635c3 2026-04-20 16:33:14,954 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.96 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.957/3.388/3.819/0.431 ms') 2026-04-20 16:33:14,954 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88365331-78060718 passed 2026-04-20 16:33:15,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:33:15,103 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88365331-78060718, IP 129.115.191.3, Port 22 2026-04-20 16:33:15,169 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-20 16:33:15,265 - DEBUG - VM ctest-TestRoutersBasic-88365331-78060718 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-20 16:33:20,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:33:20,266 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88365331-78060718, IP 129.115.191.3, Port 22 2026-04-20 16:33:20,431 - DEBUG - VM ctest-TestRoutersBasic-88365331-78060718 is ready for SSH connections 2026-04-20 16:33:20,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:33:20,431 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.115.191.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-04-20 16:33:20,431 - DEBUG - ping -s 56 -c 3 -W 1 129.115.191.3 2026-04-20 16:33:24,169 - DEBUG - PING 129.115.191.3 (129.115.191.3): 56 data bytes 64 bytes from 129.115.191.3: seq=0 ttl=62 time=7.665 ms 64 bytes from 129.115.191.3: seq=1 ttl=62 time=1.190 ms 64 bytes from 129.115.191.3: seq=2 ttl=62 time=0.963 ms --- 129.115.191.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/3.272/7.665 ms 2026-04-20 16:33:24,169 - INFO - Ping to IP 129.115.191.3 from VM ctest-TestRoutersBasic-88365331-51120534 passed 2026-04-20 16:33:24,169 - INFO - Deleting interface with subnet_id 16a320ce-d469-42d6-9706-16b502a1f0ef, port_id None from router 3f28c7bd-dfa9-4dbe-8856-8eeb4d42a70d 2026-04-20 16:33:24,391 - INFO - Deleting VM ctest-TestRoutersBasic-88365331-78060718 2026-04-20 16:33:24,486 - INFO - Deleting VM ctest-TestRoutersBasic-88365331-51120534 2026-04-20 16:33:24,580 - INFO - Deleting VN ctest-ext_vn-28096188 2026-04-20 16:33:24,666 - DEBUG - VN 50955c39-fe54-4846-b474-9ab656231843 still in use: Unable to complete operation on network 50955c39-fe54-4846-b474-9ab656231843. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c55ca952-9d13-4b0e-bd5e-c2b23f3dd0f1'] 2026-04-20 16:33:24,667 - WARNING - Deleting VN ctest-ext_vn-28096188 failed..Will retry 2026-04-20 16:33:26,784 - DEBUG - Response for deleting network () 2026-04-20 16:33:26,784 - INFO - Deleting VN ctest-vn-33286953 2026-04-20 16:33:26,897 - DEBUG - Response for deleting network () 2026-04-20 16:33:27,151 - DEBUG - No XMPP flaps were noticed during the test 2026-04-20 16:33:27,152 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-04-20 16:33:27,152 - INFO - -------------------------------------------------------------------------------- 2026-04-20 16:33:27,880 - INFO - Deleted project: ctest-TestRoutersBasic-88365331, ID : 6302d716-a606-4d42-99af-82efad17b875