2025-05-27 12:18:50,830 - INFO - Domain Default found not creating
2025-05-27 12:18:51,021 - INFO - Project ctest-TestBasicVMVNx-59071089 not found, creating it
2025-05-27 12:18:51,546 - INFO - Created Project:ctest-TestBasicVMVNx-59071089, ID : 3fa48e95-a87f-42cf-a151-21d4da4628c1
2025-05-27 12:18:53,085 - INFO - ================================================================================
2025-05-27 12:18:53,085 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-05-27 12:18:53,085 - 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-05-27 12:18:53,343 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-05-27 12:18:53,343 - INFO - Initial checks done. Running the testcase now
2025-05-27 12:18:53,343 - INFO -
2025-05-27 12:18:53,941 - DEBUG - Response for create_network : {'network': {'id': '10198ecc-0e92-4801-9b5a-b38fedd26175', 'name': 'ctest-vn-54405304', 'tenant_id': '3fa48e95a87f42cfa15121d4da4628c1', 'project_id': '3fa48e95a87f42cfa15121d4da4628c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-59071089', 'ctest-vn-54405304'], 'port_security_enabled': True, 'description': ''}}
2025-05-27 12:18:54,125 - DEBUG - Response for create_subnet : {'subnet': {'id': '7981f552-b3c5-4c22-b752-ba1404965d76', 'name': '', 'tenant_id': '3fa48e95a87f42cfa15121d4da4628c1', 'network_id': '10198ecc-0e92-4801-9b5a-b38fedd26175', 'ip_version': 4, 'cidr': '17.36.97.128/26', 'allocation_pools': [{'start': '17.36.97.130', 'end': '17.36.97.190'}], 'gateway_ip': '17.36.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.36.97.130', 'tags': [], 'project_id': '3fa48e95a87f42cfa15121d4da4628c1'}}
2025-05-27 12:18:54,145 - INFO - Created VN ctest-vn-54405304
2025-05-27 12:18:54,199 - DEBUG - VN ctest-vn-54405304 UUID is 10198ecc-0e92-4801-9b5a-b38fedd26175
2025-05-27 12:18:54,388 - DEBUG - Services list from nova: [, , ]
2025-05-27 12:18:55,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3344-1)
2025-05-27 12:18:56,670 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3344-1)
2025-05-27 12:18:56,670 - INFO - Waiting for VM ctest-TestBasicVMVNx-59071089-29676293 to be up..
2025-05-27 12:18:56,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-27 12:19:01,864 - DEBUG - VM is in ACTIVE state now
2025-05-27 12:19:01,864 - INFO - VM name : ctest-TestBasicVMVNx-59071089-29676293
2025-05-27 12:19:01,964 - DEBUG - VM ctest-TestBasicVMVNx-59071089-29676293 ID is 87719ac3-fecc-4b4e-a8c3-d67fd22360e8
2025-05-27 12:19:01,984 - DEBUG - VM ctest-TestBasicVMVNx-59071089-29676293 launched on Node cn-jenkins-deploy-platform-ansible-os-3344-1
2025-05-27 12:19:02,066 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/87719ac3-fecc-4b4e-a8c3-d67fd22360e8
2025-05-27 12:19:02,363 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/87719ac3-fecc-4b4e-a8c3-d67fd22360e8
2025-05-27 12:19:02,404 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c0a88294-e463-4e1d-b108-08c320651ee7
2025-05-27 12:19:05,694 - 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 1031ms')
2025-05-27 12:19:05,694 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59071089-29676293 failed!
2025-05-27 12:19:05,751 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-59071089:ctest-vn-54405304 is 17.36.97.129 and allocation pool is NOT set
2025-05-27 12:19:07,814 - 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=9.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/4.768/9.108/4.339 ms')
2025-05-27 12:19:07,814 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59071089-29676293 passed
2025-05-27 12:19:07,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-27 12:19:07,967 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59071089-29676293, IP 17.36.97.131, Port 22
2025-05-27 12:19:08,123 - DEBUG - VM ctest-TestBasicVMVNx-59071089-29676293 is ready for SSH connections
2025-05-27 12:19:08,123 - INFO - Waiting for VM ctest-TestBasicVMVNx-59071089-52797614 to be up..
2025-05-27 12:19:08,220 - DEBUG - VM is in ACTIVE state now
2025-05-27 12:19:08,220 - INFO - VM name : ctest-TestBasicVMVNx-59071089-52797614
2025-05-27 12:19:08,316 - DEBUG - VM ctest-TestBasicVMVNx-59071089-52797614 ID is a587a733-e92f-45b6-bd50-cae43cb65adc
2025-05-27 12:19:08,316 - DEBUG - VM ctest-TestBasicVMVNx-59071089-52797614 launched on Node cn-jenkins-deploy-platform-ansible-os-3344-1
2025-05-27 12:19:08,406 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a587a733-e92f-45b6-bd50-cae43cb65adc
2025-05-27 12:19:08,417 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/98ec648d-1583-4e4d-8fd3-b9757a312ced
2025-05-27 12:19:09,684 - 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=2.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/1.731/2.943/1.211 ms')
2025-05-27 12:19:09,684 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59071089-52797614 passed
2025-05-27 12:19:09,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-27 12:19:09,839 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59071089-52797614, IP 17.36.97.132, Port 22
2025-05-27 12:19:10,006 - DEBUG - VM ctest-TestBasicVMVNx-59071089-52797614 is ready for SSH connections
2025-05-27 12:19:10,006 - DEBUG - FILE SIZE = 1303B
2025-05-27 12:19:10,007 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-59071089-29676293 to ctest-TestBasicVMVNx-59071089-52797614 using scp
2025-05-27 12:19:10,008 - 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-05-27 12:19:10,008 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-05-27 12:19:11,937 - DEBUG - 1+0 records in
1+0 records out
2025-05-27 12:19:12,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-27 12:19:13,056 - 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-05-27 12:19:13,056 - DEBUG - ls -l testfile
2025-05-27 12:19:14,634 - DEBUG - -rw------- 1 cirros cirros 1303 May 27 06:19 [0;0mtestfile[0m
2025-05-27 12:19:14,634 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-59071089-52797614
2025-05-27 12:19:14,634 - INFO - Deleting VM ctest-TestBasicVMVNx-59071089-52797614
2025-05-27 12:19:14,720 - INFO - Deleting VM ctest-TestBasicVMVNx-59071089-29676293
2025-05-27 12:19:14,799 - INFO - Deleting VN ctest-vn-54405304
2025-05-27 12:19:14,841 - DEBUG - VN 10198ecc-0e92-4801-9b5a-b38fedd26175 still in use: Unable to complete operation on network 10198ecc-0e92-4801-9b5a-b38fedd26175. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-80400574-3a12-4dd2-8d31-26210d81f4af']
2025-05-27 12:19:14,842 - WARNING - Deleting VN ctest-vn-54405304 failed..Will retry
2025-05-27 12:19:16,970 - DEBUG - Response for deleting network ()
2025-05-27 12:19:17,226 - DEBUG - No XMPP flaps were noticed during the test
2025-05-27 12:19:17,226 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-05-27 12:19:17,226 - INFO - --------------------------------------------------------------------------------
2025-05-27 12:19:17,936 - INFO - Deleted project: ctest-TestBasicVMVNx-59071089, ID : 3fa48e95-a87f-42cf-a151-21d4da4628c1