2026-08-25 08:25:20,422 - INFO - Domain Default found not creating
2026-08-25 08:25:20,607 - INFO - Project ctest-TestBasicVMVNx-12356748 not found, creating it
2026-08-25 08:25:21,112 - INFO - Created Project:ctest-TestBasicVMVNx-12356748, ID : 426aef5e-b7ed-4518-8833-4802dbc03eb8
2026-08-25 08:25:22,773 - INFO - ================================================================================
2026-08-25 08:25:22,773 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-08-25 08:25:22,773 - 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-08-25 08:25:23,041 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.254': '0'}} with
2026-08-25 08:25:23,041 - INFO - Initial checks done. Running the testcase now
2026-08-25 08:25:23,041 - INFO -
2026-08-25 08:25:23,657 - DEBUG - Response for create_network : {'network': {'id': 'ba9313d3-5eb1-42d5-b4aa-7b79ad9ccb83', 'name': 'ctest-vn-76571276', 'tenant_id': '426aef5eb7ed451888334802dbc03eb8', 'project_id': '426aef5eb7ed451888334802dbc03eb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-12356748', 'ctest-vn-76571276'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 08:25:23,893 - DEBUG - Response for create_subnet : {'subnet': {'id': '12fd448f-8568-40fe-a026-feb57e4de314', 'name': '', 'tenant_id': '426aef5eb7ed451888334802dbc03eb8', 'network_id': 'ba9313d3-5eb1-42d5-b4aa-7b79ad9ccb83', 'ip_version': 4, 'cidr': '130.114.13.192/26', 'allocation_pools': [{'start': '130.114.13.194', 'end': '130.114.13.254'}], 'gateway_ip': '130.114.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.114.13.194', 'tags': [], 'project_id': '426aef5eb7ed451888334802dbc03eb8'}}
2026-08-25 08:25:23,912 - INFO - Created VN ctest-vn-76571276
2026-08-25 08:25:23,967 - DEBUG - VN ctest-vn-76571276 UUID is ba9313d3-5eb1-42d5-b4aa-7b79ad9ccb83
2026-08-25 08:25:24,146 - DEBUG - Services list from nova: [, , ]
2026-08-25 08:25:24,635 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6218-1)
2026-08-25 08:25:25,071 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6218-1)
2026-08-25 08:25:25,071 - INFO - Waiting for VM ctest-TestBasicVMVNx-12356748-98374273 to be up..
2026-08-25 08:25:25,112 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 08:25:30,210 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 08:25:35,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 08:25:40,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 08:25:45,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 08:25:50,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 08:25:55,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 08:26:00,755 - DEBUG - VM is in ACTIVE state now
2026-08-25 08:26:00,755 - INFO - VM name : ctest-TestBasicVMVNx-12356748-98374273
2026-08-25 08:26:00,849 - DEBUG - VM ctest-TestBasicVMVNx-12356748-98374273 ID is 7bf9d954-a816-4966-a0f9-115dd358a580
2026-08-25 08:26:00,871 - DEBUG - VM ctest-TestBasicVMVNx-12356748-98374273 launched on Node cn-jenkins-deploy-platform-ansible-os-6218-1
2026-08-25 08:26:00,962 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/7bf9d954-a816-4966-a0f9-115dd358a580
2026-08-25 08:26:01,316 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/7bf9d954-a816-4966-a0f9-115dd358a580
2026-08-25 08:26:01,346 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/1ff8df89-d8e2-4106-a9b6-b8abfe610262
2026-08-25 08:26:04,618 - 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 1008ms')
2026-08-25 08:26:04,619 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-12356748-98374273 failed!
2026-08-25 08:26:04,675 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-12356748:ctest-vn-76571276 is 130.114.13.193 and allocation pool is NOT set
2026-08-25 08:26:06,739 - 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=12.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.42 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 = 3.416/8.074/12.733/4.658 ms')
2026-08-25 08:26:06,739 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-12356748-98374273 passed
2026-08-25 08:26:06,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 08:26:06,895 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12356748-98374273, IP 130.114.13.195, Port 22
2026-08-25 08:26:06,965 - 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-08-25 08:26:07,071 - DEBUG - VM ctest-TestBasicVMVNx-12356748-98374273 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-25 08:26:12,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 08:26:12,072 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12356748-98374273, IP 130.114.13.195, Port 22
2026-08-25 08:26:12,227 - DEBUG - VM ctest-TestBasicVMVNx-12356748-98374273 is ready for SSH connections
2026-08-25 08:26:12,227 - INFO - Waiting for VM ctest-TestBasicVMVNx-12356748-66207476 to be up..
2026-08-25 08:26:12,313 - DEBUG - VM is in ACTIVE state now
2026-08-25 08:26:12,313 - INFO - VM name : ctest-TestBasicVMVNx-12356748-66207476
2026-08-25 08:26:12,395 - DEBUG - VM ctest-TestBasicVMVNx-12356748-66207476 ID is 0947b756-1175-486d-b6e0-8b86477ebede
2026-08-25 08:26:12,395 - DEBUG - VM ctest-TestBasicVMVNx-12356748-66207476 launched on Node cn-jenkins-deploy-platform-ansible-os-6218-1
2026-08-25 08:26:12,473 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/0947b756-1175-486d-b6e0-8b86477ebede
2026-08-25 08:26:12,484 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/9493bf56-ce47-46ea-87c4-bbdb7e272cef
2026-08-25 08:26:13,730 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.525 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.525/1.971/3.417/1.446 ms')
2026-08-25 08:26:13,730 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-12356748-66207476 passed
2026-08-25 08:26:13,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 08:26:13,879 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12356748-66207476, IP 130.114.13.196, Port 22
2026-08-25 08:26:14,035 - DEBUG - VM ctest-TestBasicVMVNx-12356748-66207476 is ready for SSH connections
2026-08-25 08:26:14,035 - DEBUG - FILE SIZE = 1303B
2026-08-25 08:26:14,035 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-12356748-98374273 to ctest-TestBasicVMVNx-12356748-66207476 using scp
2026-08-25 08:26:14,037 - 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.248, gateway password: c0ntrail123
2026-08-25 08:26:14,037 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-08-25 08:26:15,977 - DEBUG - 1+0 records in
1+0 records out
2026-08-25 08:26:16,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 08:26:16,536 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123
2026-08-25 08:26:16,536 - DEBUG - ls -l testfile
2026-08-25 08:26:18,034 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 25 02:26 [0;0mtestfile[0m
2026-08-25 08:26:18,034 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-12356748-66207476
2026-08-25 08:26:18,034 - INFO - Deleting VM ctest-TestBasicVMVNx-12356748-66207476
2026-08-25 08:26:18,110 - INFO - Deleting VM ctest-TestBasicVMVNx-12356748-98374273
2026-08-25 08:26:18,184 - INFO - Deleting VN ctest-vn-76571276
2026-08-25 08:26:18,223 - DEBUG - VN ba9313d3-5eb1-42d5-b4aa-7b79ad9ccb83 still in use: Unable to complete operation on network ba9313d3-5eb1-42d5-b4aa-7b79ad9ccb83. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cfa65ac9-e4a4-418d-a57c-fd214b1527d0']
2026-08-25 08:26:18,223 - WARNING - Deleting VN ctest-vn-76571276 failed..Will retry
2026-08-25 08:26:20,283 - DEBUG - VN ba9313d3-5eb1-42d5-b4aa-7b79ad9ccb83 still in use: Unable to complete operation on network ba9313d3-5eb1-42d5-b4aa-7b79ad9ccb83. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d5aec4d0-db86-455e-ad24-ea81cb73168d']
2026-08-25 08:26:20,284 - WARNING - Deleting VN ctest-vn-76571276 failed..Will retry
2026-08-25 08:26:22,402 - DEBUG - Response for deleting network ()
2026-08-25 08:26:22,674 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 08:26:22,674 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:00]
2026-08-25 08:26:22,674 - INFO - --------------------------------------------------------------------------------
2026-08-25 08:26:23,401 - INFO - Deleted project: ctest-TestBasicVMVNx-12356748, ID : 426aef5e-b7ed-4518-8833-4802dbc03eb8