From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Pratik Farkase" <pratik.farkase@est.tech>,
<openembedded-core@lists.openembedded.org>
Cc: <pratik.farkase@ericsson.com>
Subject: Re: [OE-core][PATCH] libxcrypt: add ptest support
Date: Wed, 02 Dec 2026 17:36:20 +0100 [thread overview]
Message-ID: <DNAE69MNKZA1.31SYCAAA91OMR@bootlin.com> (raw)
In-Reply-To: <20261202140420.1557412-1-pratik.farkase@est.tech>
On Wed Dec 2, 2026 at 3:04 PM CET, Pratik Farkase wrote:
> Build libxcrypt's upstream test programs and run them under ptest. The
> test list is taken from the TESTS variable of the build's Makefile, so
> tests added upstream are picked up without a recipe change. Each test's
> output is captured and printed only when the test fails, because several
> tests print their own PASS:/FAIL: lines that would otherwise be counted
> as extra results.
>
> Skip alg-yescrypt. It allocates about 1 GiB for its scrypt known-answer
> test and 256 MiB for its ROM test, which fail on the 1 GiB ptest image,
> and it then crashes reading the uninitialised ROM [1].
>
> The suite takes about 7.5 minutes on qemuriscv64, which is over the
> default 450s timeout, so raise the timeout to 900s and list libxcrypt
> in PTESTS_SLOW.
>
> [1] https://github.com/besser82/libxcrypt/issues/165
>
> Tested with testimage on qemuriscv64: 50 passed, 1 skipped
> (getrandom-fallbacks), 0 failed.
>
> Signed-off-by: Pratik Farkase <pratik.farkase@est.tech>
> ---
Hi Pratik,
Thanks for your effort on adding ptests.
My build was not happy about that one while using musl:
ERROR: Nothing RPROVIDES 'libxcrypt-ptest' (but virtual:mcextend:libxcrypt:/srv/pokybuild/yocto-worker/qemuarm64-musl-ptest/build/layers/openembedded-core/meta/recipes-core/images/core-image-ptest.bb RDEPENDS on or otherwise requires it)
libxcrypt RPROVIDES libxcrypt-ptest but was skipped: PREFERRED_PROVIDER_virtual/crypt set to musl, not libxcrypt
NOTE: Runtime target 'libxcrypt-ptest' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libxcrypt-ptest']
https://autobuilder.yoctoproject.org/valkyrie/#/builders/109/builds/1679
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/1695
Can you have a look at that?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2026-12-02 16:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 14:04 [OE-core][PATCH] libxcrypt: add ptest support Pratik Farkase
2026-12-02 16:36 ` Mathieu Dubois-Briand [this message]
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=DNAE69MNKZA1.31SYCAAA91OMR@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=pratik.farkase@ericsson.com \
--cc=pratik.farkase@est.tech \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.