2026-06-18 15:07:04,704 - INFO - Domain Default found not creating
2026-06-18 15:07:04,860 - INFO - Project ctest-TestBasicVMVNx-96889164 not found, creating it
2026-06-18 15:07:05,328 - INFO - Created Project:ctest-TestBasicVMVNx-96889164, ID : 85bbc544-dad6-49e3-abdc-be65bd0349fb
2026-06-18 15:07:06,910 - INFO - ================================================================================
2026-06-18 15:07:06,910 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-06-18 15:07:06,910 - 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-06-18 15:07:07,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-06-18 15:07:07,169 - INFO - Initial checks done. Running the testcase now
2026-06-18 15:07:07,169 - INFO -
2026-06-18 15:07:07,806 - DEBUG - Response for create_network : {'network': {'id': '5126a4f3-2f3c-4551-92e5-74500057e0ae', 'name': 'ctest-vn-65941336', 'tenant_id': '85bbc544dad649e3abdcbe65bd0349fb', 'project_id': '85bbc544dad649e3abdcbe65bd0349fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-96889164', 'ctest-vn-65941336'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 15:07:07,977 - DEBUG - Response for create_subnet : {'subnet': {'id': '21aa1c6a-8bd9-4395-b2b1-e87c7de4f0e0', 'name': '', 'tenant_id': '85bbc544dad649e3abdcbe65bd0349fb', 'network_id': '5126a4f3-2f3c-4551-92e5-74500057e0ae', 'ip_version': 4, 'cidr': '118.125.180.64/26', 'allocation_pools': [{'start': '118.125.180.66', 'end': '118.125.180.126'}], 'gateway_ip': '118.125.180.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.125.180.66', 'tags': [], 'project_id': '85bbc544dad649e3abdcbe65bd0349fb'}}
2026-06-18 15:07:07,991 - INFO - Created VN ctest-vn-65941336
2026-06-18 15:07:08,044 - DEBUG - VN ctest-vn-65941336 UUID is 5126a4f3-2f3c-4551-92e5-74500057e0ae
2026-06-18 15:07:08,229 - DEBUG - Services list from nova: [, , ]
2026-06-18 15:07:09,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5987-1)
2026-06-18 15:07:10,536 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5987-1)
2026-06-18 15:07:10,536 - INFO - Waiting for VM ctest-TestBasicVMVNx-96889164-40302959 to be up..
2026-06-18 15:07:10,580 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-18 15:07:15,660 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-18 15:07:20,747 - DEBUG - VM is in ACTIVE state now
2026-06-18 15:07:20,748 - INFO - VM name : ctest-TestBasicVMVNx-96889164-40302959
2026-06-18 15:07:20,830 - DEBUG - VM ctest-TestBasicVMVNx-96889164-40302959 ID is 011e919a-7dea-49ce-a525-5aeca7ab4a8d
2026-06-18 15:07:20,847 - DEBUG - VM ctest-TestBasicVMVNx-96889164-40302959 launched on Node cn-jenkins-deploy-platform-ansible-os-5987-1
2026-06-18 15:07:20,913 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/011e919a-7dea-49ce-a525-5aeca7ab4a8d
2026-06-18 15:07:21,279 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/011e919a-7dea-49ce-a525-5aeca7ab4a8d
2026-06-18 15:07:21,313 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e07a8cc1-7597-4b83-99eb-a2cd110809ba
2026-06-18 15:07:24,556 - 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 1003ms')
2026-06-18 15:07:24,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96889164-40302959 failed!
2026-06-18 15:07:24,608 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-96889164:ctest-vn-65941336 is 118.125.180.65 and allocation pool is NOT set
2026-06-18 15:07:26,673 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.11 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.109/4.050/4.991/0.941 ms')
2026-06-18 15:07:26,673 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96889164-40302959 passed
2026-06-18 15:07:26,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-18 15:07:26,820 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96889164-40302959, IP 118.125.180.67, Port 22
2026-06-18 15:07:26,890 - 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-06-18 15:07:26,965 - DEBUG - VM ctest-TestBasicVMVNx-96889164-40302959 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-18 15:07:31,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-18 15:07:31,966 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96889164-40302959, IP 118.125.180.67, Port 22
2026-06-18 15:07:32,123 - DEBUG - VM ctest-TestBasicVMVNx-96889164-40302959 is ready for SSH connections
2026-06-18 15:07:32,123 - INFO - Waiting for VM ctest-TestBasicVMVNx-96889164-80204337 to be up..
2026-06-18 15:07:32,190 - DEBUG - VM is in ACTIVE state now
2026-06-18 15:07:32,190 - INFO - VM name : ctest-TestBasicVMVNx-96889164-80204337
2026-06-18 15:07:32,259 - DEBUG - VM ctest-TestBasicVMVNx-96889164-80204337 ID is a4373e41-f635-42fb-8caf-8a247d00e1c0
2026-06-18 15:07:32,259 - DEBUG - VM ctest-TestBasicVMVNx-96889164-80204337 launched on Node cn-jenkins-deploy-platform-ansible-os-5987-1
2026-06-18 15:07:32,335 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a4373e41-f635-42fb-8caf-8a247d00e1c0
2026-06-18 15:07:32,342 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d7382249-df73-4b9e-b94c-ac6b7b5834c2
2026-06-18 15:07:33,585 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.342 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.342/1.797/3.252/1.455 ms')
2026-06-18 15:07:33,585 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-96889164-80204337 passed
2026-06-18 15:07:33,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-18 15:07:33,736 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96889164-80204337, IP 118.125.180.68, Port 22
2026-06-18 15:07:33,891 - DEBUG - VM ctest-TestBasicVMVNx-96889164-80204337 is ready for SSH connections
2026-06-18 15:07:33,891 - DEBUG - FILE SIZE = 1303B
2026-06-18 15:07:33,892 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-96889164-40302959 to ctest-TestBasicVMVNx-96889164-80204337 using scp
2026-06-18 15:07:33,893 - 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-06-18 15:07:33,893 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-06-18 15:07:35,818 - DEBUG - 1+0 records in
1+0 records out
2026-06-18 15:07:36,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-18 15:07:36,380 - 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-06-18 15:07:36,381 - DEBUG - ls -l testfile
2026-06-18 15:07:37,939 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 18 09:07 [0;0mtestfile[0m
2026-06-18 15:07:37,939 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-96889164-80204337
2026-06-18 15:07:37,940 - INFO - Deleting VM ctest-TestBasicVMVNx-96889164-80204337
2026-06-18 15:07:38,004 - INFO - Deleting VM ctest-TestBasicVMVNx-96889164-40302959
2026-06-18 15:07:38,062 - INFO - Deleting VN ctest-vn-65941336
2026-06-18 15:07:38,093 - DEBUG - VN 5126a4f3-2f3c-4551-92e5-74500057e0ae still in use: Unable to complete operation on network 5126a4f3-2f3c-4551-92e5-74500057e0ae. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dd006307-9176-4b65-ba12-ef3778cb250a']
2026-06-18 15:07:38,093 - WARNING - Deleting VN ctest-vn-65941336 failed..Will retry
2026-06-18 15:07:40,129 - DEBUG - VN 5126a4f3-2f3c-4551-92e5-74500057e0ae still in use: Unable to complete operation on network 5126a4f3-2f3c-4551-92e5-74500057e0ae. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-31cde2d6-731e-44e5-8672-4749b6c06649']
2026-06-18 15:07:40,129 - WARNING - Deleting VN ctest-vn-65941336 failed..Will retry
2026-06-18 15:07:42,221 - DEBUG - Response for deleting network ()
2026-06-18 15:07:42,477 - DEBUG - No XMPP flaps were noticed during the test
2026-06-18 15:07:42,477 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:36]
2026-06-18 15:07:42,477 - INFO - --------------------------------------------------------------------------------
2026-06-18 15:07:43,197 - INFO - Deleted project: ctest-TestBasicVMVNx-96889164, ID : 85bbc544-dad6-49e3-abdc-be65bd0349fb