From: Anton Mikanovich <amikan@ilbers.de>
To: Jan Kiszka <jan.kiszka@siemens.com>,
isar-users <isar-users@googlegroups.com>
Cc: Baurzhan Ismagulov <ibr@ilbers.de>
Subject: Re: Error logging broken with next?
Date: Tue, 24 May 2022 19:14:53 +0300 [thread overview]
Message-ID: <13d962c5-bb1e-fb46-277f-4c6ff8fdeb3e@ilbers.de> (raw)
In-Reply-To: <34c4d2c5-2968-1f23-c89f-2d8ff8778bae@siemens.com>
24.05.2022 19:07, Jan Kiszka wrote:
> On 24.05.22 18:05, Anton Mikanovich wrote:
>> 24.05.2022 18:57, Jan Kiszka wrote:
>>> Just thinking loudly: Is it our try-finally that changes the output
>>> trigger for knotty?
>>>
>>> try:
>>> bb.build.exec_func("dpkg_runbuild", d)
>>> finally:
>>> bb.build.exec_func("dpkg_undo_mounts", d)
>>> bb.utils.unlockfile(lock)
>>>
>>> Jan
>>>
>> No, this is not because of try-finally itself, but because of exec_func
>> API.
>> Look at my previous mail.
>>
> But that is just the same with glibc, and that worked fine in poky
> during my test yesterday, ie. produced the correct dump.
>
> Jan
>
No, in "glibc" example failed code is executed from the bash task.
And bb.build.exec_func is python API called from python task.
This is not the same.
As I previously said, there is no difference between Yocto and Isar:
1) fail in bash task generates full log
2) fail in bash code called from python task generates masked log
Please try do_test example from one of the previous mails on Yocto.
next prev parent reply other threads:[~2022-05-24 16:14 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
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 [this message]
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=13d962c5-bb1e-fb46-277f-4c6ff8fdeb3e@ilbers.de \
--to=amikan@ilbers.de \
--cc=ibr@ilbers.de \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.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