2025-11-05 06:43:20,470 - INFO - Domain Default found not creating
2025-11-05 06:43:20,637 - INFO - Project ctest-TestBasicVMVNx-77238716 not found, creating it
2025-11-05 06:43:21,098 - INFO - Created Project:ctest-TestBasicVMVNx-77238716, ID : cf2e13a0-9bb3-4ad6-8cb3-6d197c887c55
2025-11-05 06:43:22,845 - INFO - ================================================================================
2025-11-05 06:43:22,845 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-11-05 06:43:22,845 - 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-11-05 06:43:23,105 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with
2025-11-05 06:43:23,105 - INFO - Initial checks done. Running the testcase now
2025-11-05 06:43:23,105 - INFO -
2025-11-05 06:43:23,716 - DEBUG - Response for create_network : {'network': {'id': 'd807846c-9627-47d1-be4d-d9b4f2da28eb', 'name': 'ctest-vn-47728056', 'tenant_id': 'cf2e13a09bb34ad68cb36d197c887c55', 'project_id': 'cf2e13a09bb34ad68cb36d197c887c55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-77238716', 'ctest-vn-47728056'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 06:43:23,929 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb135aa0-2949-4366-b8a4-840497490895', 'name': '', 'tenant_id': 'cf2e13a09bb34ad68cb36d197c887c55', 'network_id': 'd807846c-9627-47d1-be4d-d9b4f2da28eb', 'ip_version': 4, 'cidr': '37.9.13.64/26', 'allocation_pools': [{'start': '37.9.13.66', 'end': '37.9.13.126'}], 'gateway_ip': '37.9.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.9.13.66', 'tags': [], 'project_id': 'cf2e13a09bb34ad68cb36d197c887c55'}}
2025-11-05 06:43:23,948 - INFO - Created VN ctest-vn-47728056
2025-11-05 06:43:24,001 - DEBUG - VN ctest-vn-47728056 UUID is d807846c-9627-47d1-be4d-d9b4f2da28eb
2025-11-05 06:43:24,179 - DEBUG - Services list from nova: [, , ]
2025-11-05 06:43:25,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4627-1)
2025-11-05 06:43:26,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4627-1)
2025-11-05 06:43:26,632 - INFO - Waiting for VM ctest-TestBasicVMVNx-77238716-72230138 to be up..
2025-11-05 06:43:26,722 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 06:43:31,820 - DEBUG - VM is in ACTIVE state now
2025-11-05 06:43:31,820 - INFO - VM name : ctest-TestBasicVMVNx-77238716-72230138
2025-11-05 06:43:31,911 - DEBUG - VM ctest-TestBasicVMVNx-77238716-72230138 ID is 720639c9-b59c-45f3-9d0f-3c897e9553ca
2025-11-05 06:43:31,936 - DEBUG - VM ctest-TestBasicVMVNx-77238716-72230138 launched on Node cn-jenkins-deploy-platform-ansible-os-4627-1
2025-11-05 06:43:32,033 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/720639c9-b59c-45f3-9d0f-3c897e9553ca
2025-11-05 06:43:32,377 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/720639c9-b59c-45f3-9d0f-3c897e9553ca
2025-11-05 06:43:32,414 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/9d5a48a6-0f18-47ec-b6cf-07dbad1d6947
2025-11-05 06:43:35,696 - 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 1029ms')
2025-11-05 06:43:35,696 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77238716-72230138 failed!
2025-11-05 06:43:35,757 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-77238716:ctest-vn-47728056 is 37.9.13.65 and allocation pool is NOT set
2025-11-05 06:43:37,817 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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 = 2.042/3.825/5.609/1.783 ms')
2025-11-05 06:43:37,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77238716-72230138 passed
2025-11-05 06:43:37,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 06:43:37,970 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77238716-72230138, IP 37.9.13.67, Port 22
2025-11-05 06:43:38,036 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-05 06:43:38,126 - DEBUG - VM ctest-TestBasicVMVNx-77238716-72230138 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-05 06:43:43,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 06:43:43,127 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77238716-72230138, IP 37.9.13.67, Port 22
2025-11-05 06:43:43,295 - DEBUG - VM ctest-TestBasicVMVNx-77238716-72230138 is ready for SSH connections
2025-11-05 06:43:43,295 - INFO - Waiting for VM ctest-TestBasicVMVNx-77238716-51508048 to be up..
2025-11-05 06:43:43,383 - DEBUG - VM is in ACTIVE state now
2025-11-05 06:43:43,383 - INFO - VM name : ctest-TestBasicVMVNx-77238716-51508048
2025-11-05 06:43:43,464 - DEBUG - VM ctest-TestBasicVMVNx-77238716-51508048 ID is 0aa8ccb5-78c6-4a5f-b07c-adbb9a1ac953
2025-11-05 06:43:43,465 - DEBUG - VM ctest-TestBasicVMVNx-77238716-51508048 launched on Node cn-jenkins-deploy-platform-ansible-os-4627-1
2025-11-05 06:43:43,559 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/0aa8ccb5-78c6-4a5f-b07c-adbb9a1ac953
2025-11-05 06:43:43,570 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/9cbb8b63-53c2-4345-a87d-bf3c1515aeaa
2025-11-05 06:43:44,814 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.618 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.618/2.172/3.726/1.554 ms')
2025-11-05 06:43:44,814 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-77238716-51508048 passed
2025-11-05 06:43:44,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 06:43:44,965 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77238716-51508048, IP 37.9.13.68, Port 22
2025-11-05 06:43:45,136 - DEBUG - VM ctest-TestBasicVMVNx-77238716-51508048 is ready for SSH connections
2025-11-05 06:43:45,136 - DEBUG - FILE SIZE = 1303B
2025-11-05 06:43:45,136 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-77238716-72230138 to ctest-TestBasicVMVNx-77238716-51508048 using scp
2025-11-05 06:43:45,138 - 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.130, gateway password: c0ntrail123
2025-11-05 06:43:45,138 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-11-05 06:43:47,260 - DEBUG - 1+0 records in
1+0 records out
2025-11-05 06:43:48,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 06:43:48,572 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-11-05 06:43:48,573 - DEBUG - ls -l testfile
2025-11-05 06:43:50,231 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 4 23:43 [0;0mtestfile[0m
2025-11-05 06:43:50,231 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-77238716-51508048
2025-11-05 06:43:50,231 - INFO - Deleting VM ctest-TestBasicVMVNx-77238716-51508048
2025-11-05 06:43:50,327 - INFO - Deleting VM ctest-TestBasicVMVNx-77238716-72230138
2025-11-05 06:43:50,407 - INFO - Deleting VN ctest-vn-47728056
2025-11-05 06:43:50,453 - DEBUG - VN d807846c-9627-47d1-be4d-d9b4f2da28eb still in use: Unable to complete operation on network d807846c-9627-47d1-be4d-d9b4f2da28eb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-01250631-c1e4-4be0-8729-5ac6e441ce1a']
2025-11-05 06:43:50,453 - WARNING - Deleting VN ctest-vn-47728056 failed..Will retry
2025-11-05 06:43:52,593 - DEBUG - Response for deleting network ()
2025-11-05 06:43:52,868 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 06:43:52,868 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-11-05 06:43:52,869 - INFO - --------------------------------------------------------------------------------
2025-11-05 06:43:53,627 - INFO - Deleted project: ctest-TestBasicVMVNx-77238716, ID : cf2e13a0-9bb3-4ad6-8cb3-6d197c887c55