2025-10-17 17:47:57,304 - INFO - Domain Default found not creating 2025-10-17 17:47:57,571 - INFO - Project ctest-TestBasicVMVNx-48199995 not found, creating it 2025-10-17 17:47:58,250 - INFO - Created Project:ctest-TestBasicVMVNx-48199995, ID : fbc242ec-f4a9-436f-83ee-b60092577676 2025-10-17 17:48:00,126 - INFO - ================================================================================ 2025-10-17 17:48:00,126 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-17 17:48:00,126 - 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-17 17:48:00,411 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-17 17:48:00,411 - INFO - Initial checks done. Running the testcase now 2025-10-17 17:48:00,412 - INFO - 2025-10-17 17:48:01,123 - DEBUG - Response for create_network : {'network': {'id': '1d4492f8-b067-4b89-9f92-1701cfeae82c', 'name': 'ctest-vn-35496206', 'tenant_id': 'fbc242ecf4a9436f83eeb60092577676', 'project_id': 'fbc242ecf4a9436f83eeb60092577676', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-48199995', 'ctest-vn-35496206'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 17:48:01,287 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbdb39db-488c-4855-8497-bc7d94271d4a', 'name': '', 'tenant_id': 'fbc242ecf4a9436f83eeb60092577676', 'network_id': '1d4492f8-b067-4b89-9f92-1701cfeae82c', 'ip_version': 4, 'cidr': '143.169.226.0/26', 'allocation_pools': [{'start': '143.169.226.2', 'end': '143.169.226.62'}], 'gateway_ip': '143.169.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.169.226.2', 'tags': [], 'project_id': 'fbc242ecf4a9436f83eeb60092577676'}} 2025-10-17 17:48:01,305 - INFO - Created VN ctest-vn-35496206 2025-10-17 17:48:01,356 - DEBUG - VN ctest-vn-35496206 UUID is 1d4492f8-b067-4b89-9f92-1701cfeae82c 2025-10-17 17:48:01,600 - DEBUG - Services list from nova: [, , ] 2025-10-17 17:48:02,848 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4356-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4356-1) 2025-10-17 17:48:04,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4356-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4356-1) 2025-10-17 17:48:04,158 - INFO - Waiting for VM ctest-TestBasicVMVNx-48199995-59562413 to be up.. 2025-10-17 17:48:04,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 17:48:09,350 - DEBUG - VM is in ACTIVE state now 2025-10-17 17:48:09,350 - INFO - VM name : ctest-TestBasicVMVNx-48199995-59562413 2025-10-17 17:48:09,443 - DEBUG - VM ctest-TestBasicVMVNx-48199995-59562413 ID is 633851af-2480-4495-8dcc-37fdea29ee05 2025-10-17 17:48:09,468 - DEBUG - VM ctest-TestBasicVMVNx-48199995-59562413 launched on Node cn-jenkins-deploy-platform-ansible-os-4356-1 2025-10-17 17:48:09,565 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/633851af-2480-4495-8dcc-37fdea29ee05 2025-10-17 17:48:09,879 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/633851af-2480-4495-8dcc-37fdea29ee05 2025-10-17 17:48:09,911 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/478c9ee9-4b2d-412b-8488-7a31d648cfa0 2025-10-17 17:48:13,151 - 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-17 17:48:13,151 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-48199995-59562413 failed! 2025-10-17 17:48:13,213 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-48199995:ctest-vn-35496206 is 143.169.226.1 and allocation pool is NOT set 2025-10-17 17:48:15,295 - 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=7.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 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 = 1.875/4.753/7.631/2.878 ms') 2025-10-17 17:48:15,295 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-48199995-59562413 passed 2025-10-17 17:48:15,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 17:48:15,457 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-48199995-59562413, IP 143.169.226.3, Port 22 2025-10-17 17:48:15,525 - 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-17 17:48:15,652 - DEBUG - VM ctest-TestBasicVMVNx-48199995-59562413 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-17 17:48:20,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 17:48:20,653 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-48199995-59562413, IP 143.169.226.3, Port 22 2025-10-17 17:48:20,848 - DEBUG - VM ctest-TestBasicVMVNx-48199995-59562413 is ready for SSH connections 2025-10-17 17:48:20,848 - INFO - Waiting for VM ctest-TestBasicVMVNx-48199995-95794332 to be up.. 2025-10-17 17:48:21,022 - DEBUG - VM is in ACTIVE state now 2025-10-17 17:48:21,022 - INFO - VM name : ctest-TestBasicVMVNx-48199995-95794332 2025-10-17 17:48:21,160 - DEBUG - VM ctest-TestBasicVMVNx-48199995-95794332 ID is bf664810-c70a-4a55-87b6-5ed7a68c06cd 2025-10-17 17:48:21,160 - DEBUG - VM ctest-TestBasicVMVNx-48199995-95794332 launched on Node cn-jenkins-deploy-platform-ansible-os-4356-1 2025-10-17 17:48:21,281 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bf664810-c70a-4a55-87b6-5ed7a68c06cd 2025-10-17 17:48:21,293 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/97402caf-813d-4ad4-be4f-0f06cd73864d 2025-10-17 17:48:22,564 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.656 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.656/2.334/4.013/1.678 ms') 2025-10-17 17:48:22,564 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-48199995-95794332 passed 2025-10-17 17:48:22,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 17:48:22,734 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-48199995-95794332, IP 143.169.226.4, Port 22 2025-10-17 17:48:22,918 - DEBUG - VM ctest-TestBasicVMVNx-48199995-95794332 is ready for SSH connections 2025-10-17 17:48:22,918 - DEBUG - FILE SIZE = 1303B 2025-10-17 17:48:22,918 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-48199995-59562413 to ctest-TestBasicVMVNx-48199995-95794332 using scp 2025-10-17 17:48:22,923 - 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-10-17 17:48:22,924 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-17 17:48:25,154 - DEBUG - 1+0 records in 1+0 records out 2025-10-17 17:48:25,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 17:48:26,353 - 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-10-17 17:48:26,354 - DEBUG - ls -l testfile 2025-10-17 17:48:28,291 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 17 11:48 testfile 2025-10-17 17:48:28,291 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-48199995-95794332 2025-10-17 17:48:28,291 - INFO - Deleting VM ctest-TestBasicVMVNx-48199995-95794332 2025-10-17 17:48:28,471 - INFO - Deleting VM ctest-TestBasicVMVNx-48199995-59562413 2025-10-17 17:48:28,605 - INFO - Deleting VN ctest-vn-35496206 2025-10-17 17:48:28,650 - DEBUG - VN 1d4492f8-b067-4b89-9f92-1701cfeae82c still in use: Unable to complete operation on network 1d4492f8-b067-4b89-9f92-1701cfeae82c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a7c31782-6427-4346-bed7-3b05d807122d'] 2025-10-17 17:48:28,650 - WARNING - Deleting VN ctest-vn-35496206 failed..Will retry 2025-10-17 17:48:30,790 - DEBUG - Response for deleting network () 2025-10-17 17:48:31,085 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 17:48:31,085 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31] 2025-10-17 17:48:31,086 - INFO - -------------------------------------------------------------------------------- 2025-10-17 17:48:31,919 - INFO - Deleted project: ctest-TestBasicVMVNx-48199995, ID : fbc242ec-f4a9-436f-83ee-b60092577676