Explicitly close the log file reader when an application terminates or has exited. This is make sure all log file handles are closed when another device comes along to potentially delete this log file.
#preflight 62d9b7cd4b6d775f5f076bf6
#preflight 62d9cf5f3122bf80ae18bdb9
#ROBOMERGE-AUTHOR: eric.knapik
#ROBOMERGE-SOURCE: CL 21212603 via CL 21213335 via CL 21214157 via CL 21214231
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21214664 by eric knapik in ue5-main branch]
- Added -editor-startup and -editor-game options to measure startup and startup time with -game
- Renamed -pie to -editor-pie to match other editor options
- Allow different editor tests to use different sets of maps via -editor-startup=map2+map2, -editor-pie=map1+map2 etc
- Added AllEditor option to run all editor benchmarking
- Added -coldddc-noshared DDC option
- BenchmarkBuild now defaults to cleaning each targets after benchmarking its build time to save disk space (disable with -nopostclean)
- Moved Editor benchmark tests into separate files and reduced some duplicated code
- Updated help info
Other
- Fixed UAT GetProjectProperties returning inaccurate values if called twice with different platforms
- Doubled number of UBT logs that can be generated from a single UAT script
- Allow scripts to call UnrealBuild.CleanWithUBT to perform cleanup
- Simplified a lot of code
#rb na
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 21213169 via CL 21213174 via CL 21213179 via CL 21214155 via CL 21214226
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21214663 by andrew grant in ue5-main branch]
#rnx
#jira none
#review-21186711 @brandon.schaefer
#rb @brandon.schaefer
#preflight 62d971d8bc175ec68c7c5d33
Details
- Previously UserDir was set in such a way that multiple gauntlet processes launched on the same machine would have their log directories collide. In the observed failure case, the client would launch after the server, stomping the server's log. Then gauntlet would be unable to find the test results and report as "No tests executed". This change just makes the path be the same as what Windows uses.
[CL 21201734 by james singer in ue5-main branch]
Fix a potential warning when two UAT commands are ran back to back in the build graph. This can result in files potentially not being immediately deleted.
#preflight 62d88523d54af4b9a2de539d
#rb: Chris.Constantinescu
#ROBOMERGE-AUTHOR: eric.knapik
#ROBOMERGE-SOURCE: CL 21195999 via CL 21197116 via CL 21197117 via CL 21197118
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21197500 by eric knapik in ue5-main branch]
Only adjust the CookedEditor default staged dir if it's not already been overriden.
[FYI] Josh.Adams
#rb: Josh.Adams
#preflight
#ROBOMERGE-AUTHOR: eric.knapik
#ROBOMERGE-SOURCE: CL 21186791 via CL 21195237 via CL 21195428 via CL 21195504
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21196929 by eric knapik in ue5-main branch]
Updating BuildCookFort and MakeCookedEditor to take an array of plugins for fast load.
Updated MakeCookedEditor to take override locations for the asset registry data as it will be in a different location than the Release folder when cooking locally.
This command will cook and pak the windows client, server and UEFN. Users will be able to modify this script to specify where the stage dir should be and if the Client, Server, UEFN should also be built as part of this.
#preflight 62d5dafddc4397d384e3b02c
#ROBOMERGE-AUTHOR: eric.knapik
#ROBOMERGE-SOURCE: CL 21155331 via CL 21157155 via CL 21159333 via CL 21164152
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21182295 by eric knapik in ue5-main branch]
- should make it more reliable when working with non-trivial workspace mappings.
#jira UE-159610
#rnx
#rb Josh.Adams
#preflight 62d7c6f33c3df32390787e13
[CL 21175647 by David Harvey in ue5-main branch]
Build - updating the tempstorage build graph script to ignore additonal pdb build products for tbb.
#jira UE-159742
#preflight 62d5e73ec0180d80715a8b8d
[CL 21161802 by Nick Darnell in ue5-main branch]
- note: 'best' is approximated as either MainVersion or MaxVersion to avoid touching the sdk file sources on editor startup.
#jira UE-158165
#rb Brian.White, Nuno.Leiria
#rnx
#preflight 62d53617f156340c79b0d02d
[CL 21145740 by David Harvey in ue5-main branch]
improves platform reliability, m1 macs struggle to update file attributes when copying to an smb share. rsync ensures the attributes are correctly copied.
#rnx
#jira none
#rb none
#preflight 62d170c93b057e72748b9aa8
#author ryan.durand
[CL 21110668 by Ryan Hummer in ue5-main branch]
Gauntlet implement timestamp in output log messages relative to program start time
[REVIEW] [at]Eric.Knapik [at]Tim.Kennedy
#rb Eric.Knapik Tim.Kennedy
#preflight: 62cef450f30df2b55bfa8bf2
#ROBOMERGE-AUTHOR: gary.yuan
#ROBOMERGE-SOURCE: CL 21076332 via CL 21083608 via CL 21083941 via CL 21084219
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21086545 by gary yuan in ue5-main branch]
#preflight skip
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 21066766 via CL 21083532 via CL 21083910 via CL 21084171
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21086518 by andrew grant in ue5-main branch]
* Staged the wrong Dotnet directory when making CW from Windows (it would stage Dotnet/6.20.00/windows)
* The ScriptModule code that used the Automation.json files to discover the precompiled UAT script dlls didn't handle \'s on Linux in the paths, and since Windows wrote out the files, there are \'s aplenty. I fixed up the known issue, but possibly all paths loaded from the json files should be fixed up, but it's not easy to do automatically
* We moved to using RunUAT.sh instead of calling dotnet directly, however because we make the CW on Windows, dotnet was not executable, and the code in RunUAT.sh to find the dotnet executable and make it executable (chmod `which dotnet`) only works if dotnet is already executable! So, I moved the +x code into SetupDotnet.sh, on Linux and Mac
#rb eric.knapik
#preflight 62ccd2009922f7e512b6e51a
#ROBOMERGE-OWNER: josh.adams
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 21055451 via CL 21055464 via CL 21055478
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf
[CL 21076349 by josh adams in ue5-main branch]