[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 27/41] tests/acceptance: skip LinuxInitrd 2gib with v4.16 on GitLa
From: |
Alex Bennée |
Subject: |
[PULL 27/41] tests/acceptance: skip LinuxInitrd 2gib with v4.16 on GitLab |
Date: |
Tue, 7 Jul 2020 08:08:44 +0100 |
This fails on GitLab but not when run locally on the same container
image. It's very confusing.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200701135652.1366-30-alex.bennee@linaro.org>
diff --git a/tests/acceptance/linux_initrd.py b/tests/acceptance/linux_initrd.py
index a3e54d3fc915..a249e2f14a24 100644
--- a/tests/acceptance/linux_initrd.py
+++ b/tests/acceptance/linux_initrd.py
@@ -8,10 +8,12 @@
# This work is licensed under the terms of the GNU GPL, version 2 or
# later. See the COPYING file in the top-level directory.
+import os
import logging
import tempfile
from avocado_qemu import Test
+from avocado import skipIf
class LinuxInitrd(Test):
@@ -51,6 +53,7 @@ class LinuxInitrd(Test):
max_size + 1)
self.assertRegex(self.vm.get_log(), expected_msg)
+ @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
def test_with_2gib_file_should_work_with_linux_v4_16(self):
"""
QEMU has supported up to 4 GiB initrd for recent kernel
--
2.20.1
- [PULL 13/41] tests/vm: allow us to take advantage of MTTCG, (continued)
- [PULL 13/41] tests/vm: allow us to take advantage of MTTCG, Alex Bennée, 2020/07/07
- [PULL 29/41] tests/tcg: add more default compilers to configure.sh, Alex Bennée, 2020/07/07
- [PULL 41/41] tests/qht-bench: Adjust threshold computation, Alex Bennée, 2020/07/07
- [PULL 28/41] gitlab: add acceptance testing to system builds, Alex Bennée, 2020/07/07
- [PULL 31/41] linux-user/elfload: use MAP_FIXED_NOREPLACE in pgb_reserved_va, Alex Bennée, 2020/07/07
- [PULL 20/41] gitlab: convert jobs to use custom built containers, Alex Bennée, 2020/07/07
- [PULL 39/41] travis.yml: Test also the other targets on s390x, Alex Bennée, 2020/07/07
- [PULL 18/41] gitlab: introduce explicit "container" and "build" stages, Alex Bennée, 2020/07/07
- [PULL 16/41] .gitignore: un-ignore .gitlab-ci.d, Alex Bennée, 2020/07/07
- [PULL 17/41] gitlab-ci: Fix the change rules after moving the YML files, Alex Bennée, 2020/07/07
- [PULL 27/41] tests/acceptance: skip LinuxInitrd 2gib with v4.16 on GitLab,
Alex Bennée <=
- [PULL 36/41] containers.yml: build with docker.py tooling, Alex Bennée, 2020/07/07
- [PULL 25/41] tests/acceptance: fix dtb path for machine_rx_gdbsim, Alex Bennée, 2020/07/07
- [PULL 34/41] gitlab: split build-disabled into two phases, Alex Bennée, 2020/07/07
- [PULL 35/41] gitlab: limit re-builds of the containers, Alex Bennée, 2020/07/07
- [PULL 23/41] tests/docker: add packages needed for check-acceptance, Alex Bennée, 2020/07/07
- [PULL 38/41] shippable: pull images from registry instead of building, Alex Bennée, 2020/07/07
- [PULL 32/41] gitlab: enable check-tcg for linux-user tests, Alex Bennée, 2020/07/07
- [PULL 26/41] tests/acceptance: skip multicore mips_malta tests on GitLab, Alex Bennée, 2020/07/07
- [PULL 40/41] tests/qht-bench: Adjust testing rate by -1, Alex Bennée, 2020/07/07
- [PULL 24/41] tests/acceptance: skip s390x_ccw_vrtio_tcg on GitLab, Alex Bennée, 2020/07/07