2026-08-22 08:47:40,828 - INFO - Domain Default found not creating
2026-08-22 08:47:41,029 - INFO - Project ctest-TestBasicVMVNx-75562806 not found, creating it
2026-08-22 08:47:41,566 - INFO - Created Project:ctest-TestBasicVMVNx-75562806, ID : eb742e27-f24d-4198-8826-345b1f623d43
2026-08-22 08:47:43,372 - INFO - ================================================================================
2026-08-22 08:47:43,372 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-08-22 08:47:43,372 - 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-22 08:47:43,653 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-08-22 08:47:43,653 - INFO - Initial checks done. Running the testcase now
2026-08-22 08:47:43,653 - INFO -
2026-08-22 08:47:44,340 - DEBUG - Response for create_network : {'network': {'id': '008f66e2-a5a3-4ca3-a7db-2a1748cbd662', 'name': 'ctest-vn-65965370', 'tenant_id': 'eb742e27f24d41988826345b1f623d43', 'project_id': 'eb742e27f24d41988826345b1f623d43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-75562806', 'ctest-vn-65965370'], 'port_security_enabled': True, 'description': ''}}
2026-08-22 08:47:44,512 - DEBUG - Response for create_subnet : {'subnet': {'id': '77ff7585-cc50-464a-a1b4-c80d53ca1240', 'name': '', 'tenant_id': 'eb742e27f24d41988826345b1f623d43', 'network_id': '008f66e2-a5a3-4ca3-a7db-2a1748cbd662', 'ip_version': 4, 'cidr': '87.63.58.128/26', 'allocation_pools': [{'start': '87.63.58.130', 'end': '87.63.58.190'}], 'gateway_ip': '87.63.58.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.63.58.130', 'tags': [], 'project_id': 'eb742e27f24d41988826345b1f623d43'}}
2026-08-22 08:47:44,530 - INFO - Created VN ctest-vn-65965370
2026-08-22 08:47:44,584 - DEBUG - VN ctest-vn-65965370 UUID is 008f66e2-a5a3-4ca3-a7db-2a1748cbd662
2026-08-22 08:47:44,782 - DEBUG - Services list from nova: [, , ]
2026-08-22 08:47:45,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6206-1)
2026-08-22 08:47:45,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6206-1)
2026-08-22 08:47:45,664 - INFO - Waiting for VM ctest-TestBasicVMVNx-75562806-29463995 to be up..
2026-08-22 08:47:45,723 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-22 08:47:50,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-22 08:47:55,912 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-22 08:48:01,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-22 08:48:06,110 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-22 08:48:11,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-22 08:48:16,291 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-22 08:48:21,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-22 08:48:26,498 - DEBUG - VM is in ACTIVE state now
2026-08-22 08:48:26,498 - INFO - VM name : ctest-TestBasicVMVNx-75562806-29463995
2026-08-22 08:48:26,599 - DEBUG - VM ctest-TestBasicVMVNx-75562806-29463995 ID is cb6df461-b360-4c60-868b-7cd8b43506da
2026-08-22 08:48:26,626 - DEBUG - VM ctest-TestBasicVMVNx-75562806-29463995 launched on Node cn-jenkins-deploy-platform-ansible-os-6206-1
2026-08-22 08:48:26,745 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cb6df461-b360-4c60-868b-7cd8b43506da
2026-08-22 08:48:27,152 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cb6df461-b360-4c60-868b-7cd8b43506da
2026-08-22 08:48:27,185 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fe4f92a4-70ed-4722-9366-9f03d26ec2e3
2026-08-22 08:48:30,453 - 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-22 08:48:30,454 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-75562806-29463995 failed!
2026-08-22 08:48:30,512 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-75562806:ctest-vn-65965370 is 87.63.58.129 and allocation pool is NOT set
2026-08-22 08:48:32,588 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.92 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.923/4.144/4.366/0.221 ms')
2026-08-22 08:48:32,588 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-75562806-29463995 passed
2026-08-22 08:48:32,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-22 08:48:32,748 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-75562806-29463995, IP 87.63.58.131, Port 22
2026-08-22 08:48:32,814 - 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-22 08:48:32,904 - DEBUG - VM ctest-TestBasicVMVNx-75562806-29463995 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-22 08:48:37,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-22 08:48:37,905 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-75562806-29463995, IP 87.63.58.131, Port 22
2026-08-22 08:48:38,086 - DEBUG - VM ctest-TestBasicVMVNx-75562806-29463995 is ready for SSH connections
2026-08-22 08:48:38,087 - INFO - Waiting for VM ctest-TestBasicVMVNx-75562806-71820069 to be up..
2026-08-22 08:48:38,174 - DEBUG - VM is in ACTIVE state now
2026-08-22 08:48:38,175 - INFO - VM name : ctest-TestBasicVMVNx-75562806-71820069
2026-08-22 08:48:38,257 - DEBUG - VM ctest-TestBasicVMVNx-75562806-71820069 ID is 797eaade-f0a2-4d51-8b88-9b115f81ce2c
2026-08-22 08:48:38,257 - DEBUG - VM ctest-TestBasicVMVNx-75562806-71820069 launched on Node cn-jenkins-deploy-platform-ansible-os-6206-1
2026-08-22 08:48:38,341 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/797eaade-f0a2-4d51-8b88-9b115f81ce2c
2026-08-22 08:48:38,353 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7cd5ada8-3508-49dc-a974-0b90dfe1b4f8
2026-08-22 08:48:39,602 - 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=4.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.529 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.529/2.331/4.133/1.802 ms')
2026-08-22 08:48:39,602 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-75562806-71820069 passed
2026-08-22 08:48:39,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-22 08:48:39,761 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-75562806-71820069, IP 87.63.58.132, Port 22
2026-08-22 08:48:39,931 - DEBUG - VM ctest-TestBasicVMVNx-75562806-71820069 is ready for SSH connections
2026-08-22 08:48:39,931 - DEBUG - FILE SIZE = 1303B
2026-08-22 08:48:39,931 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-75562806-29463995 to ctest-TestBasicVMVNx-75562806-71820069 using scp
2026-08-22 08:48:39,934 - 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-08-22 08:48:39,934 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-08-22 08:48:41,939 - DEBUG - 1+0 records in
1+0 records out
2026-08-22 08:48:42,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-22 08:48:42,598 - 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-08-22 08:48:42,599 - DEBUG - ls -l testfile
2026-08-22 08:48:44,232 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 22 02:48 [0;0mtestfile[0m
2026-08-22 08:48:44,232 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-75562806-71820069
2026-08-22 08:48:44,233 - INFO - Deleting VM ctest-TestBasicVMVNx-75562806-71820069
2026-08-22 08:48:44,314 - INFO - Deleting VM ctest-TestBasicVMVNx-75562806-29463995
2026-08-22 08:48:44,395 - INFO - Deleting VN ctest-vn-65965370
2026-08-22 08:48:44,437 - DEBUG - VN 008f66e2-a5a3-4ca3-a7db-2a1748cbd662 still in use: Unable to complete operation on network 008f66e2-a5a3-4ca3-a7db-2a1748cbd662. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-32b95890-78b2-4c66-a609-71162f7cf521']
2026-08-22 08:48:44,437 - WARNING - Deleting VN ctest-vn-65965370 failed..Will retry
2026-08-22 08:48:46,497 - DEBUG - VN 008f66e2-a5a3-4ca3-a7db-2a1748cbd662 still in use: Unable to complete operation on network 008f66e2-a5a3-4ca3-a7db-2a1748cbd662. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d7c87c15-0602-4142-aa5f-1e2e8461fada']
2026-08-22 08:48:46,497 - WARNING - Deleting VN ctest-vn-65965370 failed..Will retry
2026-08-22 08:48:48,619 - DEBUG - Response for deleting network ()
2026-08-22 08:48:48,891 - DEBUG - No XMPP flaps were noticed during the test
2026-08-22 08:48:48,892 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:05]
2026-08-22 08:48:48,892 - INFO - --------------------------------------------------------------------------------
2026-08-22 08:48:49,707 - INFO - Deleted project: ctest-TestBasicVMVNx-75562806, ID : eb742e27-f24d-4198-8826-345b1f623d43