From: "Alex Bennée" <alex.bennee@linaro.org>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: "Mohamed Mediouni" <mohamed@unpredictable.fr>,
"Emmanuel Blot" <eblot@meta.com>,
"Philippe Mathieu-Daudé" <philmd@mailo.com>,
qemu-devel <qemu-devel@nongnu.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>
Subject: Re: macOS builds broken in CI
Date: Wed, 01 Jul 2026 20:39:26 +0100 [thread overview]
Message-ID: <87fr22ts7l.fsf@draig.linaro.org> (raw)
In-Reply-To: <CAJSP0QWgS5wN1rnMw_xx5DwDDfpkGyB5fJEHdCGbK3mG7Xdqag@mail.gmail.com> (Stefan Hajnoczi's message of "Wed, 1 Jul 2026 19:26:38 +0200")
Stefan Hajnoczi <stefanha@gmail.com> writes:
> (Update Philippe's email address.)
>
> On Wed, Jul 1, 2026 at 7:23 PM Stefan Hajnoczi <stefanha@gmail.com> wrote:
>>
>> On Thu, Jun 25, 2026 at 9:53 PM Stefan Hajnoczi <stefanha@gmail.com> wrote:
>> >
>> > On Thu, Jun 25, 2026 at 3:15 PM Mohamed Mediouni
>> > <mohamed@unpredictable.fr> wrote:
>> > >
>> > >
>> > >
>> > > > On 25. Jun 2026, at 21:11, Mohamed Mediouni <mohamed@unpredictable.fr> wrote:
>> > > >
>> > > >
>> > > >
>> > > >> On 25. Jun 2026, at 20:38, Stefan Hajnoczi <stefanha@gmail.com> wrote:
>> > > >>
>> > > >> Hi Alex,
>> > > >> tests/tcg/multiarch/system/Makefile.softmmu-target's
>> > > >> run-gdbstub-interrupt seems to be broken on GitLab CI macOS runners. 5
>> > > >> days ago it still passed, but now rerunning the pipeline on the same
>> > > >> commit ID fails:
>> > > >>
>> > > >> - Good (5 days ago): https://gitlab.com/qemu-project/qemu/-/pipelines/2615134022
>> > > >> - Bad (today): https://gitlab.com/qemu-project/qemu/-/pipelines/2629704018
>> > > >>
>> > > >> I've tried many CI runs with different pull requests applied on top of
>> > > >> qemu.git/master and they fail in the same way. Maybe it's an
>> > > >> environmental thing with the macOS runners?
>> > > >>
>> > > >> It's unclear where the SIGKILL (Error 137) comes from. Could it be an
>> > > >> out-of-memory condition on macOS runners?
>> > > >
>> > > > Hi,
>> > > >
>> > > > SIGKILL is the known symptom for failure during signature verification
>> > > > by AMFI.
>> > > >
>> > > > Now that we don’t have separate -unsigned binaries anymore but relying
>> > > > on in-place ad-hoc (w/o certificate) signing with entitlements we might
>> > > > have issues linked to that.
>> > > >
>> > > > In the past file modification had issues with verification tied to the
>> > > > inode and the workaround being a reboot or a cat binary > new_binary;
>> > > > chmod +x new_binary so that the old (now out of sync) signing state is lost
>> > > >
>> > > This is highlighted in the software update context in: https://developer.apple.com/documentation/security/updating-mac-software
>> > >
>> > > > This code is incorrect because it modifies the command-line
>> > > > tool’s executable file in place. macOS caches information
>> > > > about the code’s signature in the kernel. It doesn’t flush
>> > > > that cache when you modify the file’s contents. Modifying the
>> > > > file in place yields a mismatch between the file’s contents
>> > > > and the in-kernel cache, which can cause a hard-to-reproduce
>> > > > code-signing crash the next time you run the tool.
>> > > > While this example uses a command-line tool to demonstrate the
>> > > > issue, updating any file that contains signed code might
>> > > > trigger this code-signing crash. That includes executables,
>> > > > frameworks, dynamic libraries, and bundles.
>> > > > To update a file that contains signed code without risking this crash, write the updated code to a temporary file and replace the existing file with that temporary one:
>> > >
>> >
>> > Nice, thanks for sharing this! Do you want to send a patch to fix this?
>>
>> The macOS CI jobs have been failing for a week. The QEMU 11.1 soft
>> freeze is on July 7th and I'm concerned that we will enter the 11.1
>> freeze without working macOS builds in the CI system.
>>
>> Does anyone want to fix this macOS host issue?
I'll have a look tomorrow.
>>
>> Stefan
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
prev parent reply other threads:[~2026-07-01 19:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-25 18:38 macOS builds broken in CI Stefan Hajnoczi
2026-06-25 19:11 ` Mohamed Mediouni
2026-06-25 19:15 ` Mohamed Mediouni
2026-06-25 19:53 ` Stefan Hajnoczi
2026-07-01 17:23 ` Stefan Hajnoczi
2026-07-01 17:26 ` Stefan Hajnoczi
2026-07-01 19:39 ` Alex Bennée [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=87fr22ts7l.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=eblot@meta.com \
--cc=mohamed@unpredictable.fr \
--cc=peter.maydell@linaro.org \
--cc=philmd@mailo.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.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 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.