[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 28/40] tests/acceptance: skip multicore mips_malta tests o
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v4 28/40] tests/acceptance: skip multicore mips_malta tests on GitLab |
Date: |
Wed, 1 Jul 2020 19:01:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 7/1/20 6:43 PM, Alex Bennée wrote:
>
> Philippe Mathieu-Daudé <f4bug@amsat.org> writes:
>
>> On 7/1/20 3:56 PM, Alex Bennée wrote:
>>> For some reason these tests fail all the time on GitLab. I can
>>> re-create the hang around 3% of the time locally but it doesn't seem
>>> to be MTTCG related. For now skipIf on GITLAB_CI.
>>>
>>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>>> Cc: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
>>> ---
>>> tests/acceptance/machine_mips_malta.py | 3 +++
>>> 1 file changed, 3 insertions(+)
>>>
>>> diff --git a/tests/acceptance/machine_mips_malta.py
>>> b/tests/acceptance/machine_mips_malta.py
>>> index 92b4f28a112..7c9a4ee4d2d 100644
>>> --- a/tests/acceptance/machine_mips_malta.py
>>> +++ b/tests/acceptance/machine_mips_malta.py
>>> @@ -15,6 +15,7 @@ from avocado import skipUnless
>>> from avocado_qemu import Test
>>> from avocado_qemu import wait_for_console_pattern
>>> from avocado.utils import archive
>>> +from avocado import skipIf
>>>
>>>
>>> NUMPY_AVAILABLE = True
>>> @@ -99,6 +100,7 @@ class MaltaMachineFramebuffer(Test):
>>> """
>>> self.do_test_i6400_framebuffer_logo(1)
>>>
>>
>> So the test works using a single core...
>> Good we have a test to figure the bug!
>
> It's about a 1-3% failure rate on my big test box but hits every time on
> CI. However I did disable MTTCG and still saw failures so I think it's a
> more subtle breakage than just a straight race.
I first thought it was a MTTCG problem, but then I realized you didn't
disable the single core test. When using >1 core, the malta uses a
different device, the CPS for Coherent Processing System. It contains
a Inter-Thread Communication Unit and a Global Interrupt Controller.
There might be a I/O locking problem. In particular, some of these
devices access the &cpu->env (the ITU is more of micro-architecture).
This is why I was excited by your finding :) We might have a way
to figure it out.
>
>>
>> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
>>
>>> + @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
>>> def test_mips_malta_i6400_framebuffer_logo_7cores(self):
>>> """
>>> :avocado: tags=arch:mips64el
>>> @@ -108,6 +110,7 @@ class MaltaMachineFramebuffer(Test):
>>> """
>>> self.do_test_i6400_framebuffer_logo(7)
>>>
>>> + @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
>>> def test_mips_malta_i6400_framebuffer_logo_8cores(self):
>>> """
>>> :avocado: tags=arch:mips64el
>>>
>
>
- [PATCH v4 14/40] tests/vm: switch from optsparse to argparse, (continued)
- [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
- [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