Commit Graph

965 Commits

Author SHA1 Message Date
lorry li
dc1f66105c Suppress the warning message in WebTests.
#jira UE-206338
[REVIEW] [at]michael.atchison [at]stephen.ma [at]rafa.lecina [at]michael.kirzinger
#rb michael.atchison, Rafa.Lecina, stephen.ma

[CL 31348674 by lorry li in ue5-main branch]
2024-02-09 13:41:36 -05:00
Ryan Hummer
340e32fbf9 Adding an option to run code signing via signtool.exe in parallel, up to 16 concurrent instances.
* Exposing the option to the InstalledEngineBuild.xml, off by default
* Moving to a signing service requires parallel calls for performance
* Some clean up of log printing to improved structured logging output

#rnx
#jira UE-204728
#rb Chad.Garyet

#changelist validated
#virtualized

[CL 31228478 by Ryan Hummer in ue5-main branch]
2024-02-06 15:39:04 -05:00
ben marsh
5468687551 Horde: Add Meziantou.Analyzer to Horde.Agent and Horde.Server. Many rules currently disabled; will re-enable and fix up some in subsequent commits.
[CL 31186356 by ben marsh in ue5-main branch]
2024-02-05 15:12:50 -05:00
joe kirchoff
f6a2b5e35e Fix some dotnet warnings
#rnx

[CL 31114076 by joe kirchoff in ue5-main branch]
2024-02-01 20:01:12 -05:00
joshua shlemmer
69cf6ad6b3 Retry of requests for LibToolTelemetry
#rb Ben.Marsh, Eric.Knapik, gary.yuan

[CL 31012523 by joshua shlemmer in ue5-main branch]
2024-01-30 13:05:45 -05:00
ben marsh
eed8d5d68f Allow specifying the content description attribute for signed files, and set appropriate names for the Horde MSIs. These descriptions are displayed in UAC prompts, and default to random numbers if not specified explicitly.
[CL 30814679 by ben marsh in ue5-main branch]
2024-01-23 15:01:32 -05:00
chris varnsverry
f12ea6b8eb - Fix UAT not suggesting -skipcook as an option when Stage is requested and no cook param is provided.
- Note Cook is true when -skipcook is set on command line so the condition itself is valid it just was missing -skipcook in the exception message

[REVIEW] [at]Alejandro.Aguilar [at]Rob.Cannaday

#rb alejandro.aguilar

[CL 30806276 by chris varnsverry in ue5-main branch]
2024-01-23 11:08:05 -05:00
mattias jansson
eba1214cf5 Avoid waiting for std streams timeout in consecutive calls if WaitForExit is called multiple times on the process result object
#rb Yuriy.ODonnell

[CL 30695273 by mattias jansson in ue5-main branch]
2024-01-18 15:46:51 -05:00
will brown
cd95976e6b UAT - Extending ICustomStageCopyHandler to support overriding of the plugin manifest file creation. Allows game projects to have control over how plugin descriptors are added to the manifest
#rb Josh.Adams, robert.millar

[CL 30668433 by will brown in ue5-main branch]
2024-01-17 16:09:07 -05:00
josh adams
980ffe3ce7 - Allow for code to set ProjectParams.UnrealExe (not used in Main, but this restores functionality that was removed)
#rb josh.adams

[CL 30661384 by josh adams in ue5-main branch]
2024-01-17 12:15:06 -05:00
josh adams
8de5dde4df - Added support for UAT to cook with a specific project's editor .exe for projects that use a Unique BuildEnvironment (this will cook with the game's editor, so it will use the game's uniquely compiled engine modules (useful for per-project SDKs that have different targetplatform dlls)
- The target receipt already listed the proper exe to run, taking unique/shared into account, so this change delayed-looks-up the path from the receipt on first use (like when running the editor to cook)
#rb david.harvey

[CL 30658383 by josh adams in ue5-main branch]
2024-01-17 10:07:42 -05:00
mattias jansson
08e098801d Add command line option to control stdout/stderr read timeout in child processes of AutomationTool. Needed for workaround in Wine where stderr is not always properly closed, causing a minute delay on some operations. Patching Wine is cumbersome at this point, and this command line option introduces a workaround while maintaining current behaviour by default.
Tested by running AutomationTool under Wine using Linux and noticing a one minute delay as process exit is waiting for stderr to close. Then re-running the test with -WaitForStdStreams=100 and verifying the exit happens within 100ms and no output is lost.

#rb Ben.Marsh

[CL 30648254 by mattias jansson in ue5-main branch]
2024-01-16 17:48:35 -05:00
sebastian schoner
a7c5f5f909 Allow to skip -fileopenlog for cooks
The file open log is a facility that automatically keeps a log of all files the process has opened and their order. This is rather expensive as it (a) also tracks failed attempts to open files and (b) it maintains a large table in memory, storing which files have already been opened (so every file is only logged once). This table can easily grow into the tens of megabytes; even on an empty project I see this taking 60MB by itself. Making this optional allows us to skip this step for UEFN cloud cooks: in these cases we're throwing that log file away anyway.

#rb rob.perren

[CL 30344591 by sebastian schoner in ue5-main branch]
2023-12-15 04:22:42 -05:00
joe kirchoff
8e674c1c47 Update System.Drawing.Common to 4.7.3
#rnx

[CL 30279376 by joe kirchoff in ue5-main branch]
2023-12-12 17:25:50 -05:00
will brown
3a3e27c70e AutomationTool changes to support game projects overriding how to copy files during staging. InternalUtils.SafeCopyFile now takes an optional delegate to call when copying files. A CustomStageCopyHandler can be implemented to supply the copy operation. This is useful for transforming files during staging.
#rb Josh.Adams

[CL 30192577 by will brown in ue5-main branch]
2023-12-07 16:35:45 -05:00
joshua shlemmer
7902c4cd98 reusable singleton httpclient as per MS guidance for .net5+
updates PDB telemetry task to use new client

[REVIEW] [at]Gary.Yuan, [at]Eric.Knapik

#rb Eric.Knapik

[CL 30122489 by joshua shlemmer in ue5-main branch]
2023-12-05 12:18:26 -05:00
joe kirchoff
3b999f8958 AutomationTool: Check for dotnet msbuild only when visual studio msbuild is not available on windows
#rnx

[CL 30105200 by joe kirchoff in ue5-main branch]
2023-12-04 20:21:02 -05:00
joe kirchoff
66277acc2a AutomationTool: Remove obsolete ParallelExecutor
#rnx
#rb Ryan.Hummer

[CL 30089190 by joe kirchoff in ue5-main branch]
2023-12-04 13:43:10 -05:00
joe kirchoff
d588504468 [Backout] - CL30061307
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
AutomationTool: Check for dotnet instead of always relying on an installed visual studio

#rnx

[CL 30088082 by joe kirchoff in ue5-main branch]
2023-12-04 13:02:02 -05:00
joe kirchoff
eaaeb691d7 AutomationTool: Check for dotnet instead of always relying on an installed visual studio
#rnx

[CL 30061318 by joe kirchoff in ue5-main branch]
2023-12-01 19:22:00 -05:00
gary yuan
25d1c6b9bb Add ParamKeyValueDelimiter field to ParamHelpAttribute to be used with flags that use alternative strings to separate the key value pairs of arguments. For example, timeout /t 10
#rb Eric.Knapik

[CL 29950673 by gary yuan in ue5-main branch]
2023-11-27 18:38:01 -05:00
wojciech krywult
e178b6db03 Automation: Source indexing: Fixed source indexing working incorrectly for branches using the 'import' functionality on P4.
On Windows the code assumed that all source files come from the game's branch, which may not be true when importing parts of other branches. Modified the code to query the locally synced files using 'p4 have' which returns a list of correct local - depot mappings. Minor but related fixes on other platforms.

#rb David.Harvey

[CL 29784146 by wojciech krywult in ue5-main branch]
2023-11-16 13:36:31 -05:00
per larsson
5d4e6f8552 IAS - added UAT option -Upload=<args> for uploading ondemand content to S3 compatible endpoint
Use -Upload=LocalZen to upload to local Zen server

#rb Paul.Chipchase

[CL 29777954 by per larsson in ue5-main branch]
2023-11-16 10:37:28 -05:00
josh adams
e94ead8457 - Replaced System.Environment.MachineName (and System.Net.Dns.GetHostName()) with Unreal.MachineName, since Environment.MachineName is capped at 15 characters, and not every machine name is that short. Uses System.Net.Dns.GetHostName() internally unless is throws an exception, then it falls back to Env.MachineName
#rb adam.kinge, joe.kirchoff

[CL 29712082 by josh adams in ue5-main branch]
2023-11-14 09:40:24 -05:00
josh engebretson
5036eb1867 Gauntlet: Support recovery with a new device when using a device reservation block, make it so don't need to specify fullclean/skipinstall when running in a block vs individually
#rnx
#rb trivial

[CL 29693518 by josh engebretson in ue5-main branch]
2023-11-13 15:44:47 -05:00