2025-03-27 16:46:07,939 - INFO - Domain Default found not creating 2025-03-27 16:46:08,089 - INFO - Project ctest-TestBasicVMVNx-38229306 not found, creating it 2025-03-27 16:46:08,544 - INFO - Created Project:ctest-TestBasicVMVNx-38229306, ID : 3941e4e1-c807-4293-bc2d-f89b39bf2340 2025-03-27 16:46:09,932 - INFO - ================================================================================ 2025-03-27 16:46:09,932 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-27 16:46:09,932 - 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-03-27 16:46:10,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.22': '0'}} with 2025-03-27 16:46:10,191 - INFO - Initial checks done. Running the testcase now 2025-03-27 16:46:10,191 - INFO - 2025-03-27 16:46:10,763 - DEBUG - Response for create_network : {'network': {'id': 'bd5334c3-601f-4d45-93ff-c4033a906da6', 'name': 'ctest-vn-15824204', 'tenant_id': '3941e4e1c8074293bc2df89b39bf2340', 'project_id': '3941e4e1c8074293bc2df89b39bf2340', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-38229306', 'ctest-vn-15824204'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 16:46:10,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '45af80d6-e895-44dc-9bd6-63cb112ea7ec', 'name': '', 'tenant_id': '3941e4e1c8074293bc2df89b39bf2340', 'network_id': 'bd5334c3-601f-4d45-93ff-c4033a906da6', 'ip_version': 4, 'cidr': '164.146.131.64/26', 'allocation_pools': [{'start': '164.146.131.66', 'end': '164.146.131.126'}], 'gateway_ip': '164.146.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.146.131.66', 'tags': [], 'project_id': '3941e4e1c8074293bc2df89b39bf2340'}} 2025-03-27 16:46:10,983 - INFO - Created VN ctest-vn-15824204 2025-03-27 16:46:11,039 - DEBUG - VN ctest-vn-15824204 UUID is bd5334c3-601f-4d45-93ff-c4033a906da6 2025-03-27 16:46:11,205 - DEBUG - Services list from nova: [, , ] 2025-03-27 16:46:12,214 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2981-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2981-1) 2025-03-27 16:46:13,359 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2981-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2981-1) 2025-03-27 16:46:13,359 - INFO - Waiting for VM ctest-TestBasicVMVNx-38229306-78363077 to be up.. 2025-03-27 16:46:13,440 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 16:46:18,529 - DEBUG - VM is in ACTIVE state now 2025-03-27 16:46:18,529 - INFO - VM name : ctest-TestBasicVMVNx-38229306-78363077 2025-03-27 16:46:18,609 - DEBUG - VM ctest-TestBasicVMVNx-38229306-78363077 ID is b4bcdac9-e5df-4964-aaf5-8d344bd01972 2025-03-27 16:46:18,626 - DEBUG - VM ctest-TestBasicVMVNx-38229306-78363077 launched on Node cn-jenkins-deploy-platform-ansible-os-2981-1 2025-03-27 16:46:18,698 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b4bcdac9-e5df-4964-aaf5-8d344bd01972 2025-03-27 16:46:18,992 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b4bcdac9-e5df-4964-aaf5-8d344bd01972 2025-03-27 16:46:19,027 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/3f5fb33f-e142-4cdb-9c74-39f55ee934f6 2025-03-27 16:46:22,281 - 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 1007ms') 2025-03-27 16:46:22,281 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-38229306-78363077 failed! 2025-03-27 16:46:22,339 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-38229306:ctest-vn-15824204 is 164.146.131.65 and allocation pool is NOT set 2025-03-27 16:46:24,403 - 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=3.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.903 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.903/2.167/3.431/1.264 ms') 2025-03-27 16:46:24,404 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-38229306-78363077 passed 2025-03-27 16:46:24,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:46:24,551 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38229306-78363077, IP 164.146.131.67, Port 22 2025-03-27 16:46:24,706 - DEBUG - VM ctest-TestBasicVMVNx-38229306-78363077 is ready for SSH connections 2025-03-27 16:46:24,706 - INFO - Waiting for VM ctest-TestBasicVMVNx-38229306-53490413 to be up.. 2025-03-27 16:46:24,782 - DEBUG - VM is in ACTIVE state now 2025-03-27 16:46:24,782 - INFO - VM name : ctest-TestBasicVMVNx-38229306-53490413 2025-03-27 16:46:24,859 - DEBUG - VM ctest-TestBasicVMVNx-38229306-53490413 ID is cb4e6a6b-0d89-4788-bc20-8d0cae93a764 2025-03-27 16:46:24,859 - DEBUG - VM ctest-TestBasicVMVNx-38229306-53490413 launched on Node cn-jenkins-deploy-platform-ansible-os-2981-1 2025-03-27 16:46:24,934 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/cb4e6a6b-0d89-4788-bc20-8d0cae93a764 2025-03-27 16:46:24,943 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/4ea0f295-c2eb-45e4-b1c2-b98b9ea820a9 2025-03-27 16:46:26,184 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.957 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.957/2.087/3.218/1.130 ms') 2025-03-27 16:46:26,184 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-38229306-53490413 passed 2025-03-27 16:46:26,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:46:26,339 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38229306-53490413, IP 164.146.131.68, Port 22 2025-03-27 16:46:26,395 - 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-03-27 16:46:26,472 - DEBUG - VM ctest-TestBasicVMVNx-38229306-53490413 is NOT ready for SSH connections, VM status: ACTIVE 2025-03-27 16:46:31,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:46:31,473 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38229306-53490413, IP 164.146.131.68, Port 22 2025-03-27 16:46:31,631 - DEBUG - VM ctest-TestBasicVMVNx-38229306-53490413 is ready for SSH connections 2025-03-27 16:46:31,631 - DEBUG - FILE SIZE = 1303B 2025-03-27 16:46:31,631 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-38229306-78363077 to ctest-TestBasicVMVNx-38229306-53490413 using scp 2025-03-27 16:46:31,632 - 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.49, gateway password: c0ntrail123 2025-03-27 16:46:31,632 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-27 16:46:33,496 - DEBUG - 1+0 records in 1+0 records out 2025-03-27 16:46:34,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:46:34,393 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-03-27 16:46:34,393 - DEBUG - ls -l testfile 2025-03-27 16:46:35,965 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 27 10:46 testfile 2025-03-27 16:46:35,965 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-38229306-53490413 2025-03-27 16:46:35,965 - INFO - Deleting VM ctest-TestBasicVMVNx-38229306-53490413 2025-03-27 16:46:36,033 - INFO - Deleting VM ctest-TestBasicVMVNx-38229306-78363077 2025-03-27 16:46:36,093 - INFO - Deleting VN ctest-vn-15824204 2025-03-27 16:46:36,128 - DEBUG - VN bd5334c3-601f-4d45-93ff-c4033a906da6 still in use: Unable to complete operation on network bd5334c3-601f-4d45-93ff-c4033a906da6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27897293-65c4-4b69-a301-ac425cfcc9c4'] 2025-03-27 16:46:36,128 - WARNING - Deleting VN ctest-vn-15824204 failed..Will retry 2025-03-27 16:46:38,246 - DEBUG - Response for deleting network () 2025-03-27 16:46:38,511 - DEBUG - No XMPP flaps were noticed during the test 2025-03-27 16:46:38,511 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-03-27 16:46:38,511 - INFO - -------------------------------------------------------------------------------- 2025-03-27 16:46:39,205 - INFO - Deleted project: ctest-TestBasicVMVNx-38229306, ID : 3941e4e1-c807-4293-bc2d-f89b39bf2340