2026-11-06 15:24:36,907 - INFO - Domain Default found not creating
2026-11-06 15:24:37,148 - INFO - Project ctest-TestBasicVMVNx-17030786 not found, creating it
2026-11-06 15:24:37,668 - INFO - Created Project:ctest-TestBasicVMVNx-17030786, ID : 5aa2fe17-e3f8-471f-acdf-3fe5e85d1947
2026-11-06 15:24:39,534 - INFO - ================================================================================
2026-11-06 15:24:39,534 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-11-06 15:24:39,534 - 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
2026-11-06 15:24:39,815 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-11-06 15:24:39,815 - INFO - Initial checks done. Running the testcase now
2026-11-06 15:24:39,815 - INFO -
2026-11-06 15:24:40,497 - DEBUG - Response for create_network : {'network': {'id': 'fa7f008c-2c7c-4c80-a39d-2cfb8ee5f344', 'name': 'ctest-vn-11809085', 'tenant_id': '5aa2fe17e3f8471facdf3fe5e85d1947', 'project_id': '5aa2fe17e3f8471facdf3fe5e85d1947', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-17030786', 'ctest-vn-11809085'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 15:24:40,679 - DEBUG - Response for create_subnet : {'subnet': {'id': '56d22208-0a85-4fac-a157-cb8c7fde7249', 'name': '', 'tenant_id': '5aa2fe17e3f8471facdf3fe5e85d1947', 'network_id': 'fa7f008c-2c7c-4c80-a39d-2cfb8ee5f344', 'ip_version': 4, 'cidr': '115.221.90.128/26', 'allocation_pools': [{'start': '115.221.90.130', 'end': '115.221.90.190'}], 'gateway_ip': '115.221.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.221.90.130', 'tags': [], 'project_id': '5aa2fe17e3f8471facdf3fe5e85d1947'}}
2026-11-06 15:24:40,700 - INFO - Created VN ctest-vn-11809085
2026-11-06 15:24:40,757 - DEBUG - VN ctest-vn-11809085 UUID is fa7f008c-2c7c-4c80-a39d-2cfb8ee5f344
2026-11-06 15:24:40,950 - DEBUG - Services list from nova: [, , ]
2026-11-06 15:24:41,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6490-1)
2026-11-06 15:24:41,828 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6490-1)
2026-11-06 15:24:41,828 - INFO - Waiting for VM ctest-TestBasicVMVNx-17030786-62496137 to be up..
2026-11-06 15:24:41,869 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 15:24:46,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 15:24:52,034 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 15:24:57,137 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 15:25:02,238 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 15:25:07,323 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 15:25:12,418 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 15:25:17,504 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 15:25:22,604 - DEBUG - VM is in ACTIVE state now
2026-11-06 15:25:22,604 - INFO - VM name : ctest-TestBasicVMVNx-17030786-62496137
2026-11-06 15:25:22,701 - DEBUG - VM ctest-TestBasicVMVNx-17030786-62496137 ID is 0aa8aa95-d738-4a0d-8b30-f2625e881c08
2026-11-06 15:25:22,732 - DEBUG - VM ctest-TestBasicVMVNx-17030786-62496137 launched on Node cn-jenkins-deploy-platform-ansible-os-6490-1
2026-11-06 15:25:22,837 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0aa8aa95-d738-4a0d-8b30-f2625e881c08
2026-11-06 15:25:23,207 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0aa8aa95-d738-4a0d-8b30-f2625e881c08
2026-11-06 15:25:23,241 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9650ac0f-e0c3-45c5-a2c9-4d042953f1f0
2026-11-06 15:25:26,533 - 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 1022ms')
2026-11-06 15:25:26,533 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17030786-62496137 failed!
2026-11-06 15:25:26,593 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-17030786:ctest-vn-11809085 is 115.221.90.129 and allocation pool is NOT set
2026-11-06 15:25:28,658 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.892 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.892/2.603/4.314/1.711 ms')
2026-11-06 15:25:28,658 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17030786-62496137 passed
2026-11-06 15:25:28,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-06 15:25:28,813 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17030786-62496137, IP 115.221.90.131, Port 22
2026-11-06 15:25:28,879 - 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': ''}
2026-11-06 15:25:28,969 - DEBUG - VM ctest-TestBasicVMVNx-17030786-62496137 is NOT ready for SSH connections, VM status: ACTIVE
2026-11-06 15:25:33,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-06 15:25:33,971 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17030786-62496137, IP 115.221.90.131, Port 22
2026-11-06 15:25:34,143 - DEBUG - VM ctest-TestBasicVMVNx-17030786-62496137 is ready for SSH connections
2026-11-06 15:25:34,143 - INFO - Waiting for VM ctest-TestBasicVMVNx-17030786-85325367 to be up..
2026-11-06 15:25:34,240 - DEBUG - VM is in ACTIVE state now
2026-11-06 15:25:34,241 - INFO - VM name : ctest-TestBasicVMVNx-17030786-85325367
2026-11-06 15:25:34,325 - DEBUG - VM ctest-TestBasicVMVNx-17030786-85325367 ID is ba1a294a-f1fc-41e4-b8e2-b64ce0eb8513
2026-11-06 15:25:34,325 - DEBUG - VM ctest-TestBasicVMVNx-17030786-85325367 launched on Node cn-jenkins-deploy-platform-ansible-os-6490-1
2026-11-06 15:25:34,517 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ba1a294a-f1fc-41e4-b8e2-b64ce0eb8513
2026-11-06 15:25:34,528 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4474f108-d0ed-48e1-b3fd-003852297461
2026-11-06 15:25:35,787 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.567 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.567/2.240/3.914/1.673 ms')
2026-11-06 15:25:35,787 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-17030786-85325367 passed
2026-11-06 15:25:35,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-06 15:25:35,945 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17030786-85325367, IP 115.221.90.132, Port 22
2026-11-06 15:25:36,115 - DEBUG - VM ctest-TestBasicVMVNx-17030786-85325367 is ready for SSH connections
2026-11-06 15:25:36,115 - DEBUG - FILE SIZE = 1303B
2026-11-06 15:25:36,115 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-17030786-62496137 to ctest-TestBasicVMVNx-17030786-85325367 using scp
2026-11-06 15:25:36,118 - 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.50, gateway password: c0ntrail123
2026-11-06 15:25:36,119 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-11-06 15:25:38,240 - DEBUG - 1+0 records in
1+0 records out
2026-11-06 15:25:38,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-06 15:25:38,899 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-11-06 15:25:38,900 - DEBUG - ls -l testfile
2026-11-06 15:25:40,484 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 6 08:25 [0;0mtestfile[0m
2026-11-06 15:25:40,484 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-17030786-85325367
2026-11-06 15:25:40,485 - INFO - Deleting VM ctest-TestBasicVMVNx-17030786-85325367
2026-11-06 15:25:40,614 - INFO - Deleting VM ctest-TestBasicVMVNx-17030786-62496137
2026-11-06 15:25:40,718 - INFO - Deleting VN ctest-vn-11809085
2026-11-06 15:25:40,770 - DEBUG - VN fa7f008c-2c7c-4c80-a39d-2cfb8ee5f344 still in use: Unable to complete operation on network fa7f008c-2c7c-4c80-a39d-2cfb8ee5f344. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-009b0f0d-234c-4acd-9de5-42c6402578d3']
2026-11-06 15:25:40,770 - WARNING - Deleting VN ctest-vn-11809085 failed..Will retry
2026-11-06 15:25:42,813 - DEBUG - VN fa7f008c-2c7c-4c80-a39d-2cfb8ee5f344 still in use: Unable to complete operation on network fa7f008c-2c7c-4c80-a39d-2cfb8ee5f344. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7e955ed4-01a4-4e19-ae74-4b29e660cf1e']
2026-11-06 15:25:42,813 - WARNING - Deleting VN ctest-vn-11809085 failed..Will retry
2026-11-06 15:25:44,959 - DEBUG - Response for deleting network ()
2026-11-06 15:25:45,225 - DEBUG - No XMPP flaps were noticed during the test
2026-11-06 15:25:45,225 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:06]
2026-11-06 15:25:45,225 - INFO - --------------------------------------------------------------------------------
2026-11-06 15:25:46,036 - INFO - Deleted project: ctest-TestBasicVMVNx-17030786, ID : 5aa2fe17-e3f8-471f-acdf-3fe5e85d1947