diff options
author | Pierrick Bouvier <pierrick.bouvier@linaro.org> | 2025-03-04 22:24:26 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2025-03-10 10:30:01 +0000 |
commit | 2a8e8544b285ace2a6f21b72e18d823738fc8167 (patch) | |
tree | 80fb5aed52a536aa91d8320b6dbf7a245b34c114 | |
parent | 3df360cb03d56cecdc23abc5855ffceedfcbfa0b (diff) | |
download | qemu-2a8e8544b285ace2a6f21b72e18d823738fc8167.zip qemu-2a8e8544b285ace2a6f21b72e18d823738fc8167.tar.gz qemu-2a8e8544b285ace2a6f21b72e18d823738fc8167.tar.bz2 |
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>
-rwxr-xr-x | tests/functional/test_aarch64_rme_sbsaref.py | 3 | ||||
-rwxr-xr-x | tests/functional/test_aarch64_rme_virt.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/functional/test_aarch64_rme_sbsaref.py b/tests/functional/test_aarch64_rme_sbsaref.py index 93bb528..ddcc949 100755 --- a/tests/functional/test_aarch64_rme_sbsaref.py +++ b/tests/functional/test_aarch64_rme_sbsaref.py @@ -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) diff --git a/tests/functional/test_aarch64_rme_virt.py b/tests/functional/test_aarch64_rme_virt.py index 42b9229..38e0172 100755 --- a/tests/functional/test_aarch64_rme_virt.py +++ b/tests/functional/test_aarch64_rme_virt.py @@ -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) |