From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.40181.1796229389634971176 for ; Wed, 02 Dec 2026 08:36:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=asVT7/Q4; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: mathieu.dubois-briand@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 1BAE3C01336; Wed, 2 Dec 2026 16:36:38 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 124DE6075F; Wed, 2 Dec 2026 16:36:27 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 659F811EA1CC9; Wed, 02 Dec 2026 17:36:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796229382; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=tNC2tLLzkkD94uUPFap8yC8covQpAIv/IyfXiswnLMs=; b=asVT7/Q4B830M3YwhOHGR3SgHCzZSGVtToOA+rH7wNdIF/fBylqi1OQMNjyIrXd5vXtsJ7 wpCVlrf/0Zd9bjO1MqRtMJ6ev8HfUIo+vCJAaJWjvamtTvrJgWCcGMqUElYw3F7VWTKANx EZ0ZNHjw7u4tF+vZTRgFIWwamC2HU0sg26hpvPL/n3hXYuBFklzkxYTS19QoHzE503slAU xkwFwdekmUcaQPCi98lLtAJQeZ3jHaFYG28dksk4hgmFZ1MJ63THcNTd1DxFXc8igTmPqE LCKqYg/xnkk0uvRg0zGzkDXBye2GNwul4Eu8vWY0P1VWdGEbjJn6uIoIWaXP/A== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 02 Dec 2026 17:36:20 +0100 Message-Id: Subject: Re: [OE-core][PATCH] libxcrypt: add ptest support Cc: From: "Mathieu Dubois-Briand" To: "Pratik Farkase" , X-Mailer: aerc 0.21.0-0-g5549850facc2 References: <20261202140420.1557412-1-pratik.farkase@est.tech> In-Reply-To: <20261202140420.1557412-1-pratik.farkase@est.tech> X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Wed, 02 Dec 2026 16:36:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251847 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 > --- 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_vir= tual/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 --=20 Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com