2025-12-10 02:33:03,876 - INFO - Domain Default found not creating 2025-12-10 02:33:04,080 - INFO - Project ctest-TestBasicVMVNx-91873345 not found, creating it 2025-12-10 02:33:04,590 - INFO - Created Project:ctest-TestBasicVMVNx-91873345, ID : ae0c85ea-1396-4426-97ae-57b4ac5d726f 2025-12-10 02:33:06,410 - INFO - ================================================================================ 2025-12-10 02:33:06,411 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-12-10 02:33:06,411 - 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-10 02:33:06,671 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-10 02:33:06,671 - INFO - Initial checks done. Running the testcase now 2025-12-10 02:33:06,671 - INFO - 2025-12-10 02:33:07,317 - DEBUG - Response for create_network : {'network': {'id': '5bb67009-6ed9-44ed-932f-cb3508bdc56f', 'name': 'ctest-vn-76995257', 'tenant_id': 'ae0c85ea1396442697ae57b4ac5d726f', 'project_id': 'ae0c85ea1396442697ae57b4ac5d726f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-91873345', 'ctest-vn-76995257'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 02:33:07,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '71dbacf9-8657-4d4f-aa71-ac3692375e10', 'name': '', 'tenant_id': 'ae0c85ea1396442697ae57b4ac5d726f', 'network_id': '5bb67009-6ed9-44ed-932f-cb3508bdc56f', 'ip_version': 4, 'cidr': '13.222.34.192/26', 'allocation_pools': [{'start': '13.222.34.194', 'end': '13.222.34.254'}], 'gateway_ip': '13.222.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.222.34.194', 'tags': [], 'project_id': 'ae0c85ea1396442697ae57b4ac5d726f'}} 2025-12-10 02:33:07,521 - INFO - Created VN ctest-vn-76995257 2025-12-10 02:33:07,576 - DEBUG - VN ctest-vn-76995257 UUID is 5bb67009-6ed9-44ed-932f-cb3508bdc56f 2025-12-10 02:33:07,766 - DEBUG - Services list from nova: [, , ] 2025-12-10 02:33:08,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4874-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4874-1) 2025-12-10 02:33:10,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4874-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4874-1) 2025-12-10 02:33:10,280 - INFO - Waiting for VM ctest-TestBasicVMVNx-91873345-95641311 to be up.. 2025-12-10 02:33:10,380 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-10 02:33:15,470 - DEBUG - VM is in ACTIVE state now 2025-12-10 02:33:15,470 - INFO - VM name : ctest-TestBasicVMVNx-91873345-95641311 2025-12-10 02:33:15,551 - DEBUG - VM ctest-TestBasicVMVNx-91873345-95641311 ID is 677209be-72cb-4a82-93f1-166a19188f7b 2025-12-10 02:33:15,573 - DEBUG - VM ctest-TestBasicVMVNx-91873345-95641311 launched on Node cn-jenkins-deploy-platform-ansible-os-4874-1 2025-12-10 02:33:15,672 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/677209be-72cb-4a82-93f1-166a19188f7b 2025-12-10 02:33:16,021 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/677209be-72cb-4a82-93f1-166a19188f7b 2025-12-10 02:33:16,061 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ea20b3fa-2d68-4d20-9e0f-8b795dda81cc 2025-12-10 02:33:19,326 - 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 1014ms') 2025-12-10 02:33:19,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91873345-95641311 failed! 2025-12-10 02:33:19,384 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-91873345:ctest-vn-76995257 is 13.222.34.193 and allocation pool is NOT set 2025-12-10 02:33:21,449 - 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=6.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.26 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 = 3.258/4.741/6.224/1.483 ms') 2025-12-10 02:33:21,449 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91873345-95641311 passed 2025-12-10 02:33:21,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:33:21,604 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91873345-95641311, IP 13.222.34.195, Port 22 2025-12-10 02:33:21,774 - DEBUG - VM ctest-TestBasicVMVNx-91873345-95641311 is ready for SSH connections 2025-12-10 02:33:21,774 - INFO - Waiting for VM ctest-TestBasicVMVNx-91873345-51020088 to be up.. 2025-12-10 02:33:21,863 - DEBUG - VM is in ACTIVE state now 2025-12-10 02:33:21,863 - INFO - VM name : ctest-TestBasicVMVNx-91873345-51020088 2025-12-10 02:33:21,950 - DEBUG - VM ctest-TestBasicVMVNx-91873345-51020088 ID is fde6ebdd-71e1-49b0-82cd-ca48f2b5e100 2025-12-10 02:33:21,950 - DEBUG - VM ctest-TestBasicVMVNx-91873345-51020088 launched on Node cn-jenkins-deploy-platform-ansible-os-4874-1 2025-12-10 02:33:22,036 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fde6ebdd-71e1-49b0-82cd-ca48f2b5e100 2025-12-10 02:33:22,045 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/10b3cdcb-9bc7-4f03-9739-6cdf2d26876f 2025-12-10 02:33:23,293 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.29 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 = 3.666/3.977/4.289/0.311 ms') 2025-12-10 02:33:23,293 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-91873345-51020088 passed 2025-12-10 02:33:23,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:33:23,448 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91873345-51020088, IP 13.222.34.196, Port 22 2025-12-10 02:33:23,514 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-10 02:33:23,601 - DEBUG - VM ctest-TestBasicVMVNx-91873345-51020088 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-10 02:33:28,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:33:28,602 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91873345-51020088, IP 13.222.34.196, Port 22 2025-12-10 02:33:28,774 - DEBUG - VM ctest-TestBasicVMVNx-91873345-51020088 is ready for SSH connections 2025-12-10 02:33:28,774 - DEBUG - FILE SIZE = 1303B 2025-12-10 02:33:28,774 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-91873345-95641311 to ctest-TestBasicVMVNx-91873345-51020088 using scp 2025-12-10 02:33:28,776 - 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.38, gateway password: c0ntrail123 2025-12-10 02:33:28,776 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-12-10 02:33:30,860 - DEBUG - 1+0 records in 1+0 records out 2025-12-10 02:33:31,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:33:31,583 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-10 02:33:31,583 - DEBUG - ls -l testfile 2025-12-10 02:33:33,239 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 9 19:33 testfile 2025-12-10 02:33:33,239 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-91873345-51020088 2025-12-10 02:33:33,239 - INFO - Deleting VM ctest-TestBasicVMVNx-91873345-51020088 2025-12-10 02:33:33,328 - INFO - Deleting VM ctest-TestBasicVMVNx-91873345-95641311 2025-12-10 02:33:33,408 - INFO - Deleting VN ctest-vn-76995257 2025-12-10 02:33:33,445 - DEBUG - VN 5bb67009-6ed9-44ed-932f-cb3508bdc56f still in use: Unable to complete operation on network 5bb67009-6ed9-44ed-932f-cb3508bdc56f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4d323c8-8442-42b8-9ff5-52e49df7dab3'] 2025-12-10 02:33:33,446 - WARNING - Deleting VN ctest-vn-76995257 failed..Will retry 2025-12-10 02:33:35,571 - DEBUG - Response for deleting network () 2025-12-10 02:33:35,853 - DEBUG - No XMPP flaps were noticed during the test 2025-12-10 02:33:35,854 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-12-10 02:33:35,854 - INFO - -------------------------------------------------------------------------------- 2025-12-10 02:33:37,044 - INFO - Deleted project: ctest-TestBasicVMVNx-91873345, ID : ae0c85ea-1396-4426-97ae-57b4ac5d726f