Commit Graph

723 Commits

Author SHA1 Message Date
Jerome Delattre
93a0f48bd8 Using System.Text.Json for Device reservation instead of fastJSON and making the deserialization not case sensitive
#rb Josh.Engebretson, Chris.Constantinescu
#preflight 62434b28292f228e09e53f10
#rnx
#jira none

[CL 19575272 by Jerome Delattre in ue5-main branch]
2022-03-31 13:43:17 -04:00
PJ Kack
640a176fd5 UAT: Ctrl-c exit fixes.
In ProcessManager.KillAll() make a local copy of global ActiveProcesses and to avoid calling any external code while iterating the internal global list.
In ProcessResult.StopProcess() make sure to set the ExitCode member from the killed process, else the information is lost forever since the member Proc has already been nulled out.
In CommandUtils.Run() check Result.ProcessObject for null for the case when WaitForExit() returns after StopProcess() has been called from another thread (ctrl-c handler).

#jira none
#rb carlmagnus.nordin
#rnx
#preflight 62441c4dc667881bf4e70722

[CL 19570185 by PJ Kack in ue5-main branch]
2022-03-31 03:25:13 -04:00
jonathan adamczewski
5053cae2d8 Launch UnrealBuildTool via dotnet unrealbuildtool.dll, not unrealbuildtool.exe
#jira none
#rnx
#preflight 624261bdb6084b98321e9251

[CL 19544939 by jonathan adamczewski in ue5-main branch]
2022-03-29 13:20:46 -04:00
jonathan adamczewski
0a6164bbd3 nullability annotations, rethrow fixes, net6.0 warning suppression
#jira none
#trivial
#rnx
#preflight 62425155c61d8a458f230657

[CL 19536049 by jonathan adamczewski in ue5-main branch]
2022-03-28 20:50:06 -04:00
jonathan adamczewski
01786aed54 GoogleDriveHelper: correct rethrow
#jira none
#trivial
#rnx
#preflight none

[CL 19535531 by jonathan adamczewski in ue5-main branch]
2022-03-28 19:43:45 -04:00
jonathan adamczewski
5c68d1d9ef Revert //UE5/Main/... changelist 19531725 - return to NET Core 3.1
#preflight 62422fd0470aff98e946bfce
#jira UE-119846

[CL 19534572 by jonathan adamczewski in ue5-main branch]
2022-03-28 18:25:19 -04:00
justin marcus
bab21f02ae Add MergeDirectory_NoExceptions which does not delete the contents of the targer directory.
#preflight https://horde.devtools.epicgames.com/job/623e0cb18330d27ee3740f4f

#ROBOMERGE-OWNER: justin.marcus
#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 19525960 via CL 19527026 via CL 19527842 via CL 19527853
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19532718 by justin marcus in ue5-main branch]
2022-03-28 16:27:08 -04:00
jonathan adamczewski
18ac15cbb1 Upgrade to .NET 6.0
#jira UE-119846
#preflight 6241fc06470aff98e943c035

[CL 19531725 by jonathan adamczewski in ue5-main branch]
2022-03-28 15:30:56 -04:00
Josh Adams
3be42005d9 - Removed code that was accidentally checked in, that broke Android .apk names
#fyi chris.babcock
#rb trivial
#jira UE-146630
#preflight skip

[CL 19456849 by Josh Adams in ue5-main branch]
2022-03-21 15:42:23 -04:00
josh adams
73790836c2 - Added PlatformValues to DeviceInfo in UAT land. Removed the Subtype field and changed it's very limited use to PlatformValues
- Added support for copying remote debugging files to SteamDeck when deploying
- Username is now pulled out of the Device info, or put on the commandline via -deviceuser to override
#rb brandon.schaefer
#jira none
#p4v-preflight-copy 19392535
#preflight 6233ac4af101b8d0afa9abf4

[CL 19428566 by josh adams in ue5-main branch]
2022-03-17 18:23:21 -04:00
Tim Smith
603b903987 Prepare UBT and automation code type scanning for the moving of the MSBuild code. This requires a change in how we handle the load failure of Microsoft.build.framework.
#rb leigh.swift
#rnx
#preflight 62337c800820efd0945e40d0

[CL 19424430 by Tim Smith in ue5-main branch]
2022-03-17 14:44:47 -04:00
andrew grant
128659d507 Added explicit check and exeption for the case where a zip file doesn't exist.It should make sume build failures easier to read.
#preflight skip

#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 19388087 via CL 19390308 via CL 19393669 via CL 19399357 via CL 19399484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19403786 by andrew grant in ue5-main branch]
2022-03-16 03:48:40 -04:00
PJ Kack
68a9307bf1 UAT: Fix problem of waiting forever to kill client or cook server process when launching with -cookonthefly.
Optimize StopProcess() when called with KillDescendants=true by using the standard Process.Kill(bool entireProcessTree) instead of our own slow KillAllDescendants() implementation.
Kill entire process trees when killing the launched processes from KillAll on uat exit.
Build machines will still call KillAllDescendants as the last fallback just as before.

#jira none
#rb carlmagnus.nordin
#rnx
#preflight 62304a9510686369534217ce

[CL 19383104 by PJ Kack in ue5-main branch]
2022-03-15 04:52:57 -04:00
Josh Adams
ed1fb28a68 - New CreateBuild Turnkey command to interactively create builds that can be run now, or saved for later (exposed to Editor Platforms menu)
- Started moving the code that turns ProjectPackagingSettings into BuildCookRun commandline from editor to C# so that we can run scripts without needing to bake out the commandline
- Updated ExecuteBuild to handle some new variables and such (like the new one for importing ProjectPackagingSettings into the commandline dynamically)
- Added ability to update a Default config file in C# (with limited functionality - set value and add array entry, with an enum we can extend later)
- Minor cleanup here and there
#rb david.harvey
#preflight 622b581ddf3960e506cf9a27
#preflight 622bb3f046679d56c3239a8c

[CL 19360380 by Josh Adams in ue5-main branch]
2022-03-11 15:51:57 -05:00
bryan johnson
7da8b46f9b Add a retry to timestamp diff check, as networks might take a few seconds to settle the timestamp
#jira UE-145154
#rb ryan.hummer
#preflight 62293e9fd773d6497b1a28a9

#ROBOMERGE-AUTHOR: bryan.johnson
#ROBOMERGE-SOURCE: CL 19334950 in //UE5/Release-5.0/... via CL 19335251
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19348707 by bryan johnson in ue5-main branch]
2022-03-10 22:25:34 -05:00
PJ Kack
72b00cd645 UAT: Don't wait for 2 minutes for output handles to close for processes that does not redirect StdOut/StdErr at all (e.g. by calling Run with Options=ERunOptions.NoStdOutRedirect).
Give ERunOptions.NoStdOutCapture a unique value so that Options.HasFlag(ERunOptions.NoStdOutCapture) returns the expected result.

#jira none
#rb carlmagnus.nordin
#rnx
#preflight 6229dbc7377a9e55bac9ec3a

[CL 19334901 by PJ Kack in ue5-main branch]
2022-03-10 08:46:13 -05:00
Catalin Dragoiu
aba8c30dbe Added support for the -trace and -tracehost parameters for BuildCookRun
#jira UE-101084
#rb Ryan.Hummer Ionut.Matasaru
#preflight 6221e6d1a00412627d36aafc

[CL 19265555 by Catalin Dragoiu in ue5-main branch]
2022-03-04 09:14:28 -05:00
andrew scheidecker
c7f1787184 Fix P4WriteConfig error text reference to P4CreateConfig instead of P4WriteConfig.
#preflight 621e490eca28c556342d13c6

#ROBOMERGE-AUTHOR: andrew.scheidecker
#ROBOMERGE-SOURCE: CL 19202669 via CL 19206896 via CL 19213226 via CL 19213594 via CL 19213681
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19225208 by andrew scheidecker in ue5-main branch]
2022-03-02 13:56:42 -05:00
Josh Adams
51f5fe85bb - Allow for merging of directories with options to CopyDirectory_NoExceptions
#jira none
#rb matt.peters
#preflight 621018cb406b34de07e4bd0c

[CL 19057815 by Josh Adams in ue5-main branch]
2022-02-18 17:20:22 -05:00
Ben Marsh
8a67c4acaf Horde: Move generic functionality for hosting different commands within an application into EpicGames.Core. Simplifies command line parsing, error handling, help output, etc...
#preflight 620c005c615db7478d393b1e

[CL 19001122 by Ben Marsh in ue5-main branch]
2022-02-15 14:41:10 -05:00
dmitriy dyomin
9504e87efa Fixed: Missing GPUDumpViewer files from a packaged builds on Android and iOS
#rb chris.babcock
#jira UE-142459
#preflight 620a4b7e015ab8f37a438558

#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 18978060 in //UE5/Release-5.0/... via CL 18978139 via CL 18978195
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18978200 by dmitriy dyomin in ue5-main branch]
2022-02-14 08:18:25 -05:00
justin marcus
f69c485f11 Allow for retrevial of log path from RebuildHLODCommandlet
#preflight

#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 18868625 via CL 18880828 via CL 18880841 via CL 18880847 via CL 18880900 via CL 18880906
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18884842 by justin marcus in ue5-main branch]
2022-02-07 09:08:25 -05:00
josh adams
7953398a50 - Refactored RunCommandlet and Project.Cook() so that a script can start cooking or other commandlet while doing something else (like monitoring the output)
#rb david.harvey
#p4v-preflight-copy 18808074
#preflight 61f9482afa6554dff3d32331

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 18817268 via CL 18826813 via CL 18826876 via CL 18826925 via CL 18835873 via CL 18836741
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18836916 by josh adams in ue5-main branch]
2022-02-02 18:42:35 -05:00
josh adams
7b222e8da6 - Added NeverPackage flag to BuildCookRun which can skip steps in Staging knowing that Packaging will never happen (different than SkipPackage which assumes Packaging happened at some other point)
#rb luke.thatcher
#preflight skip

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 18800102 via CL 18826763 via CL 18826847 via CL 18826897 via CL 18835856 via CL 18836710
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18836905 by josh adams in ue5-main branch]
2022-02-02 18:42:06 -05:00
bertrand carre
853f731ed5 Replace/remove uses of whitelist/blacklist in MCP
#jira UE-131119
[REVIEW] [at]Alejandro.Aguilar [at]Steven.Bedford
#preflight

#ROBOMERGE-AUTHOR: bertrand.carre
#ROBOMERGE-SOURCE: CL 18807799 in //UE5/Release-5.0/... via CL 18809268 via CL 18822515
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18823275 by bertrand carre in ue5-main branch]
2022-02-02 05:31:39 -05:00