Commit Graph

18 Commits

Author SHA1 Message Date
jon olick
da218d2bca Instead of passing in AppConfig to Run, store AppConfig in AndroidInstall.
#rb Brendan.Lienau, Chris.Babcock

[CL 33050622 by jon olick in ue5-main branch]
2024-04-17 17:45:03 -04:00
jon olick
c212eb5c54 Use AFS instead of ADB when available.
[CL 33043921 by jon olick in ue5-main branch]
2024-04-17 14:46:09 -04:00
brendan lienau
f0a72e06bf [Gauntlet] Implements new launch flow functions for TargetDeviceDesktopCommon
Also implements overrides for each desktop platform (Win64, WinGDK, Linux, Mac)

#jira UE-201386
#rb David.Harvey, Jerome.Delattre

[CL 32056288 by brendan lienau in ue5-main branch]
2024-03-06 11:47:05 -05:00
jerome delattre
996d262734 Fix log output not being human readable
+ Handle setting up the default command line arguments through TargetDeviceDesktopCommon
+ Align log settings across configs

#jira UE-203448
#rnx

#rb brendan.lienau, sebastian.lewicki

[CL 30684372 by jerome delattre in ue5-main branch]
2024-01-18 10:38:15 -05:00
chris constantinescu
4b539c383f Replication tests compilation errors on Linux and other platforms
#rb rob.huyett, Ryan.Gerleve, sebastian.lewicki
#jira UE-203730

[CL 30569736 by chris constantinescu in ue5-main branch]
2024-01-11 11:12:52 -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
brendan lienau
0be2222e4d [Gauntlet] Retain desktop builds in the device cache when using device reservation blocks
Also remove destlocalinstalldir from UnrealSession and adds an equivalent InstallRoot into TargetDeviceDesktopCommon
#jira UE-201400
#rb David.Harvey, Josh.Engebretson

[CL 30120356 by brendan lienau in ue5-main branch]
2023-12-05 11:13:22 -05:00
brendan lienau
f9184f2606 [Gauntlet] Create TargetDeviceDesktopCommon to abstract re-used behavior for Windows, Linux, and Mac
#rb David.Harvey

[CL 29965983 by brendan lienau in ue5-main branch]
2023-11-28 14:11:10 -05:00
david harvey
eee0cb014a Add support for -DestLocalInstallDir for Gauntlet to override where local builds are installed to.
- this can be used to persist a local build across multiple nodes to avoid it being cleaned from the artifact directory


#jira UE-198716
#rnx
#rb Jerome.Delattre

[CL 29403477 by david harvey in ue5-main branch]
2023-11-03 09:12:25 -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
chris constantinescu
9aa914f01c LinuxArm64 support for Low Level Tests through emulator, running in docker container
- Catch2 built for LinuxArm64
- new option to run apps in containerized mode
- builds docker image, setup and cleanup
- StringOp BuildGraph element for string operations (replace, to lower etc)
#jira UE-193565
#rb ue-qa-sdets

[CL 27758925 by chris constantinescu in ue5-main branch]
2023-09-11 12:55:31 -04:00
chris constantinescu
e003cfd4a1 Use Gauntlet to run low level tests instead of BG's Spawn, move LowLevelTests.xml to public folder and remove all restricted platform names
#rb Jerome.Delattre
#preflight 6452abfd4d593c0b422b5d9e

[CL 25335483 by chris constantinescu in ue5-main branch]
2023-05-04 11:05:46 -04:00
Jerome Delattre
4555fe9325 Gauntlet - fix inconsistent failure between desktop platforms
+ Add support for AddressSanitizer callstack capture in Unreal log parser

#jira UE-167962
#preflight 63cb119c976daa618cef7a35
#rb Brandon.Schaefer,Johnstone.Baumgartner
#rnx

[CL 23832468 by Jerome Delattre in ue5-main branch]
2023-01-24 12:06:09 -05:00
anna fukutome
fcdd6ae3fb If cleaning up test artifacts fails, set each test artifact to have "normal" attributes.
Some artifacts are read-only, and so they fail to get cleaned up by gauntlet.
This was previously fixed for the Gauntlet Device pool, but should be fixed here as well.

#rb Ben.Salem John.Wilson
#preflight 63cf2555ef20a5272dd7a1ee

[CL 23826248 by anna fukutome in ue5-main branch]
2023-01-23 21:21:51 -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
james singer
8438087f41 Fix UserDir path handling for Gauntlet Linux host
#rnx
#jira none
#review-21186711 @brandon.schaefer
#rb @brandon.schaefer
#preflight 62d971d8bc175ec68c7c5d33

Details
- Previously UserDir was set in such a way that multiple gauntlet processes launched on the same machine would have their log directories collide.  In the observed failure case, the client would launch after the server, stomping the server's log.  Then gauntlet would be unable to find the test results and report as "No tests executed".  This change just makes the path be the same as what Windows uses.

[CL 21201734 by james singer in ue5-main branch]
2022-07-21 11:43:40 -04:00
Brandon Schaefer
e65e4e342c Add Linux support for Gauntlet
#jira UE-133314
#rb Michael.Sartain
#preflight 6203cfda724404041858c36c

[CL 18918198 by Brandon Schaefer in ue5-main branch]
2022-02-09 10:41:17 -05:00