From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <careers.myinfo@gmail.com>, <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core][master][PATCH] libsamplerate0: Adding ptest for libsamplerate0
Date: Wed, 25 Feb 2026 08:19:28 +0100 [thread overview]
Message-ID: <DGNUZCXZGR1V.3GZ38NGR23M4E@bootlin.com> (raw)
In-Reply-To: <20260224020311.167778-1-moins@kpit.com>
On Tue Feb 24, 2026 at 3:03 AM CET, Shaik Moin via lists.openembedded.org wrote:
> Executables Description:
> callback_hang_test - Verifies that callback-based processing does not hang and that the library properly returns control without deadlocks.
> callback_test - Tests the callback-driven processing mode of libsamplerate (SRC's non-blocking interface).
> clone_test - Ensures the SRC state objects can be cloned correctly and continue producing identical output.
> downsample_test - Tests accuracy and behavior when downsampling audio (reducing sample rate).
> float_short_test - Tests conversions between float and short integer sample formats.
> misc_test - Runs assorted sanity and utility tests that don't fit into other categories.
> multi_channel_test - Verifies correct handling of multi-channel audio (e.g., stereo, 5.1) during sample-rate conversion.
> multichan_throughput_test - Measures throughput and performance for multi-channel SRC processing.
> nullptr_test - Ensures libsamplerate properly rejects or handles NULL pointers and invalid state.
> reset_test - Tests the reset() behavior - state clearing, flushing buffers, resetting filters.
> simple_test - The most basic test of sample-rate conversion functionality - often converting a small buffer to ensure fundamental correctness.
> snr_bw_test - Measures Signal - Noise Ratio (SNR) and bandwidth performance for different converter algorithms.
> src-evaluate - Evaluates internal SRC filter performance, quality, and algorithmic behavior.
> termination_test - Ensures end - stream / termination behavior is handled correctly without artifacts or crashes.
> throughput_test - Benchmarks throughput for mono or simple use cases to measure raw processing speed.
> varispeed_test - Tests variable sample-rate operation (changing SRC ratio on the fly).
>
> Time taken to execute the ptest:- Approx ~3 mins
>
> Signed-off-by: Shaik Moin <moins@kpit.com>
> ---
Hi Shaik,
Thanks for your patch.
It looks like something is off with this test. While running on the
autobuilder, no results are found:
WARNING: core-image-ptest-libsamplerate0-1.0-r0 do_testimage: There were failing ptests.
Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/ptest.py", line 27, in test_ptestrunner_expectfail
self.do_ptestrunner()
~~~~~~~~~~~~~~~~~~~^^
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/ptest.py", line 120, in do_ptestrunner
self.fail(failmsg)
~~~~~~~~~^^^^^^^^^
AssertionError:
ptests which had no test results:
['libsamplerate0']
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1124
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3112
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3153
Test results can be seen here:
https://valkyrie.yocto.io/pub/non-release/20260224-104/testresults/qemuarm64-ptest/core-image-ptest-libsamplerate0/
https://valkyrie.yocto.io/pub/non-release/20260224-104/testresults/qemuriscv64-ptest/core-image-ptest-libsamplerate0/
https://valkyrie.yocto.io/pub/non-release/20260224-104/testresults/qemux86-64-ptest/core-image-ptest-libsamplerate0/
Can you have a look at the issue?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-02-25 7:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-24 2:03 [OE-core][master][PATCH] libsamplerate0: Adding ptest for libsamplerate0 Shaik Moin
2026-02-25 7:19 ` Mathieu Dubois-Briand [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-04-16 11:05 Shaik Moin
2026-04-30 10:14 ` Ross Burton
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=DGNUZCXZGR1V.3GZ38NGR23M4E@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=careers.myinfo@gmail.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