2025-05-27 16:41:44,983 - INFO - Domain Default found not creating 2025-05-27 16:41:45,123 - INFO - Project ctest-TestBasicVMVNx-51274499 not found, creating it 2025-05-27 16:41:45,602 - INFO - Created Project:ctest-TestBasicVMVNx-51274499, ID : 461efd90-86ec-4d60-b3e8-653c12d02053 2025-05-27 16:41:47,151 - INFO - ================================================================================ 2025-05-27 16:41:47,151 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-27 16:41:47,152 - 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-27 16:41:47,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-27 16:41:47,407 - INFO - Initial checks done. Running the testcase now 2025-05-27 16:41:47,407 - INFO - 2025-05-27 16:41:47,996 - DEBUG - Response for create_network : {'network': {'id': '181511cf-78f4-4d95-86a7-e16b795c9a03', 'name': 'ctest-vn-94583902', 'tenant_id': '461efd9086ec4d60b3e8653c12d02053', 'project_id': '461efd9086ec4d60b3e8653c12d02053', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-51274499', 'ctest-vn-94583902'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 16:41:48,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '94b66fd1-4e46-441d-9762-07daf7a2e306', 'name': '', 'tenant_id': '461efd9086ec4d60b3e8653c12d02053', 'network_id': '181511cf-78f4-4d95-86a7-e16b795c9a03', 'ip_version': 4, 'cidr': '136.58.121.128/26', 'allocation_pools': [{'start': '136.58.121.130', 'end': '136.58.121.190'}], 'gateway_ip': '136.58.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.58.121.130', 'tags': [], 'project_id': '461efd9086ec4d60b3e8653c12d02053'}} 2025-05-27 16:41:48,253 - INFO - Created VN ctest-vn-94583902 2025-05-27 16:41:48,305 - DEBUG - VN ctest-vn-94583902 UUID is 181511cf-78f4-4d95-86a7-e16b795c9a03 2025-05-27 16:41:48,512 - DEBUG - Services list from nova: [, , ] 2025-05-27 16:41:49,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3348-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3348-1) 2025-05-27 16:41:50,872 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3348-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3348-1) 2025-05-27 16:41:50,872 - INFO - Waiting for VM ctest-TestBasicVMVNx-51274499-36165488 to be up.. 2025-05-27 16:41:50,958 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-27 16:41:56,040 - DEBUG - VM is in ACTIVE state now 2025-05-27 16:41:56,040 - INFO - VM name : ctest-TestBasicVMVNx-51274499-36165488 2025-05-27 16:41:56,116 - DEBUG - VM ctest-TestBasicVMVNx-51274499-36165488 ID is 03a1836c-d604-4177-b8d1-8f73e2c362f2 2025-05-27 16:41:56,135 - DEBUG - VM ctest-TestBasicVMVNx-51274499-36165488 launched on Node cn-jenkins-deploy-platform-ansible-os-3348-1 2025-05-27 16:41:56,209 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/03a1836c-d604-4177-b8d1-8f73e2c362f2 2025-05-27 16:41:56,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/03a1836c-d604-4177-b8d1-8f73e2c362f2 2025-05-27 16:41:56,571 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b7b856f6-1eae-4610-9a00-a3f3b8d9df3c 2025-05-27 16:41:59,845 - 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 1031ms') 2025-05-27 16:41:59,845 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51274499-36165488 failed! 2025-05-27 16:41:59,905 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-51274499:ctest-vn-94583902 is 136.58.121.129 and allocation pool is NOT set 2025-05-27 16:42:01,961 - 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=3.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.912 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.912/2.362/3.813/1.450 ms') 2025-05-27 16:42:01,961 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51274499-36165488 passed 2025-05-27 16:42:02,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 16:42:02,113 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51274499-36165488, IP 136.58.121.131, Port 22 2025-05-27 16:42:02,279 - DEBUG - VM ctest-TestBasicVMVNx-51274499-36165488 is ready for SSH connections 2025-05-27 16:42:02,279 - INFO - Waiting for VM ctest-TestBasicVMVNx-51274499-68310573 to be up.. 2025-05-27 16:42:02,371 - DEBUG - VM is in ACTIVE state now 2025-05-27 16:42:02,371 - INFO - VM name : ctest-TestBasicVMVNx-51274499-68310573 2025-05-27 16:42:02,455 - DEBUG - VM ctest-TestBasicVMVNx-51274499-68310573 ID is 3850db2e-c097-451f-991b-725c1d392e6c 2025-05-27 16:42:02,455 - DEBUG - VM ctest-TestBasicVMVNx-51274499-68310573 launched on Node cn-jenkins-deploy-platform-ansible-os-3348-1 2025-05-27 16:42:02,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3850db2e-c097-451f-991b-725c1d392e6c 2025-05-27 16:42:02,551 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7a615895-689f-46e8-97cb-07e1361aea3d 2025-05-27 16:42:03,801 - 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=2.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/1.653/2.852/1.199 ms') 2025-05-27 16:42:03,801 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-51274499-68310573 passed 2025-05-27 16:42:03,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 16:42:03,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51274499-68310573, IP 136.58.121.132, Port 22 2025-05-27 16:42:04,108 - DEBUG - VM ctest-TestBasicVMVNx-51274499-68310573 is ready for SSH connections 2025-05-27 16:42:04,108 - DEBUG - FILE SIZE = 1303B 2025-05-27 16:42:04,108 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-51274499-36165488 to ctest-TestBasicVMVNx-51274499-68310573 using scp 2025-05-27 16:42:04,109 - 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.38, gateway password: c0ntrail123 2025-05-27 16:42:04,109 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-27 16:42:06,060 - DEBUG - 1+0 records in 1+0 records out 2025-05-27 16:42:06,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 16:42:07,160 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-27 16:42:07,161 - DEBUG - ls -l testfile 2025-05-27 16:42:08,754 - DEBUG - -rw------- 1 cirros cirros 1303 May 27 10:42 testfile 2025-05-27 16:42:08,754 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-51274499-68310573 2025-05-27 16:42:08,754 - INFO - Deleting VM ctest-TestBasicVMVNx-51274499-68310573 2025-05-27 16:42:08,824 - INFO - Deleting VM ctest-TestBasicVMVNx-51274499-36165488 2025-05-27 16:42:08,894 - INFO - Deleting VN ctest-vn-94583902 2025-05-27 16:42:08,938 - DEBUG - VN 181511cf-78f4-4d95-86a7-e16b795c9a03 still in use: Unable to complete operation on network 181511cf-78f4-4d95-86a7-e16b795c9a03. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14875d16-2d22-4a91-bb9a-966020a79511'] 2025-05-27 16:42:08,939 - WARNING - Deleting VN ctest-vn-94583902 failed..Will retry 2025-05-27 16:42:11,044 - DEBUG - Response for deleting network () 2025-05-27 16:42:11,309 - DEBUG - No XMPP flaps were noticed during the test
2025-05-27 16:42:11,309 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-05-27 16:42:11,309 - INFO - -------------------------------------------------------------------------------- 2025-05-27 16:42:12,037 - INFO - Deleted project: ctest-TestBasicVMVNx-51274499, ID : 461efd90-86ec-4d60-b3e8-653c12d02053