Commit Graph

3856 Commits

Author SHA1 Message Date
joe kirchoff
2494b02d37 Don't pass an empty architecture when building a plugin
#jira UE-163545
#rnx
#rb trivial
[FYI] Josh.Adams
#preflight 63223d6629254beccbef28eb

[CL 22019527 by joe kirchoff in ue5-main branch]
2022-09-14 18:48:26 -04:00
josh adams
27fe66f3e0 - Fixed warning about ConfigRedirects.ini not being allowed or denied
#rb trivial
#jira UE-163639
#preflight 6321ff709677b738f4f34fee

[CL 22014947 by josh adams in ue5-main branch]
2022-09-14 16:12:03 -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
chris constantinescu
08fee9ccbf Low level tests quality of life changes:
- bump "Started test case" log messages to Display when --debug is used
- additional duration log messages. Catch2 durations were never printed in sync with --debug log messages
- ability to specify a device and attach to a debugger when running the LowLevelTests script; ability to specify configuration type
#rb Devin.Doucette, Jerome.Dellatre
#preflight 631f554d705bdbceb5b91b82

[CL 21989658 by chris constantinescu in ue5-main branch]
2022-09-13 15:06:34 -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
zack neyland
5d51db24e6 Fixes issue with -open and -build being specified on the command line with SyncProject.
#jira UE-161134
#preflight none
#rb Josh.Adams

[CL 21974141 by zack neyland in ue5-main branch]
2022-09-12 18:21:40 -04:00
Josh Adams
ce4c0b8039 - Allow AutoSDK installation via Turnkey from any copy provider
#rb david.harvey
#preflight 631a48eaa60c539c98a4de0e

[CL 21903506 by Josh Adams in ue5-main branch]
2022-09-08 17:09:00 -04:00
chris constantinescu
ddf55c6ac2 Retry save role artifacts once with device reboot on exception containing message "A retry should be performed"
#jira UE-161735
#rb Jerome.Delattre
#preflight skip

[CL 21896605 by chris constantinescu in ue5-main branch]
2022-09-08 12:50:25 -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
ben salem
4a662bbbac Fix Gauntlet throwing an InitializationFailed error when a process fails to log in.
#rb brendan.lienau, j.baumgartner

[CL 21864920 by ben salem in ue5-main branch]
2022-09-07 18:12:06 -04:00
Jerome Delattre
040633abd1 Fix Cooked Editor exported path in Windows
+ set CookedEditor role in Gauntlet UE tests when -cookededitor switch is used

#jira none
#rb Nick.bullard
#preflight 631269c6a20b67673b862af4
#rnx

[CL 21849523 by Jerome Delattre in ue5-main branch]
2022-09-07 09:51:36 -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
andrew grant
687389742f Benchmarking script uodate -
Tidied up CSV reporting of values to be more spreadsheet friendly
Allow -AllCompile to be used independently of -editor / -client

#rb na
#preflgiht https://horde.devtools.epicgames.com/job/6312a54fab25bb91f5a7e838

[CL 21776180 by andrew grant in ue5-main branch]
2022-09-03 11:10:17 -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
francis hurteau
2b0b657cc5 Fix issue where ucas staging in UEFN was not working due to a filtering error based on file path
#rb Josh.Adams
#preflight 630e733a0345de4ccfbd6279

[CL 21716922 by francis hurteau in ue5-main branch]
2022-08-30 23:48:19 -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
slonopotamus
15a2098771 PR #9417: Fix NullReferenceException when running Turnkey on installed engine build without Android support (Contributed by slonopotamus)
#jira UE-160277
#android
#review-21555999 Chris.Babcock
#rb Chris.Babcock


#preflight

[CL 21555997 by slonopotamus in ue5-main branch]
2022-08-24 19:34:35 -04:00
gary yuan
8be852fca6 Fix typo in string constant for Attribute metadata on BuildGraph BuildCommand
#rb trivial
#preflight skip

[CL 21555167 by gary yuan in ue5-main branch]
2022-08-24 18:52:30 -04:00