Commit Graph

711 Commits

Author SHA1 Message Date
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
chris caulfield
29ccf263b4 Fix MapsToCook when multiple +-separated maps are provided to the cooker
#rb jor.kirchoff
#jira none
#preflight 61e1ef2b4b4bd12cbee803d9

#ROBOMERGE-AUTHOR: chris.caulfield
#ROBOMERGE-SOURCE: CL 18624077 in //UE5/Release-5.0/... via CL 18624109 via CL 18624120
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18624165 by chris caulfield in ue5-main branch]
2022-01-14 17:16:46 -05:00
joe kirchoff
ce3aa781de Fixed the initial map setting of the project launcher being ignored when also specifying maps to cook (from jamie.dale)
#jira UE-119188
[FYI] jamie.dale
#rb trivial
#preflight 61e081ce787db720a912c783

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 18602768 in //UE5/Release-5.0/... via CL 18602826 via CL 18602868
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18602899 by joe kirchoff in ue5-main branch]
2022-01-13 15:09:04 -05:00
jonathan adamczewski
fb9901fe24 AutomationTool: Remove UE4 references
#jira UE-111740
#preflight none
#trivial

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18576039 in //UE5/Release-5.0/... via CL 18576055 via CL 18576072
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18576082 by jonathan adamczewski in ue5-main branch]
2022-01-11 15:16:51 -05:00
jonathan adamczewski
5765f4595e AutomationTool: Remove UE4 references
#jira UE-111740
#preflight none
#trivial

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18576039 in //UE5/Release-5.0/... via CL 18576055
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18576072 by jonathan adamczewski in ue5-release-engine-test branch]
2022-01-11 15:15:59 -05:00
Marc Audy
c43360f47c Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#[fyi] Aurel.Cordonnier

#ushell-cherrypick of 18448630 by Marc.Audy
#preflight none

[CL 18483677 by Marc Audy in ue5-main branch]
2021-12-17 03:41:59 -05:00
Ben Marsh
4d9a141cb1 BuildGraph: Add a task for querying all modified files since a certain changelist. Can be used in conjuction with Horde UE_HORDE_LAST_SUCCESS_CL to isolate files to rebuild.
#preflight none

[CL 18478415 by Ben Marsh in ue5-main branch]
2021-12-16 15:03:33 -05:00
thomas ross
6812a35a47 Add and Utilize UseChunkDB setting on bundle config to no longer generate chunkDBs on any flagged bundles
#rb swarm
#swarm 18391661
#preflight 61aece940e3f453820506dae
#tests Android / Switch preflight

#ROBOMERGE-AUTHOR: thomas.ross
#ROBOMERGE-SOURCE: CL 18449824 via CL 18449842 via CL 18449853 via CL 18449862 via CL 18450175 via CL 18450186 via CL 18450195
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v897-18405271)

[CL 18450217 by thomas ross in ue5-main branch]
2021-12-13 18:34:14 -05:00
thomas ross
a49434ceea Add and Utilize UseChunkDB setting on bundle config to no longer generate chunkDBs on any flagged bundles
#rb swarm
#swarm 18391661
#preflight 61aece940e3f453820506dae
#tests Android / Switch preflight

#ROBOMERGE-AUTHOR: thomas.ross
#ROBOMERGE-SOURCE: CL 18449824 via CL 18449842 via CL 18449853 via CL 18449862 via CL 18450175 via CL 18450186
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18450195 by thomas ross in ue5-release-engine-test branch]
2021-12-13 18:32:58 -05:00
Marc Audy
f512a6d461 Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#fyi Aurel.Cordonnier

[CL 18448630 by Marc Audy in ue5-release-engine-test branch]
2021-12-13 15:59:48 -05:00
zousar shaker
3964165d76 Ensure that Zen ProjectIds are unique for projects with the same name in differing roots (or in the same root) while attempting to maintain some easily recognizable desriptors for the project.
Staged builds are explicitly assigned a project id via the persistent UECommandline.txt file.  This works on mobile/consoles, but isn't implemented for Windows/Linux/Mac, so staged builds for those platforms don't have a persistent assignment of project id and instead rely on the launch by the editor including the appropriate commandlines.
Unstaged builds on Windows/Mac/Linux now determine project id independently after they have determined the project file path.  This happens after the project file has been determined and has had case corrected.  This ensures it is different/unique for multiple blueprint projects that share the same executable.
Fix a bug where second cook in editor to zen would stall because the queue thinks all additions are finished due to a boolean that isn't reset.

#rb devin.doucette
#rb per.larsson
#preflight 61b39a35a2562c8b1c40f81e

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 18432317 in //UE5/Release-5.0/... via CL 18435404 via CL 18435895
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v897-18405271)

[CL 18436056 by zousar shaker in ue5-main branch]
2021-12-10 18:19:42 -05:00
zousar shaker
0832797d28 Ensure that Zen ProjectIds are unique for projects with the same name in differing roots (or in the same root) while attempting to maintain some easily recognizable desriptors for the project.
Staged builds are explicitly assigned a project id via the persistent UECommandline.txt file.  This works on mobile/consoles, but isn't implemented for Windows/Linux/Mac, so staged builds for those platforms don't have a persistent assignment of project id and instead rely on the launch by the editor including the appropriate commandlines.
Unstaged builds on Windows/Mac/Linux now determine project id independently after they have determined the project file path.  This happens after the project file has been determined and has had case corrected.  This ensures it is different/unique for multiple blueprint projects that share the same executable.
Fix a bug where second cook in editor to zen would stall because the queue thinks all additions are finished due to a boolean that isn't reset.

#rb devin.doucette
#rb per.larsson
#preflight 61b39a35a2562c8b1c40f81e

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 18432317 in //UE5/Release-5.0/... via CL 18435404
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435895 by zousar shaker in ue5-release-engine-test branch]
2021-12-10 18:06:39 -05:00
Ben Marsh
6a2855f64c UAT: Add support for async build commands and BuildGraph tasks.
#preflight 61b3aa86e928cffe866fa918

[CL 18433916 by Ben Marsh in ue5-main branch]
2021-12-10 15:36:47 -05:00