2025-07-15 18:28:10,910 - INFO - Domain Default found not creating 2025-07-15 18:28:11,306 - INFO - Project ctest-TestBasicVMVNx-59207721 not found, creating it 2025-07-15 18:28:11,996 - INFO - Created Project:ctest-TestBasicVMVNx-59207721, ID : 1f113b78-7505-43b8-92c2-9c890bf980c5 2025-07-15 18:28:14,328 - INFO - ================================================================================ 2025-07-15 18:28:14,329 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-15 18:28:14,329 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2025-07-15 18:28:14,640 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-15 18:28:14,641 - INFO - Initial checks done. Running the testcase now 2025-07-15 18:28:14,641 - INFO - 2025-07-15 18:28:15,501 - DEBUG - Response for create_network : {'network': {'id': 'd5b2cbb5-313c-47d0-acc1-51bdb590c638', 'name': 'ctest-vn-77779865', 'tenant_id': '1f113b78750543b892c29c890bf980c5', 'project_id': '1f113b78750543b892c29c890bf980c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-59207721', 'ctest-vn-77779865'], 'port_security_enabled': True, 'description': ''}} 2025-07-15 18:28:15,777 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cec58528-489a-4e99-b328-19dbbbb1f638', 'name': '', 'tenant_id': '1f113b78750543b892c29c890bf980c5', 'network_id': 'd5b2cbb5-313c-47d0-acc1-51bdb590c638', 'ip_version': 4, 'cidr': '76.247.48.192/26', 'allocation_pools': [{'start': '76.247.48.194', 'end': '76.247.48.254'}], 'gateway_ip': '76.247.48.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.247.48.194', 'tags': [], 'project_id': '1f113b78750543b892c29c890bf980c5'}} 2025-07-15 18:28:15,802 - INFO - Created VN ctest-vn-77779865 2025-07-15 18:28:15,860 - DEBUG - VN ctest-vn-77779865 UUID is d5b2cbb5-313c-47d0-acc1-51bdb590c638 2025-07-15 18:28:16,133 - DEBUG - Services list from nova: [, , ] 2025-07-15 18:28:18,017 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3641-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3641-1) 2025-07-15 18:28:19,678 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3641-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3641-1) 2025-07-15 18:28:19,678 - INFO - Waiting for VM ctest-TestBasicVMVNx-59207721-31124436 to be up.. 2025-07-15 18:28:19,764 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-15 18:28:24,919 - DEBUG - VM is in ACTIVE state now 2025-07-15 18:28:24,920 - INFO - VM name : ctest-TestBasicVMVNx-59207721-31124436 2025-07-15 18:28:25,042 - DEBUG - VM ctest-TestBasicVMVNx-59207721-31124436 ID is a3b469ed-ba47-4c69-b413-3f75abfef6ef 2025-07-15 18:28:25,063 - DEBUG - VM ctest-TestBasicVMVNx-59207721-31124436 launched on Node cn-jenkins-deploy-platform-ansible-os-3641-1 2025-07-15 18:28:25,158 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a3b469ed-ba47-4c69-b413-3f75abfef6ef 2025-07-15 18:28:25,477 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a3b469ed-ba47-4c69-b413-3f75abfef6ef 2025-07-15 18:28:25,516 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1e92e308-877c-4cf6-ae21-86cc04550660 2025-07-15 18:28:28,817 - 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 1029ms') 2025-07-15 18:28:28,818 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59207721-31124436 failed! 2025-07-15 18:28:28,887 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-59207721:ctest-vn-77779865 is 76.247.48.193 and allocation pool is NOT set 2025-07-15 18:28:30,968 - 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=6.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.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 = 2.356/4.381/6.406/2.025 ms') 2025-07-15 18:28:30,969 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59207721-31124436 passed 2025-07-15 18:28:31,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 18:28:31,172 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59207721-31124436, IP 76.247.48.195, Port 22 2025-07-15 18:28:31,253 - 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-07-15 18:28:31,419 - DEBUG - VM ctest-TestBasicVMVNx-59207721-31124436 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-15 18:28:36,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 18:28:36,420 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59207721-31124436, IP 76.247.48.195, Port 22 2025-07-15 18:28:36,618 - DEBUG - VM ctest-TestBasicVMVNx-59207721-31124436 is ready for SSH connections 2025-07-15 18:28:36,618 - INFO - Waiting for VM ctest-TestBasicVMVNx-59207721-13461544 to be up.. 2025-07-15 18:28:36,816 - DEBUG - VM is in ACTIVE state now 2025-07-15 18:28:36,817 - INFO - VM name : ctest-TestBasicVMVNx-59207721-13461544 2025-07-15 18:28:37,013 - DEBUG - VM ctest-TestBasicVMVNx-59207721-13461544 ID is 7efd40e2-c309-41cf-86d8-a7f7e1cbb2ad 2025-07-15 18:28:37,013 - DEBUG - VM ctest-TestBasicVMVNx-59207721-13461544 launched on Node cn-jenkins-deploy-platform-ansible-os-3641-1 2025-07-15 18:28:37,180 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7efd40e2-c309-41cf-86d8-a7f7e1cbb2ad 2025-07-15 18:28:37,205 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/070c9234-2fb4-49bd-af7e-c66f46a9ca9e 2025-07-15 18:28:38,531 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.971 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 = 0.971/2.623/4.276/1.652 ms') 2025-07-15 18:28:38,532 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59207721-13461544 passed 2025-07-15 18:28:38,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 18:28:38,712 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59207721-13461544, IP 76.247.48.196, Port 22 2025-07-15 18:28:38,903 - DEBUG - VM ctest-TestBasicVMVNx-59207721-13461544 is ready for SSH connections 2025-07-15 18:28:38,903 - DEBUG - FILE SIZE = 1303B 2025-07-15 18:28:38,903 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-59207721-31124436 to ctest-TestBasicVMVNx-59207721-13461544 using scp 2025-07-15 18:28:38,905 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-15 18:28:38,906 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-15 18:28:41,205 - DEBUG - 1+0 records in 1+0 records out 2025-07-15 18:28:42,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 18:28:42,547 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-15 18:28:42,548 - DEBUG - ls -l testfile 2025-07-15 18:28:44,594 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 15 12:28 testfile 2025-07-15 18:28:44,594 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-59207721-13461544 2025-07-15 18:28:44,595 - INFO - Deleting VM ctest-TestBasicVMVNx-59207721-13461544 2025-07-15 18:28:44,741 - INFO - Deleting VM ctest-TestBasicVMVNx-59207721-31124436 2025-07-15 18:28:44,840 - INFO - Deleting VN ctest-vn-77779865 2025-07-15 18:28:44,899 - DEBUG - VN d5b2cbb5-313c-47d0-acc1-51bdb590c638 still in use: Unable to complete operation on network d5b2cbb5-313c-47d0-acc1-51bdb590c638. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-219e2f03-7de8-4b21-93fe-e68461cfe7a7'] 2025-07-15 18:28:44,899 - WARNING - Deleting VN ctest-vn-77779865 failed..Will retry 2025-07-15 18:28:47,157 - DEBUG - Response for deleting network () 2025-07-15 18:28:47,493 - DEBUG - No XMPP flaps were noticed during the test 2025-07-15 18:28:47,494 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33] 2025-07-15 18:28:47,494 - INFO - -------------------------------------------------------------------------------- 2025-07-15 18:28:48,553 - INFO - Deleted project: ctest-TestBasicVMVNx-59207721, ID : 1f113b78-7505-43b8-92c2-9c890bf980c5