Message ID | 20220509101604.3249558-8-adriaan.schmidt@siemens.com |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <isar-users+bncBDSO54WUUULBBBOU4OJQMGQELBQ75KA@googlegroups.com> Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Mon, 09 May 2022 12:16:43 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wr1-f62.google.com (mail-wr1-f62.google.com [209.85.221.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 249AGgEb003599 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <patchwork@isar-build.org>; Mon, 9 May 2022 12:16:42 +0200 Received: by mail-wr1-f62.google.com with SMTP id p18-20020adf9592000000b00207bc12decbsf5588887wrp.21 for <patchwork@isar-build.org>; Mon, 09 May 2022 03:16:42 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1652091397; cv=pass; d=google.com; s=arc-20160816; b=q42ewzcHh6ic5ZGVDiUP4S759NcqXe69FxH6/6ihFlXVj7jPejLY/FlhS3/xkJDl76 rDqpXH+Vop5b6J4IaiHe/wDRwG7rAzQcVTGPMdoz2z+vRQL2M3NpUxshcCeAC+fcazRS 2I/P82UDIQJPQNw8QeViRLxMXdWAo/pjNwD+ujQ/wydKaCJiPnvGtSDWQadIybz/LnUJ hIUqTC/hEWoWgX7e+1ocIKpWfY1voWGDuVbHxc2CcIumYW9sN+rxD09Dhwz2tNi8nFXX 2nnTi8NLBwLV2uLhjYSYBf8VzUgiA+3+16dycoejxib6mn0uHyRE9wCxUrNnvDACs7JI mL2g== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=tFErhcLvBkjYOkm9AXOOv3oI2AZDZTJO1ChPCfOJTn4=; b=NUq8m7fXI6mr/j0tJ0Qrc/XGad7liqJueP/Eec8h9Hir5UvsrOfltXjUXgjwa8+Pkv rrvbXB0eXOuzBXnwS149Z7+uS2KjxDlYrlGwSEkqw/Y/SmVBuI3AkmvBcHSIno1DGZCD KnMAum9Yid6+vIu0mPjwvdT9l8ZQYsi5j4TPSAx8nTavnksQvKZtXfAJEu4s237Bglnr a8dKF8vjkDEiBhtzXRSVx3wRxQ6CeGoEMKn2KrUVhkJ/t/jiLe9iyBm5FGSkns291PDC cvnKNLRNtQpgHyKVG58DRYN2YdBw/kr9zx3TL7nOjqp3wvjEXHJnDM3Pqo4r38ALgHFJ KqSQ== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=Fw9kab9N; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:fe06::60e as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=tFErhcLvBkjYOkm9AXOOv3oI2AZDZTJO1ChPCfOJTn4=; b=EV88IwYqGzRBHgXjh2DZXfuroV2FB2kW842RA/DTT5UyJ/pmmi2uFEvicXcTlr8rlU uHD28g5DlPaX25gix3ZVCvHZeIbJZzITRkcWQzzeinN78LzCpFEY/sYWsggZfUNMzYJX 24HHmBTqvNR7I4szQ9k/PEIx9RwZriqxlCmex5FFUzvk6STpPDlV992aaCjw1vrDt0oY RymP9bLD4bS/AJsu9/sXsfUcrHHRh9T8D21FH7JhOPxJP4WbKRt2WF7TsOnqXPGmX8aA ZwrJX3EIHAq1XuQ688KoRp9xL8Vy32UDfGNrGEj+14rc2TFKqvM4Xi04tbwBvoRWPQam G2Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=tFErhcLvBkjYOkm9AXOOv3oI2AZDZTJO1ChPCfOJTn4=; b=e4waU1kY9tSOQBtuXvbyw0RKFZUS7917lTE7pVp0nEGbC4Fe2+qLfAvrf11/STe299 xTnuUxO7y6OBqqRNJT5u6VCZV2T9yrau+/vpjHzjuxrTJ5aDkBiO71sGOqWlcNE0Lnq4 peyZ+8UgIAeqSLWMJTGHU1eX637sR3XD6npdnYl3zQ7dsl+Zb8WQ2B0vuD0sF8xkZudD kZ7PnmWoINwbDBU6O9mjgvPr5fKkjYiwsgLK/MzseMSH8PxbOsaA2VooW/PeDqUzyhB/ N9UCXuQ9kkArf0prRbRwf2USLzLUAKKixcKzzKP+DEyLjZua2EtoLP41rRdW0ehmontD d3Dg== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM531p6JSPQFd+2WMnX+EB/3SHleP+8LeIQDsBW7XWoOH+ggTmjXBg OcD6VEQsbRI1snGUy6O47wo= X-Google-Smtp-Source: ABdhPJym1LgZmEDa8uJmPqZtXg/gwG2Nr4QeUKrdF5pLuVWnRoXwWRPGARSLGJRrELolhnRehJ9Dpg== X-Received: by 2002:a05:600c:4f13:b0:394:8978:7707 with SMTP id l19-20020a05600c4f1300b0039489787707mr7159458wmq.34.1652091397490; Mon, 09 May 2022 03:16:37 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6000:1688:b0:20c:67b9:e68b with SMTP id y8-20020a056000168800b0020c67b9e68bls1543975wrd.3.gmail; Mon, 09 May 2022 03:16:36 -0700 (PDT) X-Received: by 2002:adf:cd12:0:b0:20c:ba84:287c with SMTP id w18-20020adfcd12000000b0020cba84287cmr7482122wrm.490.1652091396523; Mon, 09 May 2022 03:16:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652091396; cv=pass; d=google.com; s=arc-20160816; b=Q/qg6qSl4bQ7q0ynlu1qkabumfcZUq6RW+bZYO13q4fLQgVWSx6CudCf1VelYHH0h6 8ul3p5k/RQzTQJNETVQ+FgxLlDolOiOG3lTelWCr691+Oj1bR8R0oKabSi642m3sfj1P 7LTk+wvDSER/YiUUHMMfheiaFs/a3j1/cFKZZoz1YI4Yfdla/6ABiCcpasLuMdt4KS0x F28XyM6d7AJsuTLf3fCo68Zkz0bTIovhrDHfBjk0MLbfgfIWyh6V7W6nyd34nFa+jUZg AU2MNM7EZfOsDRhAO/EUYHV9fgjVBL9FGfWtHen4y7fMRPlh/Q/mKP3B2nrzoEvyBi5B Ps8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=TLWPrnFd94QE9PjiI3lBiSPdmRugGVocCH6HXMmbugA=; b=MM13qePbNaMveoewhfHV+G7jxTRsgTvOLCPvF51oziUV98RxERMNvlwLBm3m3pCrzL RmiLh5Sw90pJyW7SrE7NHd7iH4rn5vgqk/xC7IR2Q5RlUFyC9dH9GvTasQITcRbBFsXj hZCYAbtuKLpBlpuCGlp6DUH6uRS8ESeAaQYLSuJRyaGqjkYdrinsuMKOaCzdanhMWlyE S4BsXOD9jRqEyIBFS5JcZsKCxQnUjkzBl3QtJI4A3nmRNeW8UtP5ADZR/c628ENHQiG0 zzVHqoGDQ8EzsHgBEYxNAoek7dFm0DVPJdHzFIPyZQTGzv0SxoHOSJe9odxKX9hmjZpu ED1Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=Fw9kab9N; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:fe06::60e as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on060e.outbound.protection.outlook.com. [2a01:111:f400:fe06::60e]) by gmr-mx.google.com with ESMTPS id k3-20020a1ca103000000b00393faebeaa1si363022wme.4.2022.05.09.03.16.36 for <isar-users@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 May 2022 03:16:36 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:fe06::60e as permitted sender) client-ip=2a01:111:f400:fe06::60e; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=emtkbNc64EAHLIzH8d2Qvi508p0eaJ8Z1smKDTjbn0uDyJbbuLZzoA+Gb4qbYKtix9bx/WzTGFjqNZ+Z5lxiZUgSuF69tS/YxFFsfgwUc4U3aHB9+xoks5WTKN+tb5qJ9OYPxcQWP6o2MQbqe1bwBnt9norEVUMuVL/P278J5jsIdZ372KWIZD6qxuT7grOds07fMkhQMXzqZf/0O5sgKEbIRCFQT+Y/htfOOnu+MtYAU0aOOwCREx41hEFkQPE9bvnX3zVj3X5rGMsGDkBVCqnwyorotBwFV1tmNV1otmQ+Bug2ut6zFBKofRcnamvemRxuYd7a34nVltcsBwCVSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TLWPrnFd94QE9PjiI3lBiSPdmRugGVocCH6HXMmbugA=; b=gAyq6WshY1lTGjLyfIHl3uhhPZXgw778FiLbIYgYO+jNIv4Uhvelsu562dCIJ9qCG2uKrpOaVAMKvxEKSVI+rZX5r4Zmld86h67XOfPA3GNUbED3yeLSjBG3Dx7qT+nwU5IzlIJ/piqrCiWkruz7UcKVRcedYWnGuQWS9vLk7v1ELzRV1Hb8DXonVFhDa1q2ef4zMRKANFd4cJ8OzE8DHl1vqLuwTdVn1w1Hja8k+Rzq3cec486SBMqxlJngaACGxqMr/Hf6bl25Ovtxw+pXkOLLNYPFdmdZDdvWu87QwW+olTh+c5eCXEgcYNUYlQo8KlND0R0R9QfAO76UTlcTbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.72) smtp.rcpttodomain=googlegroups.com smtp.mailfrom=siemens.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=siemens.com; dkim=none (message not signed); arc=none Received: from AM6P195CA0099.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:86::40) by AS1PR10MB5554.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:475::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.23; Mon, 9 May 2022 10:16:35 +0000 Received: from VE1EUR01FT105.eop-EUR01.prod.protection.outlook.com (2603:10a6:209:86:cafe::ab) by AM6P195CA0099.outlook.office365.com (2603:10a6:209:86::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.18 via Frontend Transport; Mon, 9 May 2022 10:16:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.72) smtp.mailfrom=siemens.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=siemens.com; Received-SPF: Pass (protection.outlook.com: domain of siemens.com designates 194.138.21.72 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.72; helo=hybrid.siemens.com; Received: from hybrid.siemens.com (194.138.21.72) by VE1EUR01FT105.mail.protection.outlook.com (10.152.3.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5227.15 via Frontend Transport; Mon, 9 May 2022 10:16:34 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC9SMA.ad011.siemens.net (194.138.21.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 9 May 2022 12:16:33 +0200 Received: from random.ppmd.siemens.net (139.25.68.25) by DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 9 May 2022 12:16:32 +0200 From: Adriaan Schmidt <adriaan.schmidt@siemens.com> To: <isar-users@googlegroups.com> CC: Adriaan Schmidt <adriaan.schmidt@siemens.com> Subject: [PATCH v2 7/7] testsuite: add cachability analysis to sstate test Date: Mon, 9 May 2022 12:16:04 +0200 Message-ID: <20220509101604.3249558-8-adriaan.schmidt@siemens.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220509101604.3249558-1-adriaan.schmidt@siemens.com> References: <20220509101604.3249558-1-adriaan.schmidt@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [139.25.68.25] X-ClientProxiedBy: DEMCHDC89XA.ad011.siemens.net (139.25.226.103) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 383e511d-0826-4105-4b19-08da31a4ff03 X-MS-TrafficTypeDiagnostic: AS1PR10MB5554:EE_ X-Microsoft-Antispam-PRVS: <AS1PR10MB5554924105FDA8A45AE7F268EDC69@AS1PR10MB5554.EURPRD10.PROD.OUTLOOK.COM> X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kYv2paJ3ASKHW5t8WtBqRs+mJqicOlMWP5hD2qD9/jw+/+x6DpE5E+pB6F2EhjEsCr3kpahAjan0nKsVnIAe820WHd5WdaZUsfMZr3pbYwnCJeoAH70o6o92MqQ5DUZwxoS+a/xDVhFuPOzcx9Z2xAqedCEcBrCLju+rzaDTL11VZkTOYRY6xQPDI6m5XrjBt5tn5CSzFN7ZbkVh4U1AFtGYj6pun5NB/+4rii1hoBT8mJQegPy0ehDQHXbm628VBer0ecoxONEFVlEM7uCmpleFJ2UlFjxqBnLpTsrw1nNIXzgICNnDsOX6d4mLnjWjG3f1DSKUPkhfRuwSZOhr3CQfTQbjTVM00GYOqs8pq/fZa1uhzKypDe6OkXUFXDGI9mzvqMIiHiA6hcefluICmizOb7zFbh03oXjXg/9NfTBNoYuRzMURCRb7ERAPbK5//U2F1hguyDrkI+UjFDOKFTTmc16H3SpAIg5ahzK6ZJNDhiDHU++YSVlfVcoA6CmazF0qN4AV8DE7YmYhoZZX190RmxnebjJU5KLJ2r217vOcjmaWYmpILBShI5MpvmW5qmsoD0d3TqqG+5xFeHnmCH4Njo8Rlc/Y3Gpq/jVIxB8In447jd3L8iOfmLj7dmowOou3rkVRIkaQEPVJ8PEciSOOGjZMynxA+Ic3IxYaCpaJNXpjboDrBtEzpmy0nhZoVYYWMEZoNQVsrE9tqAZ/gw== X-Forefront-Antispam-Report: CIP:194.138.21.72; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230001)(4636009)(40470700004)(36840700001)(46966006)(83380400001)(16526019)(186003)(6666004)(36860700001)(1076003)(26005)(2616005)(956004)(2906002)(44832011)(107886003)(36756003)(40460700003)(336012)(47076005)(82310400005)(8936002)(508600001)(5660300002)(86362001)(82960400001)(70206006)(6916009)(70586007)(8676002)(81166007)(4326008)(316002)(356005)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 May 2022 10:16:34.8524 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 383e511d-0826-4105-4b19-08da31a4ff03 X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=38ae3bcd-9579-4fd4-adda-b42e1495d55a; Ip=[194.138.21.72]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT105.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR10MB5554 X-Original-Sender: adriaan.schmidt@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=Fw9kab9N; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:fe06::60e as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: <isar-users.googlegroups.com> X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: <https://groups.google.com/group/isar-users/post>, <mailto:isar-users@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:isar-users+help@googlegroups.com> List-Archive: <https://groups.google.com/group/isar-users List-Subscribe: <https://groups.google.com/group/isar-users/subscribe>, <mailto:isar-users+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+914930254986+unsubscribe@googlegroups.com>, <https://groups.google.com/group/isar-users/subscribe> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: INBOX |
Series |
Sstate maintenance script
|
expand
|
diff --git a/testsuite/cibase.py b/testsuite/cibase.py index a1494ce6..2ffb8191 100755 --- a/testsuite/cibase.py +++ b/testsuite/cibase.py @@ -6,7 +6,7 @@ import re import tempfile import time -from cibuilder import CIBuilder +from cibuilder import CIBuilder, isar_root from avocado.utils import process class CIBaseTest(CIBuilder): @@ -103,6 +103,12 @@ class CIBaseTest(CIBuilder): # Populate cache self.bitbake(image_target, **kwargs) + # Check signature files for cachability issues like absolute paths in signatures + result = process.run(f'{isar_root}/scripts/isar-sstate lint {self.build_dir}/sstate-cache ' + f'--build-dir {self.build_dir} --sources-dir {isar_root}') + if result.exit_status > 0: + self.fail("Detected cachability issues") + # Save contents of image deploy dir expected_files = set(glob.glob(f'{self.build_dir}/tmp/deploy/images/*/*'))
Call `isar-sstate lint` on the populated sstate cache to ensure that no undesired absolute paths make it into the sstate signatures. Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com> --- testsuite/cibase.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)