mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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:
parent
3df360cb03
commit
2a8e8544b2
2 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue