Commit Graph

3845 Commits

Author SHA1 Message Date
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
chris constantinescu
b604e668e2 Test runner:
- sleep on init to allow for sync w/ Gauntlet for Xbox platforms
- remove unused --base-global-module #fyi Stephen.Ma
Gauntlet:
- support low level tests build for different configurations (debug etc)
- readable command line arguments (-r to --reporter)
- allow argument names containing "-" e.g. --filenames-as-tags
#preflight 630536b1c00af5e2943540a1
#rb Jerome.Delattre

[CL 21550045 by chris constantinescu in ue5-main branch]
2022-08-24 15:53:16 -04:00
brandon schaefer
0f99d8453f Workaround for tbb.psym colliding from multiple clients copying tbb.psym
#jira UE-161242
#rb none
#preflight none

[CL 21531151 by brandon schaefer in ue5-main branch]
2022-08-23 22:18:21 -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
Joe Kirchoff
ab70179fed Protobuf 3.18.0 built via BuildCMakeLib rather than vcpkg
#rb trivial
#rnx
#preflight 630521e95366f61a42740faf

[CL 21518268 by Joe Kirchoff in ue5-main branch]
2022-08-23 16:04:41 -04:00
Josh Adams
2060045e96 - More work on "modern xcode" mode (automatic signing works well, xcode can generate plists/entitlements, shared settings between Mac/IOS/TVOS). Needs the bUseModernXcode ini setting (see BaseEngine.ini) to activate
- Indexing improvements
- No longer asks to auto-create schemes, since we create all schemes needed
- Sped up the run-only project generation to skip a lot of cruft

#preflight 63041e960061f895d0fe3ccf
#rb ian.fox,roman.dzieciol (i am submitting without their final sign-off)
#preflight 63051c23516bef57ffb5b1c2

[CL 21517539 by Josh Adams in ue5-main branch]
2022-08-23 15:40:10 -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
Ben Marsh
e31a1cd327 UAT: Add separate log output for each line of mismatched Perforce case.
#preflight none
#jira UE-160729

[CL 21511495 by Ben Marsh in ue5-main branch]
2022-08-23 12:50:40 -04:00
Josh Adams
68a7d35895 - Fixing dictionary lookup error
#jira UE-161580
#rb trivial
#preflight 6303e469c85b7fef2257b8e0

[CL 21491995 by Josh Adams in ue5-main branch]
2022-08-22 16:21:19 -04:00
dmytro vovk
5bad8f37b7 Removed legacy Android Project Settings
#rb Chris.Babcock

[CL 21467626 by dmytro vovk in ue5-main branch]
2022-08-19 19:18:13 -04:00
chris constantinescu
f5123e1e5f Re-throw if not a "retry" exception.
#rb Jerome.Delattre
#preflight skip

[CL 21457802 by chris constantinescu in ue5-main branch]
2022-08-19 11:10:00 -04:00