2026-04-17 19:36:02,888 - INFO - Domain Default found not creating
2026-04-17 19:36:03,072 - INFO - Project ctest-TestBasicVMVNx-28366794 not found, creating it
2026-04-17 19:36:03,562 - INFO - Created Project:ctest-TestBasicVMVNx-28366794, ID : de40ae3a-2f66-44e5-9d12-512148c3887d
2026-04-17 19:36:05,267 - INFO - ================================================================================
2026-04-17 19:36:05,267 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-04-17 19:36:05,267 - 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-04-17 19:36:05,520 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-04-17 19:36:05,520 - INFO - Initial checks done. Running the testcase now
2026-04-17 19:36:05,521 - INFO -
2026-04-17 19:36:06,121 - DEBUG - Response for create_network : {'network': {'id': '16f6bb80-392d-4072-823b-817fddeceff1', 'name': 'ctest-vn-43520394', 'tenant_id': 'de40ae3a2f6644e59d12512148c3887d', 'project_id': 'de40ae3a2f6644e59d12512148c3887d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-28366794', 'ctest-vn-43520394'], 'port_security_enabled': True, 'description': ''}}
2026-04-17 19:36:06,288 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bc777f1-a8ad-4f28-9576-62a663ee5960', 'name': '', 'tenant_id': 'de40ae3a2f6644e59d12512148c3887d', 'network_id': '16f6bb80-392d-4072-823b-817fddeceff1', 'ip_version': 4, 'cidr': '151.194.44.0/26', 'allocation_pools': [{'start': '151.194.44.2', 'end': '151.194.44.62'}], 'gateway_ip': '151.194.44.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.194.44.2', 'tags': [], 'project_id': 'de40ae3a2f6644e59d12512148c3887d'}}
2026-04-17 19:36:06,307 - INFO - Created VN ctest-vn-43520394
2026-04-17 19:36:06,358 - DEBUG - VN ctest-vn-43520394 UUID is 16f6bb80-392d-4072-823b-817fddeceff1
2026-04-17 19:36:06,534 - DEBUG - Services list from nova: [, , ]
2026-04-17 19:36:07,773 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5638-1)
2026-04-17 19:36:09,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5638-1)
2026-04-17 19:36:09,038 - INFO - Waiting for VM ctest-TestBasicVMVNx-28366794-80359683 to be up..
2026-04-17 19:36:09,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-17 19:36:14,204 - DEBUG - VM is in ACTIVE state now
2026-04-17 19:36:14,205 - INFO - VM name : ctest-TestBasicVMVNx-28366794-80359683
2026-04-17 19:36:14,282 - DEBUG - VM ctest-TestBasicVMVNx-28366794-80359683 ID is c0f70a1a-f9dd-46cb-b35b-74f321df46fd
2026-04-17 19:36:14,303 - DEBUG - VM ctest-TestBasicVMVNx-28366794-80359683 launched on Node cn-jenkins-deploy-platform-ansible-os-5638-1
2026-04-17 19:36:14,382 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c0f70a1a-f9dd-46cb-b35b-74f321df46fd
2026-04-17 19:36:14,723 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c0f70a1a-f9dd-46cb-b35b-74f321df46fd
2026-04-17 19:36:14,760 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c50ce821-2e02-4e16-bed4-af59dd05da5d
2026-04-17 19:36:18,010 - 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 1010ms')
2026-04-17 19:36:18,010 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28366794-80359683 failed!
2026-04-17 19:36:18,066 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-28366794:ctest-vn-43520394 is 151.194.44.1 and allocation pool is NOT set
2026-04-17 19:36:20,137 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.20 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.196/3.578/4.961/1.382 ms')
2026-04-17 19:36:20,138 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28366794-80359683 passed
2026-04-17 19:36:20,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 19:36:20,290 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28366794-80359683, IP 151.194.44.3, Port 22
2026-04-17 19:36:20,446 - DEBUG - VM ctest-TestBasicVMVNx-28366794-80359683 is ready for SSH connections
2026-04-17 19:36:20,446 - INFO - Waiting for VM ctest-TestBasicVMVNx-28366794-43678985 to be up..
2026-04-17 19:36:20,537 - DEBUG - VM is in ACTIVE state now
2026-04-17 19:36:20,537 - INFO - VM name : ctest-TestBasicVMVNx-28366794-43678985
2026-04-17 19:36:20,619 - DEBUG - VM ctest-TestBasicVMVNx-28366794-43678985 ID is 70e5bda2-3f9f-4601-badb-b94a7c594b92
2026-04-17 19:36:20,620 - DEBUG - VM ctest-TestBasicVMVNx-28366794-43678985 launched on Node cn-jenkins-deploy-platform-ansible-os-5638-1
2026-04-17 19:36:20,700 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/70e5bda2-3f9f-4601-badb-b94a7c594b92
2026-04-17 19:36:20,709 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/abc51d34-29de-4c64-8a5a-840ece6891ae
2026-04-17 19:36:21,946 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.13 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 = 1.129/2.730/4.332/1.601 ms')
2026-04-17 19:36:21,946 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-28366794-43678985 passed
2026-04-17 19:36:22,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 19:36:22,094 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28366794-43678985, IP 151.194.44.4, Port 22
2026-04-17 19:36:22,160 - 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-04-17 19:36:22,238 - DEBUG - VM ctest-TestBasicVMVNx-28366794-43678985 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-17 19:36:27,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 19:36:27,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28366794-43678985, IP 151.194.44.4, Port 22
2026-04-17 19:36:27,394 - DEBUG - VM ctest-TestBasicVMVNx-28366794-43678985 is ready for SSH connections
2026-04-17 19:36:27,394 - DEBUG - FILE SIZE = 1303B
2026-04-17 19:36:27,394 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-28366794-80359683 to ctest-TestBasicVMVNx-28366794-43678985 using scp
2026-04-17 19:36:27,396 - 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.33, gateway password: c0ntrail123
2026-04-17 19:36:27,397 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-04-17 19:36:29,394 - DEBUG - 1+0 records in
1+0 records out
2026-04-17 19:36:29,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 19:36:30,046 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-04-17 19:36:30,047 - DEBUG - ls -l testfile
2026-04-17 19:36:31,678 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 17 13:36 [0;0mtestfile[0m
2026-04-17 19:36:31,679 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-28366794-43678985
2026-04-17 19:36:31,679 - INFO - Deleting VM ctest-TestBasicVMVNx-28366794-43678985
2026-04-17 19:36:31,755 - INFO - Deleting VM ctest-TestBasicVMVNx-28366794-80359683
2026-04-17 19:36:31,825 - INFO - Deleting VN ctest-vn-43520394
2026-04-17 19:36:31,863 - DEBUG - VN 16f6bb80-392d-4072-823b-817fddeceff1 still in use: Unable to complete operation on network 16f6bb80-392d-4072-823b-817fddeceff1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-03cd9b5c-4f7d-4eb1-9750-60fc77d7e313']
2026-04-17 19:36:31,863 - WARNING - Deleting VN ctest-vn-43520394 failed..Will retry
2026-04-17 19:36:33,997 - DEBUG - Response for deleting network ()
2026-04-17 19:36:34,256 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 19:36:34,257 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2026-04-17 19:36:34,257 - INFO - --------------------------------------------------------------------------------
2026-04-17 19:36:35,011 - INFO - Deleted project: ctest-TestBasicVMVNx-28366794, ID : de40ae3a-2f66-44e5-9d12-512148c3887d