2025-10-25 17:46:25,079 - INFO - Domain Default found not creating
2025-10-25 17:46:25,203 - INFO - Project ctest-TestBasicVMVNx-21987392 not found, creating it
2025-10-25 17:46:25,598 - INFO - Created Project:ctest-TestBasicVMVNx-21987392, ID : 8de0cfe9-aa14-41ad-81a8-0303e72e82ed
2025-10-25 17:46:26,973 - INFO - ================================================================================
2025-10-25 17:46:26,973 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-10-25 17:46:26,973 - 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-25 17:46:27,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-25 17:46:27,221 - INFO - Initial checks done. Running the testcase now
2025-10-25 17:46:27,221 - INFO -
2025-10-25 17:46:27,707 - DEBUG - Response for create_network : {'network': {'id': '13ffe635-ee42-413d-9bb1-f62187afa4cd', 'name': 'ctest-vn-05148643', 'tenant_id': '8de0cfe9aa1441ad81a80303e72e82ed', 'project_id': '8de0cfe9aa1441ad81a80303e72e82ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-21987392', 'ctest-vn-05148643'], 'port_security_enabled': True, 'description': ''}}
2025-10-25 17:46:27,915 - DEBUG - Response for create_subnet : {'subnet': {'id': '6be81817-4f40-4906-9fc4-3f2d4f4e3d7b', 'name': '', 'tenant_id': '8de0cfe9aa1441ad81a80303e72e82ed', 'network_id': '13ffe635-ee42-413d-9bb1-f62187afa4cd', 'ip_version': 4, 'cidr': '171.68.118.128/26', 'allocation_pools': [{'start': '171.68.118.130', 'end': '171.68.118.190'}], 'gateway_ip': '171.68.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.68.118.130', 'tags': [], 'project_id': '8de0cfe9aa1441ad81a80303e72e82ed'}}
2025-10-25 17:46:27,929 - INFO - Created VN ctest-vn-05148643
2025-10-25 17:46:27,980 - DEBUG - VN ctest-vn-05148643 UUID is 13ffe635-ee42-413d-9bb1-f62187afa4cd
2025-10-25 17:46:28,166 - DEBUG - Services list from nova: [, , ]
2025-10-25 17:46:29,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4482-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4482-1)
2025-10-25 17:46:30,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4482-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4482-1)
2025-10-25 17:46:30,171 - INFO - Waiting for VM ctest-TestBasicVMVNx-21987392-53203484 to be up..
2025-10-25 17:46:30,241 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-25 17:46:35,312 - DEBUG - VM is in ACTIVE state now
2025-10-25 17:46:35,312 - INFO - VM name : ctest-TestBasicVMVNx-21987392-53203484
2025-10-25 17:46:35,377 - DEBUG - VM ctest-TestBasicVMVNx-21987392-53203484 ID is 96b00c5e-f670-4351-8b9e-a4a8fc58acd3
2025-10-25 17:46:35,398 - DEBUG - VM ctest-TestBasicVMVNx-21987392-53203484 launched on Node cn-jenkins-deploy-platform-ansible-os-4482-1
2025-10-25 17:46:35,487 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/96b00c5e-f670-4351-8b9e-a4a8fc58acd3
2025-10-25 17:46:35,779 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/96b00c5e-f670-4351-8b9e-a4a8fc58acd3
2025-10-25 17:46:35,813 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/46f0bcf4-6f1f-4847-bf28-97bd0b6940e3
2025-10-25 17:46:39,058 - 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 1008ms')
2025-10-25 17:46:39,058 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21987392-53203484 failed!
2025-10-25 17:46:39,112 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-21987392:ctest-vn-05148643 is 171.68.118.129 and allocation pool is NOT set
2025-10-25 17:46:41,173 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.793 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.793/2.754/4.715/1.961 ms')
2025-10-25 17:46:41,173 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21987392-53203484 passed
2025-10-25 17:46:41,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-25 17:46:41,324 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21987392-53203484, IP 171.68.118.131, Port 22
2025-10-25 17:46:41,475 - DEBUG - VM ctest-TestBasicVMVNx-21987392-53203484 is ready for SSH connections
2025-10-25 17:46:41,475 - INFO - Waiting for VM ctest-TestBasicVMVNx-21987392-27083583 to be up..
2025-10-25 17:46:41,537 - DEBUG - VM is in ACTIVE state now
2025-10-25 17:46:41,538 - INFO - VM name : ctest-TestBasicVMVNx-21987392-27083583
2025-10-25 17:46:41,603 - DEBUG - VM ctest-TestBasicVMVNx-21987392-27083583 ID is da1c5fd6-ae80-412c-853f-153ef238ea05
2025-10-25 17:46:41,603 - DEBUG - VM ctest-TestBasicVMVNx-21987392-27083583 launched on Node cn-jenkins-deploy-platform-ansible-os-4482-1
2025-10-25 17:46:41,664 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/da1c5fd6-ae80-412c-853f-153ef238ea05
2025-10-25 17:46:41,670 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/eecbcf67-2718-4106-b0df-f61ee5e465f8
2025-10-25 17:46:42,896 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.330 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.330/1.453/2.576/1.123 ms')
2025-10-25 17:46:42,896 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-21987392-27083583 passed
2025-10-25 17:46:43,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-25 17:46:43,044 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21987392-27083583, IP 171.68.118.132, Port 22
2025-10-25 17:46:43,196 - DEBUG - VM ctest-TestBasicVMVNx-21987392-27083583 is ready for SSH connections
2025-10-25 17:46:43,196 - DEBUG - FILE SIZE = 1303B
2025-10-25 17:46:43,196 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-21987392-53203484 to ctest-TestBasicVMVNx-21987392-27083583 using scp
2025-10-25 17:46:43,197 - 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.254, gateway password: c0ntrail123
2025-10-25 17:46:43,198 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-10-25 17:46:45,060 - DEBUG - 1+0 records in
1+0 records out
2025-10-25 17:46:45,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-25 17:46:45,993 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-25 17:46:45,993 - DEBUG - ls -l testfile
2025-10-25 17:46:47,567 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 25 11:46 [0;0mtestfile[0m
2025-10-25 17:46:47,567 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-21987392-27083583
2025-10-25 17:46:47,567 - INFO - Deleting VM ctest-TestBasicVMVNx-21987392-27083583
2025-10-25 17:46:47,627 - INFO - Deleting VM ctest-TestBasicVMVNx-21987392-53203484
2025-10-25 17:46:47,681 - INFO - Deleting VN ctest-vn-05148643
2025-10-25 17:46:47,711 - DEBUG - VN 13ffe635-ee42-413d-9bb1-f62187afa4cd still in use: Unable to complete operation on network 13ffe635-ee42-413d-9bb1-f62187afa4cd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-491856e4-321d-4a4e-9d04-f58351243c6e']
2025-10-25 17:46:47,711 - WARNING - Deleting VN ctest-vn-05148643 failed..Will retry
2025-10-25 17:46:49,794 - DEBUG - Response for deleting network ()
2025-10-25 17:46:50,045 - DEBUG - No XMPP flaps were noticed during the test
2025-10-25 17:46:50,045 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-10-25 17:46:50,045 - INFO - --------------------------------------------------------------------------------
2025-10-25 17:46:50,697 - INFO - Deleted project: ctest-TestBasicVMVNx-21987392, ID : 8de0cfe9-aa14-41ad-81a8-0303e72e82ed