From: Jan Kiszka <jan.kiszka@siemens.com>
To: Anton Mikanovich <amikan@ilbers.de>,
isar-users <isar-users@googlegroups.com>,
Baurzhan Ismagulov <ibr@ilbers.de>
Subject: Re: Error logging broken with next?
Date: Mon, 23 May 2022 21:06:56 +0200 [thread overview]
Message-ID: <fc1e0532-6590-d381-460b-14aa626ce623@siemens.com> (raw)
In-Reply-To: <46894ccf-242c-68fa-1553-b99a5670c160@siemens.com>
On 19.05.22 08:01, Jan Kiszka wrote:
> On 17.05.22 15:42, Anton Mikanovich wrote:
>> 17.05.2022 15:35, Anton Mikanovich wrote:
>>> 13.05.2022 19:49, Jan Kiszka wrote:
>>>> Hi,
>>>>
>>>> I vaguely recall that you, Baurzhan, told me that logs of failing tasks
>>>> are not always dumped, right? I'm on current next now, building breaking
>>>> kernels, and all I get now is our useless python backtrace, always. All
>>>> is fine with log.do_dpkg_build, though. Is that the issue? Very annoying
>>>> and a no-go for CI. No time to bisect ATM, unfortunately.
>>>>
>>>> Jan
>>>>
>>> Hello,
>>>
>>> Thanks for reporting.
>>> I've reproduced the issue on the latest next and also see the full log
>>> is still there on v0.8
>>> Will try to bisect to find the reason (bitbake update?).
>>>
>> So, that's all about
>> https://github.com/openembedded/bitbake/commit/cf864cd84172f605b0e1777c3defc000fa3a7379
>>
>> (included in bitbake 1.50.4)
>>
>
> So, already "bitbake ... | cat" causes this issue? Is there any command
> line option that avoids this? I wonder what kas could do here without
> breaking older versions. And why no one reported this so far from kas'
> OE community.
>
It's actually much simpler: Just call "bitbake borken-target" on the
shell, and you will only get the lengthy backtrace but not log report.
I'm not yet down to the core of the problem, but when you force such a
failure in upstream poky (today's master), you also get no immediate
output of bitbake - but then the knotty UI jumps in and does a
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
...
| DEBUG: Python function patch_do_patch finished
| DEBUG: Executing shell function do_fix_readlib_c
| FAIL!
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function do_patch finished
ERROR: Task (/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_patch) failed with exit code '1'
I've done this to poky to trigger it:
diff --git a/meta/recipes-core/glibc/glibc_2.35.bb b/meta/recipes-core/glibc/glibc_2.35.bb
index 6ea5b1efb5..9500c8a128 100644
--- a/meta/recipes-core/glibc/glibc_2.35.bb
+++ b/meta/recipes-core/glibc/glibc_2.35.bb
@@ -91,6 +91,8 @@ do_patch:append() {
}
do_fix_readlib_c () {
+ echo "FAIL!"
+ false
sed -i -e 's#OECORE_KNOWN_INTERPRETER_NAMES#${EGLIBC_KNOWN_INTERPRETER_NAMES}#' ${S}/elf/readlib.c
}
Analogous trigger for isar:
diff --git a/meta-isar/recipes-app/example-raw/files/rules b/meta-isar/recipes-app/example-raw/files/rules
index a1167375..ed63d364 100644
--- a/meta-isar/recipes-app/example-raw/files/rules
+++ b/meta-isar/recipes-app/example-raw/files/rules
@@ -5,4 +5,5 @@
# we do violate debian quality rules here, but on purpose to demo how
# to deal with it
override_dh_usrlocal:
- true
+ echo "FAIL!"
+ false
So, Isar has a bug here of not letting knotty (as default UI) do its
job it seems to me. Didn't this work before? Didn't we also have those
duplicate dumps in the past that upstream bitbake seem to have resolved
now?
BTW, I've received first reports of this bug from the field today. We
must fix this before the release, or our users will kill us.
Jan
--
Siemens AG, Technology
Competence Center Embedded Linux
next prev parent reply other threads:[~2022-05-23 19:07 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-13 16:49 Jan Kiszka
2022-05-16 7:49 ` Baurzhan Ismagulov
2022-05-16 11:05 ` Jan Kiszka
2022-05-17 12:35 ` Anton Mikanovich
2022-05-17 13:42 ` Anton Mikanovich
2022-05-19 6:01 ` Jan Kiszka
2022-05-23 19:06 ` Jan Kiszka [this message]
2022-05-24 7:43 ` Anton Mikanovich
2022-05-24 14:23 ` Anton Mikanovich
2022-05-24 15:54 ` Jan Kiszka
2022-05-24 15:57 ` Jan Kiszka
2022-05-24 16:05 ` Anton Mikanovich
2022-05-24 16:07 ` Jan Kiszka
2022-05-24 16:14 ` Anton Mikanovich
2022-05-24 16:36 ` Jan Kiszka
2022-05-24 19:50 ` Anton Mikanovich
2022-05-25 5:30 ` Anton Mikanovich
2022-05-25 6:40 ` Jan Kiszka
2022-05-24 16:02 ` Anton Mikanovich
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=fc1e0532-6590-d381-460b-14aa626ce623@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=amikan@ilbers.de \
--cc=ibr@ilbers.de \
--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