Commit Graph

38 Commits

Author SHA1 Message Date
David Harvey
c658e9deeb Adding Process Lifetime Management (PLM) test for Gauntlet and wiring into EngineTest for appropriate platforms.
#jira UE-144149
#rnx

#rb Jerome.Delattre, Eric.McDaniel

to run locally:
RunUAT RunUnreal -project=ShooterGame -platform=<platform> -Test="UE.PLMTest" -build=Path/To/Build -deviceurl= -device=<ip>
#preflight 62399579b3653cf6afd7aeb1

[CL 19464664 by David Harvey in ue5-main branch]
2022-03-22 05:39:15 -04:00
ben salem
fff387008a Add a Summary Notes system for QA to be able to look at for more user-friendly messaging about various errors that can pop up.
#rb andrew.grant,j.baumgartner,clayton.langford,tony.louthan

#ROBOMERGE-OWNER: ben.salem
#ROBOMERGE-AUTHOR: ben.salem
#ROBOMERGE-SOURCE: CL 19435399 via CL 19435736 via CL 19437281 via CL 19439090 via CL 19439629
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19442469 by ben salem in ue5-main branch]
2022-03-18 18:53:33 -04:00
Jerome Delattre
76a96a81bb Gauntlet - Horde Automated Test Session report
* Introduce Automated Test Session data model for Horde TestData
* Introduce Suite and Type to UnrealTestNode to have better control over Session naming
* Add PreflightChange option to discriminate Session that are not official run
* Add test Duration and DateTime to UE json report model
* Accomodate for posting New and Old report models

#jira UEENGQA-29178
#preflight 622bb8ec46679d56c323f49a
#rb Chris.Constantinescu

[CL 19367745 by Jerome Delattre in ue5-main branch]
2022-03-12 10:03:43 -04:00
jerome delattre
a9a2921a21 Add support for on-demand virtual devices in Gauntlet
#jira none
#rb Josh.Engebretson, Chris.Constantinescu

#ROBOMERGE-AUTHOR: jerome.delattre
#ROBOMERGE-SOURCE: CL 18383350 in //UE5/Release-5.0/... via CL 18383354
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18383363 by jerome delattre in ue5-release-engine-test branch]
2021-12-06 11:35:41 -05:00
chris constantinescu
fa655a1808 Gauntlet unnaceptable words fix
#jira UE-131083
#rb Jerome.Delattre

#ROBOMERGE-AUTHOR: chris.constantinescu
#ROBOMERGE-SOURCE: CL 18270791 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 18270804 by chris constantinescu in ue5-release-engine-test branch]
2021-11-23 11:18:17 -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
jerome delattre
41e276d20c Telemetry - modify data model to use a build table and a record table separately
+ support for staging db target

#jira none
#rb Chris.Constantinescu, Geoff.Evans

#ROBOMERGE-AUTHOR: jerome.delattre
#ROBOMERGE-SOURCE: CL 17923403 in //UE5/Release-5.0/... via CL 17923442
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17923450 by jerome delattre in ue5-release-engine-test branch]
2021-10-26 10:12:39 -04:00
chris constantinescu
911e95a6d0 Low level tests - platform fixes and presubmit default compilation to prevent breaking
- Addressed remaining NDA platform code that was present in public facing folders
- Compile LowLevelTests target by default on presubmits and incremental builds for Main and 5.0
- Add dummy test on LowLevelTetsts and run it on consoles daily - this test is called "Self" and it's a sanity check run for Catch2
- Fixed Switch indefinite hang - Self test run successfully on this console
- Added IRunningStateOptions to control app run state: startup and check running state options
- AudioUnitTests run successfully on XboxOneGDK and XSX
- XSX Self and AudioUnitTests run successfully but XSX reports VideoEscape errors - JIRA UE-131334

#jira UEENGQA-52681, UE-127449
#rb Jerome.Delattre

#ROBOMERGE-AUTHOR: chris.constantinescu
#ROBOMERGE-SOURCE: CL 17830364 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v881-17767770)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 17830380 by chris constantinescu in ue5-release-engine-test branch]
2021-10-15 12:17:53 -04:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
jerome delattre
ef7a418217 Improve test exclusion list mechanic
* Rename blacklist to excludelist (requested by high management)
* Support section exclusion rule to be able to exclude entire section of tests (ie PathTracing is only supported on Win64 for now)
* Mark excluded test as skipped in the report instead of entirely removed for test list. Check for exclusion just before running the test.
* Remove NotEnoughParticipant state in favor of Skipped (same conditions lead to Skipped state with appropriate messaging)
* Add support for exclusion management from the Test Automation window. (added a column at the end of each row)
* Expose device information to UE test report
* Add support for metadata in Gauntlet test report for Horde

Limitations:
* Management through the UI is limited to which test is available through in the active worker node. That's mean Runtime only tests are not listed from a worker that is Editor(the default) and platform specific are not clearly identified.
* For platforms, the mechanic to access their config and save it will remain to be done. In the meantime, it needs to be done manually through the target platform config file.

#jira UE-125960
#jira UE-125974

#ROBOMERGE-AUTHOR: jerome.delattre
#ROBOMERGE-SOURCE: CL 17607554 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17607557 by jerome delattre in ue5-release-engine-test branch]
2021-09-23 09:35:30 -04:00
jerome delattre
d0f6bf21ca Resume UE tests pass using json report as tracking support after test pass stoped because of critical failure.
* Implement loading Json report and resume from last know failure
* Make Gauntlet uses the retry state when critical failure occured on UE automation test.
* Capture the callstack if any and update the json report
* Attached passed log before retrying
* Use enum in json serialization and desirialization
* Use one common Event class for json report and parsing from the log
* Use an unique path for artifact at each runs/retries
* Use Json report to generate the pass summary in Gauntlet

#jira UEENGQA-38051
#rb Chris.Constantinescu, Eric.Knapick

#ROBOMERGE-SOURCE: CL 17160450 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17160467 by jerome delattre in ue5-release-engine-test branch]
2021-08-12 18:54:00 -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
25a11deeac Merge from Release-Engine-Staging @ 16579919
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16581170 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-07 20:09:45 -04:00
Jerome Delattre
c7dc6ed851 Gauntlet - Add support for Unit and Baseline to Telemetry data
#jira none
#rb none
#rnx

[CL 16496261 by Jerome Delattre in ue5-main branch]
2021-05-27 21:57:49 -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
ben salem
472299ebcf Add InsufficientDevices as a specific TestResult type for Gauntlet.
#ROBOMERGE-OWNER: Ben.Woodhouse
#ROBOMERGE-AUTHOR: ben.salem
#ROBOMERGE-COMMAND: _robomerge ue5-main
#ROBOMERGE-SOURCE: CL 16037939 via CL 16038037 via CL 16040838 via CL 16040843 via CL 16040847 via CL 16055143
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v789-15992632)

[CL 16115258 by ben salem in ue5-main branch]
2021-04-26 12:16:15 -04:00
Jerome Delattre
6c6bcf0814 Gauntlet - Add build command to publish telemetry from CSV
+ avoid using ITestContext instead use a blackboard type object as context to store abitrary data

at the command line:
 Engine\Build\BatchFiles\RunUAT.bat PublishUnrealAutomationTelemetry -CSVFile=C:\temp\myfile.csv -project=Reverb -changelist=111 -branch=ue5-main

in buildgraph:
<Command Name="PublishUnrealAutomationTelemetry" Arguments="-CSVFile=C:\temp\myfile.csv -project=Reverb -changelist=111 -branch=ue5-main" />

Support csv re-mapping:
 -CSVMapping=DataPoint:SomeName,TestName:SomeKey

#jira none
#rnx
#rb Geoff.Evans

[CL 16056211 by Jerome Delattre in ue5-main branch]
2021-04-19 18:50:12 -04:00
eric mcdaniel
d846a46845 Additional workarounds for explicit references to optional console platforms in title build system
- includes a cherrypick of 15851870 by jeff.newquist as well as additional fixes
- some changes here are temporary and will be revisited via FORT-363688

#rb David.Harvey, Andrew.Grant, Luke.Thatcher
#jira none

[CL 15976966 by eric mcdaniel in ue5-main branch]
2021-04-12 09:11:22 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
Jerome Delattre
886c5c2c83 Gauntlet - Add Context property to TelemetryData
#jira
#rnx
#rb none

[CL 15654353 by Jerome Delattre in ue5-main branch]
2021-03-09 10:50:56 -04:00
Jerome Delattre
4d77c4f788 Gauntlet - Formalize telemetry support in Gauntlet
- add simple data structure to hold the data
- introduce database config and driver
- support sending telemetry data from UnrealTestNode

#jira UEENGQA-38048
#rb Andrew.Grant,Bob.Ferriera

[CL 15480886 by Jerome Delattre in ue5-main branch]
2021-02-19 20:18:31 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
Marc Audy
bc88b73a29 Merge Release-Engine-Staging to Main @ CL# 15151250
Represents UE4/Main @ 15133763

[CL 15158774 by Marc Audy in ue5-main branch]
2021-01-21 16:22:06 -04:00
Jerome Delattre
bb9343019d Make sure path are fully qualified when coping artifact files with Gauntlet
#jira none
#rnx
#rb none

[CL 14874002 by Jerome Delattre in ue5-main branch]
2020-12-07 17:48:26 -04:00
Jerome Delattre
ee8b6387d8 # Simplify gauntlet report for Horde
Introduce Gauntlet.ITestReport interface
 - enable attaching artifact to report through ITestReport.AttachArtifact(string)
 - enable reporting errors and warnings to ITestReport

Deprecate CreateReport(TestResult, Context, Build, Artifacts, ArtifactPath) and favor to CreateReport(ITestReport)

Generate a simplified report for Horde Test Data

Better support copying artifacts with long path on Windows

#jira none
#rb Andrew.Grant

[CL 14859929 by Jerome Delattre in ue5-main branch]
2020-12-04 17:30:52 -04:00