2025-05-05 02:01:05,066 - INFO - Reading existing Domain with UUID 61d5f14e-0b5a-4169-8eb2-9811a5380ab2 2025-05-05 02:01:05,078 - INFO - Using existing domain ['admin_domain'](61d5f14e-0b5a-4169-8eb2-9811a5380ab2) 2025-05-05 02:01:05,273 - INFO - Project ctest-TestBasicVMVNx-58488137 not found, creating it 2025-05-05 02:01:05,792 - INFO - Created Project:ctest-TestBasicVMVNx-58488137, ID : f39ce59c-838b-47a9-9b16-8456cc380e61 2025-05-05 02:01:07,624 - INFO - ================================================================================ 2025-05-05 02:01:07,624 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-05 02:01:07,624 - 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-05-05 02:01:08,011 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2025-05-05 02:01:08,011 - INFO - Initial checks done. Running the testcase now 2025-05-05 02:01:08,011 - INFO - 2025-05-05 02:01:08,843 - DEBUG - Response for create_network : {'network': {'id': 'dfae7470-c5dd-4d17-97a4-b717a3127c56', 'name': 'ctest-vn-61268911', 'tenant_id': 'f39ce59c838b47a99b168456cc380e61', 'project_id': 'f39ce59c838b47a99b168456cc380e61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-58488137', 'ctest-vn-61268911'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-05-05 02:01:09,083 - DEBUG - Response for create_subnet : {'subnet': {'id': '8017b5ab-64af-483d-bacd-3ee5a8955470', 'name': '', 'tenant_id': 'f39ce59c838b47a99b168456cc380e61', 'network_id': 'dfae7470-c5dd-4d17-97a4-b717a3127c56', 'ip_version': 4, 'cidr': '27.94.224.128/26', 'allocation_pools': [{'start': '27.94.224.130', 'end': '27.94.224.190'}], 'gateway_ip': '27.94.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-05-05T02:01:08.979587', 'updated_at': '2025-05-05T02:01:08.979587', 'dns_server_address': '27.94.224.130', 'tags': [], 'project_id': 'f39ce59c838b47a99b168456cc380e61'}} 2025-05-05 02:01:09,148 - INFO - Created VN ctest-vn-61268911 2025-05-05 02:01:09,205 - DEBUG - VN ctest-vn-61268911 UUID is dfae7470-c5dd-4d17-97a4-b717a3127c56 2025-05-05 02:01:09,486 - DEBUG - Services list from nova: [, , ] 2025-05-05 02:01:10,671 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-534-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-534-1) 2025-05-05 02:01:12,116 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-534-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-534-1) 2025-05-05 02:01:12,116 - INFO - Waiting for VM ctest-TestBasicVMVNx-58488137-27917464 to be up.. 2025-05-05 02:01:12,268 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-05 02:01:17,444 - DEBUG - VM is in ACTIVE state now 2025-05-05 02:01:17,444 - INFO - VM name : ctest-TestBasicVMVNx-58488137-27917464 2025-05-05 02:01:17,633 - DEBUG - VM ctest-TestBasicVMVNx-58488137-27917464 ID is baf010de-c2ca-49f9-9232-6ab9ee4ea726 2025-05-05 02:01:17,660 - DEBUG - VM ctest-TestBasicVMVNx-58488137-27917464 launched on Node cn-jenkins-deploy-platform-juju-os-534-1 2025-05-05 02:01:17,816 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/baf010de-c2ca-49f9-9232-6ab9ee4ea726 2025-05-05 02:01:18,204 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/baf010de-c2ca-49f9-9232-6ab9ee4ea726 2025-05-05 02:01:18,296 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/3acdad8a-b9cd-46da-8e0b-18e08b53cfca 2025-05-05 02:01:21,794 - 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 1024ms') 2025-05-05 02:01:21,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58488137-27917464 failed! 2025-05-05 02:01:21,850 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-58488137:ctest-vn-61268911 is 27.94.224.129 and allocation pool is NOT set 2025-05-05 02:01:23,948 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.179/2.856/4.533/1.677 ms') 2025-05-05 02:01:23,949 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58488137-27917464 passed 2025-05-05 02:01:24,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:01:24,109 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58488137-27917464, IP 27.94.224.131, Port 22 2025-05-05 02:01:24,196 - 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-05-05 02:01:24,332 - DEBUG - VM ctest-TestBasicVMVNx-58488137-27917464 is NOT ready for SSH connections, VM status: ACTIVE 2025-05-05 02:01:29,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:01:29,333 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58488137-27917464, IP 27.94.224.131, Port 22 2025-05-05 02:01:29,568 - DEBUG - VM ctest-TestBasicVMVNx-58488137-27917464 is ready for SSH connections 2025-05-05 02:01:29,568 - INFO - Waiting for VM ctest-TestBasicVMVNx-58488137-69476782 to be up.. 2025-05-05 02:01:29,728 - DEBUG - VM is in ACTIVE state now 2025-05-05 02:01:29,728 - INFO - VM name : ctest-TestBasicVMVNx-58488137-69476782 2025-05-05 02:01:29,882 - DEBUG - VM ctest-TestBasicVMVNx-58488137-69476782 ID is 410ec34a-f4af-4c10-9153-8d5928085957 2025-05-05 02:01:29,883 - DEBUG - VM ctest-TestBasicVMVNx-58488137-69476782 launched on Node cn-jenkins-deploy-platform-juju-os-534-1 2025-05-05 02:01:30,027 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/410ec34a-f4af-4c10-9153-8d5928085957 2025-05-05 02:01:30,086 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/a61bfcb3-18a2-448c-bef3-367dfb90ab34 2025-05-05 02:01:31,544 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.406/2.354/4.302/1.948 ms') 2025-05-05 02:01:31,544 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-58488137-69476782 passed 2025-05-05 02:01:31,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:01:31,702 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58488137-69476782, IP 27.94.224.132, Port 22 2025-05-05 02:01:31,920 - DEBUG - VM ctest-TestBasicVMVNx-58488137-69476782 is ready for SSH connections 2025-05-05 02:01:31,920 - DEBUG - FILE SIZE = 1303B 2025-05-05 02:01:31,920 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-58488137-27917464 to ctest-TestBasicVMVNx-58488137-69476782 using scp 2025-05-05 02:01:31,926 - 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.129, gateway password: c0ntrail123 2025-05-05 02:01:31,926 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-05 02:01:34,002 - DEBUG - 1+0 records in 1+0 records out 2025-05-05 02:01:34,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:01:35,085 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-05-05 02:01:35,085 - DEBUG - ls -l testfile 2025-05-05 02:01:36,712 - DEBUG - -rw------- 1 cirros cirros 1303 May 4 20:01 testfile 2025-05-05 02:01:36,713 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-58488137-69476782 2025-05-05 02:01:36,713 - INFO - Deleting VM ctest-TestBasicVMVNx-58488137-69476782 2025-05-05 02:01:36,816 - INFO - Deleting VM ctest-TestBasicVMVNx-58488137-27917464 2025-05-05 02:01:36,916 - INFO - Deleting VN ctest-vn-61268911 2025-05-05 02:01:37,053 - DEBUG - VN dfae7470-c5dd-4d17-97a4-b717a3127c56 still in use: Unable to complete operation on network dfae7470-c5dd-4d17-97a4-b717a3127c56. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9d0766e7-1b8f-4980-9b52-d3268618933a'] 2025-05-05 02:01:37,053 - WARNING - Deleting VN ctest-vn-61268911 failed..Will retry 2025-05-05 02:01:39,245 - DEBUG - Response for deleting network () 2025-05-05 02:01:39,631 - DEBUG - No XMPP flaps were noticed during the test 2025-05-05 02:01:39,631 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32] 2025-05-05 02:01:39,631 - INFO - -------------------------------------------------------------------------------- 2025-05-05 02:01:40,401 - INFO - Deleted project: ctest-TestBasicVMVNx-58488137, ID : f39ce59c-838b-47a9-9b16-8456cc380e61