]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/avocado: partially revert unmasking of replay_linux tests
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 12 Jan 2024 13:21:17 +0000 (13:21 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 12 Jan 2024 13:23:48 +0000 (13:23 +0000)
It seems we were premature in declaring replay_linux.py fixed. The
x86_64 image still seems to hang occasionally. I've raised a new bug
to cover it:

    https://gitlab.com/qemu-project/qemu/-/issues/2094

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/avocado/replay_kernel.py

index 6fdcbd6ac3d40528e488f5e79cf7fc5b102ebff1..10d99403a4c06a730a905d315f45c01caee99eb3 100644 (file)
@@ -98,10 +98,13 @@ class ReplayKernelNormal(ReplayKernelBase):
 
         self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=5)
 
+    # See https://gitlab.com/qemu-project/qemu/-/issues/2094
+    @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test sometimes gets stuck')
     def test_x86_64_pc(self):
         """
         :avocado: tags=arch:x86_64
         :avocado: tags=machine:pc
+        :avocado: tags=flaky
         """
         kernel_url = ('https://archives.fedoraproject.org/pub/archive/fedora'
                       '/linux/releases/29/Everything/x86_64/os/images/pxeboot'