All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] gitlab-ci: msys2 improvements
@ 2022-07-11  7:56 marcandre.lureau
  2022-07-11  7:56 ` [PATCH 1/2] gitlab-ci: grab msys2 meson-logs as artifacts marcandre.lureau
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: marcandre.lureau @ 2022-07-11  7:56 UTC (permalink / raw)
  To: qemu-devel
  Cc: richard.henderson, Alex Bennée, Wainer dos Santos Moschetta,
	Beraldo Leal, Thomas Huth, Philippe Mathieu-Daudé,
	Marc-André Lureau

From: Marc-André Lureau <marcandre.lureau@redhat.com>

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(-)

-- 
2.37.0.rc0



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/2] gitlab-ci: grab msys2 meson-logs as artifacts
  2022-07-11  7:56 [PATCH 0/2] gitlab-ci: msys2 improvements marcandre.lureau
@ 2022-07-11  7:56 ` marcandre.lureau
  2022-07-11  7:56 ` [PATCH 2/2] gitlab-ci: add msys2 meson test to junit report marcandre.lureau
  2022-07-12  3:54 ` [PATCH 0/2] gitlab-ci: msys2 improvements Richard Henderson
  2 siblings, 0 replies; 7+ messages in thread
From: marcandre.lureau @ 2022-07-11  7:56 UTC (permalink / raw)
  To: qemu-devel
  Cc: richard.henderson, Alex Bennée, Wainer dos Santos Moschetta,
	Beraldo Leal, Thomas Huth, Philippe Mathieu-Daudé,
	Marc-André Lureau

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 .gitlab-ci.d/windows.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml
index 1b2ede49e1ac..4e5c348e59ba 100644
--- a/.gitlab-ci.d/windows.yml
+++ b/.gitlab-ci.d/windows.yml
@@ -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'
-- 
2.37.0.rc0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] gitlab-ci: add msys2 meson test to junit report
  2022-07-11  7:56 [PATCH 0/2] gitlab-ci: msys2 improvements marcandre.lureau
  2022-07-11  7:56 ` [PATCH 1/2] gitlab-ci: grab msys2 meson-logs as artifacts marcandre.lureau
@ 2022-07-11  7:56 ` marcandre.lureau
  2022-07-12  3:54 ` [PATCH 0/2] gitlab-ci: msys2 improvements Richard Henderson
  2 siblings, 0 replies; 7+ messages in thread
From: marcandre.lureau @ 2022-07-11  7:56 UTC (permalink / raw)
  To: qemu-devel
  Cc: richard.henderson, Alex Bennée, Wainer dos Santos Moschetta,
	Beraldo Leal, Thomas Huth, Philippe Mathieu-Daudé,
	Marc-André Lureau

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 .gitlab-ci.d/windows.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml
index 4e5c348e59ba..63d89fbefe08 100644
--- a/.gitlab-ci.d/windows.yml
+++ b/.gitlab-ci.d/windows.yml
@@ -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
-- 
2.37.0.rc0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] gitlab-ci: msys2 improvements
  2022-07-11  7:56 [PATCH 0/2] gitlab-ci: msys2 improvements marcandre.lureau
  2022-07-11  7:56 ` [PATCH 1/2] gitlab-ci: grab msys2 meson-logs as artifacts marcandre.lureau
  2022-07-11  7:56 ` [PATCH 2/2] gitlab-ci: add msys2 meson test to junit report marcandre.lureau
@ 2022-07-12  3:54 ` Richard Henderson
  2022-07-12  6:10   ` Richard Henderson
  2 siblings, 1 reply; 7+ messages in thread
From: Richard Henderson @ 2022-07-12  3:54 UTC (permalink / raw)
  To: marcandre.lureau, qemu-devel
  Cc: Alex Bennée, Wainer dos Santos Moschetta, Beraldo Leal,
	Thomas Huth, Philippe Mathieu-Daudé

On 7/11/22 13:26, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> 
> 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~


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] gitlab-ci: msys2 improvements
  2022-07-12  3:54 ` [PATCH 0/2] gitlab-ci: msys2 improvements Richard Henderson
@ 2022-07-12  6:10   ` Richard Henderson
  2022-07-12 11:37     ` Marc-André Lureau
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Henderson @ 2022-07-12  6:10 UTC (permalink / raw)
  To: marcandre.lureau, qemu-devel
  Cc: Alex Bennée, Wainer dos Santos Moschetta, Beraldo Leal,
	Thomas Huth, Philippe Mathieu-Daudé

On 7/12/22 09:24, Richard Henderson wrote:
> On 7/11/22 13:26, marcandre.lureau@redhat.com wrote:
>> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>>
>> 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

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~


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] gitlab-ci: msys2 improvements
  2022-07-12  6:10   ` Richard Henderson
@ 2022-07-12 11:37     ` Marc-André Lureau
  2022-07-15 12:02       ` Marc-André Lureau
  0 siblings, 1 reply; 7+ messages in thread
From: Marc-André Lureau @ 2022-07-12 11:37 UTC (permalink / raw)
  To: Richard Henderson
  Cc: qemu-devel, Alex Bennée, Wainer dos Santos Moschetta,
	Beraldo Leal, Thomas Huth, Philippe Mathieu-Daudé

Hi

On Tue, Jul 12, 2022 at 10:10 AM Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> On 7/12/22 09:24, Richard Henderson wrote:
> > On 7/11/22 13:26, marcandre.lureau@redhat.com wrote:
> >> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> >>
> >> 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
>
> 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
>

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.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] gitlab-ci: msys2 improvements
  2022-07-12 11:37     ` Marc-André Lureau
@ 2022-07-15 12:02       ` Marc-André Lureau
  0 siblings, 0 replies; 7+ messages in thread
From: Marc-André Lureau @ 2022-07-15 12:02 UTC (permalink / raw)
  To: Richard Henderson
  Cc: qemu-devel, Alex Bennée, Wainer dos Santos Moschetta,
	Beraldo Leal, Thomas Huth, Philippe Mathieu-Daudé

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

Hi Richard

On Tue, Jul 12, 2022 at 3:38 PM Marc-André Lureau <
marcandre.lureau@redhat.com> wrote:

> Hi
>
> On Tue, Jul 12, 2022 at 10:10 AM Richard Henderson
> <richard.henderson@linaro.org> wrote:
> >
> > On 7/12/22 09:24, Richard Henderson wrote:
> > > On 7/11/22 13:26, marcandre.lureau@redhat.com wrote:
> > >> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> > >>
> > >> 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
> >
> > 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
> >
>
> 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


-- 
Marc-André Lureau

[-- Attachment #2: Type: text/html, Size: 2795 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-07-15 12:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-11  7:56 [PATCH 0/2] gitlab-ci: msys2 improvements marcandre.lureau
2022-07-11  7:56 ` [PATCH 1/2] gitlab-ci: grab msys2 meson-logs as artifacts marcandre.lureau
2022-07-11  7:56 ` [PATCH 2/2] gitlab-ci: add msys2 meson test to junit report marcandre.lureau
2022-07-12  3:54 ` [PATCH 0/2] gitlab-ci: msys2 improvements Richard Henderson
2022-07-12  6:10   ` Richard Henderson
2022-07-12 11:37     ` Marc-André Lureau
2022-07-15 12:02       ` Marc-André Lureau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.