Commit Graph

795 Commits

Author SHA1 Message Date
ryan hummer
68517f7b6f Unshelved from pending changelist '22074449':
Adding another SignTool matcher

SignTool outputs two errors for a failure

#rnx
#jira UE-164299
#rb none
#preflight none

[CL 22086931 by ryan hummer in ue5-main branch]
2022-09-19 21:54:31 -04:00
david harvey
463563cec9 remove reference to non-existent legacy platform.
#jira UE-163620
#rnx
#rb Benjamin.Rouveyrol
#preflight 632463aaea1c94f4c5b3bf2c

[CL 22052189 by david harvey in ue5-main branch]
2022-09-16 12:43:17 -04:00
josh adams
25c54a4758 - Fixing an ini key from the config redirect stuff recently
#jira UE-163639
#rb trivial
#preflight 63236c9eb1461e4724fc2df4

[CL 22039858 by josh adams in ue5-main branch]
2022-09-15 18:02:51 -04:00
david harvey
91c1b9068d remove unnecessary platform references from automation code.
#jira UE-163620
#rnx
#rb Wojciech.Krywult, Eric.McDaniel
#preflight 6321fffcbc40358fa2fb22e2

[CL 22014866 by david harvey in ue5-main branch]
2022-09-14 16:09:47 -04:00
Ben Marsh
7f40651dd3 UAT: Move the CopyUAT command into AutomationUtils, so we can run build jobs without having AutomationScripts synced.
#preflight none

[CL 22007578 by Ben Marsh in ue5-main branch]
2022-09-14 11:08:23 -04:00
zack neyland
a4e34fd975 Adds more paths for finding the p4 binary on Mac and Linux, specifically the location as to where Homebrew puts p4.
#rb Josh.Adams
#jira none
#preflight none

[CL 21997845 by zack neyland in ue5-main branch]
2022-09-13 21:51:08 -04:00
jason walter
26117b5d31 Rename IniKeyBlacklist to IniKeyDenylist and IniSectionBlacklist to IniSectionDenyList
#jira UE-131078
#rb josh.adams
#preflight 6320c90f47741a7dbd237e5f

[CL 21997756 by jason walter in ue5-main branch]
2022-09-13 21:47:24 -04:00
Dan Thompson
1648e152b4 Fix passing -WriteBackMetadataToAssetRegistry via RunUAT. Now you can pass this in ushell after the -- when doing .stage game.
#rb martin.ridgers
#preflight 6320b01c506f1a33e05a6765

[CL 21986745 by Dan Thompson in ue5-main branch]
2022-09-13 13:21:49 -04:00
Ryan Hummer
b224e9e97b Setup a systemic match for SignTool timestamp errors
Don't raise to an error as retries kick in and will throw when there are no retries left.

#rnx
#jira FORT-514357
#rb ryan.durand
#preflight none

[CL 21982447 by Ryan Hummer in ue5-main branch]
2022-09-13 10:28:28 -04:00
josh adams
6417f1656a - Used new ConfigRedirects to rename the following ini keys:
WhitelistConfigFiles=AllowedConfigFiles
  BlacklistConfigFiles=DisallowedConfigFiles
  WhitelistDirectories=AllowedDirectories
  BlacklistLocalizationTargets=DisallowedLocalizationTargets
#preflight 631f5107ec5b0c765f0443ff
#jira UE-130960
#rb david.hibbits

[CL 21974206 by josh adams in ue5-main branch]
2022-09-12 18:26:45 -04:00
Josh Adams
5b2f23198f - Allow staging/packaging of programs (requires the program have a basic .uproject, see the new SlateUGS.uproject)
- Added code to patch paths for handling Programs having source in /Engine/Source/Programs/XYZ, their config fies, etc in /Engine/Programs/XYZ, and staging using /XYZ
- Mac can now apply -specifiedarchitecture to UAT builds of programs
- Added support to SlateUGS to load Pak files (programs have to opt-in to it in their main Build.cs)
#rb brandon.schaefer,david.harvey
#preflight 631a03202b7fe03eb6b0f16a

[CL 21894674 by Josh Adams in ue5-main branch]
2022-09-08 11:22:00 -04:00
David Harvey
5996881bca Fix error message when multiple Client or Server target.cs files exist, but -Target= is not specified.
#jira UE-152652
#rb trivial
#rnx
#preflight 6315aee47562a90dfa9a804d

[CL 21789934 by David Harvey in ue5-main branch]
2022-09-05 04:27:53 -04:00
gary yuan
e1f73689e2 Fix ParamHelpAttribute serialization issues with public setters
Make Flag getter more consistent

#rb Eric.Knapik
#preflight 63110e0695513dfc9dc0afd3

[CL 21767589 by gary yuan in ue5-main branch]
2022-09-02 17:06:53 -04:00
Wojciech Krywult
af488b1326 Automation: Fixed PropertiesCache cache with ProjectProperties that could add multiple values for the same key.
GetProjectProperties uses PropertiesCache collection (hashmap) to store project properties indexed by PropertyCacheKey struct (.uproject path + platforms + configurations). However, it didn't work as expected because PropertyCacheKey has array members that are reference types. Without a custom hashing implemented, this key would generate different hash codes even if elements stored in the arrays were the same. As a result, querying the same properties multiple times would generate multiple entries in the cache e.g.

GetProjectProperties("foo.uproject", {UnrealTargetPlatform.PC}, {UnrealTargetConfiguration.Debug})
GetProjectProperties("foo.uproject", {UnrealTargetPlatform.PC}, {UnrealTargetConfiguration.Debug})

would create two entries for PC/Debug.

Resolved by implementing the full set of Equals, GetHashCode and comparison operators.

#preflight 630e8d14556fc14dce7d11c5
#rb David.Harvey
#jira UE-162001
#rnx

[CL 21720344 by Wojciech Krywult in ue5-main branch]
2022-08-31 10:07:21 -04:00
Wojciech Krywult
abb6e2c33a Automation: Fixed staging of blueprint-only projects on some platforms.
The problem was that blueprint-only projects would return true for IsCodeBasedUProjectFile during staging. The issue was triggered by CL 21214930 where PropertyCacheKey (ProjectUtils.cs) was added. Before this change GetProjectProperties worked based only on the path to .uproject. After the change, it also takes the platform and configurations into account. It means that:

GetProjectProperties("...", SomePlatform, Debug)
GetProjectProperties("...", null, Debug)

may return different results. While it's probably the core or the fix this change implemented, it may given unexpected results because when null is passed as a list of platforms, internally all available platforms are taken into account and if only one of them requires the project to be compiled IsCodeBasedUProjectFile will return true, which may not be what our code is expected to see. That's what happened during staging - IsCodeBasedUProjectFile was invoked two times in a slightly different way leading to the automation code handling blueprint-only projects in an inconsistent-way during the whole process.

Fixed by modifying DeploymentContext to initialize IsCodeBasedProject by passing both the current platform and configurations.

#preflight 630e6bd0501b64ba334c3c2a
#rb none
#jira UE-162001
#rnx

[CL 21711241 by Wojciech Krywult in ue5-main branch]
2022-08-30 18:18:06 -04:00
Joe Kirchoff
42c8cee3b3 P4Utils: Update output scan to correctly detect submitted changelist if additional output is found due to a p4 extension
#jira UE-161387
#rnx
#rb Ben.Marsh
#preflight 6306c65dc00af5e29492c08f

[CL 21556831 by Joe Kirchoff in ue5-main branch]
2022-08-24 21:00:44 -04:00
gary yuan
d0af43fb02 #jira: FORT-505939
Extended ParamHelp attribute for BuildCommand to better describe the metadata of parameters for UAT scripts.
Update BuildGraph with ParamHelp attributes.

#rb: Eric.Knapik
#preflight: 6303e331c00af5e294fbb7e9

[CL 21525146 by gary yuan in ue5-main branch]
2022-08-23 19:25:33 -04:00
Joe Kirchoff
c800810383 SyncBinariesFromUGS: Retrieve correct compatible changelist using the existing P4Env
Move list of extensions treated as code to common location

#rnx
#rb ben.marsh
#preflight 63052cb8a45b007ea2836cc7

[CL 21518406 by Joe Kirchoff in ue5-main branch]
2022-08-23 16:08:29 -04:00
Ben Marsh
81d512d2f3 Horde: Add matchers for shader compiler errors.
#preflight none
#jira UE-160189

[CL 21517122 by Ben Marsh in ue5-main branch]
2022-08-23 15:28:32 -04:00
Ryan Durand
a5c717fe00 Add "host is down" I/O exception to systemic errors.
#rnx
#jira UE-160064
#rb ryan.hummer
#preflight

[CL 21404052 by Ryan Durand in ue5-main branch]
2022-08-16 09:24:33 -04:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00
andrew grant
499f555538 Restore 21213169
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 21213895 via CL 21213903 via CL 21213910 via CL 21214414 via CL 21214472
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21214930 by andrew grant in ue5-main branch]
2022-07-22 00:56:39 -04:00
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
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
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