2025-12-19 17:12:05,174 - INFO - Domain Default found not creating
2025-12-19 17:12:05,361 - INFO - Project ctest-TestBasicVMVNx-88615489 not found, creating it
2025-12-19 17:12:05,834 - INFO - Created Project:ctest-TestBasicVMVNx-88615489, ID : e056760c-2037-46b8-a4bd-50ec7415cddc
2025-12-19 17:12:07,608 - INFO - ================================================================================
2025-12-19 17:12:07,608 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-12-19 17:12:07,608 - 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
2025-12-19 17:12:07,860 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-12-19 17:12:07,860 - INFO - Initial checks done. Running the testcase now
2025-12-19 17:12:07,860 - INFO -
2025-12-19 17:12:08,488 - DEBUG - Response for create_network : {'network': {'id': '09918db5-df7f-4507-a372-4e549855c9b7', 'name': 'ctest-vn-40038962', 'tenant_id': 'e056760c203746b8a4bd50ec7415cddc', 'project_id': 'e056760c203746b8a4bd50ec7415cddc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-88615489', 'ctest-vn-40038962'], 'port_security_enabled': True, 'description': ''}}
2025-12-19 17:12:08,676 - DEBUG - Response for create_subnet : {'subnet': {'id': '2786bd48-6623-4cc6-b159-8a73f6d2acb0', 'name': '', 'tenant_id': 'e056760c203746b8a4bd50ec7415cddc', 'network_id': '09918db5-df7f-4507-a372-4e549855c9b7', 'ip_version': 4, 'cidr': '126.178.60.0/26', 'allocation_pools': [{'start': '126.178.60.2', 'end': '126.178.60.62'}], 'gateway_ip': '126.178.60.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.178.60.2', 'tags': [], 'project_id': 'e056760c203746b8a4bd50ec7415cddc'}}
2025-12-19 17:12:08,696 - INFO - Created VN ctest-vn-40038962
2025-12-19 17:12:08,751 - DEBUG - VN ctest-vn-40038962 UUID is 09918db5-df7f-4507-a372-4e549855c9b7
2025-12-19 17:12:08,922 - DEBUG - Services list from nova: [, , ]
2025-12-19 17:12:10,060 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4911-1)
2025-12-19 17:12:11,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4911-1)
2025-12-19 17:12:11,331 - INFO - Waiting for VM ctest-TestBasicVMVNx-88615489-07736853 to be up..
2025-12-19 17:12:11,419 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-19 17:12:16,503 - DEBUG - VM is in ACTIVE state now
2025-12-19 17:12:16,503 - INFO - VM name : ctest-TestBasicVMVNx-88615489-07736853
2025-12-19 17:12:16,589 - DEBUG - VM ctest-TestBasicVMVNx-88615489-07736853 ID is c9d3ed76-a6e7-4ee3-bb3d-6e15e2a595ea
2025-12-19 17:12:16,612 - DEBUG - VM ctest-TestBasicVMVNx-88615489-07736853 launched on Node cn-jenkins-deploy-platform-ansible-os-4911-1
2025-12-19 17:12:16,699 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c9d3ed76-a6e7-4ee3-bb3d-6e15e2a595ea
2025-12-19 17:12:17,051 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c9d3ed76-a6e7-4ee3-bb3d-6e15e2a595ea
2025-12-19 17:12:17,087 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/80bcecc7-d9d9-4d5c-9663-c8aff35aa4e9
2025-12-19 17:12:20,352 - 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 1024ms')
2025-12-19 17:12:20,352 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88615489-07736853 failed!
2025-12-19 17:12:20,407 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-88615489:ctest-vn-40038962 is 126.178.60.1 and allocation pool is NOT set
2025-12-19 17:12:22,476 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.24 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.235/2.824/4.413/1.589 ms')
2025-12-19 17:12:22,476 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88615489-07736853 passed
2025-12-19 17:12:22,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-19 17:12:22,623 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88615489-07736853, IP 126.178.60.3, Port 22
2025-12-19 17:12:22,679 - 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': ''}
2025-12-19 17:12:22,755 - DEBUG - VM ctest-TestBasicVMVNx-88615489-07736853 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-19 17:12:27,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-19 17:12:27,756 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88615489-07736853, IP 126.178.60.3, Port 22
2025-12-19 17:12:27,910 - DEBUG - VM ctest-TestBasicVMVNx-88615489-07736853 is ready for SSH connections
2025-12-19 17:12:27,910 - INFO - Waiting for VM ctest-TestBasicVMVNx-88615489-03940240 to be up..
2025-12-19 17:12:27,989 - DEBUG - VM is in ACTIVE state now
2025-12-19 17:12:27,989 - INFO - VM name : ctest-TestBasicVMVNx-88615489-03940240
2025-12-19 17:12:28,069 - DEBUG - VM ctest-TestBasicVMVNx-88615489-03940240 ID is 68a80724-60e5-4dc3-96c7-0b4c75775106
2025-12-19 17:12:28,069 - DEBUG - VM ctest-TestBasicVMVNx-88615489-03940240 launched on Node cn-jenkins-deploy-platform-ansible-os-4911-1
2025-12-19 17:12:28,147 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/68a80724-60e5-4dc3-96c7-0b4c75775106
2025-12-19 17:12:28,156 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/509bf74e-051a-4d06-a6fd-36ddf1c68325
2025-12-19 17:12:29,394 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.779/3.119/1.340 ms')
2025-12-19 17:12:29,394 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-88615489-03940240 passed
2025-12-19 17:12:29,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-19 17:12:29,543 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88615489-03940240, IP 126.178.60.4, Port 22
2025-12-19 17:12:29,703 - DEBUG - VM ctest-TestBasicVMVNx-88615489-03940240 is ready for SSH connections
2025-12-19 17:12:29,703 - DEBUG - FILE SIZE = 1303B
2025-12-19 17:12:29,703 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-88615489-07736853 to ctest-TestBasicVMVNx-88615489-03940240 using scp
2025-12-19 17:12:29,705 - 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
2025-12-19 17:12:29,705 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-12-19 17:12:31,689 - DEBUG - 1+0 records in
1+0 records out
2025-12-19 17:12:32,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-19 17:12:32,359 - 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
2025-12-19 17:12:32,359 - DEBUG - ls -l testfile
2025-12-19 17:12:33,995 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 19 10:12 [0;0mtestfile[0m
2025-12-19 17:12:33,995 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-88615489-03940240
2025-12-19 17:12:33,996 - INFO - Deleting VM ctest-TestBasicVMVNx-88615489-03940240
2025-12-19 17:12:34,076 - INFO - Deleting VM ctest-TestBasicVMVNx-88615489-07736853
2025-12-19 17:12:34,146 - INFO - Deleting VN ctest-vn-40038962
2025-12-19 17:12:34,184 - DEBUG - VN 09918db5-df7f-4507-a372-4e549855c9b7 still in use: Unable to complete operation on network 09918db5-df7f-4507-a372-4e549855c9b7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-35d0097b-025e-41b1-8b21-e477edbe275e']
2025-12-19 17:12:34,184 - WARNING - Deleting VN ctest-vn-40038962 failed..Will retry
2025-12-19 17:12:36,297 - DEBUG - Response for deleting network ()
2025-12-19 17:12:36,565 - DEBUG - No XMPP flaps were noticed during the test
2025-12-19 17:12:36,565 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-12-19 17:12:36,565 - INFO - --------------------------------------------------------------------------------
2025-12-19 17:12:37,297 - INFO - Deleted project: ctest-TestBasicVMVNx-88615489, ID : e056760c-2037-46b8-a4bd-50ec7415cddc