2026-11-02 22:14:25,082 - INFO - Domain Default found not creating
2026-11-02 22:14:25,253 - INFO - Project ctest-TestBasicVMVNx-56571173 not found, creating it
2026-11-02 22:14:25,724 - INFO - Created Project:ctest-TestBasicVMVNx-56571173, ID : 0842e09b-99b1-49e6-816f-a72b5a9f46a8
2026-11-02 22:14:27,503 - INFO - ================================================================================
2026-11-02 22:14:27,503 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-11-02 22:14:27,503 - 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-11-02 22:14:27,770 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-11-02 22:14:27,770 - INFO - Initial checks done. Running the testcase now
2026-11-02 22:14:27,770 - INFO -
2026-11-02 22:14:28,374 - DEBUG - Response for create_network : {'network': {'id': '026968e6-bcc5-4d28-b4b2-5685bb0d40dd', 'name': 'ctest-vn-08873646', 'tenant_id': '0842e09b99b149e6816fa72b5a9f46a8', 'project_id': '0842e09b99b149e6816fa72b5a9f46a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56571173', 'ctest-vn-08873646'], 'port_security_enabled': True, 'description': ''}}
2026-11-02 22:14:28,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '93c19628-1d11-40e9-b662-31d4bb90ec22', 'name': '', 'tenant_id': '0842e09b99b149e6816fa72b5a9f46a8', 'network_id': '026968e6-bcc5-4d28-b4b2-5685bb0d40dd', 'ip_version': 4, 'cidr': '42.5.195.128/26', 'allocation_pools': [{'start': '42.5.195.130', 'end': '42.5.195.190'}], 'gateway_ip': '42.5.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.5.195.130', 'tags': [], 'project_id': '0842e09b99b149e6816fa72b5a9f46a8'}}
2026-11-02 22:14:28,588 - INFO - Created VN ctest-vn-08873646
2026-11-02 22:14:28,641 - DEBUG - VN ctest-vn-08873646 UUID is 026968e6-bcc5-4d28-b4b2-5685bb0d40dd
2026-11-02 22:14:28,850 - DEBUG - Services list from nova: [, , ]
2026-11-02 22:14:29,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6472-1)
2026-11-02 22:14:29,563 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6472-1)
2026-11-02 22:14:29,564 - INFO - Waiting for VM ctest-TestBasicVMVNx-56571173-43504760 to be up..
2026-11-02 22:14:29,601 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 22:14:34,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 22:14:39,838 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 22:14:44,999 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 22:14:50,122 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 22:14:55,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 22:15:00,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 22:15:05,445 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 22:15:10,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 22:15:15,665 - DEBUG - VM is in ACTIVE state now
2026-11-02 22:15:15,665 - INFO - VM name : ctest-TestBasicVMVNx-56571173-43504760
2026-11-02 22:15:15,755 - DEBUG - VM ctest-TestBasicVMVNx-56571173-43504760 ID is 21ad312d-5daa-4e88-9bcb-0d4c4153fe8b
2026-11-02 22:15:15,780 - DEBUG - VM ctest-TestBasicVMVNx-56571173-43504760 launched on Node cn-jenkins-deploy-platform-ansible-os-6472-1
2026-11-02 22:15:15,866 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/21ad312d-5daa-4e88-9bcb-0d4c4153fe8b
2026-11-02 22:15:16,270 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/21ad312d-5daa-4e88-9bcb-0d4c4153fe8b
2026-11-02 22:15:16,309 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/224c3226-c972-415a-84a7-6aa147772521
2026-11-02 22:15:19,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 1009ms')
2026-11-02 22:15:19,618 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56571173-43504760 failed!
2026-11-02 22:15:19,677 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56571173:ctest-vn-08873646 is 42.5.195.129 and allocation pool is NOT set
2026-11-02 22:15:23,750 - 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=4.80 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.796/4.796/4.796/0.000 ms')
2026-11-02 22:15:23,750 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56571173-43504760 passed
2026-11-02 22:15:23,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 22:15:23,905 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56571173-43504760, IP 42.5.195.131, Port 22
2026-11-02 22:15:23,972 - 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-11-02 22:15:24,098 - DEBUG - VM ctest-TestBasicVMVNx-56571173-43504760 is NOT ready for SSH connections, VM status: ACTIVE
2026-11-02 22:15:29,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 22:15:29,099 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56571173-43504760, IP 42.5.195.131, Port 22
2026-11-02 22:15:29,279 - DEBUG - VM ctest-TestBasicVMVNx-56571173-43504760 is ready for SSH connections
2026-11-02 22:15:29,279 - INFO - Waiting for VM ctest-TestBasicVMVNx-56571173-67786674 to be up..
2026-11-02 22:15:29,383 - DEBUG - VM is in ACTIVE state now
2026-11-02 22:15:29,384 - INFO - VM name : ctest-TestBasicVMVNx-56571173-67786674
2026-11-02 22:15:29,490 - DEBUG - VM ctest-TestBasicVMVNx-56571173-67786674 ID is 68cf4118-4044-49b8-bb2c-4a020fd02458
2026-11-02 22:15:29,491 - DEBUG - VM ctest-TestBasicVMVNx-56571173-67786674 launched on Node cn-jenkins-deploy-platform-ansible-os-6472-1
2026-11-02 22:15:29,611 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/68cf4118-4044-49b8-bb2c-4a020fd02458
2026-11-02 22:15:29,623 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4fb37503-f97a-40b9-ab11-c27fb617807a
2026-11-02 22:15:30,895 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.565 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.565/3.198/5.832/2.633 ms')
2026-11-02 22:15:30,895 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56571173-67786674 passed
2026-11-02 22:15:31,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 22:15:31,050 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56571173-67786674, IP 42.5.195.132, Port 22
2026-11-02 22:15:31,219 - DEBUG - VM ctest-TestBasicVMVNx-56571173-67786674 is ready for SSH connections
2026-11-02 22:15:31,219 - DEBUG - FILE SIZE = 1303B
2026-11-02 22:15:31,219 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56571173-43504760 to ctest-TestBasicVMVNx-56571173-67786674 using scp
2026-11-02 22:15:31,223 - 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-11-02 22:15:31,224 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-11-02 22:15:33,545 - DEBUG - 1+0 records in
1+0 records out
2026-11-02 22:15:33,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 22:15:34,198 - 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-11-02 22:15:34,199 - DEBUG - ls -l testfile
2026-11-02 22:15:35,899 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 2 15:15 [0;0mtestfile[0m
2026-11-02 22:15:35,899 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56571173-67786674
2026-11-02 22:15:35,899 - INFO - Deleting VM ctest-TestBasicVMVNx-56571173-67786674
2026-11-02 22:15:35,999 - INFO - Deleting VM ctest-TestBasicVMVNx-56571173-43504760
2026-11-02 22:15:36,110 - INFO - Deleting VN ctest-vn-08873646
2026-11-02 22:15:36,159 - DEBUG - VN 026968e6-bcc5-4d28-b4b2-5685bb0d40dd still in use: Unable to complete operation on network 026968e6-bcc5-4d28-b4b2-5685bb0d40dd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d6bfa260-8723-4f1e-8e6f-30dd6f19da5c']
2026-11-02 22:15:36,160 - WARNING - Deleting VN ctest-vn-08873646 failed..Will retry
2026-11-02 22:15:38,212 - DEBUG - VN 026968e6-bcc5-4d28-b4b2-5685bb0d40dd still in use: Unable to complete operation on network 026968e6-bcc5-4d28-b4b2-5685bb0d40dd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7afc5ee0-c6b4-468e-b250-874866d6e272']
2026-11-02 22:15:38,212 - WARNING - Deleting VN ctest-vn-08873646 failed..Will retry
2026-11-02 22:15:40,367 - DEBUG - Response for deleting network ()
2026-11-02 22:15:40,656 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 22:15:40,657 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:13]
2026-11-02 22:15:40,657 - INFO - --------------------------------------------------------------------------------
2026-11-02 22:15:41,585 - INFO - Deleted project: ctest-TestBasicVMVNx-56571173, ID : 0842e09b-99b1-49e6-816f-a72b5a9f46a8