From patchwork Tue Jul 19 04:35:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1994 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 19 Jul 2022 14:35:39 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-oi1-f190.google.com (mail-oi1-f190.google.com [209.85.167.190]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 26JCZbcO014970 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 19 Jul 2022 14:35:38 +0200 Received: by mail-oi1-f190.google.com with SMTP id o9-20020acaf009000000b0032f4e886b80sf2777138oih.5 for ; Tue, 19 Jul 2022 05:35:38 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1658234132; cv=pass; d=google.com; s=arc-20160816; b=zCJjSt4zto+Vf6MRsXyAYmcoJOvuaf1so5n8FOlK5n1lhD5/w+opfYCPZ7K4UM8Dv1 uzEm6Zd1fl0wIQx/oRictdXZ8TCliVWvTmT1y9ahvU5pTnXQrRmyU0WmPe44NgUUdimr /j9Fp2QIgooJUT/MFqwvNRXqPNhKstz1u8txK5wZlpnBgzb0RtWsAsYYmR1sBC14yEKL g6jS/GbkgNz+s7/0bO+FwM7W7t+zX9expzpKKaeEoV31l1Q+1NVHu0DII8btinfSBMsd v1jl0/vjPvXXOnyTI8aqveNK74A3X0BYpG7E8Xls96JZX1jTPY6bP0ktuCnIO+J9ZYuH lz4g== 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:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=ed6DmgwXodtjHfVrAfli/hKTgqjPK2Xn9/Jj/RmyRCo=; b=Z51/orjwakxPgJy01uCx1cZ8Q8OffhYShXDqlGihVCQMkHBMLTSVvWTULKypRHAdns UrruwwgBBJ10tf2MRZP7ESr8tSvJaOPCQHDjB9+b+rPFJ9nbYYfif2Fgu8GkBW4tyB19 xhN18H+xM/HAKYnqKQ8CFQcATO+3FsGl8IxNDyZzLvAkrAPf/sAKxzF276yjG4SCsAgA ZQyYzLnzCaGwp6lhDQwvPWoz6uFw4Wl4TxuOwNIx4jKBjAJyKZLsS5a6ZYAXUvg/TdbZ m0ziKwfciri+yL/sJ7+tx2gYkmjXrpZ6w6wz6TTapI1H27Xy9RvSE1y2FcbTbnC36zwc U5Lg== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=ZnGD172M; 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 40.107.20.61 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: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=ed6DmgwXodtjHfVrAfli/hKTgqjPK2Xn9/Jj/RmyRCo=; b=tDMgZUy+dzxA5b0hYsYAOT3iTh/r/y7VpOdNZxk+uYbe0XcQDjstmLpKYn5tYwAL7o EZbfM87Z5EMLMYWpy6kX9uQBchFt7UnWYCu7n/eEA9KMWIBNdWNok2slW6gGm3Sr1VAM b30dgEfYbogsf4+wGjo3m+UJRJYY/etkYRKaQPBClJdYxrcl22MBh40aEA+f3eZ6jEDz Bg/oMGzZ0dF5BYxKbtkGGhcuXHnrzHaJkj/ij/HNbNGxYv2YIh4H/9ZPFjGmmtDCJlDI HAHRUIsuFw6tFjKbHPMOI9siFMXuGS16kHBk3f3G0dagxQWE+f+tl9ag2gLlpAB9HEx1 inMQ== 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 :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=ed6DmgwXodtjHfVrAfli/hKTgqjPK2Xn9/Jj/RmyRCo=; b=q07G2/TPaMr64lzsgg4vv0VJtikyfLoYNb6HIi46QbOC+fAcOZQNM1QStBUteT31O7 CNGId+dMyZPJgIZUnE+FCkWw1EOkPy7lVx//gK1xlhl00wQJSbMtmWqgDG1j+IIES79x K5b6J2hPtoJmyrD2dR/DXYAzujBnj2eegkgFry3UcEGw9cTPmx1RuWsEj/ZPvEN0XE4W i9VL9xfHlIc4x25N/aMv/hvQFh1yLdGe8TgqoKdZPDCjiy/hI6GYh6mxfkj453rkeShd GZfwySNEXG4Vxxg/zoQBy/BfkLYjLQgkvPq1HPRnKpQ2Gl+cpZIj+77U/Mi/lFZhlQIv 5Pzw== Sender: isar-users@googlegroups.com X-Gm-Message-State: AJIora8Z5ay+q0et0FbT+iHRnttvDT4XwJrU93ILD8q7k4CNDRSyuCri ozExwX+nw1XCvyJpTpKv0kE= X-Google-Smtp-Source: AGRyM1sBAw2EvDG8zAE3ksLLAvFgjD8R0HrYVAzbuwnLf9ylRHy9WMzKRptM3/A2BufNPXWnzmSiRw== X-Received: by 2002:a54:4105:0:b0:2ef:3f6a:5a1e with SMTP id l5-20020a544105000000b002ef3f6a5a1emr15466918oic.296.1658234132396; Tue, 19 Jul 2022 05:35:32 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aca:7c3:0:b0:339:f6c9:f2e7 with SMTP id 186-20020aca07c3000000b00339f6c9f2e7ls163205oih.3.-pod-prod-gmail; Tue, 19 Jul 2022 05:35:31 -0700 (PDT) X-Received: by 2002:a05:6808:23d4:b0:33a:1441:bf0 with SMTP id bq20-20020a05680823d400b0033a14410bf0mr19254017oib.26.1658234131878; Tue, 19 Jul 2022 05:35:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658234131; cv=pass; d=google.com; s=arc-20160816; b=hOXUJDUX23cTDXjT5TBNuHgjew4AbZkFH8417R0AtpFauW18CUy2hAebvyXE767fGA ARmUcMXQqElgVog7P/9yND0KQRm6tLCRTTjx+HWnA0TQuMYSU3eRUF0SHXOJfAdhO57j yw/Y2rQeybXqPOKQUEr7bkm3aY7xi5+XEm5Gz29X2Qdz2pNeOg4MPF1Uad6x4RlCyrOE wbEJ3P3WF4k/nDjW0e8JsX+e3hNYiNinKIcNF2d4BjOh06+blexiYvmSLRyDQ6TWS6Cx 2nYMcGjJhxWyhFx9xD2jvRTt0DPrapcFzdivMyYEHOnm9NH/oRe+m823TjKAUgVYFsM1 Hskw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=Z6CwQClz4K+cRyMgdkLcbrs9pVVHlhR10R6erZK51WE=; b=qOkKI0Eh0ZM693SrmUPOv/ZqC3YVq58ziEDdl+VBAyrj5I+TdSWBCTc/GuY1b3jKk3 0o/tWX6jNjM9mC+EZYyvcMcAYwq71Xo5m9J6t3woxKWGmeFghiQsQzfMInfdGRGrbZUd UOh4IeqbrV+g1GXv4/UD9N9HuVHdpyyxvY6IjCK/YIMIJfQv+brIN18i9WK2h2PJOvI6 +VA7wanrDVkM12lFfZY3XXAPK98cV70POYJaB04HYShNdBrolatzKc729mpRvKHtisbo J9lrV61SyCybIV3SowEtoslZZ+XV6LJf7Zz7Kj6BpJ6rTpIIdYMtW2WI9lzrzDVR5Np6 uARA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=ZnGD172M; 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 40.107.20.61 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2061.outbound.protection.outlook.com. [40.107.20.61]) by gmr-mx.google.com with ESMTPS id g9-20020a544f89000000b0033a933b4bb9si72138oiy.1.2022.07.19.05.35.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jul 2022 05:35:31 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 40.107.20.61 as permitted sender) client-ip=40.107.20.61; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sbuu210gmtEWi38uZaSfbKZ6cA3SoonUe+AfT6bRrPHznqQDBYu9HB4zMX+gPLbvlScsaIuHQuVThMHYyKVtYvbj8ujxSDtQ73z6YPbQdrOdrJwkqpTaBiirBWET/lNblFToCEFkiC+tOFzO1dGaQ0TGLk9owlUowcaQfO7/z/8Ghk9cdgFihzFEXmkr4qW3sheHKTGQmC4RE7+uHQlmG57oOfGRW+rXZGlGl8tlJKTboxLRBCiOiQYdLsl3ZiaL/A1H+ho2NQHTzTrOWS3Nr8wp/QTmwz0i0Y68n9f+sfTU6vYcRSQ8WcnBQ6XSsJcOkzYRMY+f8wzXcVUa+ydadg== 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=Z6CwQClz4K+cRyMgdkLcbrs9pVVHlhR10R6erZK51WE=; b=A3kj8tY+1lJs/wrRjVhmIS8qmxJoUPxLyKOAdxVJ09CsRKp+B1SjwXH3ywxItdNSy1pjN2lEm5Z3kL5XbZzRguzHTD1uESRgNaEJXSLaVqEGqFt/Ctst75gZ4i8I2lhjRqAC+dyTqlSExtfdxV1tbbnTkj6C1PaP4UdgTZxAn6wyRrre53WCB83UIAWoGrFpBaAZroE3w/WFBUt+qUO4OgD3uJKof+KeQ+PFA9dYMKXt4LKgCHJxYDXmt427SW9DbS64suhK2xg9hO1dUgm0zsv1VqKw2IcrzhZzKTIa4fzysFEbAkwGj2RTVcHW3fpsEjgHhF7mIaCShMBxhv42YA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.73) 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 DB3PR08CA0007.eurprd08.prod.outlook.com (2603:10a6:8::20) by AM8PR10MB4148.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:1ed::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12; Tue, 19 Jul 2022 12:35:27 +0000 Received: from DB5EUR01FT098.eop-EUR01.prod.protection.outlook.com (2603:10a6:8:0:cafe::8) by DB3PR08CA0007.outlook.office365.com (2603:10a6:8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12 via Frontend Transport; Tue, 19 Jul 2022 12:35:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.73) 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.73 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.73; helo=hybrid.siemens.com; pr=C Received: from hybrid.siemens.com (194.138.21.73) by DB5EUR01FT098.mail.protection.outlook.com (10.152.5.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12 via Frontend Transport; Tue, 19 Jul 2022 12:35:26 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC9SNA.ad011.siemens.net (194.138.21.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.9; Tue, 19 Jul 2022 14:35:26 +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_256_GCM_SHA384) id 15.1.2507.9; Tue, 19 Jul 2022 14:35:26 +0200 From: Adriaan Schmidt To: CC: Adriaan Schmidt Subject: [PATCH v2 0/3] isar-sstate improvements Date: Tue, 19 Jul 2022 14:35:06 +0200 Message-ID: <20220719123509.308439-1-adriaan.schmidt@siemens.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Originating-IP: [139.25.68.25] X-ClientProxiedBy: DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d4b97d83-ebeb-4901-bbb4-08da698328b2 X-MS-TrafficTypeDiagnostic: AM8PR10MB4148:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kUla9OuUF5FWoJDfE+cnWS9LnbRDN/r6pGvEqABRXHZ3X6J+tuX/J7cd4da7EAfBuA6MsICpJ5ko0cClmfWtD5jZPRoAegGyp/A/X2jplLWGHbuo10OvrLrxC3U5CtnWGQOl4pTYuy65qr1xvU6E5RZoX8JI4FVG0/M2ysQaz8jAhznmnvSRDdFgws+tQqqVCxNZGIdHV714w3mjKmGvm6sUCEoFmymEprdU3QK5SGdOL8OQ2Bah+dGx7nf72Y1VLe7OLNoCe64arz1GWz29iyJVUeYj2bh1L2y4QpLITK0Sr8/gDtZxCCJ0a4fLwj9AL/6OibcRIXztfMzflGvredSjb0O/Hzi5GevbwF1SdPoIjemoNg1vRskbUmpsg+3cpsKc/X+xtmciJfdYvDA0M6M3gBjzc7KkMcNPVU8GLz4ZlfLTL7CaW50lj5ylNKDWZCoapRNBE/zw8vm3wGpTP+DL7fskVFewPA2bRmQl8OpmjYPeN176b4HvssBONpuKORi3dXyhnWli2IwEMQfDcvA53HaFrOjKDWGoJLVvqFEDw9FinvdhSEIbceBPBzEabo7hxTD/qqCACu5mqSCG5Gk1jexSxLnoM/aEdHhdsAc1zy66PA2r2sT7saXWqNM69cBwJlXtgnkrTTKxH6E+ym7PhV6+6b2MVQJfTnV9FHktYl/VxBwrbwIpexUhn+AYCSh0MCBWbf77o2dZiHgcOwqxJFNBO7YiLRHyPfX6ztqOALPGLe2ra2Cwi4UI6L+Vp1pq3Fga7RIGJeq7So4Nqu5y8VuLxbiUBgRMO/IO7zytPwiqPbCgCvsRaZbeaX0hxtgBRzz5JiIiFudz53mCQA== X-Forefront-Antispam-Report: CIP:194.138.21.73; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230016)(4636009)(136003)(376002)(346002)(396003)(39860400002)(40470700004)(46966006)(36840700001)(8936002)(478600001)(86362001)(8676002)(4326008)(316002)(40460700003)(36860700001)(4744005)(70586007)(6916009)(44832011)(36756003)(70206006)(81166007)(2906002)(26005)(41300700001)(1076003)(956004)(82960400001)(82310400005)(356005)(40480700001)(83380400001)(5660300002)(336012)(82740400003)(16526019)(47076005)(107886003)(186003)(6666004)(2616005)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2022 12:35:26.9999 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d4b97d83-ebeb-4901-bbb4-08da698328b2 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.73]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT098.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR10MB4148 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=ZnGD172M; 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 40.107.20.61 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: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , 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 Some minor improvements to the isar-sstate script. p1 is somewhat important when migrating to bitbake 2.0, as is avoids crashes when having a cache with both pre and post bitbake 2.0 signature files. Changes since v1: - add try/catch to signature reading in sstate_lint() Adriaan Schmidt (3): fix(isar-sstate): catch errors during signature reading isar-sstate: refactor exit codes and error messages docs(isar-sstate): update documentation of lint command scripts/isar-sstate | 50 +++++++++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 20 deletions(-)