qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: "Daniel P. Berrangé" <berrange@redhat.com>,
	"Marc-André Lureau" <marcandre.lureau@gmail.com>
Cc: Richard Henderson <richard.henderson@linaro.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: Intermittent meson failures on msys2
Date: Fri, 8 Jul 2022 19:53:16 +0200	[thread overview]
Message-ID: <9014432a-045f-a1ee-add6-7a37c693ee2f@redhat.com> (raw)
In-Reply-To: <YsgtZo/dQPT58Sfm@redhat.com>

On 08/07/2022 15.13, Daniel P. Berrangé wrote:
> On Fri, Jul 08, 2022 at 04:41:48PM +0400, Marc-André Lureau wrote:
>> Hi
>>
>> On Mon, Jun 27, 2022 at 6:41 AM Richard Henderson <
>> richard.henderson@linaro.org> wrote:
>>
>>> Hi guys,
>>>
>>> There's an occasional failure on msys2, where meson fails to capture the
>>> output of a build
>>> script.  E.g.
>>>
>>> https://gitlab.com/qemu-project/qemu/-/jobs/2642051161
>>>
>>> FAILED: ui/input-keymap-qcode-to-linux.c.inc
>>> "C:/GitLab-Runner/builds/qemu-project/qemu/msys64/mingw64/bin/python3.exe"
>>> "C:/GitLab-Runner/builds/qemu-project/qemu/meson/meson.py" "--internal"
>>> "exe" "--capture"
>>> "ui/input-keymap-qcode-to-linux.c.inc" "--"
>>> "C:/GitLab-Runner/builds/qemu-project/qemu/msys64/mingw64/bin/python3.exe"
>>> "../ui/keycodemapdb/tools/keymap-gen" "code-map" "--lang" "glib2"
>>> "--varname"
>>> "qemu_input_map_qcode_to_linux" "../ui/keycodemapdb/data/keymaps.csv"
>>> "qcode" "linux"
>>> [301/1665] Generating input-keymap-qcode-to-qnum.c.inc with a custom
>>> command (wrapped by
>>> meson to capture output)
>>> ninja: build stopped: subcommand failed.
>>>
>>>
>>> https://gitlab.com/qemu-project/qemu/-/jobs/2625836697
>>>
>>> FAILED: ui/shader/texture-blit-frag.h
>>> "C:/GitLab-Runner/builds/qemu-project/qemu/msys64/mingw64/bin/python3.exe"
>>> "C:/GitLab-Runner/builds/qemu-project/qemu/meson/meson.py" "--internal"
>>> "exe" "--capture"
>>> "ui/shader/texture-blit-frag.h" "--" "perl"
>>> "C:/GitLab-Runner/builds/qemu-project/qemu/scripts/shaderinclude.pl"
>>> "../ui/shader/texture-blit.frag"
>>> [313/1663] Generating texture-blit-vert.h with a custom command (wrapped
>>> by meson to
>>> capture output)
>>> ninja: build stopped: subcommand failed.
>>>
>>>
>>> Could you have a look please?
>>>
>>>
>>>
>> Ah, we don't have artifacts for msys2 builds it seems, that would perhaps
>> help. It would make sense to at least take meson-logs/*.txt. I'll work on a
>> patch.
>>
>> My guess is that CI randomly fails with "too many opened files", as I have
>> seen that regularly on various projects with Windows runners. And here,
>> it's probably reaching limits when running python/perl scripts
>> simultaneously... I don't see an easy way to solve that if that's the issue.
> 
> There shouldn't be very much parallelism even taking place, because
> 
> https://docs.gitlab.com/ee/ci/runners/saas/windows_saas_runner.html
> 
> says  "Windows runners execute your CI/CD jobs on n1-standard-2
>         instances with 2 vCPUs and 7.5 GB RAM. "
> 
> unless ninja is setting a parellism much higher than nCPUs ?

We're compiling with "make -j2" there, see .gitlab-ci.d/windows.yml ... so I 
don't think that it's about too many things going on in parallel. 
Additionally, the problem hasn't been there a couple of weeks ago, so it's 
either something new that we merged recently, or the Windows containers or 
MSYS2 environment has been changed recently?

  Thomas



      reply	other threads:[~2022-07-08 17:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-27  2:40 Intermittent meson failures on msys2 Richard Henderson
2022-07-08 12:41 ` Marc-André Lureau
2022-07-08 13:09   ` Richard Henderson
2022-07-08 13:13   ` Daniel P. Berrangé
2022-07-08 17:53     ` Thomas Huth [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9014432a-045f-a1ee-add6-7a37c693ee2f@redhat.com \
    --to=thuth@redhat.com \
    --cc=berrange@redhat.com \
    --cc=marcandre.lureau@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).