tests/tcg: skip the vma-pthread test on CI
RFC PATCH 1/1 tests/tcg: skip the vma-pthread test on CI
We are getting a lot of failures that are not related to changes so this could be a flaky test.
--- tests/tcg/multiarch/Makefile.target | 9 +++++++++ 1 file changed, 9 insertions(+)
tests/tcg/multiarch/Makefile.target +9 -0
@@ -42,6 +42,15 @@ munmap-pthread: LDFLAGS+=-pthread vma-pthread: CFLAGS+=-pthread vma-pthread: LDFLAGS+=-pthread +# The vma-pthread seems very sensitive on gitlab and we currently +# don't know if its exposing a real bug or the test is flaky. +ifneq ($(GITLAB_CI),) +run-vma-pthread: vma-pthread + $(call skip-test, $<, "flaky on CI?") +run-plugin-vma-pthread-with-%: vma-pthread + $(call skip-test, $<, "flaky on CI?") +endif + # We define the runner for test-mmap after the individual # architectures have defined their supported pages sizes. If no # additional page sizes are defined we only run the default test.
Signature · 1 line
2.34.1
Quoted 7 lines · Alex Bennée
tests/tcg/multiarch/Makefile.target +0
-0@@ -42,6 +42,15 @@ munmap-pthread: LDFLAGS+=-pthread vma-pthread: CFLAGS+=-pthread vma-pthread: LDFLAGS+=-pthread
tests/tcg/multiarch/Makefile.target munmap-pthread: LDFLAGS+=-pthread · line 53
Quoted 10 lines
tests/tcg/multiarch/Makefile.target +9
-0+# The vma-pthread seems very sensitive on gitlab and we currently +# don't know if its exposing a real bug or the test is flaky. +ifneq ($(GITLAB_CI),) +run-vma-pthread: vma-pthread + $(call skip-test, $<, "flaky on CI?") +run-plugin-vma-pthread-with-%: vma-pthread + $(call skip-test, $<, "flaky on CI?") +endif +
Ok I guess. I'd have thought the ifdef around the entire mention of the test would be better -- no point in even building it. But,
r~
I did consider it but it would involve messing about with filter to remove the test from the wildcards. This way we don't forget about it when looking through the logs.
I've not been able to get this to fail on any other machine though. It's been rock solid over several thousand runs.
Quoted 29 lines · On Mon, 16 Jan 2023, 19:25 Richard Henderson, <[email protected]>…
Review
Quoted 1 line · Alex Bennée
(quoted diff) +0
-0b/tests/tcg/multiarch/Makefile.target
Quoted 6 lines
index
e7213af492..ae8b3d7268100644tests/tcg/multiarch/Makefile.target +0
-0@@ -42,6 +42,15 @@ munmap-pthread: LDFLAGS+=-pthread vma-pthread: CFLAGS+=-pthread vma-pthread: LDFLAGS+=-pthreadtests/tcg/multiarch/Makefile.target munmap-pthread: LDFLAGS+=-pthread · line 53
Quoted 10 lines
tests/tcg/multiarch/Makefile.target +9
-0+# The vma-pthread seems very sensitive on gitlab and we currently +# don't know if its exposing a real bug or the test is flaky. +ifneq ($(GITLAB_CI),) +run-vma-pthread: vma-pthread + $(call skip-test, $<, "flaky on CI?") +run-plugin-vma-pthread-with-%: vma-pthread + $(call skip-test, $<, "flaky on CI?") +endif +Ok I guess. I'd have thought the ifdef around the entire mention of the test would be
better -- no point in even building it. But,r~