2026-07-18 14:42:47,869 - INFO - Domain Default found not creating
2026-07-18 14:42:48,072 - INFO - Project ctest-TestBasicVMVNx-10810841 not found, creating it
2026-07-18 14:42:48,661 - INFO - Created Project:ctest-TestBasicVMVNx-10810841, ID : 2c601f94-71cf-44dc-9059-bf5820916010
2026-07-18 14:42:50,477 - INFO - ================================================================================
2026-07-18 14:42:50,477 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-07-18 14:42:50,477 - 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-07-18 14:42:50,748 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-07-18 14:42:50,748 - INFO - Initial checks done. Running the testcase now
2026-07-18 14:42:50,748 - INFO -
2026-07-18 14:42:51,411 - DEBUG - Response for create_network : {'network': {'id': 'e85bee29-d2e3-4400-bacb-e38fff9fe1cb', 'name': 'ctest-vn-98209974', 'tenant_id': '2c601f9471cf44dc9059bf5820916010', 'project_id': '2c601f9471cf44dc9059bf5820916010', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-10810841', 'ctest-vn-98209974'], 'port_security_enabled': True, 'description': ''}}
2026-07-18 14:42:51,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f197ac2-14b6-4f68-9761-534049b2140a', 'name': '', 'tenant_id': '2c601f9471cf44dc9059bf5820916010', 'network_id': 'e85bee29-d2e3-4400-bacb-e38fff9fe1cb', 'ip_version': 4, 'cidr': '18.138.215.128/26', 'allocation_pools': [{'start': '18.138.215.130', 'end': '18.138.215.190'}], 'gateway_ip': '18.138.215.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.138.215.130', 'tags': [], 'project_id': '2c601f9471cf44dc9059bf5820916010'}}
2026-07-18 14:42:51,628 - INFO - Created VN ctest-vn-98209974
2026-07-18 14:42:51,682 - DEBUG - VN ctest-vn-98209974 UUID is e85bee29-d2e3-4400-bacb-e38fff9fe1cb
2026-07-18 14:42:51,865 - DEBUG - Services list from nova: [, , ]
2026-07-18 14:42:52,370 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6104-1)
2026-07-18 14:42:52,822 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6104-1)
2026-07-18 14:42:52,822 - INFO - Waiting for VM ctest-TestBasicVMVNx-10810841-33145353 to be up..
2026-07-18 14:42:52,865 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:42:57,958 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:43:03,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:43:08,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:43:13,222 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:43:18,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:43:23,397 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:43:28,477 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:43:33,577 - DEBUG - VM is in ACTIVE state now
2026-07-18 14:43:33,577 - INFO - VM name : ctest-TestBasicVMVNx-10810841-33145353
2026-07-18 14:43:33,679 - DEBUG - VM ctest-TestBasicVMVNx-10810841-33145353 ID is 86352e64-d52e-4d1e-87b1-d0962ea1a63f
2026-07-18 14:43:33,714 - DEBUG - VM ctest-TestBasicVMVNx-10810841-33145353 launched on Node cn-jenkins-deploy-platform-ansible-os-6104-1
2026-07-18 14:43:33,827 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/86352e64-d52e-4d1e-87b1-d0962ea1a63f
2026-07-18 14:43:34,234 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/86352e64-d52e-4d1e-87b1-d0962ea1a63f
2026-07-18 14:43:34,283 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/380c0d02-0711-49e3-a8ed-ea0ec1a20d14
2026-07-18 14:43:37,561 - 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 1017ms')
2026-07-18 14:43:37,561 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-10810841-33145353 failed!
2026-07-18 14:43:37,622 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-10810841:ctest-vn-98209974 is 18.138.215.129 and allocation pool is NOT set
2026-07-18 14:43:39,696 - 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=6.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.51 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 = 2.511/4.369/6.228/1.858 ms')
2026-07-18 14:43:39,696 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-10810841-33145353 passed
2026-07-18 14:43:39,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 14:43:39,854 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10810841-33145353, IP 18.138.215.131, Port 22
2026-07-18 14:43:39,922 - 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-07-18 14:43:40,003 - DEBUG - VM ctest-TestBasicVMVNx-10810841-33145353 is NOT ready for SSH connections, VM status: ACTIVE
2026-07-18 14:43:45,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 14:43:45,004 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10810841-33145353, IP 18.138.215.131, Port 22
2026-07-18 14:43:45,176 - DEBUG - VM ctest-TestBasicVMVNx-10810841-33145353 is ready for SSH connections
2026-07-18 14:43:45,176 - INFO - Waiting for VM ctest-TestBasicVMVNx-10810841-24981056 to be up..
2026-07-18 14:43:45,265 - DEBUG - VM is in ACTIVE state now
2026-07-18 14:43:45,266 - INFO - VM name : ctest-TestBasicVMVNx-10810841-24981056
2026-07-18 14:43:45,345 - DEBUG - VM ctest-TestBasicVMVNx-10810841-24981056 ID is 0593c691-2b51-4d37-898a-8c4bb6d1c06c
2026-07-18 14:43:45,345 - DEBUG - VM ctest-TestBasicVMVNx-10810841-24981056 launched on Node cn-jenkins-deploy-platform-ansible-os-6104-1
2026-07-18 14:43:45,424 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0593c691-2b51-4d37-898a-8c4bb6d1c06c
2026-07-18 14:43:45,434 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/24b61067-a28f-45bf-a2de-9d7cc6ef5be8
2026-07-18 14:43:46,680 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.559 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.559/2.272/3.985/1.713 ms')
2026-07-18 14:43:46,680 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-10810841-24981056 passed
2026-07-18 14:43:46,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 14:43:46,838 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10810841-24981056, IP 18.138.215.132, Port 22
2026-07-18 14:43:47,005 - DEBUG - VM ctest-TestBasicVMVNx-10810841-24981056 is ready for SSH connections
2026-07-18 14:43:47,005 - DEBUG - FILE SIZE = 1303B
2026-07-18 14:43:47,005 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-10810841-33145353 to ctest-TestBasicVMVNx-10810841-24981056 using scp
2026-07-18 14:43:47,007 - 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.242, gateway password: c0ntrail123
2026-07-18 14:43:47,007 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-07-18 14:43:48,986 - DEBUG - 1+0 records in
1+0 records out
2026-07-18 14:43:49,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 14:43:49,605 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-07-18 14:43:49,605 - DEBUG - ls -l testfile
2026-07-18 14:43:51,174 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 18 08:43 [0;0mtestfile[0m
2026-07-18 14:43:51,174 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-10810841-24981056
2026-07-18 14:43:51,174 - INFO - Deleting VM ctest-TestBasicVMVNx-10810841-24981056
2026-07-18 14:43:51,257 - INFO - Deleting VM ctest-TestBasicVMVNx-10810841-33145353
2026-07-18 14:43:51,359 - INFO - Deleting VN ctest-vn-98209974
2026-07-18 14:43:51,396 - DEBUG - VN e85bee29-d2e3-4400-bacb-e38fff9fe1cb still in use: Unable to complete operation on network e85bee29-d2e3-4400-bacb-e38fff9fe1cb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b7460f04-4042-406a-97fb-25341feb6d86']
2026-07-18 14:43:51,396 - WARNING - Deleting VN ctest-vn-98209974 failed..Will retry
2026-07-18 14:43:53,440 - DEBUG - VN e85bee29-d2e3-4400-bacb-e38fff9fe1cb still in use: Unable to complete operation on network e85bee29-d2e3-4400-bacb-e38fff9fe1cb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7c2dd787-e65b-44f4-8e53-e23ddd4919fa']
2026-07-18 14:43:53,440 - WARNING - Deleting VN ctest-vn-98209974 failed..Will retry
2026-07-18 14:43:55,561 - DEBUG - Response for deleting network ()
2026-07-18 14:43:55,834 - DEBUG - No XMPP flaps were noticed during the test
2026-07-18 14:43:55,834 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:05]
2026-07-18 14:43:55,834 - INFO - --------------------------------------------------------------------------------
2026-07-18 14:43:56,640 - INFO - Deleted project: ctest-TestBasicVMVNx-10810841, ID : 2c601f94-71cf-44dc-9059-bf5820916010