Commit Graph

57 Commits

Author SHA1 Message Date
brendan lienau
66591afe53 [Gauntlet] Implements new launch flow functions for TargetDeviceAndroid
#jira UE-201388
#rb Chris.Cossiah, Chris.Babcock

[CL 32062972 by brendan lienau in ue5-main branch]
2024-03-06 14:41:46 -05:00
brendan lienau
671a6f3b63 [Gauntlet] Re-order TargetDeviceAndroid members/defintions
#jira UE-201388

[CL 31648546 by brendan lienau in ue5-main branch]
2024-02-20 12:10:44 -05:00
brendan lienau
c8e1e58227 [Gauntlet] Update InstallApplication function signature for new ITargetDevice flow by renaming it to InstallBuild
[CL 30485450 by brendan lienau in ue5-main branch]
2024-01-08 13:21:15 -05:00
brendan lienau
92f98b8dbd [Gauntlet] ITargetDevice cleanup/install functions
This CL stubs out the following ITargetDevice functions which will be implemented for each platform one by one
- FullClean
- CleanArtifacts
- InstallApplication (new signature)
- CreateAppInstall
- CopyAdditionalFiles

Once stubs have been implemented, UnrealSession.LaunchSession will optionally be able to execute a new flow using these modularized pieces
After further validations are made, the legacy implementation of LaunchSession will be deprecated and the new flow will become the standard

#jira UE-201403
#rb marcelo.gomes

[CL 30326785 by brendan lienau in ue5-main branch]
2023-12-14 13:58:12 -05:00
josh engebretson
ff9612e63d Gauntlet: Android platform use AppConfig for fullclean instead of looking in globals params
#rnx

[CL 29693779 by josh engebretson in ue5-main branch]
2023-11-13 15:51:40 -05:00
marcelo gomes
9ad17edc97 Implement FullClean method in TargetDevice for all platforms
#rba

[CL 28680451 by marcelo gomes in ue5-main branch]
2023-10-11 16:18:18 -04:00
marcelo gomes
9af9cb85fa Accepting SkipInstall, SkipDeploy and SkipCopy arguments to skip build installation.
Uses AutoParam functions to set an AppConfig flag.
This change affects all platforms that in some form implement the "skip install" behavior.

[CL 28470800 by marcelo gomes in ue5-main branch]
2023-10-04 15:38:42 -04:00
brendan lienau
b026015910 [Gauntlet] Stubs out installation flow changes to enable gradual platform changes
- Adds ITargetDevice.ClearSavedDirectory
- Adds ITargetDevice.CopyAppConfigFiles

Platforms that have these functions implemented change per pass implementation:

Adjusts per pass from FROM
Pass 1
 - InstallApplication (including clearing device cache and copying additional files)
 - Run the app

Pass 2 and beyond
- Run the app

TO
Pass 1
- ClearSavedDirectory
- InstallApplication
- CopyAppConfigFiles
- Run the app

Pass 2 and beyond
- ClearSavedDirectory
- CopyAppConfigFiles
- Run the app

#rb andrew.grant, adolf.stary

[CL 28005887 by brendan lienau in ue5-main branch]
2023-09-19 14:51:53 -04:00
gary yuan
5b2c084606 [Gauntlet] Fix Android device match regex to match emulated devices
#rb jerome.delattre
[REVIEW]

[CL 27031218 by gary yuan in ue5-main branch]
2023-08-11 12:05:33 -04:00
jerome delattre
51f6f270aa Force process output to be logged as verbose log level so it does not trigger the event parser
#rnx
#rb Eric.McDaniel

[CL 26217902 by jerome delattre in ue5-main branch]
2023-06-23 16:24:18 -04:00
william ewen
d9ea36780f TargetDeviceAndroid: Adding extra checks so that the Timeout flow doesn't start extra adb instances we don't need after the device has already been disposed of
#rb j.baumgartner

[CL 24472107 by william ewen in ue5-main branch]
2023-03-01 17:21:27 -05:00
william ewen
8dd9116c04 Adding a force-close for ADB to ensure we don't leave processes running and unintentionally clog up system resources
#rb j.baumgartner

[CL 24412861 by william ewen in ue5-main branch]
2023-02-24 19:04:24 -05:00
Jerome Delattre
ecd49d9d5c Add mkdir for DeviceExternalFilesSavedPath before deploying on Android
#jira none
#preflight 63ea99a1e92f139c5159813e
#rb Chris.Babcock

[CL 24187360 by Jerome Delattre in ue5-main branch]
2023-02-13 15:38:18 -05:00
william ewen
aff1a9899b Device Cleanup
#rb Brendan.Lineau

[CL 23961031 by william ewen in ue5-main branch]
2023-02-01 19:26:55 -05:00
jerome delattre
8be6ee8ddb Improve Android device handling:
* Suspend log parsing when power on or off device
* Retry on disconnection when copy via adb push fails for disconnection
* Let DoAutoRenew() trap exceptions when renewing and deleting device

#jira UE-170029
#preflight 637801daf514e1ded9d705d1
#rb Chris.Constantinescu, Brendan.Lienau

[CL 23315216 by jerome delattre in ue5-main branch]
2022-11-29 14:37:28 -05:00
jerome delattre
3c4ffdb8f4 Use Structured Logging in Gauntlet
#jira UE-163471
#preflight 63700c1e0c74adb48bb9a5c9
#rb J.Baumgartner, Erik.Knapik, Chris.Constantinescu, Josh.Engebretson

[CL 23112357 by jerome delattre in ue5-main branch]
2022-11-12 18:42:11 -05:00
j baumgartner
617cc5161b [Automation] Use SrcFile as the regex match to ensure we copy to the correct destination path on Android
#jira UE-151756
#rb chris.babcock
#tests preflight replay run and ensure it copies the build and launches on android devices.
#preflight 62b0d2488e03312ad8367092

[CL 20743755 by j baumgartner in ue5-main branch]
2022-06-20 16:22:46 -04:00
j baumgartner
2e062281c0 [Automation] Fix for correct dest path for ADB
#rb chris.babcock
#jira UE-151756
#tests Ran ReplayRun preflight and the job no longer had issues with build copy
#preflight 6297b1f6e809e387be23529b

[CL 20456799 by j baumgartner in ue5-main branch]
2022-06-01 15:06:45 -04:00
william ewen
4185755103 Gauntlet Android: Making sure the Local Keys directory exists before we try to see if files exist within it
#rb J.Baumgartner

#ROBOMERGE-AUTHOR: william.ewen
#ROBOMERGE-SOURCE: CL 18854299 via CL 18854732 via CL 18854742 via CL 18855476 via CL 18855725
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18855752 by william ewen in ue5-main branch]
2022-02-03 18:41:31 -05:00
Marc Audy
3da1c5cc68 Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#[fyi] Aurel.Cordonnier

#ushell-cherrypick of 18448630 by Marc.Audy

[CL 18448753 by Marc Audy in ue5-main branch]
2021-12-13 16:08:57 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
dc4bf61540 Merge from Release-Engine-Staging @ 17030559 to Release-Engine-Test
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17030553

[CL 17031509 by aurel cordonnier in ue5-release-engine-test branch]
2021-08-03 11:56:47 -04:00
aurel cordonnier
02c0f425e8 Copy up from Release-Engine-Staging @ 16738359
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719

[CL 16738582 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-22 00:27:54 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
jeff newquist
5ea7789d60 Rename UE4CommandLine.txt to UECommandLine.txt and deal with all the related changes
#rb TBD
#jira UE-113713

[CL 16093056 by jeff newquist in ue5-main branch]
2021-04-22 10:29:26 -04:00