2025-06-24 15:49:06,981 - INFO - Domain Default found not creating
2025-06-24 15:49:07,135 - INFO - Project ctest-TestBasicVMVNx-95439863 not found, creating it
2025-06-24 15:49:07,597 - INFO - Created Project:ctest-TestBasicVMVNx-95439863, ID : a0df01b8-b31c-4617-9e3d-dff2a0066709
2025-06-24 15:49:09,095 - INFO - ================================================================================
2025-06-24 15:49:09,095 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-24 15:49:09,096 - 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-06-24 15:49:09,350 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-06-24 15:49:09,350 - INFO - Initial checks done. Running the testcase now
2025-06-24 15:49:09,350 - INFO -
2025-06-24 15:49:09,890 - DEBUG - Response for create_network : {'network': {'id': '7c1d549d-866a-47ef-8342-5d237310fa24', 'name': 'ctest-vn-67157203', 'tenant_id': 'a0df01b8b31c46179e3ddff2a0066709', 'project_id': 'a0df01b8b31c46179e3ddff2a0066709', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-95439863', 'ctest-vn-67157203'], 'port_security_enabled': True, 'description': ''}}
2025-06-24 15:49:10,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ae91638-b6a0-4c31-b1d5-541823cbee36', 'name': '', 'tenant_id': 'a0df01b8b31c46179e3ddff2a0066709', 'network_id': '7c1d549d-866a-47ef-8342-5d237310fa24', 'ip_version': 4, 'cidr': '12.17.174.128/26', 'allocation_pools': [{'start': '12.17.174.130', 'end': '12.17.174.190'}], 'gateway_ip': '12.17.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.17.174.130', 'tags': [], 'project_id': 'a0df01b8b31c46179e3ddff2a0066709'}}
2025-06-24 15:49:10,091 - INFO - Created VN ctest-vn-67157203
2025-06-24 15:49:10,144 - DEBUG - VN ctest-vn-67157203 UUID is 7c1d549d-866a-47ef-8342-5d237310fa24
2025-06-24 15:49:10,346 - DEBUG - Services list from nova: [, , ]
2025-06-24 15:49:11,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3539-1)
2025-06-24 15:49:12,564 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3539-1)
2025-06-24 15:49:12,564 - INFO - Waiting for VM ctest-TestBasicVMVNx-95439863-73490162 to be up..
2025-06-24 15:49:12,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-24 15:49:17,738 - DEBUG - VM is in ACTIVE state now
2025-06-24 15:49:17,738 - INFO - VM name : ctest-TestBasicVMVNx-95439863-73490162
2025-06-24 15:49:17,816 - DEBUG - VM ctest-TestBasicVMVNx-95439863-73490162 ID is 03ffc26d-8bd3-4d55-b7b1-ba239f49cc01
2025-06-24 15:49:17,835 - DEBUG - VM ctest-TestBasicVMVNx-95439863-73490162 launched on Node cn-jenkins-deploy-platform-ansible-os-3539-1
2025-06-24 15:49:17,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/03ffc26d-8bd3-4d55-b7b1-ba239f49cc01
2025-06-24 15:49:18,204 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/03ffc26d-8bd3-4d55-b7b1-ba239f49cc01
2025-06-24 15:49:18,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5c496b71-4dae-4beb-afa1-d8fe06c93d64
2025-06-24 15:49:21,498 - 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 1019ms')
2025-06-24 15:49:21,498 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95439863-73490162 failed!
2025-06-24 15:49:21,556 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-95439863:ctest-vn-67157203 is 12.17.174.129 and allocation pool is NOT set
2025-06-24 15:49:23,617 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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 = 1.120/2.525/3.930/1.405 ms')
2025-06-24 15:49:23,617 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95439863-73490162 passed
2025-06-24 15:49:23,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 15:49:23,768 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95439863-73490162, IP 12.17.174.131, Port 22
2025-06-24 15:49:23,923 - DEBUG - VM ctest-TestBasicVMVNx-95439863-73490162 is ready for SSH connections
2025-06-24 15:49:23,924 - INFO - Waiting for VM ctest-TestBasicVMVNx-95439863-93917092 to be up..
2025-06-24 15:49:24,007 - DEBUG - VM is in ACTIVE state now
2025-06-24 15:49:24,007 - INFO - VM name : ctest-TestBasicVMVNx-95439863-93917092
2025-06-24 15:49:24,096 - DEBUG - VM ctest-TestBasicVMVNx-95439863-93917092 ID is 9b286e6b-09e1-4ed4-8940-aa5af80bb0fd
2025-06-24 15:49:24,096 - DEBUG - VM ctest-TestBasicVMVNx-95439863-93917092 launched on Node cn-jenkins-deploy-platform-ansible-os-3539-1
2025-06-24 15:49:24,181 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9b286e6b-09e1-4ed4-8940-aa5af80bb0fd
2025-06-24 15:49:24,193 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fd980ad0-490d-4225-8eea-ca99593cf243
2025-06-24 15:49:25,441 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 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.486/1.933/3.380/1.447 ms')
2025-06-24 15:49:25,441 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-95439863-93917092 passed
2025-06-24 15:49:25,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 15:49:25,596 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95439863-93917092, IP 12.17.174.132, Port 22
2025-06-24 15:49:25,752 - DEBUG - VM ctest-TestBasicVMVNx-95439863-93917092 is ready for SSH connections
2025-06-24 15:49:25,752 - DEBUG - FILE SIZE = 1303B
2025-06-24 15:49:25,752 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-95439863-73490162 to ctest-TestBasicVMVNx-95439863-93917092 using scp
2025-06-24 15:49:25,753 - 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-06-24 15:49:25,753 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-24 15:49:27,631 - DEBUG - 1+0 records in
1+0 records out
2025-06-24 15:49:28,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 15:49:28,580 - 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-06-24 15:49:28,580 - DEBUG - ls -l testfile
2025-06-24 15:49:30,168 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 24 09:49 [0;0mtestfile[0m
2025-06-24 15:49:30,168 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-95439863-93917092
2025-06-24 15:49:30,168 - INFO - Deleting VM ctest-TestBasicVMVNx-95439863-93917092
2025-06-24 15:49:30,238 - INFO - Deleting VM ctest-TestBasicVMVNx-95439863-73490162
2025-06-24 15:49:30,306 - INFO - Deleting VN ctest-vn-67157203
2025-06-24 15:49:30,344 - DEBUG - VN 7c1d549d-866a-47ef-8342-5d237310fa24 still in use: Unable to complete operation on network 7c1d549d-866a-47ef-8342-5d237310fa24. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a493b07a-7037-406e-975a-672257442ef2']
2025-06-24 15:49:30,344 - WARNING - Deleting VN ctest-vn-67157203 failed..Will retry
2025-06-24 15:49:32,450 - DEBUG - Response for deleting network ()
2025-06-24 15:49:32,706 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 15:49:32,706 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-06-24 15:49:32,706 - INFO - --------------------------------------------------------------------------------
2025-06-24 15:49:33,383 - INFO - Deleted project: ctest-TestBasicVMVNx-95439863, ID : a0df01b8-b31c-4617-9e3d-dff2a0066709