From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 23 Jan 2026 09:37:11 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ej1-f62.google.com (mail-ej1-f62.google.com [209.85.218.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 60N8bBob016446 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 23 Jan 2026 09:37:11 +0100 Received: by mail-ej1-f62.google.com with SMTP id a640c23a62f3a-b7cea4b3f15sf187024566b.3 for ; Fri, 23 Jan 2026 00:37:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1769157426; cv=pass; d=google.com; s=arc-20240605; b=U+pS+KwgKYqas6lOB1YcQmHkTiTi+2cGLtBZG5CfzjQ1ubVE6i+FVyjQWUBGCKKUQj ogT/bBKldnj9YodnT4IkeKPmH+BKawBHcxzdlMXy4oHNjxcQq79jwTfxsSPIMU7GAQlj LolLR9LsfbQi+rsuDvPWgYk9iTFDtUWSirmHIe0hEplm9/8NQexX0/P7NijswRCvW2px Oi7/5/EkdwPkVgiapFBltQ6XhS9c7L1+K9LdDbhCl0CWxMkNIk31D1ugk1z1+zQk/nhW K+182acs5zGyMl9aCERI01dR3Eq6Bb6lWjAlhpiCNfvO1g35A8iATydZiuRZJgazIzoF /Y5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=OhCF0QMCNJBy7eLZ2iFhyZmJ3XXyA/enDBeZRs83DyA=; fh=zDS+dNuHBhD6XFwg7cgXd6uc9yCVl9LfKBfuHatE/nU=; b=KmcM9l3USWDOUfEJh+QxDvrs6vK1NTcuyzkIU7vhOaGZWjIH5ITt7fmsJ3iCsLLYt8 WVMEO82fxK//jTQa/tsVT2m9LWIDyco7B0AZolrB0wQkEA30a1tWCC+1TCg5vcAkoHt8 gkxgR+qSrjs9IyVvc5DjH6WsVNhJd/tMb49V+GBcHnkXOhoJUVgnbH199+u28K2j2apJ nwZUAqWTgJPSsM7K0iR+3zcstDh0vthQpIZM/LbNXK2vVoGmiQrfW9vxl3I8cZQVr9ua iJLFP6evQRCajxqC4TdXrLZxlicIb2zIlG43jf0v0Z4e3IeSZD8k/QWv0v0wmKKpfpfi VReQ==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1769157426; x=1769762226; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=OhCF0QMCNJBy7eLZ2iFhyZmJ3XXyA/enDBeZRs83DyA=; b=B/h3WY5IaBfKH3yt7QpN1VfBLj6vvWvxmGMN1vmjIxPkULEztnS7OQoZsBGRUn/a3h S4f7maqr8I326pWvD7Yu7IbP6UwoIwjit/AFXCKtMON1edXKfTUJGcaF7vkDfmUshJxE 8qTAxCuLP9oZOtRbwZrUECLWjBoScltLKoIHSgjIN+NLvguUWsL58isqDQuG3DaoZqny 1HffwMExAk20giKlOC3734xbfD5/zvX2sQ3nMuWYbZTbmb2HKV1e8q6gq2jvKjSbKLmh OxJanE9t6Qwo1A/ta1H32q8f0YOIDkS0a0H51rIxxPG93b0u9ktlXviMnrwUDWuxq5eP gViQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769157426; x=1769762226; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=OhCF0QMCNJBy7eLZ2iFhyZmJ3XXyA/enDBeZRs83DyA=; b=A4agPv+AjEsCyereRb88n4ZIuVZR83MltqUWqhHicX67skY8qZl4yN1DlegZXxtkuk RoE302A/Fihw4tY4Uq2W/b+D+TDX+pRLE6aaP/yxNMst09OMckO5M0Tp3hrHtbvM+zQW 46xciClwbRns4zHgTKGJa3Ye6AL1pVYPTY+WrPui7rbiFeg8WYnrBtYcyRQWybL2PC/T Q8FdiQdHYP343lG07fnzHPKf2vvXopEVBZjdHblmTrDw1IC8uKGxVr2RjoxzpNKt+vAU Fo5sL+J/MAz0pqFWeItPwdo1U+H8V1UxdQ1hgx2Z5LvygV58KmNGAOAigQbqd4b83YKQ AsaA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUHtHCC5GsBzojsf84UnikC+/YNkpkNvBn43XxLxe6XVEMvCvgENobV5pIKGW0KF/cbCkn5@ilbers.de X-Gm-Message-State: AOJu0Yy/TkUsJ2wLxm1BB/ciQhU27Xmn+OcSDuQFcBB/xSAFdCU8rjtU Sw1jTZVz4K3rkkKOry+Q3JRhQ/DzK1ofRVDvS5PAeB37lymloLx0wqIO X-Received: by 2002:a05:6402:4412:b0:64d:589a:572b with SMTP id 4fb4d7f45d1cf-658487a18bcmr1535877a12.17.1769156709062; Fri, 23 Jan 2026 00:25:09 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="AV1CL+GrKmcCz0N7WTnKkIQOMhiRJsbvNW8RsHnagwkG2RmEeQ==" Received: by 2002:a05:6402:610:b0:641:6610:6028 with SMTP id 4fb4d7f45d1cf-65832d67c85ls1602659a12.2.-pod-prod-03-eu; Fri, 23 Jan 2026 00:25:07 -0800 (PST) X-Received: by 2002:a05:6402:1470:b0:658:380a:e242 with SMTP id 4fb4d7f45d1cf-658487b74c4mr1624697a12.25.1769156707006; Fri, 23 Jan 2026 00:25:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769156706; cv=none; d=google.com; s=arc-20240605; b=OmAvBi//rM79/oGZCpUQJwLfa8OfhVKO++P03a4+NfrTyzNDsL90gma1lWHyl6ahd5 yoSdk0INBkCUbB+AjG+xSblgcm9SoWotTPsDLgoiskexQXIdKlOQgiFOItCKXAZL+aJS IcS5G6szmlJ5PVd9Hf9JD60THq8qhNWqIHBIVv38H6RDrFE4TYvTJ01CKGWo0aH3MxsZ ORmbkyQ/GvO35f0iNVq18uV8fnZF/K2iWpHH4qUsu0b9sd0Gytp7q1c3RlMjGx0pyfnm xMKl/lPMl8IjHe3hK0WzBDTZgWLh/O/SkR1KqDyFaab854BP4tmUa9RHpE7zyGzstc+j doCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=xi563di/jO53d+Yz3bNSLpDxBLSZLdTJ2UvH9uCPMJM=; fh=V42d4Y/lNDOgZ/9/qsphFBeZCU4sz3YugfOOjBc+1H8=; b=YgUO4SOI6Lb+Cv2SJEP8OjCFARF7kkz+bhpETMmqriPFISMGqeb1weXBaHKyZPq7gq 2TqoFzFY/dgCrNtWzbwnrVWY8I5lB2iL9OraRd3JM3mE6pavYtBZwHALDEYSxDhFiyoz Y8LvoVxRNzUG/254R/X8CcY5x5MYHPR3n4heJFyoZTS9tT+8cAT5Reigb3JHKCaaGoZs T2qLJL0B44tRK38Omcg0eSnXsWm/1GEZEXAxUyuPxcUVFfpzkY8/Oh7ydT0FO1t7dd1g 6+8j47j5Krk2CVrh9SmWOImge78oG9YKKZIAsH423HeCd0jBTKHLBmDlJICbSJjHtBe+ pW4w==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 4fb4d7f45d1cf-6584b526db2si28493a12.4.2026.01.23.00.25.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Jan 2026 00:25:06 -0800 (PST) Received-SPF: pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from debian-zwei.m.ilbers.de ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPA id 60N8P1Xs014977; Fri, 23 Jan 2026 09:25:06 +0100 From: Zhihang Wei To: isar-users@googlegroups.com, felix.moessbauer@siemens.com, amikan@ilbers.de Cc: wzh@ilbers.de, cedric.hombourger@siemens.com Subject: [PATCH v3 13/20] testsuite: make SignatureTest idempotent Date: Fri, 23 Jan 2026 09:24:54 +0100 Message-Id: <20260123082501.240751-14-wzh@ilbers.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20260123082501.240751-1-wzh@ilbers.de> References: <20260123082501.240751-1-wzh@ilbers.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE, 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-Original-Sender: wzh@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Content-Type: text/plain; charset="UTF-8" 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-TUID: jpnyMG6GzaU4 From: "MOESSBAUER, Felix" The SignatureTest copies the tmp dir for later comparison. However, this currently fails in case the test was run before as the target dir then already exists. We fix it by clearing the target dir upfront. We further reduce the disk consumption by removing the tmp dir copy in case the test was successfull. On error, we keep the copy for manual analysis. Signed-off-by: Felix Moessbauer --- testsuite/cibase.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testsuite/cibase.py b/testsuite/cibase.py index 5b0139de..5ef1a5b5 100755 --- a/testsuite/cibase.py +++ b/testsuite/cibase.py @@ -171,6 +171,7 @@ class CIBaseTest(CIBuilder): Generate signature data for target(s) and check for cacheability issues """ self.configure(**kwargs) + self.delete_from_build_dir('tmp_before_sstate') self.move_in_build_dir('tmp', 'tmp_before_sstate') self.bitbake(targets, sig_handler='none') @@ -190,6 +191,9 @@ class CIBaseTest(CIBuilder): for line in output.splitlines(): self.log.error(ansi_escape.sub('', line)) self.fail("Detected cacheability issues") + else: + # on success, cleanup temporary copy (keep on failure to inspect) + self.delete_from_build_dir('tmp_before_sstate') def perform_sstate_test(self, image_target, package_target, **kwargs): def check_executed_tasks(target, expected): -- 2.39.5 -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260123082501.240751-14-wzh%40ilbers.de.