2025-10-22 19:53:41,991 - INFO - Reading existing Domain with UUID cc7bf0c9-b3f5-4805-bbd2-f13c8e4f2bc8
2025-10-22 19:53:42,006 - INFO - Using existing domain ['admin_domain'](cc7bf0c9-b3f5-4805-bbd2-f13c8e4f2bc8)
2025-10-22 19:53:42,280 - INFO - Project ctest-TestBasicVMVNx-48620249 not found, creating it
2025-10-22 19:53:42,835 - INFO - Created Project:ctest-TestBasicVMVNx-48620249, ID : 338f9a65-1903-4632-a65b-1714e66b4479
2025-10-22 19:53:44,786 - INFO - ================================================================================
2025-10-22 19:53:44,786 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-10-22 19:53:44,786 - 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-10-22 19:53:45,192 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.0.0.141': '0'}} with
2025-10-22 19:53:45,192 - INFO - Initial checks done. Running the testcase now
2025-10-22 19:53:45,192 - INFO -
2025-10-22 19:53:46,079 - DEBUG - Response for create_network : {'network': {'id': '8a37602e-cc42-4063-86b7-ed31e5c15b35', 'name': 'ctest-vn-52419960', 'tenant_id': '338f9a6519034632a65b1714e66b4479', 'project_id': '338f9a6519034632a65b1714e66b4479', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-48620249', 'ctest-vn-52419960'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-22 19:53:46,344 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be9af794-3780-4c0b-9257-a36d6de99799', 'name': '', 'tenant_id': '338f9a6519034632a65b1714e66b4479', 'network_id': '8a37602e-cc42-4063-86b7-ed31e5c15b35', 'ip_version': 4, 'cidr': '55.250.86.192/26', 'allocation_pools': [{'start': '55.250.86.194', 'end': '55.250.86.254'}], 'gateway_ip': '55.250.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T19:53:46.235289', 'updated_at': '2025-10-22T19:53:46.235289', 'dns_server_address': '55.250.86.194', 'tags': [], 'project_id': '338f9a6519034632a65b1714e66b4479'}}
2025-10-22 19:53:46,417 - INFO - Created VN ctest-vn-52419960
2025-10-22 19:53:46,479 - DEBUG - VN ctest-vn-52419960 UUID is 8a37602e-cc42-4063-86b7-ed31e5c15b35
2025-10-22 19:53:46,797 - DEBUG - Services list from nova: [, , ]
2025-10-22 19:53:48,013 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-605-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-605-1)
2025-10-22 19:53:49,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-605-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-605-1)
2025-10-22 19:53:49,658 - INFO - Waiting for VM ctest-TestBasicVMVNx-48620249-91204876 to be up..
2025-10-22 19:53:49,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-22 19:53:54,969 - DEBUG - VM is in ACTIVE state now
2025-10-22 19:53:54,969 - INFO - VM name : ctest-TestBasicVMVNx-48620249-91204876
2025-10-22 19:53:55,127 - DEBUG - VM ctest-TestBasicVMVNx-48620249-91204876 ID is 3cf3f588-2e4a-43a2-965b-14172ae7c64f
2025-10-22 19:53:55,161 - DEBUG - VM ctest-TestBasicVMVNx-48620249-91204876 launched on Node cn-jenkins-deploy-platform-juju-os-605-1
2025-10-22 19:53:55,322 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/3cf3f588-2e4a-43a2-965b-14172ae7c64f
2025-10-22 19:53:55,723 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/3cf3f588-2e4a-43a2-965b-14172ae7c64f
2025-10-22 19:53:55,819 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/49cdd2cb-b78c-4c4c-be4d-b3b26cdcfbce
2025-10-22 19:53:59,303 - 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 1006ms')
2025-10-22 19:53:59,303 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-48620249-91204876 failed!
2025-10-22 19:53:59,363 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-48620249:ctest-vn-52419960 is 55.250.86.193 and allocation pool is NOT set
2025-10-22 19:54:01,464 - 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=17.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.738 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 = 0.738/8.906/17.075/8.168 ms')
2025-10-22 19:54:01,465 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-48620249-91204876 passed
2025-10-22 19:54:01,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 19:54:01,627 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-48620249-91204876, IP 55.250.86.195, Port 22
2025-10-22 19:54:01,729 - 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-10-22 19:54:01,912 - DEBUG - VM ctest-TestBasicVMVNx-48620249-91204876 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-22 19:54:06,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 19:54:06,913 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-48620249-91204876, IP 55.250.86.195, Port 22
2025-10-22 19:54:07,133 - DEBUG - VM ctest-TestBasicVMVNx-48620249-91204876 is ready for SSH connections
2025-10-22 19:54:07,133 - INFO - Waiting for VM ctest-TestBasicVMVNx-48620249-71831492 to be up..
2025-10-22 19:54:07,288 - DEBUG - VM is in ACTIVE state now
2025-10-22 19:54:07,289 - INFO - VM name : ctest-TestBasicVMVNx-48620249-71831492
2025-10-22 19:54:07,451 - DEBUG - VM ctest-TestBasicVMVNx-48620249-71831492 ID is b2d2d0b4-116f-42dc-b981-61c2d0a87345
2025-10-22 19:54:07,452 - DEBUG - VM ctest-TestBasicVMVNx-48620249-71831492 launched on Node cn-jenkins-deploy-platform-juju-os-605-1
2025-10-22 19:54:07,626 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/b2d2d0b4-116f-42dc-b981-61c2d0a87345
2025-10-22 19:54:07,687 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/e0d49f3b-96d7-4813-9922-7f3e416a57ad
2025-10-22 19:54:09,155 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.691 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.691/2.398/4.106/1.707 ms')
2025-10-22 19:54:09,155 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-48620249-71831492 passed
2025-10-22 19:54:09,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 19:54:09,315 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-48620249-71831492, IP 55.250.86.196, Port 22
2025-10-22 19:54:09,553 - DEBUG - VM ctest-TestBasicVMVNx-48620249-71831492 is ready for SSH connections
2025-10-22 19:54:09,553 - DEBUG - FILE SIZE = 1303B
2025-10-22 19:54:09,553 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-48620249-91204876 to ctest-TestBasicVMVNx-48620249-71831492 using scp
2025-10-22 19:54:09,561 - 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.141, gateway password: c0ntrail123
2025-10-22 19:54:09,561 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-10-22 19:54:11,705 - DEBUG - 1+0 records in
1+0 records out
2025-10-22 19:54:12,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 19:54:12,930 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-10-22 19:54:12,930 - DEBUG - ls -l testfile
2025-10-22 19:54:14,593 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 22 13:54 [0;0mtestfile[0m
2025-10-22 19:54:14,594 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-48620249-71831492
2025-10-22 19:54:14,594 - INFO - Deleting VM ctest-TestBasicVMVNx-48620249-71831492
2025-10-22 19:54:14,756 - INFO - Deleting VM ctest-TestBasicVMVNx-48620249-91204876
2025-10-22 19:54:14,897 - INFO - Deleting VN ctest-vn-52419960
2025-10-22 19:54:15,055 - DEBUG - VN 8a37602e-cc42-4063-86b7-ed31e5c15b35 still in use: Unable to complete operation on network 8a37602e-cc42-4063-86b7-ed31e5c15b35. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0f84f4b0-c927-488a-a2d7-786abcc4506c']
2025-10-22 19:54:15,056 - WARNING - Deleting VN ctest-vn-52419960 failed..Will retry
2025-10-22 19:54:17,249 - DEBUG - Response for deleting network ()
2025-10-22 19:54:17,652 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 19:54:17,652 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33]
2025-10-22 19:54:17,652 - INFO - --------------------------------------------------------------------------------
2025-10-22 19:54:18,501 - INFO - Deleted project: ctest-TestBasicVMVNx-48620249, ID : 338f9a65-1903-4632-a65b-1714e66b4479