From patchwork Tue Apr 12 04:08:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 1671 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Tue, 12 Apr 2022 14:08:38 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-pj1-f61.google.com (mail-pj1-f61.google.com [209.85.216.61]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 23CC8b8T030942 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 12 Apr 2022 14:08:38 +0200 Received: by mail-pj1-f61.google.com with SMTP id z88-20020a17090a6d6100b001cb89a1969fsf3417185pjj.1 for ; Tue, 12 Apr 2022 05:08:38 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1649765311; cv=pass; d=google.com; s=arc-20160816; b=ZXUUdDrqoD4I1hc7obzn/M6kc9n6pg9CmfBqykyA0fZQcRZoS8vxrryi2aGVIQHjm+ mbuOFZU4kD4n6PNpcrpp9PLVLrXBgjlqWkiaPdcHSDRgKt9jAjzeQ1DjGbHMyqDORPXk z509ZkmvvbwJC936oeMRW0fQ1RZ6T84JOFY2q8rCOjGGhiXPj2euiH5NqB/+Rmh1QciZ w5sJdxPL+wMefxIXZnCC1e1OhrfGwWYYy5Xl3C7StIBXeMdTb0iVO+eAOBnhInBK6xoS zHg+OPkKEF80gQ2LegUNwU1RubCcrh8Vx9V6ulm1w6xp2zqWOuCKiknY3kwaYRfDuSHf YL3Q== 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=RAhmjXlLHl/RQWbZLOLZFhZ72yK70Z8a/rZK/k3p1JY=; b=rk1sLnZa2ZdBIO5TFqANVsi6snuWIPymqKYGKUoEPaqOFhDEsiDwPzzineOv9MLiRa qDbxN0MvSZYhFIUzu03vAaoEfjKs8iWGco1FcOI0CGg5D04VZAGQWaodbjhdEHT+I4UA qn1o7VodNwMO/3hxEvCf1fwIu8Uf/x2bdxw7ZG/RyuyFF+2P2V0YqsOZhoyT6zWKzvAq QweJlwrT5Op2qkN/UvbBk+euWVlEyEpEMAlF5xNslNFQJqWAq3ciTJ4ELpefx/Uybp65 yU/F8CW/NcZkN7Ns26ykp0MTGOMlH7Ne38+lVSR6A2epW802Eh5GbJDNrRwdZ2Gvewf5 gq1g== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=Lo09SvTN; 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:fe0c::620 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=RAhmjXlLHl/RQWbZLOLZFhZ72yK70Z8a/rZK/k3p1JY=; b=eFNjCPy04+7hBBpi/emxxYKPIl038ApkziCbbopKWXLS2jv8dygdlpN+/KD5XA5YR0 kj1kUQi3AdXfV0rBPQjJ6EfFEs8oxQpPJ4q4ahttygVPgnumx6azuaUzrrt1tLRh6xed r7AnVNX2vja+V+rEvlUO9AQR/W4gSeJSB4G4uzZ7IDhVqbNQOTwK9ss0g7SWRGvgYxhe n4mQa9Irg8NHYCODfWNuRoUZcdYCX+J28VZES9DyesgglUzGg/aJp8QuPRgRcb66TQgj Xf3q2m7px3hYudMNQi0bbpLkiKIzhiU+ND6y/ol2XZszCDS9hvBfX+/YtVHwUzU9SA62 IoPQ== 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=RAhmjXlLHl/RQWbZLOLZFhZ72yK70Z8a/rZK/k3p1JY=; b=QC08WAT6JRHbhl35vhRAn24n1lgn8IGZjL9bzR3jKQERFSUL/+s+RrM72qsHj/DG1L U8p4r7gAZUwM11BMkovl9Z1xQydmHCnsOWQkJnA1U77JPLUOXscYoVz9geOBJkoTPEvc JWKi6ODvLvhG4sR8gLBxikDR31CTSXEfVAMp5/b+3eBKilIvnpryeGN+UBNAwl5+Fbe1 4m0zmVySMsNU+2gGjTEtXRwBv8hp2SAceRMsb43Smk+EwPuQuhP1jY1GbwcA4oa01I3B fj3jVl/Pw8k7iPjUCuW37AVMCqsBODWJCqPNSono3QpH3B3bCYwqGVVc5QiM1O6kGIPx 1Zcw== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM531+AvI9ue2TXEd5sO3ckGE1n7cNxSUqLgmGvfrvmDUGUTc+/HuK lZJFyqPjNCqTmXr2g2Mrk24= X-Google-Smtp-Source: ABdhPJxJhEI53xMrc9SQWh31mFA/SwOF9EUueE2gnHS3fwMz504z7yksHymIcD9Jqx6UPoYI/foTZg== X-Received: by 2002:a17:90a:141:b0:1cb:1cc8:8575 with SMTP id z1-20020a17090a014100b001cb1cc88575mr4636861pje.245.1649765311653; Tue, 12 Apr 2022 05:08:31 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:902:d4d1:b0:158:96e5:2edb with SMTP id o17-20020a170902d4d100b0015896e52edbls270759plg.4.gmail; Tue, 12 Apr 2022 05:08:31 -0700 (PDT) X-Received: by 2002:a17:902:d488:b0:158:8cc2:3e7c with SMTP id c8-20020a170902d48800b001588cc23e7cmr1841564plg.108.1649765310843; Tue, 12 Apr 2022 05:08:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649765310; cv=pass; d=google.com; s=arc-20160816; b=EztHsRiqXCr3BlRPiV8bD7SNTw8dlqy9MD55chpZSaRKx3pIWTK1V0UEtrNA+pwjNL 75IAwS7x+VfWdRSeskHZgRDNB3/KyARJrgAUHoQ2lVauGzPinEwCieRVioQhzqpCAVfr 4mQu19y/uWe1TjyNeIywwoGDCo+fq+PFF98vyRaLydk3Mlr/4XtAGR20RXcCcQmdzFEC 0+McjOSGmmvnRuytZSx9/ipF4ho/2HJY7NMD2EYB6xuWT6GnOJfD6hfeTXNVQCsnpFw6 rawSC7XND4AnEqCrykJP5dT6/BHt5MeFHnND5/z0pBK444ptbLd1s0dr+/O1SyKWRNhh htCg== 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=rq1NemwK/siJhoCLKddsUb12A7OqlkBtxKtK5W0QqCE=; b=XyTWGkEH6R6/S/BgYCgXsVgwgrbUInRkJ1VqSaEcy80lvU3lN3nln6RPQ1iFMOZsaA /8BVUz1oar9LhlZ/UFEls8DXa8geCwWC+f/96mRA+1sxzDHsec1CRx3WgkNSLx3zb1Yw 3Rc4PBXlccnXDOimbAlQyogwBam3SuOKwES6UIsQW71zHvZywVxNyCAre2yiD7scsxar Mz7nQdPrQavv0JQJGs+cGIDRTzHoT3QjApMgM5QLQu5WClmNnkzsX+zgSm+WTX5GpPM6 n+hVtGOsYNP53qhrIT6IUqgWfO/qFkZFe7NgtyifTaBwpQlT/3ii1ZktLLbc2FZ9PKy5 BLYQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=Lo09SvTN; 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:fe0c::620 as permitted sender) smtp.mailfrom=adriaan.schmidt@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0620.outbound.protection.outlook.com. [2a01:111:f400:fe0c::620]) by gmr-mx.google.com with ESMTPS id w7-20020a17090a460700b001c86c1acc58si972108pjg.1.2022.04.12.05.08.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Apr 2022 05:08:30 -0700 (PDT) Received-SPF: pass (google.com: domain of adriaan.schmidt@siemens.com designates 2a01:111:f400:fe0c::620 as permitted sender) client-ip=2a01:111:f400:fe0c::620; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mgq4FS0fOv+Y5L03rZB5lAFAM94i03Imw4TJ5gqqRej4R9aTyuJGw9irRCR7ZJFKH2duTi8AL5qD60KNqJ59Ef0rV7PtLIN+0DKfIbfzzuv5AyefDL8ZZwAizhpLcviMsVF+maRM8pq06lqgLqlVsuB7luZxljPYh3PHkazlvVSUThZfeGJv6PV1iO5xFYm6DnlqkirIk2zYcWL6H/tP2yETMo99g2mdMZiqJreYNqTMY7/c60tlVXwDttH73+s9QohPtrmcBkm+DfQp6YUHlrpNBbR8WOCENOdo5AeT0j75RO01RMP6QAacPzf2LTmfXeNUwj7+VrT7bwNoJFUEAg== 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=rq1NemwK/siJhoCLKddsUb12A7OqlkBtxKtK5W0QqCE=; b=RA1H7DvAZ77uIkR+249CdYTaNvYaNMHZhrxxRgYUN3uMB3Y9Ou//OPRnmNgETOxnvO+4ROa8H5Sx7kxDOu9yh+WG+/rcTsu30mf+0v9yw/fr/XRS+CS0hYe2mWF6WQC4J2UUmfSyrvTWezip/yMWMg1LTFU9VTy6a5EOk+2m2h0rDtag8jkKrL6ScCeDNyf4N5xVsLWhaKM+k78y9gW1ijSJwBjNsiROdE8ZB/JJhqeP3mJnzyegz5fjunopyi5WUQ8APLsfA3PkSN9T2If+PFnOqL7xWGVuPjK30gY3Z54i+M9gM1Zf4fpcYLbWG62h3eup2uMaNtjvEtEfKOgubQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.71) 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 DB6PR0501CA0030.eurprd05.prod.outlook.com (2603:10a6:4:67::16) by AM5PR1001MB1076.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:203:12::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Tue, 12 Apr 2022 12:08:28 +0000 Received: from DB5EUR01FT090.eop-EUR01.prod.protection.outlook.com (2603:10a6:4:67:cafe::79) by DB6PR0501CA0030.outlook.office365.com (2603:10a6:4:67::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.30 via Frontend Transport; Tue, 12 Apr 2022 12:08:28 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.71) 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.71 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.71; helo=hybrid.siemens.com; Received: from hybrid.siemens.com (194.138.21.71) by DB5EUR01FT090.mail.protection.outlook.com (10.152.5.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5144.20 via Frontend Transport; Tue, 12 Apr 2022 12:08:28 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC9SKA.ad011.siemens.net (194.138.21.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 12 Apr 2022 14:08:28 +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; Tue, 12 Apr 2022 14:08:27 +0200 From: Adriaan Schmidt To: CC: Adriaan Schmidt Subject: [PATCH v2 0/4] Improve cacheability Date: Tue, 12 Apr 2022 14:08:09 +0200 Message-ID: <20220412120813.467516-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: a77fb5c0-4387-4ec0-b4fb-08da1c7d2790 X-MS-TrafficTypeDiagnostic: AM5PR1001MB1076:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z1y2obr7A7XfXSyUwEt3xi6xXMF4+G+Ue3zbOsoXR8d3S/3jqHN38aDhTGZN3mxU4u1S1wNLpagdiZ0a9TuxGli6nKCaxMYdv7Hx2mWPTJHiccNwtXIaXyo8NwhMbumB6/t6flTHcPTHVNiLMWjSCfWpF2q/gSQezCqJ/J8tPp3QUFwGNRhM9+QOmiSZOyr9L8xwwsYZ2P2RwpDqczFdIfd1yKyfZ+4xdkmf6wmej0WkfuQIKBSGZMtOPq3D7nZ77/+tKNK/8X1FMfhXGCR1JkuqvE20jd28pKd3WbzxQgnd1o+TjN1+Cx3i33GUIzodXF5awTZKt7OgE1OjAsWzt9YG1VToIKruhnNI0+SJ+PQvyhB2rBgYhntiN/f0iH6zq49LZD4we1Epta0zkKhUwcdJA7arCSiFbD7WcFnTPR7LCITbJMiHkAGAMitdERWGjuXIUMt58ju6Zaaiz6q8vELzGo/vzmMtj5Ql5KQaK5RLf8d/nyjcla5Rzm3TlV4bT+DhdMN7TL6xzalv8rrNIDWC3ejzaPj+tBvQAu+pjaf3qtdCzeLltzIc9jI8pjMbSWqnUR1iwHqxHwMwjfTegK6B/BO4O+SWC3gGkwQsJsAciPwhRlBduIzDJcw58empnNdBbEdUdjgHSajHyxehq7j+y78m1N9DE/DhqGx+26lL4m+/Lsi65uTjOrbJ/yNCxdGxVqvfOQs/4eyqc98D4A== X-Forefront-Antispam-Report: CIP:194.138.21.71; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230001)(4636009)(36840700001)(46966006)(40470700004)(82960400001)(8676002)(356005)(4744005)(4326008)(81166007)(498600001)(6666004)(70206006)(70586007)(2906002)(36860700001)(5660300002)(186003)(8936002)(86362001)(6916009)(16526019)(44832011)(26005)(36756003)(47076005)(336012)(82310400005)(83380400001)(2616005)(40460700003)(107886003)(956004)(1076003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2022 12:08:28.5922 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a77fb5c0-4387-4ec0-b4fb-08da1c7d2790 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.71]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT090.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR1001MB1076 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=Lo09SvTN; 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:fe0c::620 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.8 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 We have recently started analyzing more details on sstate caching, and identified some potential optimizations. This mainly concerns cases of absolute paths contained in variables that are used as inputs to the sstate signature caclulation, which can lead to "false negatives" when sstate looks for cache hits, e.g., when CI runs on a different runner (with different local workdir). This series contains independent patches with fixes for some issues we found so far. Changes since v1: - fixed typo in p4 Adriaan Schmidt (4): bitbake.conf: always start with empty SRC_URI bitbake.conf: add isar paths to BB_HASHBASE_WHITELIST isar-bootstrap: no absolute paths in SRC_URI base.bbclass: don't pass absolute paths to root_cleandirs meta/classes/base.bbclass | 14 +++++++++----- meta/conf/bitbake.conf | 5 +++-- .../recipes-core/isar-bootstrap/isar-bootstrap.inc | 5 +++-- 3 files changed, 15 insertions(+), 9 deletions(-)