2026-09-22 15:24:09,714 - INFO - Domain Default found not creating
2026-09-22 15:24:09,903 - INFO - Project ctest-TestBasicVMVNx-65972893 not found, creating it
2026-09-22 15:24:10,470 - INFO - Created Project:ctest-TestBasicVMVNx-65972893, ID : c6396120-328f-466d-9003-45930e41c21b
2026-09-22 15:24:12,294 - INFO - ================================================================================
2026-09-22 15:24:12,294 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-09-22 15:24:12,294 - 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-09-22 15:24:12,568 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with
2026-09-22 15:24:12,568 - INFO - Initial checks done. Running the testcase now
2026-09-22 15:24:12,568 - INFO -
2026-09-22 15:24:13,243 - DEBUG - Response for create_network : {'network': {'id': '4c02f795-cc6e-47ae-b8ec-3ccf846e4680', 'name': 'ctest-vn-13554657', 'tenant_id': 'c6396120328f466d900345930e41c21b', 'project_id': 'c6396120328f466d900345930e41c21b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-65972893', 'ctest-vn-13554657'], 'port_security_enabled': True, 'description': ''}}
2026-09-22 15:24:13,448 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf59f589-462a-49c5-804e-201bb1ef8b65', 'name': '', 'tenant_id': 'c6396120328f466d900345930e41c21b', 'network_id': '4c02f795-cc6e-47ae-b8ec-3ccf846e4680', 'ip_version': 4, 'cidr': '89.168.87.192/26', 'allocation_pools': [{'start': '89.168.87.194', 'end': '89.168.87.254'}], 'gateway_ip': '89.168.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.168.87.194', 'tags': [], 'project_id': 'c6396120328f466d900345930e41c21b'}}
2026-09-22 15:24:13,468 - INFO - Created VN ctest-vn-13554657
2026-09-22 15:24:13,522 - DEBUG - VN ctest-vn-13554657 UUID is 4c02f795-cc6e-47ae-b8ec-3ccf846e4680
2026-09-22 15:24:13,718 - DEBUG - Services list from nova: [, , ]
2026-09-22 15:24:14,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6319-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6319-1)
2026-09-22 15:24:14,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6319-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6319-1)
2026-09-22 15:24:14,529 - INFO - Waiting for VM ctest-TestBasicVMVNx-65972893-27314870 to be up..
2026-09-22 15:24:14,572 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-22 15:24:19,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-22 15:24:24,763 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-22 15:24:29,842 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-22 15:24:34,932 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-22 15:24:40,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-22 15:24:45,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-22 15:24:50,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-22 15:24:55,275 - DEBUG - VM is in ACTIVE state now
2026-09-22 15:24:55,275 - INFO - VM name : ctest-TestBasicVMVNx-65972893-27314870
2026-09-22 15:24:55,370 - DEBUG - VM ctest-TestBasicVMVNx-65972893-27314870 ID is a164b0eb-ed5c-4488-9e7b-ab004da579b7
2026-09-22 15:24:55,392 - DEBUG - VM ctest-TestBasicVMVNx-65972893-27314870 launched on Node cn-jenkins-deploy-platform-ansible-os-6319-1
2026-09-22 15:24:55,485 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/a164b0eb-ed5c-4488-9e7b-ab004da579b7
2026-09-22 15:24:55,860 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/a164b0eb-ed5c-4488-9e7b-ab004da579b7
2026-09-22 15:24:55,889 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/151dcb87-eba6-4de5-b868-df45c0bf2824
2026-09-22 15:24:59,186 - 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')
2026-09-22 15:24:59,186 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65972893-27314870 failed!
2026-09-22 15:24:59,250 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-65972893:ctest-vn-13554657 is 89.168.87.193 and allocation pool is NOT set
2026-09-22 15:25:01,316 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.616 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.616/2.407/4.198/1.791 ms')
2026-09-22 15:25:01,316 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65972893-27314870 passed
2026-09-22 15:25:01,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-22 15:25:01,470 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65972893-27314870, IP 89.168.87.195, Port 22
2026-09-22 15:25:01,645 - DEBUG - VM ctest-TestBasicVMVNx-65972893-27314870 is ready for SSH connections
2026-09-22 15:25:01,645 - INFO - Waiting for VM ctest-TestBasicVMVNx-65972893-76208713 to be up..
2026-09-22 15:25:01,763 - DEBUG - VM is in ACTIVE state now
2026-09-22 15:25:01,763 - INFO - VM name : ctest-TestBasicVMVNx-65972893-76208713
2026-09-22 15:25:01,853 - DEBUG - VM ctest-TestBasicVMVNx-65972893-76208713 ID is 7e979767-8b11-4d7f-b158-c0231fe97b52
2026-09-22 15:25:01,853 - DEBUG - VM ctest-TestBasicVMVNx-65972893-76208713 launched on Node cn-jenkins-deploy-platform-ansible-os-6319-1
2026-09-22 15:25:01,945 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/7e979767-8b11-4d7f-b158-c0231fe97b52
2026-09-22 15:25:01,957 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/fb3cf64b-6e77-4f7c-87d6-04dfe88e72ba
2026-09-22 15:25:03,227 - 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=10.4 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.28 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 = 1.284/5.824/10.365/4.540 ms')
2026-09-22 15:25:03,227 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-65972893-76208713 passed
2026-09-22 15:25:03,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-22 15:25:03,383 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65972893-76208713, IP 89.168.87.196, Port 22
2026-09-22 15:25:03,449 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-09-22 15:25:03,546 - DEBUG - VM ctest-TestBasicVMVNx-65972893-76208713 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-22 15:25:08,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-22 15:25:08,547 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65972893-76208713, IP 89.168.87.196, Port 22
2026-09-22 15:25:08,750 - DEBUG - VM ctest-TestBasicVMVNx-65972893-76208713 is ready for SSH connections
2026-09-22 15:25:08,750 - DEBUG - FILE SIZE = 1303B
2026-09-22 15:25:08,750 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-65972893-27314870 to ctest-TestBasicVMVNx-65972893-76208713 using scp
2026-09-22 15:25:08,752 - 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.161, gateway password: c0ntrail123
2026-09-22 15:25:08,753 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-09-22 15:25:10,738 - DEBUG - 1+0 records in
1+0 records out
2026-09-22 15:25:10,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-22 15:25:11,323 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123
2026-09-22 15:25:11,323 - DEBUG - ls -l testfile
2026-09-22 15:25:12,872 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 22 09:25 [0;0mtestfile[0m
2026-09-22 15:25:12,872 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-65972893-76208713
2026-09-22 15:25:12,873 - INFO - Deleting VM ctest-TestBasicVMVNx-65972893-76208713
2026-09-22 15:25:12,950 - INFO - Deleting VM ctest-TestBasicVMVNx-65972893-27314870
2026-09-22 15:25:13,022 - INFO - Deleting VN ctest-vn-13554657
2026-09-22 15:25:13,058 - DEBUG - VN 4c02f795-cc6e-47ae-b8ec-3ccf846e4680 still in use: Unable to complete operation on network 4c02f795-cc6e-47ae-b8ec-3ccf846e4680. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cc446a57-22ad-4c47-9b01-400a29c8fc4b']
2026-09-22 15:25:13,059 - WARNING - Deleting VN ctest-vn-13554657 failed..Will retry
2026-09-22 15:25:15,126 - DEBUG - VN 4c02f795-cc6e-47ae-b8ec-3ccf846e4680 still in use: Unable to complete operation on network 4c02f795-cc6e-47ae-b8ec-3ccf846e4680. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a7b28c12-04f8-44ff-9edd-e8d3d7a92c15']
2026-09-22 15:25:15,126 - WARNING - Deleting VN ctest-vn-13554657 failed..Will retry
2026-09-22 15:25:17,249 - DEBUG - Response for deleting network ()
2026-09-22 15:25:17,520 - DEBUG - No XMPP flaps were noticed during the test
2026-09-22 15:25:17,520 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:05]
2026-09-22 15:25:17,520 - INFO - --------------------------------------------------------------------------------
2026-09-22 15:25:18,315 - INFO - Deleted project: ctest-TestBasicVMVNx-65972893, ID : c6396120-328f-466d-9003-45930e41c21b