[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 29/40] tests/acceptance: skip LinuxInitrd 2gib with v4.16
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v4 29/40] tests/acceptance: skip LinuxInitrd 2gib with v4.16 on GitLab |
Date: |
Wed, 1 Jul 2020 17:57:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 7/1/20 3:56 PM, Alex Bennée wrote:
> 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>
> ---
> tests/acceptance/linux_initrd.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tests/acceptance/linux_initrd.py
> b/tests/acceptance/linux_initrd.py
> index a3e54d3fc91..a249e2f14a2 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
>
Acked-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- [PATCH v4 15/40] tests/vm: allow us to take advantage of MTTCG, (continued)
- [PATCH v4 15/40] tests/vm: allow us to take advantage of MTTCG, Alex Bennée, 2020/07/01
- [PATCH v4 35/40] gitlab: add avocado asset caching, Alex Bennée, 2020/07/01
- [PATCH v4 16/40] tests/docker: check for an parameters not empty string, Alex Bennée, 2020/07/01
- [PATCH v4 27/40] tests/acceptance: fix dtb path for machine_rx_gdbsim, Alex Bennée, 2020/07/01
- [PATCH v4 14/40] tests/vm: switch from optsparse to argparse, Alex Bennée, 2020/07/01
- [PATCH v4 33/40] linux-user/elfload: use MAP_FIXED_NOREPLACE in pgb_reserved_va, Alex Bennée, 2020/07/01
- [PATCH v4 31/40] tests/tcg: add more default compilers to configure.sh, Alex Bennée, 2020/07/01
- [PATCH v4 40/40] shippable: pull images from registry instead of building, Alex Bennée, 2020/07/01
- [PATCH v4 29/40] tests/acceptance: skip LinuxInitrd 2gib with v4.16 on GitLab, Alex Bennée, 2020/07/01
- Re: [PATCH v4 29/40] tests/acceptance: skip LinuxInitrd 2gib with v4.16 on GitLab,
Philippe Mathieu-Daudé <=
- [PATCH v4 38/40] containers.yml: build with docker.py tooling, Alex Bennée, 2020/07/01
- [PATCH v4 28/40] tests/acceptance: skip multicore mips_malta tests on GitLab, Alex Bennée, 2020/07/01
- Re: [PATCH v4 28/40] tests/acceptance: skip multicore mips_malta tests on GitLab, Aleksandar Markovic, 2020/07/01
[PATCH v4 18/40] .gitignore: un-ignore .gitlab-ci.d, Alex Bennée, 2020/07/01
[PATCH v4 36/40] gitlab: split build-disabled into two phases, Alex Bennée, 2020/07/01