Skip to content

Commit 2a8e854

Browse files
pbo-linarostsquad
authored andcommitted
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 <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Message-Id: <[email protected]> Signed-off-by: Alex Bennée <[email protected]> Message-Id: <[email protected]>
1 parent 3df360c commit 2a8e854

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/functional/test_aarch64_rme_sbsaref.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ def test_aarch64_rme_sbsaref(self):
6060

6161
self.vm.launch()
6262
# Wait for host VM boot to complete.
63-
wait_for_console_pattern(self, 'Welcome to Buildroot')
63+
wait_for_console_pattern(self, 'Welcome to Buildroot',
64+
failure_message='Synchronous Exception at')
6465
exec_command_and_wait_for_pattern(self, 'root', '#')
6566

6667
test_realms_guest(self)

tests/functional/test_aarch64_rme_virt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ def test_aarch64_rme_virt(self):
8989

9090
self.vm.launch()
9191
# Wait for host VM boot to complete.
92-
wait_for_console_pattern(self, 'Welcome to Buildroot')
92+
wait_for_console_pattern(self, 'Welcome to Buildroot',
93+
failure_message='Synchronous Exception at')
9394
exec_command_and_wait_for_pattern(self, 'root', '#')
9495

9596
test_realms_guest(self)

0 commit comments

Comments
 (0)