2025-12-30 16:21:46,301 - INFO - Domain Default found not creating 2025-12-30 16:21:46,500 - INFO - Project ctest-TestBasicVMVNx-93062552 not found, creating it 2025-12-30 16:21:47,006 - INFO - Created Project:ctest-TestBasicVMVNx-93062552, ID : 4adecece-0747-4acd-95c9-7c2d747f0db5 2025-12-30 16:21:48,681 - INFO - ================================================================================ 2025-12-30 16:21:48,681 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-12-30 16:21:48,681 - 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-30 16:21:48,942 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-30 16:21:48,942 - INFO - Initial checks done. Running the testcase now 2025-12-30 16:21:48,942 - INFO - 2025-12-30 16:21:49,526 - DEBUG - Response for create_network : {'network': {'id': 'e1d25288-a099-43ef-a9b6-43d15645b47b', 'name': 'ctest-vn-47002197', 'tenant_id': '4adecece07474acd95c97c2d747f0db5', 'project_id': '4adecece07474acd95c97c2d747f0db5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-93062552', 'ctest-vn-47002197'], 'port_security_enabled': True, 'description': ''}} 2025-12-30 16:21:49,673 - DEBUG - Response for create_subnet : {'subnet': {'id': '10b5ccd3-118c-4d7a-b44a-1cfca65ff5ee', 'name': '', 'tenant_id': '4adecece07474acd95c97c2d747f0db5', 'network_id': 'e1d25288-a099-43ef-a9b6-43d15645b47b', 'ip_version': 4, 'cidr': '20.160.178.192/26', 'allocation_pools': [{'start': '20.160.178.194', 'end': '20.160.178.254'}], 'gateway_ip': '20.160.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.160.178.194', 'tags': [], 'project_id': '4adecece07474acd95c97c2d747f0db5'}} 2025-12-30 16:21:49,693 - INFO - Created VN ctest-vn-47002197 2025-12-30 16:21:49,747 - DEBUG - VN ctest-vn-47002197 UUID is e1d25288-a099-43ef-a9b6-43d15645b47b 2025-12-30 16:21:49,927 - DEBUG - Services list from nova: [, , ] 2025-12-30 16:21:51,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4941-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4941-1) 2025-12-30 16:21:52,189 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4941-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4941-1) 2025-12-30 16:21:52,189 - INFO - Waiting for VM ctest-TestBasicVMVNx-93062552-48000793 to be up.. 2025-12-30 16:21:52,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-30 16:21:57,357 - DEBUG - VM is in ACTIVE state now 2025-12-30 16:21:57,357 - INFO - VM name : ctest-TestBasicVMVNx-93062552-48000793 2025-12-30 16:21:57,441 - DEBUG - VM ctest-TestBasicVMVNx-93062552-48000793 ID is 0055e73b-6f7d-4c06-a94b-82150cb31a51 2025-12-30 16:21:57,463 - DEBUG - VM ctest-TestBasicVMVNx-93062552-48000793 launched on Node cn-jenkins-deploy-platform-ansible-os-4941-1 2025-12-30 16:21:57,549 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0055e73b-6f7d-4c06-a94b-82150cb31a51 2025-12-30 16:21:57,856 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0055e73b-6f7d-4c06-a94b-82150cb31a51 2025-12-30 16:21:57,893 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/59928230-7175-47dc-89a0-e596907706f6 2025-12-30 16:22:01,166 - 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 1030ms') 2025-12-30 16:22:01,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93062552-48000793 failed! 2025-12-30 16:22:01,223 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-93062552:ctest-vn-47002197 is 20.160.178.193 and allocation pool is NOT set 2025-12-30 16:22:03,288 - 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=8.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.833/5.005/8.178/3.172 ms') 2025-12-30 16:22:03,288 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93062552-48000793 passed 2025-12-30 16:22:03,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:22:03,444 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93062552-48000793, IP 20.160.178.195, Port 22 2025-12-30 16:22:03,510 - 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-30 16:22:03,607 - DEBUG - VM ctest-TestBasicVMVNx-93062552-48000793 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-30 16:22:08,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:22:08,608 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93062552-48000793, IP 20.160.178.195, Port 22 2025-12-30 16:22:08,763 - DEBUG - VM ctest-TestBasicVMVNx-93062552-48000793 is ready for SSH connections 2025-12-30 16:22:08,763 - INFO - Waiting for VM ctest-TestBasicVMVNx-93062552-64140983 to be up.. 2025-12-30 16:22:08,852 - DEBUG - VM is in ACTIVE state now 2025-12-30 16:22:08,852 - INFO - VM name : ctest-TestBasicVMVNx-93062552-64140983 2025-12-30 16:22:08,942 - DEBUG - VM ctest-TestBasicVMVNx-93062552-64140983 ID is e6d0f52d-f75e-4944-9139-0adcd4dc137f 2025-12-30 16:22:08,942 - DEBUG - VM ctest-TestBasicVMVNx-93062552-64140983 launched on Node cn-jenkins-deploy-platform-ansible-os-4941-1 2025-12-30 16:22:09,034 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e6d0f52d-f75e-4944-9139-0adcd4dc137f 2025-12-30 16:22:09,043 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/701b7827-fd56-4ea3-a77f-aa60dede77b3 2025-12-30 16:22:10,297 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.735/3.039/1.304 ms') 2025-12-30 16:22:10,298 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-93062552-64140983 passed 2025-12-30 16:22:10,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:22:10,456 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93062552-64140983, IP 20.160.178.196, Port 22 2025-12-30 16:22:10,615 - DEBUG - VM ctest-TestBasicVMVNx-93062552-64140983 is ready for SSH connections 2025-12-30 16:22:10,615 - DEBUG - FILE SIZE = 1303B 2025-12-30 16:22:10,615 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-93062552-48000793 to ctest-TestBasicVMVNx-93062552-64140983 using scp 2025-12-30 16:22:10,617 - 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 2025-12-30 16:22:10,617 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-12-30 16:22:12,606 - DEBUG - 1+0 records in 1+0 records out 2025-12-30 16:22:12,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:22:13,278 - 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 2025-12-30 16:22:13,279 - DEBUG - ls -l testfile 2025-12-30 16:22:14,976 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 30 09:22 testfile 2025-12-30 16:22:14,977 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-93062552-64140983 2025-12-30 16:22:14,977 - INFO - Deleting VM ctest-TestBasicVMVNx-93062552-64140983 2025-12-30 16:22:15,058 - INFO - Deleting VM ctest-TestBasicVMVNx-93062552-48000793 2025-12-30 16:22:15,165 - INFO - Deleting VN ctest-vn-47002197 2025-12-30 16:22:15,210 - DEBUG - VN e1d25288-a099-43ef-a9b6-43d15645b47b still in use: Unable to complete operation on network e1d25288-a099-43ef-a9b6-43d15645b47b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-592db094-f05c-4aa2-bb65-252da2208c40'] 2025-12-30 16:22:15,210 - WARNING - Deleting VN ctest-vn-47002197 failed..Will retry 2025-12-30 16:22:17,322 - DEBUG - Response for deleting network () 2025-12-30 16:22:17,578 - DEBUG - No XMPP flaps were noticed during the test
2025-12-30 16:22:17,578 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-12-30 16:22:17,578 - INFO - -------------------------------------------------------------------------------- 2025-12-30 16:22:18,287 - INFO - Deleted project: ctest-TestBasicVMVNx-93062552, ID : 4adecece-0747-4acd-95c9-7c2d747f0db5