Commit Graph

3804 Commits

Author SHA1 Message Date
brandon boswell
338ca5c885 Back out changelist 21213169
#ROBOMERGE-AUTHOR: brandon.boswell
#ROBOMERGE-SOURCE: CL 21213801 via CL 21213879 via CL 21213889 via CL 21214176 via CL 21214241
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21214665 by brandon boswell in ue5-main branch]
2022-07-22 00:13:12 -04:00
eric knapik
d4be7f7baf #jira: none
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]
2022-07-22 00:13:05 -04:00
andrew grant
2a13ce4d7c Improvements to BenchmarkBuild script.
- 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]
2022-07-22 00:12:59 -04:00
james singer
8438087f41 Fix UserDir path handling for Gauntlet Linux host
#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]
2022-07-21 11:43:40 -04:00
eric knapik
1252ffa0fb #jira: none
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]
2022-07-20 23:51:19 -04:00
eric knapik
62f5506ff9 #jira: none
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]
2022-07-20 21:52:00 -04:00
Joe Kirchoff
1792be67eb SyncProject.Automation: Correctly pass params to BuildCmd & OpenCmd
#rnx
#rb trivial
#jira UE-159263
#preflight 62d8806a110da0f9447e085e

[CL 21193266 by Joe Kirchoff in ue5-main branch]
2022-07-20 18:42:29 -04:00
josh adams
6a6b872445 - Fixed issue with directory not existing when adding project shaders
#jira UE-159929
#rb trivial
#preflight 62d6fdc947779a730aa8ebb3

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 21166998 via CL 21169092 via CL 21173455 via CL 21173535
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21192043 by josh adams in ue5-main branch]
2022-07-20 18:23:22 -04:00
eric knapik
64905a5500 #jira: FORT-487403, FORT-487406
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]
2022-07-20 12:09:54 -04:00
Juan Canada
809ae11052 Disable ODSC in ray tracing tests temporary to track down a bug
#preflight none
#fyi luke.szarmach, chris.kulla
#rb jason.nadro
#jira UE-159577

[CL 21182143 by Juan Canada in ue5-main branch]
2022-07-20 12:05:29 -04:00
Jerome Delattre
54ca504c14 Fix Gauntlet test search - Include original test name as first search critiria
#rnx
#preflight 62d71fb4c0180d8071a86426
#rb Chris.Constantinescu

[CL 21178286 by Jerome Delattre in ue5-main branch]
2022-07-20 09:11:05 -04:00
David Harvey
0032f8235f Turnkey uses "p4 where" to identify the AutoSDK root directory.
- 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]
2022-07-20 05:19:47 -04:00
Nick Darnell
d75cbc192e Core - Updating the TBB copy location so that the dll and pdb end up in the same place to make generating portable symbols easier.
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]
2022-07-19 10:00:06 -04:00
David Harvey
6b48bf288e Turnkey indicates to the platform whether an SDK is already installed when getting the install command, for platforms that need to handle this as a special case (uninstalling the current version, for example).
#jira UE-157918
#rnx
#rb Nuno.Leiria
#preflight 62d66d38185da2495f8281c3

[CL 21159722 by David Harvey in ue5-main branch]
2022-07-19 05:00:41 -04:00
David Harvey
37cb06fcf9 Platform SDK "Force Reinstall Sdk" is only shown in the editor if the 'best' SDK version is already selected, otherwise it shows 'Update Sdk'.
- 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]
2022-07-18 06:38:28 -04:00
jorgenpt
10a64b5de9 PR #9268: Turnkey: Use User_LastPerforceClient for streams (Contributed by jorgenpt)
#preflight 62d51bac8e4b379590a5cf2f

[CL 21143966 by jorgenpt in ue5-main branch]
2022-07-18 04:59:02 -04:00
Jerome Delattre
8a01f176d1 Update ImageMagick tps
#jira none
#rnx
#preflight skip
#rb trivial

[CL 21115855 by Jerome Delattre in ue5-main branch]
2022-07-15 15:34:43 -04:00
graeme thornton
9b6693c0e9 Stage project shaders for cooked cookers
#preflight none
[FYI] josh.adams

#ROBOMERGE-AUTHOR: graeme.thornton
#ROBOMERGE-SOURCE: CL 21108970 via CL 21110432 via CL 21110489 via CL 21110526
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21112668 by graeme thornton in ue5-main branch]
2022-07-15 12:49:24 -04:00
Ryan Hummer
dcb81492ef Use robocopy/rsync to copy temp storage manifests locally before unzipping them, and use them to copy manifests off to the share at the end of a task.
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]
2022-07-15 11:15:30 -04:00
josh adams
97e4755b10 - Undid a recent backout of CookedEditor changes, with the bug fixed on the FN side
#rb eric.knapik
#preflight 62cf3aeab0763b1910c3031a

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 21090585 via CL 21090589 via CL 21090592
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21096372 by josh adams in ue5-main branch]
2022-07-14 15:23:24 -04:00
josh adams
125104fca8 - Moved where we stage Mono files so it only happens when targeting Linux
#rb trivial
#preflight 62cf1c6cb90bf539697c29b7

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 21090530 via CL 21090539 via CL 21090547
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21096363 by josh adams in ue5-main branch]
2022-07-14 15:23:10 -04:00
gary yuan
073328c2e2 #jira: none
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]
2022-07-13 21:25:10 -04:00
andrew grant
1fa8cac756 Made Gauntlet issue with a locked log a warning vs an error
#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]
2022-07-13 21:24:36 -04:00
Ben Marsh
6ac2c5b01f UAT: Add a systemic error code for Perforce submit failures.
#preflight none

[CL 21078813 by Ben Marsh in ue5-main branch]
2022-07-13 15:59:41 -04:00
josh adams
f133254485 - Fixed up 3 Linux ContentWorker issues that came from the dotnet 6 upgrade (or other recent UE5 changes):
* 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]
2022-07-13 14:17:50 -04:00