From: Jan Kiszka <jan.kiszka@siemens.com>
To: "cedric.hombourger@siemens.com" <cedric.hombourger@siemens.com>,
"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: Re: [HELP] tmp/work/debian-bullseye-arm64/isar-image-base-qemuarm64/1.0-r0/mnt/rootfs: target is busy
Date: Mon, 26 Feb 2024 11:32:31 +0100 [thread overview]
Message-ID: <c8483653-89da-42fc-9eb3-f0d9b6045044@siemens.com> (raw)
In-Reply-To: <87ba787bf61b06a69fe8bcfeb08a728c32f4878e.camel@siemens.com>
On 26.02.24 11:26, 'cedric.hombourger@siemens.com' via isar-users wrote:
>
> Hello,
>
> Seeing some sporadic failures with the test suite (but also with builds
> of our Isar-based product) when rootfs_install_sstate_prepare gets
> executed:
>
> DEBUG: Executing shell function rootfs_install_sstate_prepare
> umount: /home/sutlej/isar/build/tmp/work/debian-bullseye-arm64/isar-
> image-base-qemuarm64/1.0-r0/mnt/rootfs: target is busy.
> WARNING: exit code 32 from a shell command.
>
> What's special about the machine I am running the builds on is that
> /proc/cpuinfo reports 64 processors hence builds get massively
> parallelized
>
> I wasn't able to get to the bottom of this issue and understand why the
> bind mount is busy since rootfs_install_sstate_prepare creates, uses
> and removes that bind mount in the same function.
>
> As a work-around, a lazy umount could be used but that annoys me as I'd
> like to understand what could cause this. Any ideas?
>
This is indeed weird: ${WORKDIR}/mnt/rootfs is only mounted by
rootfs_install_sstate_prepare in vanilla isar, and that happens under
isar.lock - close to impossible to have a race here. But did you check
in your recipes on top (assuming the issue is not reproducible for you
with vanilla isar alone) that there is no other usage of
${WORKDIR}/mnt/rootfs, possibly unlocked then?
Jan
--
Siemens AG, Technology
Linux Expert Center
next prev parent reply other threads:[~2024-02-26 10:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-26 10:26 cedric.hombourger
2024-02-26 10:32 ` Jan Kiszka [this message]
2024-02-26 11:13 ` cedric.hombourger
2024-02-26 11:27 ` Anton Mikanovich
2024-02-26 11:40 ` cedric.hombourger
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=c8483653-89da-42fc-9eb3-f0d9b6045044@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=cedric.hombourger@siemens.com \
--cc=isar-users@googlegroups.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