Description

After hitting this failure, if you try to deploy again, then it will work. This only occurs on the first attempt.

Initially, I thought I hit a disc space issue I was hitting due to having a sample with a large .exr file. After looking back in my logs, I noticed that was not the case.

Steps to Reproduce

Setup:
Latest Linux toolchain on Windows machine.

Repro:

  • On a Windows machine create a C++ project using the Basic Code template without Starter Content.
  • On the editor toolbar, click the arrow next to the Launch button to open the submenu
  • Select Device Manager
  • Expand "Add An Unlisted Device"
  • Create a device profile with the following settings:
    • Platform: LinuxNoEditor
    • Device Identifier: <ip address of Linux machine>
    • Display Name: SomeName
    • User: <User on Linux machine>
    • Password: <Password of user on Linux machine>
  • After completing that profile, click the Add button
  • Click the arrow next to the Launch button and select the device profile that was just added.

Result:
Launch on fails with something similar to what is shown in the comments

Inside of that PSCP logfile an error message similar to the following is spammed:

pscp: unable to open ./WinToLinuxRepro: failure

Expected:
User can deploy from Windows to Linux successfully on the first attempt.

Callstack
LogPlayLevel: PSCP: pscp: unable to open ./WinToLinuxRepro: failure
LogPlayLevel: CommandUtils.Run: Run: Took 1.5941504s to run PSCP.EXE, ExitCode=1
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:1): D:\GitHub_Release-4.17\3570059\Engine\Extras\ThirdPartyNotUE\putty\PSCP.EXE -batch -pw <password> -r "C:\Users\Michael.Karambelas\Documents\Unreal Projects\WinToLinuxRepro\Saved\StagedBuilds\LinuxNoEditor" michael@<ip>:./WinToLinuxRepro. See logfile for details: 'PSCP-2017.08.03-12.29.59.txt'
LogPlayLevel:    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in D:\GitHub_Release-4.17\3570059\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 913
LogPlayLevel:    at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in D:\GitHub_Release-4.17\3570059\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 866
LogPlayLevel:    at BaseLinuxPlatform.Deploy(ProjectParams Params, DeploymentContext SC) in D:\GitHub_Release-4.17\3570059\Engine\Source\Programs\AutomationTool\Linux\LinuxPlatform.Automation.cs:line 224
LogPlayLevel:    at Project.Deploy(ProjectParams Params) in D:\GitHub_Release-4.17\3570059\Engine\Source\Programs\AutomationTool\Scripts\DeployCommand.Automation.cs:line 56
LogPlayLevel:    at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\GitHub_Release-4.17\3570059\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 243
LogPlayLevel:    at BuildCookRun.ExecuteBuild() in D:\GitHub_Release-4.17\3570059\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 40
LogPlayLevel:    at AutomationTool.BuildCommand.Execute() in D:\GitHub_Release-4.17\3570059\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 100
LogPlayLevel:    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands) in D:\GitHub_Release-4.17\3570059\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 563
LogPlayLevel:    at AutomationTool.Automation.Process(String[] Arguments) in D:\GitHub_Release-4.17\3570059\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 533
LogPlayLevel:    at AutomationTool.Program.MainProc(Object Param) in D:\GitHub_Release-4.17\3570059\Engine\Source\Programs\AutomationTool\Program.cs:line 133
LogPlayLevel:    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in D:\GitHub_Release-4.17\3570059\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 708
LogPlayLevel:    at AutomationTool.Program.Main() in D:\GitHub_Release-4.17\3570059\Engine\Source\Programs\AutomationTool\Program.cs:line 57

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-48027 in the post.

0
Login to Vote

Fixed
ComponentUE - Platform - Linux
Affects Versions4.174.184.21
Target Fix4.22
Fix Commit4679128
Main Commit4837001
Release Commit4862694
CreatedAug 3, 2017
ResolvedJan 23, 2019
UpdatedFeb 4, 2020
View Jira Issue