diff mbox series

[RFC] tests/avocado: mark ReplayKernelNormal.test_mips64el_malta as flaky

Message ID 20231201201027.2689404-1-alex.bennee@linaro.org
State New
Headers show
Series [RFC] tests/avocado: mark ReplayKernelNormal.test_mips64el_malta as flaky | expand

Commit Message

Alex Bennée Dec. 1, 2023, 8:10 p.m. UTC
I missed this when going through the recent failure logs. I can run
the test 30 times without failure locally but it seems to hang pretty
reliably on GitLab's CI infra-structure.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 tests/avocado/replay_kernel.py | 3 +++
 1 file changed, 3 insertions(+)

Comments

Philippe Mathieu-Daudé Dec. 1, 2023, 8:40 p.m. UTC | #1
On 1/12/23 21:10, Alex Bennée wrote:
> I missed this when going through the recent failure logs. I can run
> the test 30 times without failure locally but it seems to hang pretty
> reliably on GitLab's CI infra-structure.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   tests/avocado/replay_kernel.py | 3 +++
>   1 file changed, 3 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Philippe Mathieu-Daudé Dec. 4, 2023, 3:26 p.m. UTC | #2
On 1/12/23 21:10, Alex Bennée wrote:
> I missed this when going through the recent failure logs. I can run
> the test 30 times without failure locally but it seems to hang pretty
> reliably on GitLab's CI infra-structure.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   tests/avocado/replay_kernel.py | 3 +++
>   1 file changed, 3 insertions(+)

Thanks, queued in misc-fixes.
diff mbox series

Patch

diff --git a/tests/avocado/replay_kernel.py b/tests/avocado/replay_kernel.py
index af086eab08..c37afa662c 100644
--- a/tests/avocado/replay_kernel.py
+++ b/tests/avocado/replay_kernel.py
@@ -119,6 +119,8 @@  def test_mips_malta(self):
 
         self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=5)
 
+    # See https://gitlab.com/qemu-project/qemu/-/issues/2013
+    @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab')
     def test_mips64el_malta(self):
         """
         This test requires the ar tool to extract "data.tar.gz" from
@@ -134,6 +136,7 @@  def test_mips64el_malta(self):
 
         :avocado: tags=arch:mips64el
         :avocado: tags=machine:malta
+        :avocado: tags=flaky
         """
         deb_url = ('http://snapshot.debian.org/archive/debian/'
                    '20130217T032700Z/pool/main/l/linux-2.6/'