Commit Graph

104 Commits

Author SHA1 Message Date
Ben Marsh
e141cb6196 More UAT structured logging fixes.
#preflight 6408dee3b0544ef0b4bca696

[CL 24564590 by Ben Marsh in ue5-main branch]
2023-03-08 14:32:15 -05:00
Ben Marsh
235eb77726 Change to structured logging in other AutomationTool projects.
#preflight 6408c4478c0039bbf750e861

[CL 24562553 by Ben Marsh in ue5-main branch]
2023-03-08 12:43:35 -05:00
Ben Marsh
89d6613573 UAT: Refactor AutomationUtils and BuildGraph to use structured logging.
#preflight 6407c4c26e1dadfcdab25849

[CL 24553706 by Ben Marsh in ue5-main branch]
2023-03-07 21:23:47 -05:00
eric mcdaniel
391d5185c3 Turnkey: Turnkey and editor support for controlling auto software update modes on platform devices
- this change just adds support to Turnkey and the editor UI to expose this support for supported platforms
  - follow on changes will be required to support the feature on a given platform

- Turnkey now tracks the auto software update mode per device
  - unknown/enable/disable
    - will be unknown for devices which do not support auto software updates or platforms which have not yet implemented support
- new UAT platform method SetDeviceAutoSoftwareUpdateMode() must be implemented for supporting platforms
- new Turnkey command DeviceAutoSoftwareUpdates for changing auto software update state on a device
- edtior exposes this functionality under the device entries in the platforms menu
  - devices which support auto software updates will expose an "Enable auto software updates" check box item in their Sdk Info menu
    - toggling this checkbox changes the auto software update policy on the device

#rb David.Harvey, Wojciech.Krywult
#jira UE-160691
#preflight 64012d69d249add4a205fe9c, 64078e72aa0042333551c821

[CL 24552009 by eric mcdaniel in ue5-main branch]
2023-03-07 19:11:50 -05:00
swarm
b61361facf Secondary remote Mac
#jira UE-120589
# rb josh.adams
#preflight 63f2da7d90198dffbaaee3ff

[CL 24309059 by swarm in ue5-main branch]
2023-02-19 21:45:46 -05:00
Josh Adams
e1e330be49 Fixed up Androd installation via Turnkey:
- Moved running AndroidStudio to install the commandline tools into the InstallSDKfunction, out of the Prerequisites, which now just now makes sure AndroidStudio is installed
- Added direct AndroidStudio download to Turnkey, usable by all licensees (no need to host the installer at each studio now)
#preflight 63cea450976daa618c0498ec
#rb chris.babcock

[CL 23812459 by Josh Adams in ue5-main branch]
2023-01-23 10:42:04 -05:00
josh adams
2bb7de64da - Added a new callback to staging that allow for finalization of staged files
- Added a default implementation of GetCookPlatform, which allows BuildCookRun to run without needing any platform-specific automation DLLs (cook and staging can happen, but running/packaging would still need the platform automation dlls)
#rb graeme.thornton
#preflight 637d2ed8f514e1ded91d417b

[CL 23244387 by josh adams in ue5-main branch]
2022-11-22 20:17:39 -05:00
axel riffard
9780d35625 WrangleContentForDebugging UAT command to prepare for debug iOS / tvOS
#rb josh.adams
#jira UE-162968
#preflight 637458b1232e3d12cb01b154

[CL 23150547 by axel riffard in ue5-main branch]
2022-11-15 22:39:50 -05:00
Wojciech Krywult
74cdb44436 Build: Symbol Server: Added support for source server (source code indexing) for consoles.
Source code indexing allows Visual Studio to automatically fetch the right source code files from Perforce when debugging builds/crashdumps.

Previously, we had this functionality available only on Windows in the form of SrcSrv build task (build graph). This task takes generated pdbs and embeds information about the source code used into them. However, this functionality doesn't translate well into similar features on other platforms.

Resolved by extending SymStore task to handle source indexing in additional to uploading symbols to the symbol store. SrcSrv remains functional, but it still works only on Windows. For this reason, SymStore becomes the preferred solution as it's more general.

Fixed a few additional problems, both in the task itself and our game's build graph.

#preflight 63727a48ee4d25f90ace140b
#rb Robert.Millar
#jira UE-70463

[CL 23123619 by Wojciech Krywult in ue5-main branch]
2022-11-14 14:37:48 -05: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
Ben Marsh
64b6cb04f1 BuildGraph: Fix UDN documentation output.
#preflight none

[CL 20774471 by Ben Marsh in ue5-main branch]
2022-06-22 10:42:19 -04:00
justin marcus
6c728ff8b9 Build Automation Fixes.
Fix DLCOverrideCookedSubDir  param being used for DLCOverrideStagedSubDir if DLCOverrideStagedSubDir was not specified via commandline.
Don't allow TargetPlatformDescriptor.CookFlavor to be null - it needs to be empty string to be a valid key.
[REVIEW] [at]Graeme.Thornton [at]Daniel.Lamb

#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 20626127 via CL 20626141 via CL 20626144 via CL 20626147
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20627099 by justin marcus in ue5-main branch]
2022-06-13 10:43:21 -04:00
David Harvey
5c7f266d12 Remove HoloLens platform references from AutomationTool.
#jira UE-149794
#rnx
#preflight 628cdf035665463c210630fb
#rb Jeff.Fisher

[CL 20362413 by David Harvey in ue5-main branch]
2022-05-25 07:19:52 -04:00
jack porter
63ef117561 Perform restricted staged folder name checking before doing platform filename remapping
Back out incorrect fix from CL 20056908
#jira UE-147094
#preflight 62790b2fea2a9db9dc560710
#rb Adam.Kinge
#lockdown Mitchell.Wilson

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 20110639 in //UE5/Release-5.0/... via CL 20111734
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20114350 by jack porter in ue5-main branch]
2022-05-09 19:52:57 -04:00
jack porter
a5d55f3660 Use platform-remapped staging path when checking for restricted folder names
#jira UE-147094
#rb Ben Zeigler
#preflight 6273b716c04406dfea7e49b2
#lockdown Rolando.Caloca

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 20056908 in //UE5/Release-5.0/... via CL 20057485
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20061168 by jack porter in ue5-main branch]
2022-05-05 14:09:36 -04:00
PJ Kack
65391545db UAT: Restrict the COTF -filehostip list to ip v4 host addresses and only include 127.0.0.1 on host platforms or platforms that support port redirection.
Makes connecting to cotf faster on some platforms.
Removes warnings like: LogSockets: Warning: Could not serialize fe80::edc3:3284:5b1b:1f32%7, got error code SE_NO_ERROR [0]
Makes the string shorter and more readable.

Test:
RunUAT.bat BuildCookRun -project=Samples\Games\ShooterGame\ShooterGame.uproject -platform=XYZ -config=development -build -cookonthefly -stage -run

FileHostIp example on PC & android:
Before: -filehostip=127.0.0.1+fe80::edc3:3284:5b1b:1f32%7+10.24.101.44+::1+127.0.0.1+fe80::58d4:b8b3:ff7a:4974%9+172.18.240.1
After : -filehostip=127.0.0.1+10.24.101.44+172.18.240.1

FileHostIp example on console:
Before: -filehostip=127.0.0.1+fe80::edc3:3284:5b1b:1f32%7+10.24.101.44+::1+127.0.0.1+fe80::58d4:b8b3:ff7a:4974%9+172.18.240.1
After : -filehostip=10.24.101.44+172.18.240.1

#jira none
#rb carlmagnus.nordin, per.larsson
#rnx
#preflight 62722ddafe45c124493258a8

[CL 20038819 by PJ Kack in ue5-main branch]
2022-05-04 04:18:17 -04:00
jonathan adamczewski
0a6164bbd3 nullability annotations, rethrow fixes, net6.0 warning suppression
#jira none
#trivial
#rnx
#preflight 62425155c61d8a458f230657

[CL 19536049 by jonathan adamczewski in ue5-main branch]
2022-03-28 20:50:06 -04:00
jonathan adamczewski
5c68d1d9ef Revert //UE5/Main/... changelist 19531725 - return to NET Core 3.1
#preflight 62422fd0470aff98e946bfce
#jira UE-119846

[CL 19534572 by jonathan adamczewski in ue5-main branch]
2022-03-28 18:25:19 -04:00
jonathan adamczewski
18ac15cbb1 Upgrade to .NET 6.0
#jira UE-119846
#preflight 6241fc06470aff98e943c035

[CL 19531725 by jonathan adamczewski in ue5-main branch]
2022-03-28 15:30:56 -04:00
Josh Adams
3be42005d9 - Removed code that was accidentally checked in, that broke Android .apk names
#fyi chris.babcock
#rb trivial
#jira UE-146630
#preflight skip

[CL 19456849 by Josh Adams in ue5-main branch]
2022-03-21 15:42:23 -04:00
josh adams
73790836c2 - Added PlatformValues to DeviceInfo in UAT land. Removed the Subtype field and changed it's very limited use to PlatformValues
- Added support for copying remote debugging files to SteamDeck when deploying
- Username is now pulled out of the Device info, or put on the commandline via -deviceuser to override
#rb brandon.schaefer
#jira none
#p4v-preflight-copy 19392535
#preflight 6233ac4af101b8d0afa9abf4

[CL 19428566 by josh adams in ue5-main branch]
2022-03-17 18:23:21 -04:00
dmitriy dyomin
9504e87efa Fixed: Missing GPUDumpViewer files from a packaged builds on Android and iOS
#rb chris.babcock
#jira UE-142459
#preflight 620a4b7e015ab8f37a438558

#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 18978060 in //UE5/Release-5.0/... via CL 18978139 via CL 18978195
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18978200 by dmitriy dyomin in ue5-main branch]
2022-02-14 08:18:25 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
david harvey
6a0418608a Added a faster option for platforms to quickly return a single device in cases where enumerating all devices can potentially be slow.
#rnx
#jira UE-126034
#preflight 6138bf269c40ec000126cb3e
#rb nuno.leiria

#ROBOMERGE-AUTHOR: david.harvey
#ROBOMERGE-SOURCE: CL 17471071 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17471077 by david harvey in ue5-release-engine-test branch]
2021-09-09 07:38:49 -04:00