From patchwork Wed Jul 15 16:43:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 92562 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F5DAC4450F for ; Wed, 15 Jul 2026 16:44:09 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.12280.1784133844852034590 for ; Wed, 15 Jul 2026 09:44:04 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=auBICRk2; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 280FE1477 for ; Wed, 15 Jul 2026 09:44:00 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 147703F7B4 for ; Wed, 15 Jul 2026 09:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1784133844; bh=Fzy7uyh+fZB3Y4FqMFkCk8ag4jumibQ7KWsgJNLMgOU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=auBICRk204Oj0ytmpzBd0PJzZzU89eHRx19oFtLVWhEKoCIotwCBx4JS2cpPT0J9R KjS+WGqjSmTHkfK9HG9c0TDrq8fUgDwPK/5Jna/aEgRDZH0q86qs/g+hF74hVlkTaY dgMYS48ltKWdoFVSw+ONiJgQ1AlftsvYNqXDCKZw= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 4/4] classes/testimage: capture systemd coredumps on failure Date: Wed, 15 Jul 2026 17:43:51 +0100 Message-ID: <20260715164351.903912-4-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260715164351.903912-1-ross.burton@arm.com> References: <20260715164351.903912-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 15 Jul 2026 16:44:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/240992 Add /var/lib/systemd/coredump/ to the list of artifacts to save on test failures, as this is where coredumpctl will write any core dumps that have occured during testimage. Signed-off-by: Ross Burton --- meta/classes-recipe/testimage.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass index 9902b8a5682..fd20eafdf90 100644 --- a/meta/classes-recipe/testimage.bbclass +++ b/meta/classes-recipe/testimage.bbclass @@ -28,6 +28,7 @@ TESTIMAGE_FAILED_QA_ARTIFACTS = "\ ${sysconfdir}/version \ ${sysconfdir}/os-release \ ${nonarch_libdir}/os-release \ + ${localstatedir}/lib/systemd/coredump/ \ " # If some ptests are run and fail, retrieve corresponding directories