2025-10-30 16:43:18,041 - INFO - Domain Default found not creating 2025-10-30 16:43:18,233 - INFO - Project ctest-TestBasicVMVNx-46064360 not found, creating it 2025-10-30 16:43:18,740 - INFO - Created Project:ctest-TestBasicVMVNx-46064360, ID : 036c1f13-42b5-4714-8c7b-5a84dd0338e3 2025-10-30 16:43:20,496 - INFO - ================================================================================ 2025-10-30 16:43:20,497 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-30 16:43:20,497 - 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-10-30 16:43:20,758 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-10-30 16:43:20,758 - INFO - Initial checks done. Running the testcase now 2025-10-30 16:43:20,759 - INFO - 2025-10-30 16:43:21,426 - DEBUG - Response for create_network : {'network': {'id': 'df5a7504-f41f-4107-969f-85179b3ef7df', 'name': 'ctest-vn-57837807', 'tenant_id': '036c1f1342b547148c7b5a84dd0338e3', 'project_id': '036c1f1342b547148c7b5a84dd0338e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-46064360', 'ctest-vn-57837807'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 16:43:21,645 - DEBUG - Response for create_subnet : {'subnet': {'id': '97329364-e1eb-4c04-9a24-68d3e2ef2d0a', 'name': '', 'tenant_id': '036c1f1342b547148c7b5a84dd0338e3', 'network_id': 'df5a7504-f41f-4107-969f-85179b3ef7df', 'ip_version': 4, 'cidr': '189.19.122.0/26', 'allocation_pools': [{'start': '189.19.122.2', 'end': '189.19.122.62'}], 'gateway_ip': '189.19.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.19.122.2', 'tags': [], 'project_id': '036c1f1342b547148c7b5a84dd0338e3'}} 2025-10-30 16:43:21,667 - INFO - Created VN ctest-vn-57837807 2025-10-30 16:43:21,721 - DEBUG - VN ctest-vn-57837807 UUID is df5a7504-f41f-4107-969f-85179b3ef7df 2025-10-30 16:43:21,904 - DEBUG - Services list from nova: [, , ] 2025-10-30 16:43:23,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4548-1) 2025-10-30 16:43:24,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4548-1) 2025-10-30 16:43:24,429 - INFO - Waiting for VM ctest-TestBasicVMVNx-46064360-27387234 to be up.. 2025-10-30 16:43:24,524 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 16:43:29,627 - DEBUG - VM is in ACTIVE state now 2025-10-30 16:43:29,627 - INFO - VM name : ctest-TestBasicVMVNx-46064360-27387234 2025-10-30 16:43:29,731 - DEBUG - VM ctest-TestBasicVMVNx-46064360-27387234 ID is 69e46b94-29ae-4742-90ab-2f78474e1d8d 2025-10-30 16:43:29,753 - DEBUG - VM ctest-TestBasicVMVNx-46064360-27387234 launched on Node cn-jenkins-deploy-platform-ansible-os-4548-1 2025-10-30 16:43:29,862 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/69e46b94-29ae-4742-90ab-2f78474e1d8d 2025-10-30 16:43:30,230 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/69e46b94-29ae-4742-90ab-2f78474e1d8d 2025-10-30 16:43:30,273 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/f4ced79d-1d52-4202-8aec-b3f7ebc999a4 2025-10-30 16:43:33,545 - 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 1018ms') 2025-10-30 16:43:33,545 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46064360-27387234 failed! 2025-10-30 16:43:33,605 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-46064360:ctest-vn-57837807 is 189.19.122.1 and allocation pool is NOT set 2025-10-30 16:43:35,677 - 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=5.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.66 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.663/3.559/5.456/1.896 ms') 2025-10-30 16:43:35,677 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46064360-27387234 passed 2025-10-30 16:43:35,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:43:35,837 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46064360-27387234, IP 189.19.122.3, Port 22 2025-10-30 16:43:36,008 - DEBUG - VM ctest-TestBasicVMVNx-46064360-27387234 is ready for SSH connections 2025-10-30 16:43:36,009 - INFO - Waiting for VM ctest-TestBasicVMVNx-46064360-36082491 to be up.. 2025-10-30 16:43:36,098 - DEBUG - VM is in ACTIVE state now 2025-10-30 16:43:36,099 - INFO - VM name : ctest-TestBasicVMVNx-46064360-36082491 2025-10-30 16:43:36,196 - DEBUG - VM ctest-TestBasicVMVNx-46064360-36082491 ID is 6cbc59e3-feca-41a7-b4d1-fcdb0733bf85 2025-10-30 16:43:36,196 - DEBUG - VM ctest-TestBasicVMVNx-46064360-36082491 launched on Node cn-jenkins-deploy-platform-ansible-os-4548-1 2025-10-30 16:43:36,287 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/6cbc59e3-feca-41a7-b4d1-fcdb0733bf85 2025-10-30 16:43:36,297 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/889a6212-5cf7-451a-a4fa-43a2704ee0f8 2025-10-30 16:43:37,548 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.923 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.923/2.831/4.739/1.908 ms') 2025-10-30 16:43:37,548 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-46064360-36082491 passed 2025-10-30 16:43:37,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:43:37,701 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46064360-36082491, IP 189.19.122.4, Port 22 2025-10-30 16:43:37,870 - DEBUG - VM ctest-TestBasicVMVNx-46064360-36082491 is ready for SSH connections 2025-10-30 16:43:37,871 - DEBUG - FILE SIZE = 1303B 2025-10-30 16:43:37,871 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-46064360-27387234 to ctest-TestBasicVMVNx-46064360-36082491 using scp 2025-10-30 16:43:37,873 - 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.65, gateway password: c0ntrail123 2025-10-30 16:43:37,873 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-30 16:43:39,989 - DEBUG - 1+0 records in 1+0 records out 2025-10-30 16:43:40,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:43:41,342 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 16:43:41,343 - DEBUG - ls -l testfile 2025-10-30 16:43:43,033 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 30 10:43 testfile 2025-10-30 16:43:43,033 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-46064360-36082491 2025-10-30 16:43:43,033 - INFO - Deleting VM ctest-TestBasicVMVNx-46064360-36082491 2025-10-30 16:43:43,122 - INFO - Deleting VM ctest-TestBasicVMVNx-46064360-27387234 2025-10-30 16:43:43,215 - INFO - Deleting VN ctest-vn-57837807 2025-10-30 16:43:43,258 - DEBUG - VN df5a7504-f41f-4107-969f-85179b3ef7df still in use: Unable to complete operation on network df5a7504-f41f-4107-969f-85179b3ef7df. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d9c5b6cf-0406-46ab-8ff4-a36d0b6bc194'] 2025-10-30 16:43:43,259 - WARNING - Deleting VN ctest-vn-57837807 failed..Will retry 2025-10-30 16:43:45,404 - DEBUG - Response for deleting network () 2025-10-30 16:43:45,682 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 16:43:45,683 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-10-30 16:43:45,683 - INFO - -------------------------------------------------------------------------------- 2025-10-30 16:43:46,453 - INFO - Deleted project: ctest-TestBasicVMVNx-46064360, ID : 036c1f13-42b5-4714-8c7b-5a84dd0338e3