Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <mingli.yu@eng.windriver.com>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v3 2/4] babeltrace2: Enable python plugins
Date: Thu, 24 Jul 2025 13:31:41 +0200	[thread overview]
Message-ID: <DBK92SO5MCU9.32B6IBVN2OYFW@bootlin.com> (raw)
In-Reply-To: <20250724092814.4183226-2-mingli.yu@eng.windriver.com>

On Thu Jul 24, 2025 at 11:28 AM CEST, Mingli via lists.openembedded.org Yu wrote:
> From: Mingli Yu <mingli.yu@windriver.com>
>
> * The lttng-tools test fails as below as it needs bt2 module.
> ERROR: ust/high-throughput/test_high_throughput_snapshot.py
> ===========================================================
>
> Traceback (most recent call last):
>   File "/usr/lib/lttng-tools/ptest/tests/regression/./ust/high-throughput/test_high_throughput_snapshot.py", line 26, in <module>
>     import bt2
> ModuleNotFoundError: No module named 'bt2'
>
> Enable python plugins for babeltrace2 to provide the above support.
>
> * Add swig-native to DEPENDS to fix the below configure error.
>  | configure: error: SWIG 2.0.0 or newer is required to build the python bindings
>
> * There are some ptest failed cases after enable python plugins and
> track the failed ptest as https://bugs.lttng.org/issues/1430.
>
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ---

Sorry, forgot some errors: we also have packaging issues at build time:

ERROR: babeltrace2-2.1.1-r0 do_package: QA Issue: babeltrace2: Files/directories were installed but not shipped in any package:
  /usr/lib/python3.13/site-packages/bt2-2.1.1-py3.13.egg-info
  /usr/lib/python3.13/site-packages/bt2/stream.py
  /usr/lib/python3.13/site-packages/bt2/field_location.py
  /usr/lib/python3.13/site-packages/bt2/graph.py
  /usr/lib/python3.13/site-packages/bt2/py_plugin.py
  /usr/lib/python3.13/site-packages/bt2/clock_class.py
  /usr/lib/python3.13/site-packages/bt2/event.py
  /usr/lib/python3.13/site-packages/bt2/message.py
  /usr/lib/python3.13/site-packages/bt2/local_typing.py
  ...

https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/2088
https://autobuilder.yoctoproject.org/valkyrie/#/builders/92/builds/2089


-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  parent reply	other threads:[~2025-07-24 11:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-24  9:28 [PATCH v3 1/4] lttng-ust: Upgrade 2.13.9 -> 2.14.0 mingli.yu
2025-07-24  9:28 ` [PATCH v3 2/4] babeltrace2: Enable python plugins mingli.yu
2025-07-24 11:29   ` [OE-core] " Mathieu Dubois-Briand
2025-07-24 11:31   ` Mathieu Dubois-Briand [this message]
2025-07-24  9:28 ` [PATCH v3 3/4] lttng-tools: Upgrade 2.13.15 -> 2.14.0 mingli.yu
2025-07-24  9:28 ` [PATCH v3 4/4] lttng-tools: Remove the scope resolution operator mingli.yu

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=DBK92SO5MCU9.32B6IBVN2OYFW@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=mingli.yu@eng.windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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