2026-09-02 14:29:22,800 - INFO - Domain Default found not creating
2026-09-02 14:29:22,995 - INFO - Project ctest-TestBasicVMVNx-58375010 not found, creating it
2026-09-02 14:29:23,521 - INFO - Created Project:ctest-TestBasicVMVNx-58375010, ID : 88777e16-441c-446f-bf0b-f326fc8bb2c4
2026-09-02 14:29:25,385 - INFO - ================================================================================
2026-09-02 14:29:25,385 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-09-02 14:29:25,385 - 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-02 14:29:25,659 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with
2026-09-02 14:29:25,659 - INFO - Initial checks done. Running the testcase now
2026-09-02 14:29:25,659 - INFO -
2026-09-02 14:29:26,341 - DEBUG - Response for create_network : {'network': {'id': 'da6a447d-1b76-4875-98a6-f56ab6bfb89d', 'name': 'ctest-vn-15264195', 'tenant_id': '88777e16441c446fbf0bf326fc8bb2c4', 'project_id': '88777e16441c446fbf0bf326fc8bb2c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-58375010', 'ctest-vn-15264195'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 14:29:26,572 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4f76b7b-7a4c-4fea-9610-cf8ef5ddea12', 'name': '', 'tenant_id': '88777e16441c446fbf0bf326fc8bb2c4', 'network_id': 'da6a447d-1b76-4875-98a6-f56ab6bfb89d', 'ip_version': 4, 'cidr': '46.72.139.0/26', 'allocation_pools': [{'start': '46.72.139.2', 'end': '46.72.139.62'}], 'gateway_ip': '46.72.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.72.139.2', 'tags': [], 'project_id': '88777e16441c446fbf0bf326fc8bb2c4'}}
2026-09-02 14:29:26,600 - INFO - Created VN ctest-vn-15264195
2026-09-02 14:29:26,653 - DEBUG - VN ctest-vn-15264195 UUID is da6a447d-1b76-4875-98a6-f56ab6bfb89d
2026-09-02 14:29:26,836 - DEBUG - Services list from nova: [, , ]
2026-09-02 14:29:27,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6248-1)
2026-09-02 14:29:27,662 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6248-1)
2026-09-02 14:29:27,662 - INFO - Waiting for VM ctest-TestBasicVMVNx-58375010-92513815 to be up..
2026-09-02 14:29:27,708 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 14:29:32,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 14:29:37,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 14:29:42,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 14:29:48,066 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 14:29:53,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 14:29:58,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 14:30:03,359 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 14:30:08,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 14:30:13,543 - DEBUG - VM is in ACTIVE state now
2026-09-02 14:30:13,543 - INFO - VM name : ctest-TestBasicVMVNx-58375010-92513815
2026-09-02 14:30:13,634 - DEBUG - VM ctest-TestBasicVMVNx-58375010-92513815 ID is 5180ac37-ea71-40a2-bff3-79181a2cda2b
2026-09-02 14:30:13,658 - DEBUG - VM ctest-TestBasicVMVNx-58375010-92513815 launched on Node cn-jenkins-deploy-platform-ansible-os-6248-1
2026-09-02 14:30:13,748 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/5180ac37-ea71-40a2-bff3-79181a2cda2b
2026-09-02 14:30:14,121 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/5180ac37-ea71-40a2-bff3-79181a2cda2b
2026-09-02 14:30:14,155 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/ff8717b3-61ed-422b-a7fb-f58bf7c3b131
2026-09-02 14:30:17,416 - 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=2 ttl=63 time=16.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 16.676/16.676/16.676/0.000 ms')
2026-09-02 14:30:17,416 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58375010-92513815 passed
2026-09-02 14:30:17,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 14:30:17,570 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58375010-92513815, IP 46.72.139.3, Port 22
2026-09-02 14:30:17,636 - 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-09-02 14:30:17,724 - DEBUG - VM ctest-TestBasicVMVNx-58375010-92513815 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-02 14:30:22,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 14:30:22,725 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58375010-92513815, IP 46.72.139.3, Port 22
2026-09-02 14:30:22,895 - DEBUG - VM ctest-TestBasicVMVNx-58375010-92513815 is ready for SSH connections
2026-09-02 14:30:22,895 - INFO - Waiting for VM ctest-TestBasicVMVNx-58375010-06094833 to be up..
2026-09-02 14:30:22,991 - DEBUG - VM is in ACTIVE state now
2026-09-02 14:30:22,991 - INFO - VM name : ctest-TestBasicVMVNx-58375010-06094833
2026-09-02 14:30:23,085 - DEBUG - VM ctest-TestBasicVMVNx-58375010-06094833 ID is 61ad2f06-a58e-48b1-ac3e-b1e61c3c37ac
2026-09-02 14:30:23,085 - DEBUG - VM ctest-TestBasicVMVNx-58375010-06094833 launched on Node cn-jenkins-deploy-platform-ansible-os-6248-1
2026-09-02 14:30:23,183 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/61ad2f06-a58e-48b1-ac3e-b1e61c3c37ac
2026-09-02 14:30:23,194 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/48e06335-5c67-4cb3-97ba-816cef72e413
2026-09-02 14:30:24,448 - 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=5.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.564 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.564/2.787/5.011/2.223 ms')
2026-09-02 14:30:24,448 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-58375010-06094833 passed
2026-09-02 14:30:24,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 14:30:24,606 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58375010-06094833, IP 46.72.139.4, Port 22
2026-09-02 14:30:24,784 - DEBUG - VM ctest-TestBasicVMVNx-58375010-06094833 is ready for SSH connections
2026-09-02 14:30:24,784 - DEBUG - FILE SIZE = 1303B
2026-09-02 14:30:24,784 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-58375010-92513815 to ctest-TestBasicVMVNx-58375010-06094833 using scp
2026-09-02 14:30:24,786 - 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-02 14:30:24,786 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-09-02 14:30:26,810 - DEBUG - 1+0 records in
1+0 records out
2026-09-02 14:30:27,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 14:30:27,475 - 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-02 14:30:27,475 - DEBUG - ls -l testfile
2026-09-02 14:30:29,088 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 2 08:30 [0;0mtestfile[0m
2026-09-02 14:30:29,088 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-58375010-06094833
2026-09-02 14:30:29,088 - INFO - Deleting VM ctest-TestBasicVMVNx-58375010-06094833
2026-09-02 14:30:29,173 - INFO - Deleting VM ctest-TestBasicVMVNx-58375010-92513815
2026-09-02 14:30:29,258 - INFO - Deleting VN ctest-vn-15264195
2026-09-02 14:30:29,299 - DEBUG - VN da6a447d-1b76-4875-98a6-f56ab6bfb89d still in use: Unable to complete operation on network da6a447d-1b76-4875-98a6-f56ab6bfb89d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e7a1447e-501c-4d60-ae80-30974d6213fb']
2026-09-02 14:30:29,300 - WARNING - Deleting VN ctest-vn-15264195 failed..Will retry
2026-09-02 14:30:31,360 - DEBUG - VN da6a447d-1b76-4875-98a6-f56ab6bfb89d still in use: Unable to complete operation on network da6a447d-1b76-4875-98a6-f56ab6bfb89d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7aea1558-06c6-4bad-83bf-9f84fadf400c']
2026-09-02 14:30:31,360 - WARNING - Deleting VN ctest-vn-15264195 failed..Will retry
2026-09-02 14:30:33,517 - DEBUG - Response for deleting network ()
2026-09-02 14:30:33,797 - DEBUG - No XMPP flaps were noticed during the test
2026-09-02 14:30:33,797 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:08]
2026-09-02 14:30:33,797 - INFO - --------------------------------------------------------------------------------
2026-09-02 14:30:34,753 - INFO - Deleted project: ctest-TestBasicVMVNx-58375010, ID : 88777e16-441c-446f-bf0b-f326fc8bb2c4