You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to trigger UFT from TFS but when i am trying to create and queuing the task.build is failing with "Microsoft.PowerShell.Commands.WriteErrorException: Task Failed" and with log below. i am running on 64bit computer
#17
Open
rajutuft opened this issue
May 16, 2018
· 0 comments
2018-05-15T23:13:15.4401672Z ##[debug]Evaluating condition for step: 'RunFromFileSystemTask'
2018-05-15T23:13:15.4401672Z ##[debug]Evaluating: always()
2018-05-15T23:13:15.4401672Z ##[debug]Evaluating always:
2018-05-15T23:13:15.4401672Z ##[debug]=> (Boolean) True
2018-05-15T23:13:15.4401672Z ##[debug]Expanded: True
2018-05-15T23:13:15.4401672Z ##[debug]Result: True
2018-05-15T23:13:15.4401672Z ##[section]Starting: RunFromFileSystemTask
2018-05-15T23:13:15.4713685Z ==============================================================================
2018-05-15T23:13:15.4713685Z Task : UFT File System Execution
2018-05-15T23:13:15.4713685Z Description : Execute UFT tests from file system
2018-05-15T23:13:15.4713685Z Version : 1.0.0
2018-05-15T23:13:15.4713685Z Author :
2018-05-15T23:13:15.4713685Z Help :
2018-05-15T23:13:15.4713685Z ==============================================================================
2018-05-15T23:13:15.5181872Z Preparing task execution handler.
2018-05-15T23:13:20.4253855Z Executing the powershell script: C:\tfs\vsts-agent-win7-x64-2.122.2_work_tasks\RunFromFileSystemTask_cfbe1493-3bb1-44d5-ac87-7f14a148a6f0\1.0.0\localTask.ps1
2018-05-15T23:13:20.4253855Z ##[debug]PowerShellHandler.Execute - AddCommand(C:\tfs\vsts-agent-win7-x64-2.122.2_work_tasks\RunFromFileSystemTask_cfbe1493-3bb1-44d5-ac87-7f14a148a6f0\1.0.0\localTask.ps1)
2018-05-15T23:13:20.4253855Z ##[debug]PowerShellHandler.Execute - Add inputParameters
2018-05-15T23:13:20.4253855Z ##[debug]PowerShellHandler.Execute - AddParameter(testPathInput=C:\Users\shri\Desktop\New folder\TestTFS.mtb)
2018-05-15T23:13:20.4253855Z ##[debug]PowerShellHandler.Execute - AddParameter(timeOutIn=)
2018-05-15T23:13:20.8779749Z ##[debug]PowerShellHandler.Execute - Invoke
2018-05-15T23:13:21.1588925Z ##[debug]Loading module from path 'C:\tfs\UFTWorking\bin\PSModule.dll'.
2018-05-15T23:13:21.2369246Z ##[debug]Importing cmdlet 'Invoke-RunFromAlmTask'.
2018-05-15T23:13:21.2369246Z ##[debug]Importing cmdlet 'Invoke-FSTask'.
2018-05-15T23:13:21.2525308Z ##[debug]Launcher C:\tfs\UFTWorking\HpToolsLauncher.exe
2018-05-15T23:13:21.2525308Z ##[debug]Aborter** C:\tfs\UFTWorking\HpToolsAborter.exe
2018-05-15T23:13:21.2681371Z ##[debug]Properties saved in : C:\tfs\UFTWorking\props\props15052018191321SSS.txt
2018-05-15T23:13:21.2681371Z ##[debug]runType : FileSystem
2018-05-15T23:13:21.2681371Z ##[debug]PerScenarioTimeOut : -1
2018-05-15T23:13:21.2837446Z ##[debug]Test1 : C:\Users\shri\Desktop\New folder\TestTFS.mtb
2018-05-15T23:13:21.2837446Z ##[debug]resultsFilename : C:\tfs\UFTWorking\res\Results15052018191321SSS.xml
2018-05-15T23:13:23.7183610Z "Started..."
2018-05-15T23:13:23.7807864Z Launcher timeout is 10675199::02:48:05
2018-05-15T23:13:23.7807864Z Controller Polling Interval: 30 seconds
2018-05-15T23:13:23.7807864Z PerScenarioTimeout: 10675199::02:48:05 minutes
2018-05-15T23:13:23.7807864Z FileSystemTestRunner timeout is 10675199.02:48:05.4775807
2018-05-15T23:13:23.7807864Z Mc connection info is - Mc HostAddress: , McPort: 8080, Username: , UseSSL: 0, UseProxy: 0, ProxyType: 0, ProxyAddress: , ProxyPort: 0, ProxyAuth: 0, ProxyUser:
2018-05-15T23:13:23.7807864Z 2 tests found:
2018-05-15T23:13:23.7807864Z C:\Users\shri\Desktop\New folder\GUITest1
2018-05-15T23:13:23.7807864Z C:\Users\shri\Desktop\New folder\URL
2018-05-15T23:13:23.7807864Z ============================================================================
2018-05-15T23:13:24.2489820Z 15/05/2018 19:13:24 Running: C:\Users\shri\Desktop\New folder\GUITest1
2018-05-15T23:13:24.2645887Z Test result: Error
2018-05-15T23:13:24.2645887Z 15/05/2018 19:13:24 Test complete: C:\Users\shri\Desktop\New folder\GUITest1
2018-05-15T23:13:24.2645887Z -------------------------------------------------------------------------------------------------------
2018-05-15T23:13:24.2645887Z 15/05/2018 19:13:24 Running: C:\Users\shri\Desktop\New folder\URL
2018-05-15T23:13:24.2801945Z Test result: Error
2018-05-15T23:13:24.2801945Z 15/05/2018 19:13:24 Test complete: C:\Users\shri\Desktop\New folder\URL
2018-05-15T23:13:24.2801945Z -------------------------------------------------------------------------------------------------------
2018-05-15T23:13:43.8225944Z ================================================
2018-05-15T23:13:43.8225944Z Run status: Job failed, total tests: 2, succeeded: 0, failures: 0, errors: 2
2018-05-15T23:13:43.8225944Z Error : C:\Users\shri\Desktop\New folder\GUITest1
2018-05-15T23:13:43.8225944Z Error : C:\Users\shri\Desktop\New folder\URL
2018-05-15T23:13:43.8225944Z ================================================
2018-05-15T23:13:43.8537877Z ##[debug]Return code: -1
2018-05-15T23:13:43.8537877Z ##[debug]Remove temp files
2018-05-15T23:13:43.8537877Z ##[debug]C:\tfs\UFTWorking\res*.xml
2018-05-15T23:13:43.8850015Z ##[debug]Remove temp files complited
2018-05-15T23:13:43.9318220Z ##[error]Microsoft.PowerShell.Commands.WriteErrorException: Task Failed
2018-05-15T23:13:43.9318220Z ##[debug]Processed: ##vso[task.logissue type=error;]Microsoft.PowerShell.Commands.WriteErrorException: Task Failed
2018-05-15T23:13:43.9942466Z ##[error]PowerShell script completed with 1 errors.
2018-05-15T23:13:43.9942466Z ##[section]Finishing: RunFromFileSystemTask
The text was updated successfully, but these errors were encountered: