Commit Graph

3252 Commits

Author SHA1 Message Date
jonathan adamczewski
0185e3e5ab AutomationTool BuildAllScriptPlugins():
Clean up error text a little and add information so that when a project file fails to load it is easier to see who/what caused the project to load.

#jira none
#rb none

[CL 17143264 by jonathan adamczewski in ue5-main branch]
2021-08-11 17:53:37 -04:00
jonathan adamczewski
7c5010f133 AutomationTool:
When compiling script modules, log additional information if a project fails to load.
Correct path case for command line arguments

#jira none
#rb none

[CL 17126379 by jonathan adamczewski in ue5-main branch]
2021-08-10 18:29:00 -04:00
Joe Kirchoff
3cc9e6c44c BenchmarkBuild: Save TaskTime in the event of an exception
#rb none
#rnx

[CL 17124340 by Joe Kirchoff in ue5-main branch]
2021-08-10 17:00:09 -04:00
jonathan adamczewski
1ab11694b6 AutomationTool:
Update references to DotNETCommon/MetaData.cs to Shared/MetaData.cs

#jira none
#rb none
#trivial

[CL 17119587 by jonathan adamczewski in ue5-main branch]
2021-08-10 13:35:01 -04:00
jonathan adamczewski
f96ab4cdc4 AutomationTool:
Process "-Telemetry=path" explicitly as a global option.

#jira none
#rb none

[CL 17119012 by jonathan adamczewski in ue5-main branch]
2021-08-10 13:04:11 -04:00
jonathan adamczewski
db8046e278 Move DotNETCommon/BuildUtilities to Shared/EpicGames.Build
Also moves DotNETCommon/Metadata.cs to Shared/Metadata.cs

#jira none
#rb tim.smith

[CL 17116964 by jonathan adamczewski in ue5-main branch]
2021-08-10 11:08:41 -04:00
Joe Kirchoff
cb0aa2ea72 BenchmarkBuild: Record build time when task fails
#rb none
#rnx

[CL 17108690 by Joe Kirchoff in ue5-main branch]
2021-08-09 18:21:24 -04:00
jonathan adamczewski
85d3fa3cc0 Gauntlet:
Skip the AutomationTool assembly: if Microsoft.Build.Framework can't be loaded, trying to do so will throw an exception.

#jira none
#rb Josh.Engebretson

[CL 17108416 by jonathan adamczewski in ue5-main branch]
2021-08-09 17:57:43 -04:00
jonathan adamczewski
f871047a54 AutomationTool: make script-local copies of Newtonsoft.Json.dll
Neither AutomationTool, AutomationUtils, nor their dependencies have a reference to Newtonsoft.Json.dll, which can result in the dependency not being available.

Change the csproj files to make local copies of the dll (<Private>True</Private> means "Copy Local")

#jira none

[CL 17105047 by jonathan adamczewski in ue5-main branch]
2021-08-09 13:26:02 -04:00
jonathan adamczewski
8dc68a7f85 AutomationTool: Compile script modules within the application
Add a layer of caching to avoid running msbuild as much as possible.

#jira UE-109181
#rb ben.marsh

[CL 17102399 by jonathan adamczewski in ue5-main branch]
2021-08-09 10:39:09 -04:00
David Harvey
dd314ced69 Adding RunUAT command to generate a report from DDPI values.
RunUAT ListPlatformDetails -DDPISection=ShaderPlatform/DataDrivenPlatformInfo


This generates an html report for DataDrivenPlatformInfo.ini files showing the values that are set & unset for all of them for easy comparison.


#jira UECON-467
#rb dave.barrett

[CL 17101900 by David Harvey in ue5-main branch]
2021-08-09 10:08:53 -04:00
geoff evans
cf71b2add0 IterationProfile: Add Trace Bookmark support
* Add bookmark pair to create telemetry scope for LoadAssetAndPIE, whitelist it in project-specific statistics files
* Split Stats.csv files into global Engine/Build/IterationProfile.csv and per-project Build/IterationProfile.csv directives (for project privacy)
* Global statistics file is now assumed, not necessary to pass into the <Commandlet>.
* Run <Commandlet> with Project specified so it can load project-specific statistic entries
* Remove -NoEnginePlugins parameter (projects require plugins!)
* Always do many hundreds of frames after we request PIE (vs. a time span which can be taken up mostly with preparing to PIE)
* Remove GC from the automated test function, it was just legacy and it betrays how realistic the test is
* Disable sleep in Editor when it doesn't have focus only in Deterministic mode

#rnx
#jira none
#rb francis.hurteau
#robomerge Private-Frosty
#preflight 610cb65b0d783d000149b82f
#preflight 610caadd72fe2c0001a73f02

[CL 17086203 by geoff evans in ue5-main branch]
2021-08-06 14:47:14 -04:00
David Harvey
aad82f1626 verify directory access permission on Windows before expanding wildcards in Turnkey.
#jira none
#rnx
#rb nuno.leiria

[CL 17080840 by David Harvey in ue5-main branch]
2021-08-06 04:50:04 -04:00
william ewen
445a0420f7 Fix device usage comment calls for any UnrealTests that don't have an AppInstance
#rb J.Baumgartner

#ROBOMERGE-OWNER: j.baumgartner
#ROBOMERGE-AUTHOR: william.ewen
#ROBOMERGE-SOURCE: CL 17057251 via CL 17059887 via CL 17060149 via CL 17062904 via CL 17078316
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v853-17066230)

[CL 17078326 by william ewen in ue5-main branch]
2021-08-05 19:34:21 -04:00
aurel cordonnier
dc856801cd Merge from Release-Engine-Test @ 17059716 to UE5/Main
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17029914

[CL 17060422 by aurel cordonnier in ue5-main branch]
2021-08-04 17:46:20 -04:00
Joe Kirchoff
e69a83db08 Change CheckPerforceCase to print warnings instead of errors
#rb trivial
#rnx

[CL 17042143 by Joe Kirchoff in ue5-main branch]
2021-08-03 19:51:52 -04:00
Josh Engebretson
f07d9877f4 Gauntlet: Fixing issue with reservation renewal, adding Horde job and step ids to reservations. Cleaning up some legacy workers configuration
#jira UE-120801
#rnx

[CL 17037659 by Josh Engebretson in ue5-main branch]
2021-08-03 16:15:55 -04:00
jerome delattre
b1f5fb3f75 Copy the ImageMagick native Dlls to Gauntlet bin output
#jira UE-120174
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 17024234 via CL 17029377 via CL 17029521 via CL 17029598 via CL 17029628
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v846-17029325)

[CL 17029654 by jerome delattre in ue5-main branch]
2021-08-03 09:31:39 -04:00
jonathan adamczewski
c3864dd484 P4WriteConfig:
Write p4config.txt with a trailing newline.

#jira none
#trivial

[CL 17020839 by jonathan adamczewski in ue5-main branch]
2021-08-02 17:35:28 -04:00
ben zeigler
cc4f7aa8d1 #jira UE-120464 Add Custom Config directory feature, which allows specifying an override directory to support shipping multiple types of builds per platform
Setting CustomConfig=Foo in a Target.cs file will cause it to overlay config files from Project/Config/Custom/Foo on top of the defaults, allowing easy override of things like OSS settings to support multiple stores
In development, -CustomConfig=foo can be specified in both C++ and C# to enable the same functionality, which can be used to select between multiple different stage/deploy configurations in a build script
#rb josh.adams, ben.marsh

[CL 17017130 by ben zeigler in ue5-main branch]
2021-08-02 12:21:42 -04:00
geoff evans
cb11528fec IterationProfile: Add -dx11 to side step UE-117842
#jira none
#rb trivial
#rnx
#robomerge Private-Frosty
#preflight 6102ecc8b4288d0001e8ae70

[CL 17001835 by geoff evans in ue5-main branch]
2021-07-29 17:53:45 -04:00
jerome delattre
e1594ebc38 Updating ImageMagick Dll
#jira UE-120174
#rb Ryan.Durand, Ben.Marsh
#rnx

#ROBOMERGE-SOURCE: CL 17001579 via CL 17001664 via CL 17001673 via CL 17001675 via CL 17001697
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v838-16927207)

[CL 17001711 by jerome delattre in ue5-main branch]
2021-07-29 17:41:57 -04:00
jonathan adamczewski
686a3a2f46 Cache the xcode version obtained from xcodebuild
Each invocation of `xcodebuild -version` can take > 100ms. Caching the result reduces startup time of UnrealBuildTool and AutomationTool by 1-2 seconds.

#jira none

[CL 16999582 by jonathan adamczewski in ue5-main branch]
2021-07-29 15:03:25 -04:00
geoff evans
7ca863bc4b Preserve slashes and other regular expression operations when throwing text at markdown.
This fixes the handling of \ and + characters in file paths when communicating the logdir through to the horde web pages.
For now remove the markdown link decoration, as whatever markdown processor is running on this .md file, it doesn't yield a file:// anchor tag that works in Chrome or Firefox, at least with Windows network paths (\\computer\share\folder\file.txt).

#jira none
#rb ryan.durand
#robomerge Private-Frosty

[CL 16985416 by geoff evans in ue5-main branch]
2021-07-28 14:13:18 -04:00
Jerome Delattre
c7f99392c4 Add Horde Job Step link in telemetry results
#jira none
#rnx
#rb trivial

[CL 16972774 by Jerome Delattre in ue5-main branch]
2021-07-27 16:05:47 -04:00