From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.8550.1796280187463709422 for ; Wed, 02 Dec 2026 22:43:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=KISqT9og; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: mathieu.dubois-briand@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id F3B4E4E41858; Thu, 3 Dec 2026 06:43:05 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id AE929604ED; Thu, 3 Dec 2026 06:43:05 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6807C11EA1C88; Thu, 03 Dec 2026 07:43:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796280185; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=FrV5cB5vi/6XmMZBfvbJpOpVZ4WyMbm5+gNYZabk3xQ=; b=KISqT9ogsSSGyk+do4K5y0zxHsZ/NDg6olD+mmUu4WSGmrVewt/cSdTEtgpAk41qH55oeF 1xosQVxhb2Pf4JtGEw9mhwVtqjGBzN3ttcgwNm78UAsPb13xx3hcYm5N26lwRo2pZaPJVF pVm4Vq3bUud9eFcqQ6A6llJ94jKuPUggnC43RopBrD7/z6E6fyLbnCkDVg+B714HryYxBs 4LXojwGlnpXMkvSrWESr24fnNilTDZ36JDtjxzpgVJzQu0dECKTmKk98Dyl3tVr9wdLRCH xRFeXWc/dNkINRps/8RYxVPtHyLFpCWf04hknlwDPT+PZSDz0PBIXBzuHUz7sA== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 03 Dec 2026 07:43:03 +0100 Message-Id: From: "Mathieu Dubois-Briand" To: "Adarsh Jagadish Kamini" , Subject: Re: [OE-core] [PATCH v2 2/2] oeqa: selftest: signing: test parallel signing and GPG_SIGN_SERIALIZE X-Mailer: aerc 0.21.0-0-g5549850facc2 References: <20261202125343.310035-1-adarsh.jagadish.kamini@est.tech> <20261202125343.310035-3-adarsh.jagadish.kamini@est.tech> In-Reply-To: <20261202125343.310035-3-adarsh.jagadish.kamini@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 ; Thu, 03 Dec 2026 06:43:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251875 On Wed Dec 2, 2026 at 1:53 PM CET, Adarsh Jagadish Kamini wrote: > The existing tests enable auto-expand-secmem, so they can't catch > gpg-agent running out of secure memory. Sign 64 files in parallel > against an agent started without it; 44 failed before the previous > commit. Also check that signing waits for a held lock by default but > not with GPG_SIGN_SERIALIZE =3D "0". > > [YOCTO #16480] > > AI-Generated: Uses Kiro (claude-opus-5.5) > Signed-off-by: Adarsh Jagadish Kamini > --- Hi, Thanks for the new version. It looks like the two added selftests are failing here: 2026-12-02 18:26:38,236 - oe-selftest - INFO - signing.Signing.test_signing= _parallel_existing_agent (subunit.RemotedTestCase) 2026-12-02 18:26:38,250 - oe-selftest - INFO - ... FAIL Stderr: NOTE: Reconnecting to bitbake server... 2026-12-02 18:26:38,230 - oe-selftest - WARNING - tearDown commands have fa= iled: /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1788684= /tmp/work/x86_64-linux/gnupg-native/2.5.24/recipe-sysroot-native/usr/bin/us= r/bin/gpgconf --homedir /tmp/oeqa-signing-jmobdi9i --kill gpg-agent /usr/lib64/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has = no addDuration method warnings.warn("TestResult has no addDuration method", 2026-12-02 18:26:38,250 - oe-selftest - INFO - 5: 43/46 543/842 (9.53s) (1 = failed) (signing.Signing.test_signing_parallel_existing_agent) 2026-12-02 18:26:38,251 - oe-selftest - INFO - testtools.testresult.real._S= tringException: Traceback (most recent call last): File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/openemb= edded-core/meta/lib/oeqa/selftest/cases/signing.py", line 214, in test_sign= ing_parallel_existing_agent self.assertRegex(ret.output, r'(?m)^D \d+$', 'No gpg-agent running afte= r key import') File "/usr/lib64/python3.12/unittest/case.py", line 1347, in assertRegex raise self.failureException(msg) AssertionError: Regex didn't match: '(?m)^D \\d+$' not found in 'gpg-connec= t-agent: no gpg-agent running in this session' : No gpg-agent running after= key import 2026-12-02 18:26:49,390 - oe-selftest - INFO - signing.Signing.test_signing= _serialize_option (subunit.RemotedTestCase) 2026-12-02 18:26:49,392 - oe-selftest - INFO - ... FAIL Stderr: NOTE: Reconnecting to bitbake server... 2026-12-02 18:26:49,382 - oe-selftest - WARNING - tearDown commands have fa= iled: /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1788684= /tmp/work/x86_64-linux/gnupg-native/2.5.24/recipe-sysroot-native/usr/bin/us= r/bin/gpgconf --homedir /tmp/oeqa-signing-r5u6wlgn --kill gpg-agent /usr/lib64/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has = no addDuration method warnings.warn("TestResult has no addDuration method", 2026-12-02 18:26:49,392 - oe-selftest - INFO - 5: 44/46 546/842 (11.16s) (2= failed) (signing.Signing.test_signing_serialize_option) 2026-12-02 18:26:49,392 - oe-selftest - INFO - testtools.testresult.real._S= tringException: Traceback (most recent call last): File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/openemb= edded-core/meta/lib/oeqa/selftest/cases/signing.py", line 265, in test_sign= ing_serialize_option self.assertIsNone(optout.get(), 'Signing with GPG_SIGN_SERIALIZE =3D "0= " failed') File "/usr/lib64/python3.12/unittest/case.py", line 1281, in assertIsNone self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib64/python3.12/unittest/case.py", line 715, in fail raise self.failureException(msg) AssertionError: "/tmp/oeqa-signing-tmpdir-lkw6gwnx/file-0: FileNotFoundErro= r(2, 'No such file or directory')" is not None : Signing with GPG_SIGN_SERI= ALIZE =3D "0" failed https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/5201 https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/5397 https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/5419 Can you have a look at the issue? Thanks, Mathieu --=20 Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com