2025-03-25 12:35:20,572 - INFO - Domain Default found not creating 2025-03-25 12:35:20,780 - INFO - Project ctest-TestBasicVMVNx-74226488 not found, creating it 2025-03-25 12:35:21,277 - INFO - Created Project:ctest-TestBasicVMVNx-74226488, ID : 1196bc52-260c-441c-ae7f-684ab1506e75 2025-03-25 12:35:22,868 - INFO - ================================================================================ 2025-03-25 12:35:22,868 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-25 12:35:22,868 - 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-25 12:35:23,141 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.5': '0'}} with 2025-03-25 12:35:23,141 - INFO - Initial checks done. Running the testcase now 2025-03-25 12:35:23,141 - INFO - 2025-03-25 12:35:23,733 - DEBUG - Response for create_network : {'network': {'id': 'e774bcdb-3c6f-4cf7-88e8-0790a22495b9', 'name': 'ctest-vn-75734715', 'tenant_id': '1196bc52260c441cae7f684ab1506e75', 'project_id': '1196bc52260c441cae7f684ab1506e75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74226488', 'ctest-vn-75734715'], 'port_security_enabled': True, 'description': ''}} 2025-03-25 12:35:23,890 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d273f52-65ee-4d11-9398-dc653edd1eed', 'name': '', 'tenant_id': '1196bc52260c441cae7f684ab1506e75', 'network_id': 'e774bcdb-3c6f-4cf7-88e8-0790a22495b9', 'ip_version': 4, 'cidr': '164.244.54.192/26', 'allocation_pools': [{'start': '164.244.54.194', 'end': '164.244.54.254'}], 'gateway_ip': '164.244.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.244.54.194', 'tags': [], 'project_id': '1196bc52260c441cae7f684ab1506e75'}} 2025-03-25 12:35:23,915 - INFO - Created VN ctest-vn-75734715 2025-03-25 12:35:23,971 - DEBUG - VN ctest-vn-75734715 UUID is e774bcdb-3c6f-4cf7-88e8-0790a22495b9 2025-03-25 12:35:24,168 - DEBUG - Services list from nova: [, , ] 2025-03-25 12:35:25,289 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2949-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2949-1) 2025-03-25 12:35:26,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2949-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2949-1) 2025-03-25 12:35:26,511 - INFO - Waiting for VM ctest-TestBasicVMVNx-74226488-55054084 to be up.. 2025-03-25 12:35:26,615 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-25 12:35:31,721 - DEBUG - VM is in ACTIVE state now 2025-03-25 12:35:31,721 - INFO - VM name : ctest-TestBasicVMVNx-74226488-55054084 2025-03-25 12:35:31,811 - DEBUG - VM ctest-TestBasicVMVNx-74226488-55054084 ID is 16413314-589c-464e-a90e-d1998547424a 2025-03-25 12:35:31,835 - DEBUG - VM ctest-TestBasicVMVNx-74226488-55054084 launched on Node cn-jenkins-deploy-platform-ansible-os-2949-1 2025-03-25 12:35:31,925 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/16413314-589c-464e-a90e-d1998547424a 2025-03-25 12:35:32,223 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/16413314-589c-464e-a90e-d1998547424a 2025-03-25 12:35:32,261 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0384a030-dd62-4f2e-8de9-a51f38a637ac 2025-03-25 12:35:35,530 - 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 1018ms') 2025-03-25 12:35:35,531 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74226488-55054084 failed! 2025-03-25 12:35:35,595 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74226488:ctest-vn-75734715 is 164.244.54.193 and allocation pool is NOT set 2025-03-25 12:35:37,662 - 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=5.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.46 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 = 2.458/4.134/5.811/1.676 ms') 2025-03-25 12:35:37,662 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74226488-55054084 passed 2025-03-25 12:35:37,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 12:35:37,823 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74226488-55054084, IP 164.244.54.195, Port 22 2025-03-25 12:35:37,992 - DEBUG - VM ctest-TestBasicVMVNx-74226488-55054084 is ready for SSH connections 2025-03-25 12:35:37,992 - INFO - Waiting for VM ctest-TestBasicVMVNx-74226488-33185235 to be up.. 2025-03-25 12:35:38,116 - DEBUG - VM is in ACTIVE state now 2025-03-25 12:35:38,116 - INFO - VM name : ctest-TestBasicVMVNx-74226488-33185235 2025-03-25 12:35:38,239 - DEBUG - VM ctest-TestBasicVMVNx-74226488-33185235 ID is 8483dbae-ee01-4b04-bac6-8aa3cd63ef30 2025-03-25 12:35:38,239 - DEBUG - VM ctest-TestBasicVMVNx-74226488-33185235 launched on Node cn-jenkins-deploy-platform-ansible-os-2949-1 2025-03-25 12:35:38,368 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8483dbae-ee01-4b04-bac6-8aa3cd63ef30 2025-03-25 12:35:38,381 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/fdd7d14a-f58e-4024-a3be-588fc14493aa 2025-03-25 12:35:39,650 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.14 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 = 1.144/2.401/3.659/1.257 ms') 2025-03-25 12:35:39,650 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74226488-33185235 passed 2025-03-25 12:35:39,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 12:35:39,811 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74226488-33185235, IP 164.244.54.196, Port 22 2025-03-25 12:35:39,879 - 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-25 12:35:39,984 - DEBUG - VM ctest-TestBasicVMVNx-74226488-33185235 is NOT ready for SSH connections, VM status: ACTIVE 2025-03-25 12:35:44,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 12:35:44,985 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74226488-33185235, IP 164.244.54.196, Port 22 2025-03-25 12:35:45,157 - DEBUG - VM ctest-TestBasicVMVNx-74226488-33185235 is ready for SSH connections 2025-03-25 12:35:45,158 - DEBUG - FILE SIZE = 1303B 2025-03-25 12:35:45,158 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74226488-55054084 to ctest-TestBasicVMVNx-74226488-33185235 using scp 2025-03-25 12:35:45,158 - 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.48, gateway password: c0ntrail123 2025-03-25 12:35:45,159 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-25 12:35:47,161 - DEBUG - 1+0 records in 1+0 records out 2025-03-25 12:35:47,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 12:35:48,307 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-03-25 12:35:48,307 - DEBUG - ls -l testfile 2025-03-25 12:35:49,968 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 25 06:35 testfile 2025-03-25 12:35:49,969 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74226488-33185235 2025-03-25 12:35:49,969 - INFO - Deleting VM ctest-TestBasicVMVNx-74226488-33185235 2025-03-25 12:35:50,059 - INFO - Deleting VM ctest-TestBasicVMVNx-74226488-55054084 2025-03-25 12:35:50,149 - INFO - Deleting VN ctest-vn-75734715 2025-03-25 12:35:50,202 - DEBUG - VN e774bcdb-3c6f-4cf7-88e8-0790a22495b9 still in use: Unable to complete operation on network e774bcdb-3c6f-4cf7-88e8-0790a22495b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c1344100-d105-40bd-916f-6073c332d73f'] 2025-03-25 12:35:50,203 - WARNING - Deleting VN ctest-vn-75734715 failed..Will retry 2025-03-25 12:35:52,370 - DEBUG - Response for deleting network () 2025-03-25 12:35:52,634 - DEBUG - No XMPP flaps were noticed during the test
2025-03-25 12:35:52,634 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-03-25 12:35:52,634 - INFO - -------------------------------------------------------------------------------- 2025-03-25 12:35:53,427 - INFO - Deleted project: ctest-TestBasicVMVNx-74226488, ID : 1196bc52-260c-441c-ae7f-684ab1506e75