2025-05-26 18:21:42,769 - INFO - Domain Default found not creating
2025-05-26 18:21:43,137 - INFO - Project ctest-TestBasicVMVNx-41094623 not found, creating it
2025-05-26 18:21:43,950 - INFO - Created Project:ctest-TestBasicVMVNx-41094623, ID : 582887e6-9ca7-4785-893f-b4eda2e6c92f
2025-05-26 18:21:46,175 - INFO - ================================================================================
2025-05-26 18:21:46,176 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-05-26 18:21:46,176 - 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-26 18:21:46,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-05-26 18:21:46,504 - INFO - Initial checks done. Running the testcase now
2025-05-26 18:21:46,504 - INFO -
2025-05-26 18:21:47,346 - DEBUG - Response for create_network : {'network': {'id': '2b4acc99-ef9e-469d-9dc8-f4debf1617c4', 'name': 'ctest-vn-81868398', 'tenant_id': '582887e69ca74785893fb4eda2e6c92f', 'project_id': '582887e69ca74785893fb4eda2e6c92f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-41094623', 'ctest-vn-81868398'], 'port_security_enabled': True, 'description': ''}}
2025-05-26 18:21:47,622 - DEBUG - Response for create_subnet : {'subnet': {'id': '98a9e49b-7869-4efc-aba6-85acdcc5eeaa', 'name': '', 'tenant_id': '582887e69ca74785893fb4eda2e6c92f', 'network_id': '2b4acc99-ef9e-469d-9dc8-f4debf1617c4', 'ip_version': 4, 'cidr': '7.164.95.64/26', 'allocation_pools': [{'start': '7.164.95.66', 'end': '7.164.95.126'}], 'gateway_ip': '7.164.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.164.95.66', 'tags': [], 'project_id': '582887e69ca74785893fb4eda2e6c92f'}}
2025-05-26 18:21:47,648 - INFO - Created VN ctest-vn-81868398
2025-05-26 18:21:47,712 - DEBUG - VN ctest-vn-81868398 UUID is 2b4acc99-ef9e-469d-9dc8-f4debf1617c4
2025-05-26 18:21:48,045 - DEBUG - Services list from nova: [, , ]
2025-05-26 18:21:49,924 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3340-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3340-1)
2025-05-26 18:21:51,431 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3340-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3340-1)
2025-05-26 18:21:51,431 - INFO - Waiting for VM ctest-TestBasicVMVNx-41094623-31329518 to be up..
2025-05-26 18:21:51,543 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-26 18:21:56,648 - DEBUG - VM is in ACTIVE state now
2025-05-26 18:21:56,648 - INFO - VM name : ctest-TestBasicVMVNx-41094623-31329518
2025-05-26 18:21:56,741 - DEBUG - VM ctest-TestBasicVMVNx-41094623-31329518 ID is 90b526af-e660-4643-9b00-fce79511b415
2025-05-26 18:21:56,765 - DEBUG - VM ctest-TestBasicVMVNx-41094623-31329518 launched on Node cn-jenkins-deploy-platform-ansible-os-3340-1
2025-05-26 18:21:56,892 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/90b526af-e660-4643-9b00-fce79511b415
2025-05-26 18:21:57,205 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/90b526af-e660-4643-9b00-fce79511b415
2025-05-26 18:21:57,266 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0a24570b-73e1-4f4b-9d31-1cac97d7b351
2025-05-26 18:22:00,622 - 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 1020ms')
2025-05-26 18:22:00,622 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41094623-31329518 failed!
2025-05-26 18:22:00,692 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-41094623:ctest-vn-81868398 is 7.164.95.65 and allocation pool is NOT set
2025-05-26 18:22:02,771 - 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=16.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.733 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.733/8.664/16.596/7.931 ms')
2025-05-26 18:22:02,771 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41094623-31329518 passed
2025-05-26 18:22:02,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-26 18:22:02,961 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41094623-31329518, IP 7.164.95.67, Port 22
2025-05-26 18:22:03,158 - DEBUG - VM ctest-TestBasicVMVNx-41094623-31329518 is ready for SSH connections
2025-05-26 18:22:03,158 - INFO - Waiting for VM ctest-TestBasicVMVNx-41094623-35193184 to be up..
2025-05-26 18:22:03,326 - DEBUG - VM is in ACTIVE state now
2025-05-26 18:22:03,326 - INFO - VM name : ctest-TestBasicVMVNx-41094623-35193184
2025-05-26 18:22:03,460 - DEBUG - VM ctest-TestBasicVMVNx-41094623-35193184 ID is 1678f8b2-1063-440c-9e0c-3d4c1d4e9071
2025-05-26 18:22:03,460 - DEBUG - VM ctest-TestBasicVMVNx-41094623-35193184 launched on Node cn-jenkins-deploy-platform-ansible-os-3340-1
2025-05-26 18:22:03,589 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1678f8b2-1063-440c-9e0c-3d4c1d4e9071
2025-05-26 18:22:03,606 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4057194-acd4-4c45-8d00-a6104197056f
2025-05-26 18:22:04,938 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.15 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 = 1.153/2.304/3.456/1.151 ms')
2025-05-26 18:22:04,939 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-41094623-35193184 passed
2025-05-26 18:22:05,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-26 18:22:05,128 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41094623-35193184, IP 7.164.95.68, Port 22
2025-05-26 18:22:05,328 - DEBUG - VM ctest-TestBasicVMVNx-41094623-35193184 is ready for SSH connections
2025-05-26 18:22:05,329 - DEBUG - FILE SIZE = 1303B
2025-05-26 18:22:05,329 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-41094623-31329518 to ctest-TestBasicVMVNx-41094623-35193184 using scp
2025-05-26 18:22:05,331 - 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-05-26 18:22:05,332 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-05-26 18:22:07,564 - DEBUG - 1+0 records in
1+0 records out
2025-05-26 18:22:08,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-26 18:22:08,900 - 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-05-26 18:22:08,900 - DEBUG - ls -l testfile
2025-05-26 18:22:10,720 - DEBUG - -rw------- 1 cirros cirros 1303 May 26 12:22 [0;0mtestfile[0m
2025-05-26 18:22:10,720 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-41094623-35193184
2025-05-26 18:22:10,721 - INFO - Deleting VM ctest-TestBasicVMVNx-41094623-35193184
2025-05-26 18:22:10,813 - INFO - Deleting VM ctest-TestBasicVMVNx-41094623-31329518
2025-05-26 18:22:10,903 - INFO - Deleting VN ctest-vn-81868398
2025-05-26 18:22:10,971 - DEBUG - VN 2b4acc99-ef9e-469d-9dc8-f4debf1617c4 still in use: Unable to complete operation on network 2b4acc99-ef9e-469d-9dc8-f4debf1617c4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d574e19f-f20c-4531-be07-7d0a43265f90']
2025-05-26 18:22:10,971 - WARNING - Deleting VN ctest-vn-81868398 failed..Will retry
2025-05-26 18:22:13,162 - DEBUG - Response for deleting network ()
2025-05-26 18:22:13,467 - DEBUG - No XMPP flaps were noticed during the test
2025-05-26 18:22:13,467 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:27]
2025-05-26 18:22:13,467 - INFO - --------------------------------------------------------------------------------
2025-05-26 18:22:14,316 - INFO - Deleted project: ctest-TestBasicVMVNx-41094623, ID : 582887e6-9ca7-4785-893f-b4eda2e6c92f