tests/functional: add boot error detection for RME tests

It was identified that those tests randomly fail with a synchronous
exception at boot (reported by EDK2).
While we solve this problem, report failure immediately so tests don't
timeout in CI.

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20250303185745.2504842-1-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-20-alex.bennee@linaro.org>
This commit is contained in:
Pierrick Bouvier 2025-03-04 22:24:26 +00:00 committed by Alex Bennée
parent 3df360cb03
commit 2a8e8544b2
2 changed files with 4 additions and 2 deletions

View file

@ -60,7 +60,8 @@ class Aarch64RMESbsaRefMachine(QemuSystemTest):
self.vm.launch()
# Wait for host VM boot to complete.
wait_for_console_pattern(self, 'Welcome to Buildroot')
wait_for_console_pattern(self, 'Welcome to Buildroot',
failure_message='Synchronous Exception at')
exec_command_and_wait_for_pattern(self, 'root', '#')
test_realms_guest(self)

View file

@ -89,7 +89,8 @@ class Aarch64RMEVirtMachine(QemuSystemTest):
self.vm.launch()
# Wait for host VM boot to complete.
wait_for_console_pattern(self, 'Welcome to Buildroot')
wait_for_console_pattern(self, 'Welcome to Buildroot',
failure_message='Synchronous Exception at')
exec_command_and_wait_for_pattern(self, 'root', '#')
test_realms_guest(self)