2025-07-10 15:53:23,610 - INFO - Domain Default found not creating 2025-07-10 15:53:23,777 - INFO - Project ctest-TestBasicVMVNx-65947399 not found, creating it 2025-07-10 15:53:24,273 - INFO - Created Project:ctest-TestBasicVMVNx-65947399, ID : adf47f0a-675b-4176-b401-3ee94511036a 2025-07-10 15:53:25,853 - INFO - ================================================================================ 2025-07-10 15:53:25,854 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-10 15:53:25,854 - 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-10 15:53:26,107 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-07-10 15:53:26,107 - INFO - Initial checks done. Running the testcase now 2025-07-10 15:53:26,107 - INFO - 2025-07-10 15:53:26,715 - DEBUG - Response for create_network : {'network': {'id': '51d0c4aa-cc63-48ab-83f3-f026e4e30ff8', 'name': 'ctest-vn-99068311', 'tenant_id': 'adf47f0a675b4176b4013ee94511036a', 'project_id': 'adf47f0a675b4176b4013ee94511036a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-65947399', 'ctest-vn-99068311'], 'port_security_enabled': True, 'description': ''}} 2025-07-10 15:53:26,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '47b43d12-7b49-4c46-bd0a-82361e293264', 'name': '', 'tenant_id': 'adf47f0a675b4176b4013ee94511036a', 'network_id': '51d0c4aa-cc63-48ab-83f3-f026e4e30ff8', 'ip_version': 4, 'cidr': '181.228.156.192/26', 'allocation_pools': [{'start': '181.228.156.194', 'end': '181.228.156.254'}], 'gateway_ip': '181.228.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.228.156.194', 'tags': [], 'project_id': 'adf47f0a675b4176b4013ee94511036a'}} 2025-07-10 15:53:26,896 - INFO - Created VN ctest-vn-99068311 2025-07-10 15:53:26,949 - DEBUG - VN ctest-vn-99068311 UUID is 51d0c4aa-cc63-48ab-83f3-f026e4e30ff8 2025-07-10 15:53:27,116 - DEBUG - Services list from nova: [, , ] 2025-07-10 15:53:28,211 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3627-1) 2025-07-10 15:53:29,457 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3627-1) 2025-07-10 15:53:29,457 - INFO - Waiting for VM ctest-TestBasicVMVNx-65947399-21685997 to be up.. 2025-07-10 15:53:29,532 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-10 15:53:34,607 - DEBUG - VM is in ACTIVE state now 2025-07-10 15:53:34,608 - INFO - VM name : ctest-TestBasicVMVNx-65947399-21685997 2025-07-10 15:53:34,682 - DEBUG - VM ctest-TestBasicVMVNx-65947399-21685997 ID is ffe0e0d0-5a18-4c47-9416-70e4a03ed5d0 2025-07-10 15:53:34,701 - DEBUG - VM ctest-TestBasicVMVNx-65947399-21685997 launched on Node cn-jenkins-deploy-platform-ansible-os-3627-1 2025-07-10 15:53:34,771 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/ffe0e0d0-5a18-4c47-9416-70e4a03ed5d0 2025-07-10 15:53:35,108 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/ffe0e0d0-5a18-4c47-9416-70e4a03ed5d0 2025-07-10 15:53:35,145 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/5d5b3eb0-ddec-4cbf-abba-612cef4d705a 2025-07-10 15:53:38,418 - 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 1015ms') 2025-07-10 15:53:38,418 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65947399-21685997 failed! 2025-07-10 15:53:38,477 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-65947399:ctest-vn-99068311 is 181.228.156.193 and allocation pool is NOT set 2025-07-10 15:53:40,537 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.720 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 = 0.720/2.727/4.735/2.007 ms') 2025-07-10 15:53:40,537 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65947399-21685997 passed 2025-07-10 15:53:40,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 15:53:40,693 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65947399-21685997, IP 181.228.156.195, Port 22 2025-07-10 15:53:40,848 - DEBUG - VM ctest-TestBasicVMVNx-65947399-21685997 is ready for SSH connections 2025-07-10 15:53:40,848 - INFO - Waiting for VM ctest-TestBasicVMVNx-65947399-69077393 to be up.. 2025-07-10 15:53:40,929 - DEBUG - VM is in ACTIVE state now 2025-07-10 15:53:40,929 - INFO - VM name : ctest-TestBasicVMVNx-65947399-69077393 2025-07-10 15:53:41,007 - DEBUG - VM ctest-TestBasicVMVNx-65947399-69077393 ID is 3d649d78-8676-4f0c-8976-14047f5be3e7 2025-07-10 15:53:41,008 - DEBUG - VM ctest-TestBasicVMVNx-65947399-69077393 launched on Node cn-jenkins-deploy-platform-ansible-os-3627-1 2025-07-10 15:53:41,085 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/3d649d78-8676-4f0c-8976-14047f5be3e7 2025-07-10 15:53:41,096 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/fd0d0f56-8d65-4ff2-bea0-635808860fe8 2025-07-10 15:53:42,343 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.739 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.739/2.360/3.982/1.621 ms') 2025-07-10 15:53:42,343 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-65947399-69077393 passed 2025-07-10 15:53:42,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 15:53:42,497 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65947399-69077393, IP 181.228.156.196, Port 22 2025-07-10 15:53:42,653 - DEBUG - VM ctest-TestBasicVMVNx-65947399-69077393 is ready for SSH connections 2025-07-10 15:53:42,653 - DEBUG - FILE SIZE = 1303B 2025-07-10 15:53:42,653 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-65947399-21685997 to ctest-TestBasicVMVNx-65947399-69077393 using scp 2025-07-10 15:53:42,654 - 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.49, gateway password: c0ntrail123 2025-07-10 15:53:42,654 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-10 15:53:44,663 - DEBUG - 1+0 records in 1+0 records out 2025-07-10 15:53:45,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 15:53:45,703 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-10 15:53:45,704 - DEBUG - ls -l testfile 2025-07-10 15:53:47,321 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 10 09:53 testfile 2025-07-10 15:53:47,321 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-65947399-69077393 2025-07-10 15:53:47,321 - INFO - Deleting VM ctest-TestBasicVMVNx-65947399-69077393 2025-07-10 15:53:47,394 - INFO - Deleting VM ctest-TestBasicVMVNx-65947399-21685997 2025-07-10 15:53:47,462 - INFO - Deleting VN ctest-vn-99068311 2025-07-10 15:53:47,501 - DEBUG - VN 51d0c4aa-cc63-48ab-83f3-f026e4e30ff8 still in use: Unable to complete operation on network 51d0c4aa-cc63-48ab-83f3-f026e4e30ff8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-78a9b65f-0b7b-47ee-85bb-ce4d22a96bf7'] 2025-07-10 15:53:47,502 - WARNING - Deleting VN ctest-vn-99068311 failed..Will retry 2025-07-10 15:53:49,687 - DEBUG - Response for deleting network () 2025-07-10 15:53:49,944 - DEBUG - No XMPP flaps were noticed during the test
2025-07-10 15:53:49,944 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-07-10 15:53:49,944 - INFO - -------------------------------------------------------------------------------- 2025-07-10 15:53:50,718 - INFO - Deleted project: ctest-TestBasicVMVNx-65947399, ID : adf47f0a-675b-4176-b401-3ee94511036a