qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org
Cc: qemu-stable@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>,
	"Thomas Huth" <thuth@redhat.com>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Beraldo Leal" <bleal@redhat.com>
Subject: Re: [PATCH] .gitlab-ci.d/buildtest.yml: Work around htags bug when environment is large
Date: Thu, 11 Jan 2024 15:02:43 +0100	[thread overview]
Message-ID: <db81fdc0-856d-4ae4-9346-2df5d5ed133c@linaro.org> (raw)
In-Reply-To: <20240111125543.1573473-1-peter.maydell@linaro.org>

On 11/1/24 13:55, Peter Maydell wrote:
> Sometimes the CI "pages" job fails with a message like this from
> htags:
> 
> $ htags -anT --tree-view=filetree -m qemu_init -t "Welcome to the QEMU sourcecode"
> htags: Negative exec line limit = -371
> 
> This is due to a bug in hflags where if the environment is too large it
> falls over:
> https://lists.gnu.org/archive/html/bug-global/2024-01/msg00000.html
> 
> This happens to us because GitLab CI puts the commit message of the
> commit under test into the CI_COMMIT_MESSAGE and/or CI_COMMIT_TAG_MESSAGE
> environment variables, so the job will fail if the commit happens to
> have a verbose commit message.
> 
> Work around the htags bug by unsetting these variables while running
> htags.
> 
> Cc: qemu-stable@nongnu.org
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2080
> ---
> Cc'ing stable purely because it's probably useful to avoid flaky
> CI jobs when testing stable branches too.
> 
>   .gitlab-ci.d/buildtest.yml | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



      reply	other threads:[~2024-01-11 14:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-11 12:55 [PATCH] .gitlab-ci.d/buildtest.yml: Work around htags bug when environment is large Peter Maydell
2024-01-11 14:02 ` Philippe Mathieu-Daudé [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=db81fdc0-856d-4ae4-9346-2df5d5ed133c@linaro.org \
    --to=philmd@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=bleal@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    --cc=thuth@redhat.com \
    --cc=wainersm@redhat.com \
    /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).