From: Jan Kiszka <jan.kiszka@siemens.com>
To: <isar-users@googlegroups.com>
Subject: Re: [PATCH] utils: Ensure shell function failure in python logging is correct
Date: Fri, 27 May 2022 14:59:42 +0200 [thread overview]
Message-ID: <bb5dd661-c37d-0906-b429-d2b9d9d5a03d@siemens.com> (raw)
In-Reply-To: <YpCG0fDHVRQgTZpg@ilbers.de>
On 27.05.22 10:07, Baurzhan Ismagulov wrote:
> On Fri, May 27, 2022 at 09:53:24AM +0200, Florian Bezdeka wrote:
>> On 26.05.22 11:47, Anton Mikanovich wrote:
>>> If a python function exec_func() calls a shell task, the logging wasn't working
>>> correctly in all cases since the exception was turned into a BBHandledException()
>>> and the logfile piece was lost which is handled at the top task level.
>>>
>>> The easiest way to avoid this is to allow the ExecutionError exceptions to
>>> be raised to a higher level, we don't need the traceback for them.
>>
>> Upstream first? Why can't we ask bitbake guys to do the backport and
>> lift our bitbake version afterwards? Is that already ongoing?
>
> We had checked https://wiki.yoctoproject.org/wiki/Releases:
>
> * 1.50 is EOL
> * 1.52 is untested with Isar and its support ends on Tue
>
> That is why I think the optimal next step is to migrate to bitbake 2.0 after
> the upcoming Isar release. This patch addresses the request to get the problem
> fixed ASAP before the release. If anyone volunteers to drive the upstream
> discussion -- I don't have anything against it, but I'd be reluctant to delay
> the Isar release if it takes longer.
>
Agreed, we will very likely not have the power to re-active an EOL
branch of bitbake.
Jan
--
Siemens AG, Technology
Competence Center Embedded Linux
next prev parent reply other threads:[~2022-05-27 12:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-26 9:47 Anton Mikanovich
2022-05-26 9:54 ` Anton Mikanovich
2022-05-27 7:53 ` Florian Bezdeka
2022-05-27 7:57 ` Anton Mikanovich
2022-05-27 8:07 ` Baurzhan Ismagulov
2022-05-27 12:59 ` Jan Kiszka [this message]
2022-06-02 11:28 ` 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=bb5dd661-c37d-0906-b429-d2b9d9d5a03d@siemens.com \
--to=jan.kiszka@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