2026-08-24 10:58:47,128 - INFO - Domain Default found not creating
2026-08-24 10:58:47,322 - INFO - Project ctest-TestBasicVMVNx-59634343 not found, creating it
2026-08-24 10:58:47,883 - INFO - Created Project:ctest-TestBasicVMVNx-59634343, ID : ee1fa145-6ef1-4c3f-bff7-49a5ebe3b83c
2026-08-24 10:58:49,552 - INFO - ================================================================================
2026-08-24 10:58:49,552 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-08-24 10:58:49,552 - 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-24 10:58:49,820 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with
2026-08-24 10:58:49,821 - INFO - Initial checks done. Running the testcase now
2026-08-24 10:58:49,821 - INFO -
2026-08-24 10:58:50,450 - DEBUG - Response for create_network : {'network': {'id': '099e43f7-abd4-490b-b013-fa25fa2fd7b2', 'name': 'ctest-vn-56183242', 'tenant_id': 'ee1fa1456ef14c3fbff749a5ebe3b83c', 'project_id': 'ee1fa1456ef14c3fbff749a5ebe3b83c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-59634343', 'ctest-vn-56183242'], 'port_security_enabled': True, 'description': ''}}
2026-08-24 10:58:50,637 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c916def6-368c-4a67-8b8f-03148ad79241', 'name': '', 'tenant_id': 'ee1fa1456ef14c3fbff749a5ebe3b83c', 'network_id': '099e43f7-abd4-490b-b013-fa25fa2fd7b2', 'ip_version': 4, 'cidr': '97.151.162.128/26', 'allocation_pools': [{'start': '97.151.162.130', 'end': '97.151.162.190'}], 'gateway_ip': '97.151.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.151.162.130', 'tags': [], 'project_id': 'ee1fa1456ef14c3fbff749a5ebe3b83c'}}
2026-08-24 10:58:50,657 - INFO - Created VN ctest-vn-56183242
2026-08-24 10:58:50,710 - DEBUG - VN ctest-vn-56183242 UUID is 099e43f7-abd4-490b-b013-fa25fa2fd7b2
2026-08-24 10:58:50,921 - DEBUG - Services list from nova: [, , ]
2026-08-24 10:58:51,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6213-1)
2026-08-24 10:58:51,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6213-1)
2026-08-24 10:58:51,717 - INFO - Waiting for VM ctest-TestBasicVMVNx-59634343-29411270 to be up..
2026-08-24 10:58:51,764 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 10:58:56,851 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 10:59:01,933 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 10:59:07,021 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 10:59:12,104 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 10:59:17,183 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 10:59:22,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 10:59:27,372 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 10:59:32,459 - DEBUG - VM is in ACTIVE state now
2026-08-24 10:59:32,459 - INFO - VM name : ctest-TestBasicVMVNx-59634343-29411270
2026-08-24 10:59:32,542 - DEBUG - VM ctest-TestBasicVMVNx-59634343-29411270 ID is 72c389ce-660d-4651-9ab3-c8f384488660
2026-08-24 10:59:32,564 - DEBUG - VM ctest-TestBasicVMVNx-59634343-29411270 launched on Node cn-jenkins-deploy-platform-ansible-os-6213-1
2026-08-24 10:59:32,641 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/72c389ce-660d-4651-9ab3-c8f384488660
2026-08-24 10:59:32,961 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/72c389ce-660d-4651-9ab3-c8f384488660
2026-08-24 10:59:32,990 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/1119f8d5-c886-4431-aa9b-348f24f33f98
2026-08-24 10:59:34,232 - 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=5.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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 = 1.219/3.340/5.461/2.121 ms')
2026-08-24 10:59:34,232 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59634343-29411270 passed
2026-08-24 10:59:34,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 10:59:34,383 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59634343-29411270, IP 97.151.162.131, Port 22
2026-08-24 10:59:34,553 - DEBUG - VM ctest-TestBasicVMVNx-59634343-29411270 is ready for SSH connections
2026-08-24 10:59:34,553 - INFO - Waiting for VM ctest-TestBasicVMVNx-59634343-33926541 to be up..
2026-08-24 10:59:34,630 - DEBUG - VM is in ACTIVE state now
2026-08-24 10:59:34,630 - INFO - VM name : ctest-TestBasicVMVNx-59634343-33926541
2026-08-24 10:59:34,705 - DEBUG - VM ctest-TestBasicVMVNx-59634343-33926541 ID is a0052c37-46b8-4b5b-ba1c-5085b827e13b
2026-08-24 10:59:34,705 - DEBUG - VM ctest-TestBasicVMVNx-59634343-33926541 launched on Node cn-jenkins-deploy-platform-ansible-os-6213-1
2026-08-24 10:59:34,781 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/a0052c37-46b8-4b5b-ba1c-5085b827e13b
2026-08-24 10:59:34,791 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/71687dfa-651e-458d-938b-2937dde3b25a
2026-08-24 10:59:38,034 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-08-24 10:59:38,034 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59634343-33926541 failed!
2026-08-24 10:59:38,091 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-59634343:ctest-vn-56183242 is 97.151.162.129 and allocation pool is NOT set
2026-08-24 10:59:40,153 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.01 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 = 2.006/3.455/4.905/1.449 ms')
2026-08-24 10:59:40,153 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59634343-33926541 passed
2026-08-24 10:59:40,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 10:59:40,315 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59634343-33926541, IP 97.151.162.132, Port 22
2026-08-24 10:59:40,380 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-24 10:59:40,467 - DEBUG - VM ctest-TestBasicVMVNx-59634343-33926541 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-24 10:59:45,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 10:59:45,468 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59634343-33926541, IP 97.151.162.132, Port 22
2026-08-24 10:59:45,626 - DEBUG - VM ctest-TestBasicVMVNx-59634343-33926541 is ready for SSH connections
2026-08-24 10:59:45,627 - DEBUG - FILE SIZE = 1303B
2026-08-24 10:59:45,627 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-59634343-29411270 to ctest-TestBasicVMVNx-59634343-33926541 using scp
2026-08-24 10:59:45,629 - 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.185, gateway password: c0ntrail123
2026-08-24 10:59:45,629 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-08-24 10:59:47,535 - DEBUG - 1+0 records in
1+0 records out
2026-08-24 10:59:47,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 10:59:48,147 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123
2026-08-24 10:59:48,147 - DEBUG - ls -l testfile
2026-08-24 10:59:49,691 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 24 04:59 [0;0mtestfile[0m
2026-08-24 10:59:49,691 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-59634343-33926541
2026-08-24 10:59:49,691 - INFO - Deleting VM ctest-TestBasicVMVNx-59634343-33926541
2026-08-24 10:59:49,769 - INFO - Deleting VM ctest-TestBasicVMVNx-59634343-29411270
2026-08-24 10:59:49,844 - INFO - Deleting VN ctest-vn-56183242
2026-08-24 10:59:49,882 - DEBUG - VN 099e43f7-abd4-490b-b013-fa25fa2fd7b2 still in use: Unable to complete operation on network 099e43f7-abd4-490b-b013-fa25fa2fd7b2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e01100c5-f1a2-4eb5-bf2b-31b463f8bcb6']
2026-08-24 10:59:49,882 - WARNING - Deleting VN ctest-vn-56183242 failed..Will retry
2026-08-24 10:59:51,935 - DEBUG - VN 099e43f7-abd4-490b-b013-fa25fa2fd7b2 still in use: Unable to complete operation on network 099e43f7-abd4-490b-b013-fa25fa2fd7b2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-32553841-e98b-4f36-aa73-27e52bbfe859']
2026-08-24 10:59:51,935 - WARNING - Deleting VN ctest-vn-56183242 failed..Will retry
2026-08-24 10:59:54,039 - DEBUG - Response for deleting network ()
2026-08-24 10:59:54,301 - DEBUG - No XMPP flaps were noticed during the test
2026-08-24 10:59:54,302 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:05]
2026-08-24 10:59:54,302 - INFO - --------------------------------------------------------------------------------
2026-08-24 10:59:55,032 - INFO - Deleted project: ctest-TestBasicVMVNx-59634343, ID : ee1fa145-6ef1-4c3f-bff7-49a5ebe3b83c