Gauntlet seemingly cant find Testclass
khadgarar opened this issue · 2 comments
Hi, incredible framwrok, thanks a lot. Can anyone help me out with this problem.
Trying to launch tests in UE5 with Gauntlet results using the following command:
"C:\Program Files\Epic Games\UE_5.1\Engine\Build\BatchFiles\RunUAT.bat" RunUnreal -project="E:\daedalustest\daedalustest\daedalustest.uproject" -scriptdir="E:\daedalustest\daedalustest" -platform=Win64 -configuration=Development -build=editor -test="DaedalicTestAutomationPlugin.Automation.DaeGauntletTest"
results in the following error message:
### Role: EditorGame (Win64 Development)
##### Failed: Process encountered fatal error (EncounteredFatalError, ExitCode=-1)
* CommandLine: E:\daedalustest\daedalustest\daedalustest.uproject -gauntlet=DaeGauntletTestController -ResX=1280 -ResY=720 -windowed -unattended -nosplash -stdout -AllowStdOutLogVerbosity -gauntlet.heartbeatperiod=30 -multihome=10.96.212.47 -multihomehttp=10.96.212.47 -nomcp -notimeouts -noepicportal -game -userdir="C:\Program Files\Epic Games\UE_5.1\GauntletTemp\DeviceCache\Win64\LocalDevice0\UserDir"
* Log: C:\Program Files\Epic Games\UE_5.1\GauntletTemp\Logs\DaedalicTestAutomationPlugin.Automation.DaeGauntletTest_(Win64_Development_EditorGame)\EditorGame\EditorGameOutput.log
* SavedDir: C:\Program Files\Epic Games\UE_5.1\GauntletTemp\Logs\DaedalicTestAutomationPlugin.Automation.DaeGauntletTest_(Win64_Development_EditorGame)\EditorGame
* Fatal Errors: 1
* Log Errors: 20
* Log Warnings: 15
##### Fatal Error: Assertion failed: TestClass [File:D:\build\++UE5\Sync\Engine\Plugins\Experimental\Gauntlet\Source\Gauntlet\Private\GauntletModule.cpp] [Line: 222]
Could not find class for controller DaeGauntletTestController
* 0x00007ff88efd7358 UnrealEditor-Gauntlet.dll!UnknownFunction [Unknown File]
* 0x00007ff88efd7ac0 UnrealEditor-Gauntlet.dll!UnknownFunction [Unknown File]
* 0x00007ff88efd599f UnrealEditor-Gauntlet.dll!UnknownFunction [Unknown File]
* 0x00007ff6d8c585d9 UnknownFunction [Unknown File]
* 0x00007ff6d8c4291a UnknownFunction [Unknown File]
* 0x00007ff6d8c62783 UnknownFunction [Unknown File]
* 0x00007ff6d8c6296a UnknownFunction [Unknown File]
* 0x00007ff6d8c65680 UnknownFunction [Unknown File]
* 0x00007ff6d8c771b4 UnknownFunction [Unknown File]
* 0x00007ff6d8c7a516 UnknownFunction [Unknown File]
* 0x00007ff955c17604 KERNEL32.DLL!UnknownFunction [Unknown File]
* 0x00007ff956d026a1 ntdll.dll!UnknownFunction [Unknown File]
# Gauntlet summary events:
--------------------------------------------------------------------------------
##### Fatal Error: Fatal Error Encountered
Could not parse callstack. See log for full callstack
The EditorGameOutpuy.Log contains the following:
Script Stack (0 frames) :
[2023.05.15-09.20.12:295][ 0]LogWindows: Error: appError called: Assertion failed: TestClass [File:D:\build\++UE5\Sync\Engine\Plugins\Experimental\Gauntlet\Source\Gauntlet\Private\GauntletModule.cpp] [Line: 222]
Could not find class for controller DaeGauntletTestController
[2023.05.15-09.20.12:295][ 0]LogWindows: Windows GetLastError: Операция успешно завершена. (0)
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: === Critical error: ===
[2023.05.15-09.20.13:027][ 0]LogWindows: Error:
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: Assertion failed: TestClass [File:D:\build\++UE5\Sync\Engine\Plugins\Experimental\Gauntlet\Source\Gauntlet\Private\GauntletModule.cpp] [Line: 222]
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: Could not find class for controller DaeGauntletTestController
[2023.05.15-09.20.13:027][ 0]LogWindows: Error:
[2023.05.15-09.20.13:027][ 0]LogWindows: Error:
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: [Callstack] 0x00007ff88efd7358 UnrealEditor-Gauntlet.dll!UnknownFunction []
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: [Callstack] 0x00007ff88efd7ac0 UnrealEditor-Gauntlet.dll!UnknownFunction []
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: [Callstack] 0x00007ff88efd599f UnrealEditor-Gauntlet.dll!UnknownFunction []
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: [Callstack] 0x00007ff6d8c585d9 UnrealEditor.exe!UnknownFunction []
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: [Callstack] 0x00007ff6d8c4291a UnrealEditor.exe!UnknownFunction []
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: [Callstack] 0x00007ff6d8c62783 UnrealEditor.exe!UnknownFunction []
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: [Callstack] 0x00007ff6d8c6296a UnrealEditor.exe!UnknownFunction []
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: [Callstack] 0x00007ff6d8c65680 UnrealEditor.exe!UnknownFunction []
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: [Callstack] 0x00007ff6d8c771b4 UnrealEditor.exe!UnknownFunction []
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: [Callstack] 0x00007ff6d8c7a516 UnrealEditor.exe!UnknownFunction []
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: [Callstack] 0x00007ff955c17604 KERNEL32.DLL!UnknownFunction []
[2023.05.15-09.20.13:027][ 0]LogWindows: Error: [Callstack] 0x00007ff956d026a1 ntdll.dll!UnknownFunction []
[2023.05.15-09.20.13:027][ 0]LogWindows: Error:
[2023.05.15-09.20.13:034][ 0]LogExit: Executing StaticShutdownAfterError
[2023.05.15-09.20.13:035][ 0]LogWindows: FPlatformMisc::RequestExit(1)
[2023.05.15-09.20.13:035][ 0]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3)
[2023.05.15-09.20.13:035][ 0]LogCore: Engine exit requested (reason: Win RequestExit)
Could anyone tell me why could that be? I honestly fail to see a reason why gauntlet fails to find the test class.
Likely that you've not cooked the game content first?