From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users@googlegroups.com
Subject: Re: Sporadic build failure of next
Date: Tue, 20 Aug 2019 13:05:13 +0200 [thread overview]
Message-ID: <20190820110513.GJ3412@yssyq.m.ilbers.de> (raw)
In-Reply-To: <2d9c8c0c-f087-6940-89f2-72679405b886@siemens.com>
On Tue, Aug 20, 2019 at 12:40:16PM +0200, Jan Kiszka wrote:
> > Apparently, we instruct multiconfig to run the same task twice for the same
> > DISTRO and DISTRO_ARCH in the same directory, and they happen to run in
> > parallel. If this is the case, we should ideally build once; not sure whether
> > this is desirable for all packages, though (e.g., two boards building the
> > kernel from the same source and revision, but with different configs, etc.).
>
> That usually happens when we feed in a variable into the build that makes
> the package different - without adjusting its name.
Ok, so this use case is solved. Although Debian does change the binary package
name, which I find better, since those are different binary packages.
> > Could we force building of the packages at the same time in CI? Ideas welcome.
> > In this way, we could perform regression testing for concurrency.
>
> I suspect we can when we first build multiple multiconf targets up to the
> level needed to build that package and then request to build it for all
> those multiconf targets.
That sounds promising. Maybe it could require manual tailoring if there were
multiple candidates for building after the first stage, but at least we could
test it.
> > IIRC, the kernel or PREEMPT_RT has a static checker that can detect potential
> > deadlocks. That would be a nice addition to bitbake (although I doubt it is
> > implementable today, since it would require recipe introspection w.r.t. e.g.
> > build directory, etc.).
>
> Maybe evaluating the stamps after a build helps. There should be different
> pattern of a recipe was built multiple times for the same distro-arch.
Ok, that might catch it at least when the critical section is violated
(depending on the point in time where the stamps are created).
> BTW, I'm about to adopt the OE layout for the stamps folder. Let's see what
> that brings (beside visual alignment).
Brings and hopefully not takes :) . We need that anyway to prevent *-* from
matching pkg-1.0 and pkg-abc-1.0 discussed recently. FWIW, Debian solved that
by using pkg_1.0 and pkg-abc_1.0.
With kind regards,
Baurzhan.
prev parent reply other threads:[~2019-08-20 11:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-20 5:37 Jan Kiszka
2019-08-20 6:54 ` Claudius Heine
2019-08-20 7:09 ` Jan Kiszka
2019-08-20 7:37 ` Claudius Heine
2019-08-20 10:31 ` Baurzhan Ismagulov
2019-08-20 10:40 ` Jan Kiszka
2019-08-20 11:05 ` Baurzhan Ismagulov [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=20190820110513.GJ3412@yssyq.m.ilbers.de \
--to=ibr@radix50.net \
--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