2024-08-24 02:18:00,733 - INFO - Domain Default found not creating 2024-08-24 02:18:01,212 - INFO - Project ctest-TestBasicVMVNx-47021552 not found, creating it 2024-08-24 02:18:01,984 - INFO - Created Project:ctest-TestBasicVMVNx-47021552, ID : ba1756dd-81d2-45c9-ad39-fc6067569aa8 2024-08-24 02:18:04,262 - INFO - ================================================================================ 2024-08-24 02:18:04,262 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-24 02:18:04,263 - 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 2024-08-24 02:18:04,610 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.5': '0'}} with 2024-08-24 02:18:04,610 - INFO - Initial checks done. Running the testcase now 2024-08-24 02:18:04,611 - INFO - 2024-08-24 02:18:05,961 - DEBUG - Response for create_network : {'network': {'id': 'c0421a9e-f9e0-4c21-b190-75fde671b39a', 'name': 'ctest-vn-47294705', 'tenant_id': 'ba1756dd81d245c9ad39fc6067569aa8', 'project_id': 'ba1756dd81d245c9ad39fc6067569aa8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-47021552', 'ctest-vn-47294705'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 02:18:06,217 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd386c8d4-ddd6-4484-9b21-d56673ab8aab', 'name': '', 'tenant_id': 'ba1756dd81d245c9ad39fc6067569aa8', 'network_id': 'c0421a9e-f9e0-4c21-b190-75fde671b39a', 'ip_version': 4, 'cidr': '187.214.249.192/26', 'allocation_pools': [{'start': '187.214.249.194', 'end': '187.214.249.254'}], 'gateway_ip': '187.214.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.214.249.194', 'tags': [], 'project_id': 'ba1756dd81d245c9ad39fc6067569aa8'}} 2024-08-24 02:18:06,254 - INFO - Created VN ctest-vn-47294705 2024-08-24 02:18:06,315 - DEBUG - VN ctest-vn-47294705 UUID is c0421a9e-f9e0-4c21-b190-75fde671b39a 2024-08-24 02:18:06,608 - DEBUG - Services list from nova: [, , ] 2024-08-24 02:18:08,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1737-1) 2024-08-24 02:18:09,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1737-1) 2024-08-24 02:18:09,760 - INFO - Waiting for VM ctest-TestBasicVMVNx-47021552-90116706 to be up.. 2024-08-24 02:18:09,854 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 02:18:15,095 - DEBUG - VM is in ACTIVE state now 2024-08-24 02:18:15,095 - INFO - VM name : ctest-TestBasicVMVNx-47021552-90116706 2024-08-24 02:18:15,243 - DEBUG - VM ctest-TestBasicVMVNx-47021552-90116706 ID is 4226fa23-430a-4454-805b-0341d015a0aa 2024-08-24 02:18:15,285 - DEBUG - VM ctest-TestBasicVMVNx-47021552-90116706 launched on Node cn-jenkins-deploy-platform-ansible-os-1737-1 2024-08-24 02:18:15,481 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/4226fa23-430a-4454-805b-0341d015a0aa 2024-08-24 02:18:15,785 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/4226fa23-430a-4454-805b-0341d015a0aa 2024-08-24 02:18:15,851 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/6fde14b2-20f3-4b9f-8ec5-27b656338040 2024-08-24 02:18:19,215 - 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') 2024-08-24 02:18:19,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47021552-90116706 failed! 2024-08-24 02:18:19,296 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-47021552:ctest-vn-47294705 is 187.214.249.193 and allocation pool is NOT set 2024-08-24 02:18:21,379 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.689 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.689/4.112/7.536/3.423 ms') 2024-08-24 02:18:21,380 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47021552-90116706 passed 2024-08-24 02:18:21,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:18:21,563 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47021552-90116706, IP 187.214.249.195, Port 22 2024-08-24 02:18:21,633 - 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': ''} 2024-08-24 02:18:21,788 - DEBUG - VM ctest-TestBasicVMVNx-47021552-90116706 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-24 02:18:26,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:18:26,789 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47021552-90116706, IP 187.214.249.195, Port 22 2024-08-24 02:18:26,998 - DEBUG - VM ctest-TestBasicVMVNx-47021552-90116706 is ready for SSH connections 2024-08-24 02:18:26,998 - INFO - Waiting for VM ctest-TestBasicVMVNx-47021552-23163526 to be up.. 2024-08-24 02:18:27,236 - DEBUG - VM is in ACTIVE state now 2024-08-24 02:18:27,237 - INFO - VM name : ctest-TestBasicVMVNx-47021552-23163526 2024-08-24 02:18:27,460 - DEBUG - VM ctest-TestBasicVMVNx-47021552-23163526 ID is f12a8d9b-5c85-4e83-abdc-af779ae7dfdc 2024-08-24 02:18:27,461 - DEBUG - VM ctest-TestBasicVMVNx-47021552-23163526 launched on Node cn-jenkins-deploy-platform-ansible-os-1737-1 2024-08-24 02:18:27,652 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/f12a8d9b-5c85-4e83-abdc-af779ae7dfdc 2024-08-24 02:18:27,679 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/8af02864-3410-4d88-893d-32b1c65fd883 2024-08-24 02:18:29,049 - 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=9.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.964 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.964/5.226/9.489/4.262 ms') 2024-08-24 02:18:29,050 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-47021552-23163526 passed 2024-08-24 02:18:29,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:18:29,249 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47021552-23163526, IP 187.214.249.196, Port 22 2024-08-24 02:18:29,461 - DEBUG - VM ctest-TestBasicVMVNx-47021552-23163526 is ready for SSH connections 2024-08-24 02:18:29,461 - DEBUG - FILE SIZE = 1303B 2024-08-24 02:18:29,462 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-47021552-90116706 to ctest-TestBasicVMVNx-47021552-23163526 using scp 2024-08-24 02:18:29,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:18:29,479 - 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.56, gateway password: c0ntrail123 2024-08-24 02:18:29,479 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-24 02:18:31,863 - DEBUG - 1+0 records in 1+0 records out 2024-08-24 02:18:32,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:18:33,161 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2024-08-24 02:18:33,162 - DEBUG - ls -l testfile 2024-08-24 02:18:35,097 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 23 20:18 testfile 2024-08-24 02:18:35,097 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-47021552-23163526 2024-08-24 02:18:35,098 - INFO - Deleting VM ctest-TestBasicVMVNx-47021552-23163526 2024-08-24 02:18:35,192 - INFO - Deleting VM ctest-TestBasicVMVNx-47021552-90116706 2024-08-24 02:18:35,314 - INFO - Deleting VN ctest-vn-47294705 2024-08-24 02:18:35,383 - DEBUG - VN c0421a9e-f9e0-4c21-b190-75fde671b39a still in use: Unable to complete operation on network c0421a9e-f9e0-4c21-b190-75fde671b39a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ed1e478-1d8a-44a2-9d00-ddf0784cfd52'] 2024-08-24 02:18:35,383 - WARNING - Deleting VN ctest-vn-47294705 failed..Will retry 2024-08-24 02:18:37,678 - DEBUG - Response for deleting network () 2024-08-24 02:18:38,016 - DEBUG - No XMPP flaps were noticed during the test
2024-08-24 02:18:38,016 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:34]
2024-08-24 02:18:38,016 - INFO - -------------------------------------------------------------------------------- 2024-08-24 02:18:39,065 - INFO - Deleted project: ctest-TestBasicVMVNx-47021552, ID : ba1756dd-81d2-45c9-ad39-fc6067569aa8