gitlab-ci: msys2 improvements
cover gitlab-ci: msys2 improvements
From: Marc-André Lureau <[email protected]>
Hi
This is a small series to attempt to debug "Intermittent meson failures on msys2" and improve a bit msys2/gitlab reports.
Marc-André Lureau (2):
gitlab-ci: grab msys2 meson-logs as artifacts
gitlab-ci: add msys2 meson test to junit report
.gitlab-ci.d/windows.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
Signature · 1 line
2.37.0.rc0
PATCH 1/2 gitlab-ci: grab msys2 meson-logs as artifacts
From: Marc-André Lureau <[email protected]>
--- .gitlab-ci.d/windows.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
.gitlab-ci.d/windows.yml +5 -2
@@ -11,6 +11,9 @@ needs: [] stage: build timeout: 70m + artifacts: + paths: + - "build/meson-logs" before_script: - If ( !(Test-Path -Path msys64\var\cache ) ) { mkdir msys64\var\cache
@@ -89,8 +92,8 @@ msys2-32bit: mingw-w64-i686-usbredir " - $env:CHERE_INVOKING = 'yes' # Preserve the current working directory - $env:MSYSTEM = 'MINGW32' # Start a 32-bit MinG environment - - mkdir output - - cd output + - mkdir build + - cd build - ..\msys64\usr\bin\bash -lc "../configure --target-list=ppc64-softmmu" - ..\msys64\usr\bin\bash -lc 'make -j2' - ..\msys64\usr\bin\bash -lc 'make check'
Signature · 1 line
2.37.0.rc0
PATCH 2/2 gitlab-ci: add msys2 meson test to junit report
In reply to [email protected]From: Marc-André Lureau <[email protected]>
--- .gitlab-ci.d/windows.yml | 2 ++ 1 file changed, 2 insertions(+)
.gitlab-ci.d/windows.yml +2 -0
@@ -14,6 +14,8 @@ artifacts: paths: - "build/meson-logs" + reports: + junit: "build/meson-logs/testlog.junit.xml" before_script: - If ( !(Test-Path -Path msys64\var\cache ) ) { mkdir msys64\var\cache
Signature · 1 line
2.37.0.rc0
Quoted 6 lines · On 7/11/22 13:26, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
Hi
This is a small series to attempt to debug "Intermittent meson failures on msys2" and improve a bit msys2/gitlab reports.
Thanks. I've pushed this to staging for a test run:
https://gitlab.com/qemu-project/qemu/-/pipelines/585473909
r~
Quoted 11 lines · Richard Henderson
Quoted 6 lines · On 7/11/22 13:26, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
Hi
This is a small series to attempt to debug "Intermittent meson failures on msys2" and improve a bit msys2/gitlab reports.
Thanks. I've pushed this to staging for a test run:
Amusingly, both msys2 jobs passed the first time, but I reran and now have a failure for your investigation:
https://gitlab.com/qemu-project/qemu/-/jobs/2707801937
r~
Hi
Quoted 10 lines · Richard Henderson
Quoted 8 lines · Richard Henderson
Quoted 6 lines · On 7/11/22 13:26, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
Hi
This is a small series to attempt to debug "Intermittent meson failures on msys2" and improve a bit msys2/gitlab reports.
Quoted 9 lines
Quoted 3 lines
Thanks. I've pushed this to staging for a test run:
Amusingly, both msys2 jobs passed the first time, but I reran and now have a failure for your investigation:
Hmm, there are no artifacts. How come? meson-logs/ should be there.. Anyway, I am not sure it would have more details about the failing command.
Sadly we don't have any stderr output, and ninja doesn't log the failing command exit code either. I guess I will try with a custom ninja build now.
Hi Richard
Quoted 26 lines · Marc-André Lureau
Hi
Quoted 8 lines · Richard Henderson
Quoted 6 lines · Richard Henderson
Quoted 5 lines · On 7/11/22 13:26, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
Hi
This is a small series to attempt to debug "Intermittent meson
failures on
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
msys2" and improve a bit msys2/gitlab reports.
Thanks. I've pushed this to staging for a test run:
Amusingly, both msys2 jobs passed the first time, but I reran and now
have a failure for
Quoted 4 lines
your investigation:
Quoted 8 lines
Hmm, there are no artifacts. How come? meson-logs/ should be there.. Anyway, I am not sure it would have more details about the failing command.
Sadly we don't have any stderr output, and ninja doesn't log the failing command exit code either. I guess I will try with a custom ninja build now.
I think I have triggered 10x times the build now, but I am not reaching the build error, only random build time over 1h10 limit...
No idea.. Maybe you can try it?
https://gitlab.com/marcandre.lureau/qemu/-/tree/msys2
I have simply patched ninja with
https://github.com/msys2/MINGW-packages/compare/master...elmarco:MINGW-packages:master
Signature · 1 line
Marc-André Lureau