2025-10-22 18:15:19,269 - INFO - Reading existing Domain with UUID 76186d71-3699-4707-98f1-3afabb9db250 2025-10-22 18:15:19,294 - INFO - Using existing domain ['admin_domain'](76186d71-3699-4707-98f1-3afabb9db250) 2025-10-22 18:15:19,646 - INFO - Project ctest-TestRoutersBasic-41274583 not found, creating it 2025-10-22 18:15:20,342 - INFO - Created Project:ctest-TestRoutersBasic-41274583, ID : 22712f08-297e-4b0e-9163-db99102770c0 2025-10-22 18:15:22,796 - INFO - ================================================================================ 2025-10-22 18:15:22,796 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-22 18:15:22,796 - 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 2025-10-22 18:15:23,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.0.0.240': '0'}} with 2025-10-22 18:15:23,284 - INFO - Initial checks done. Running the testcase now 2025-10-22 18:15:23,284 - INFO - 2025-10-22 18:15:24,214 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41274583 2025-10-22 18:15:24,318 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41274583 2025-10-22 18:15:24,674 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-41274583', 'default']} 2025-10-22 18:15:25,359 - DEBUG - Response for create_network : {'network': {'id': '9e908a5e-94d8-43ce-bd4e-14a55b62377b', 'name': 'ctest-vn-11454964', 'tenant_id': '22712f08297e4b0e9163db99102770c0', 'project_id': '22712f08297e4b0e9163db99102770c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-41274583', 'ctest-vn-11454964'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 18:15:25,671 - DEBUG - Response for create_subnet : {'subnet': {'id': '593baeb7-8d08-420b-aea7-1096421933d5', 'name': '', 'tenant_id': '22712f08297e4b0e9163db99102770c0', 'network_id': '9e908a5e-94d8-43ce-bd4e-14a55b62377b', 'ip_version': 4, 'cidr': '215.127.137.64/26', 'allocation_pools': [{'start': '215.127.137.66', 'end': '215.127.137.126'}], 'gateway_ip': '215.127.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T18:15:25.538509', 'updated_at': '2025-10-22T18:15:25.538509', 'dns_server_address': '215.127.137.66', 'tags': [], 'project_id': '22712f08297e4b0e9163db99102770c0'}} 2025-10-22 18:15:25,755 - INFO - Created VN ctest-vn-11454964 2025-10-22 18:15:25,814 - DEBUG - VN ctest-vn-11454964 UUID is 9e908a5e-94d8-43ce-bd4e-14a55b62377b 2025-10-22 18:15:26,484 - DEBUG - Response for create_network : {'network': {'id': '6604adb5-0455-4d77-b358-0fc7117175af', 'name': 'ctest-ext_vn-45077044', 'tenant_id': '22712f08297e4b0e9163db99102770c0', 'project_id': '22712f08297e4b0e9163db99102770c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-41274583', 'ctest-ext_vn-45077044'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 18:15:26,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e1cd01f-b287-4dff-bad5-6ee2046b703b', 'name': '', 'tenant_id': '22712f08297e4b0e9163db99102770c0', 'network_id': '6604adb5-0455-4d77-b358-0fc7117175af', 'ip_version': 4, 'cidr': '200.140.203.64/26', 'allocation_pools': [{'start': '200.140.203.66', 'end': '200.140.203.126'}], 'gateway_ip': '200.140.203.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T18:15:26.615023', 'updated_at': '2025-10-22T18:15:26.615023', 'dns_server_address': '200.140.203.66', 'tags': [], 'project_id': '22712f08297e4b0e9163db99102770c0'}} 2025-10-22 18:15:26,809 - INFO - Created VN ctest-ext_vn-45077044 2025-10-22 18:15:26,866 - DEBUG - VN ctest-ext_vn-45077044 UUID is 6604adb5-0455-4d77-b358-0fc7117175af 2025-10-22 18:15:27,267 - DEBUG - Services list from nova: [, , ] 2025-10-22 18:15:28,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-604-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-604-1) 2025-10-22 18:15:30,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-604-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-604-1) 2025-10-22 18:15:30,578 - INFO - Setting gateway for router 0d2c66b8-d7e0-4396-bbe6-2e1bf34ba690 to network 6604adb5-0455-4d77-b358-0fc7117175af 2025-10-22 18:15:30,755 - INFO - Adding interface with subnet_id 593baeb7-8d08-420b-aea7-1096421933d5, port_id None to router 0d2c66b8-d7e0-4396-bbe6-2e1bf34ba690 2025-10-22 18:15:31,369 - INFO - Waiting for VM ctest-TestRoutersBasic-41274583-12665008 to be up.. 2025-10-22 18:15:31,545 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 18:15:36,727 - DEBUG - VM is in ACTIVE state now 2025-10-22 18:15:36,727 - INFO - VM name : ctest-TestRoutersBasic-41274583-12665008 2025-10-22 18:15:36,970 - DEBUG - VM ctest-TestRoutersBasic-41274583-12665008 ID is 1667956a-c0ca-4ee6-8892-784be7e963ea 2025-10-22 18:15:37,004 - DEBUG - VM ctest-TestRoutersBasic-41274583-12665008 launched on Node cn-jenkins-deploy-platform-juju-os-604-1 2025-10-22 18:15:37,174 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine/1667956a-c0ca-4ee6-8892-784be7e963ea 2025-10-22 18:15:37,527 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine/1667956a-c0ca-4ee6-8892-784be7e963ea 2025-10-22 18:15:37,639 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine-interface/35f1c6dc-ad51-4474-80e2-312c61069382 2025-10-22 18:15:41,122 - 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 1007ms') 2025-10-22 18:15:41,122 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41274583-12665008 failed! 2025-10-22 18:15:41,186 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-41274583:ctest-vn-11454964 is 215.127.137.65 and allocation pool is NOT set 2025-10-22 18:15:43,299 - 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=11.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.634 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 = 0.634/5.929/11.224/5.295 ms') 2025-10-22 18:15:43,299 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41274583-12665008 passed 2025-10-22 18:15:43,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:15:43,475 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41274583-12665008, IP 215.127.137.67, Port 22 2025-10-22 18:15:43,600 - 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': ''} 2025-10-22 18:15:43,835 - DEBUG - VM ctest-TestRoutersBasic-41274583-12665008 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 18:15:48,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:15:48,836 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41274583-12665008, IP 215.127.137.67, Port 22 2025-10-22 18:15:49,117 - DEBUG - VM ctest-TestRoutersBasic-41274583-12665008 is ready for SSH connections 2025-10-22 18:15:49,118 - INFO - Waiting for VM ctest-TestRoutersBasic-41274583-93870318 to be up.. 2025-10-22 18:15:49,328 - DEBUG - VM is in ACTIVE state now 2025-10-22 18:15:49,328 - INFO - VM name : ctest-TestRoutersBasic-41274583-93870318 2025-10-22 18:15:49,562 - DEBUG - VM ctest-TestRoutersBasic-41274583-93870318 ID is 00b7fd71-1d9a-469c-b271-4c770e462ab4 2025-10-22 18:15:49,562 - DEBUG - VM ctest-TestRoutersBasic-41274583-93870318 launched on Node cn-jenkins-deploy-platform-juju-os-604-1 2025-10-22 18:15:49,733 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine/00b7fd71-1d9a-469c-b271-4c770e462ab4 2025-10-22 18:15:49,791 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine-interface/b6696867-9434-488e-ac3b-279645a0ac84 2025-10-22 18:15:51,324 - 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=4.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/2.691/4.960/2.268 ms') 2025-10-22 18:15:51,324 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-41274583-93870318 passed 2025-10-22 18:15:51,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:15:51,502 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41274583-93870318, IP 200.140.203.67, Port 22 2025-10-22 18:15:51,768 - DEBUG - VM ctest-TestRoutersBasic-41274583-93870318 is ready for SSH connections 2025-10-22 18:15:51,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:15:51,769 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.140.203.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-10-22 18:15:51,769 - DEBUG - ping -s 56 -c 3 -W 1 200.140.203.67 2025-10-22 18:15:56,257 - DEBUG - PING 200.140.203.67 (200.140.203.67): 56 data bytes 64 bytes from 200.140.203.67: seq=0 ttl=62 time=8.189 ms 64 bytes from 200.140.203.67: seq=1 ttl=62 time=1.349 ms 64 bytes from 200.140.203.67: seq=2 ttl=62 time=1.993 ms --- 200.140.203.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.349/3.843/8.189 ms 2025-10-22 18:15:56,257 - INFO - Ping to IP 200.140.203.67 from VM ctest-TestRoutersBasic-41274583-12665008 passed 2025-10-22 18:15:56,258 - INFO - Deleting interface with subnet_id 593baeb7-8d08-420b-aea7-1096421933d5, port_id None from router 0d2c66b8-d7e0-4396-bbe6-2e1bf34ba690 2025-10-22 18:15:56,736 - INFO - Deleting VM ctest-TestRoutersBasic-41274583-93870318 2025-10-22 18:15:56,857 - INFO - Deleting VM ctest-TestRoutersBasic-41274583-12665008 2025-10-22 18:15:56,995 - INFO - Deleting VN ctest-ext_vn-45077044 2025-10-22 18:15:57,193 - DEBUG - VN 6604adb5-0455-4d77-b358-0fc7117175af still in use: Unable to complete operation on network 6604adb5-0455-4d77-b358-0fc7117175af. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-94b50065-7482-417b-bc36-692246d61b1c'] 2025-10-22 18:15:57,193 - WARNING - Deleting VN ctest-ext_vn-45077044 failed..Will retry 2025-10-22 18:15:59,436 - DEBUG - Response for deleting network () 2025-10-22 18:15:59,436 - INFO - Deleting VN ctest-vn-11454964 2025-10-22 18:15:59,630 - DEBUG - Response for deleting network () 2025-10-22 18:16:00,072 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 18:16:00,072 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:38] 2025-10-22 18:16:00,072 - INFO - -------------------------------------------------------------------------------- 2025-10-22 18:16:00,840 - INFO - Deleted project: ctest-TestRoutersBasic-41274583, ID : 22712f08-297e-4b0e-9163-db99102770c0