From patchwork Fri Jan 23 08:24:57 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhihang Wei X-Patchwork-Id: 4832 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:36:01 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f190.google.com (mail-lj1-f190.google.com [209.85.208.190]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 60N8a0Z1016348 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 23 Jan 2026 09:36:01 +0100 Received: by mail-lj1-f190.google.com with SMTP id 38308e7fff4ca-382f49594c5sf10212571fa.0 for ; Fri, 23 Jan 2026 00:36:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1769157355; cv=pass; d=google.com; s=arc-20240605; b=fO7/G3NNECyaWcT5r0NuinvmzRv8/oo8KqEnECPNepr1gt/NY4HHuKqxD1seIJrOqv 0FtdYjeVj8Ym55XQoCVOzhyPv42W/OTNkmd0bvZw4JvWxW8TLtai2aFgd+vtFIvygEda LF2VdqXpBehwfQFf1xduYAaYrdfduC77AU2csfkq0aOeR9Z5eQRtAdELCGciJq8uFZSK /V7WxrO2BW9FjrM8RciSFWKnwG+wpOvEylXxnszii3ph7njrRYFhAayCNTzGnfGndH4m fEr2wzly0Zv+m0jj3rh5ykjJuCvm8sJ8XD5rtFQpNK+Ruw0hOxJ9p76wkwPEymf4z9L0 FSSg== 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=2JUgzzhxKDJsXNrWOQtTaaOPXDMZInzm5825YS2iO7U=; fh=E20Nb1YsI7rvbuoexFIvg2JBE4VkyDPV/IYESPPo0m0=; b=gHpHU/PZyDS+zp/wt/69+qqj8VVcWW48eGasAgLJ0VoKfDMTsMEEJMH2CYTk2ob+Rx zIyqhjIzM/2LHGrLWMIylRXOa2AFJ//eISLwePPM19P++Jc5okQF9w5tyE69YKtYMllj kVFUikZwoL1lWE+dtNIU3SvxvsXKqIwL+vSHNmgwS6IMkwheqgEQyeSEdyhDy1wKKI+x elaitc+NpleYPxYDGi3HyxBDqzZPncRXgJU31ZbIra6u4k1gDz88lqMR+wxcrmkcscbm TsI5Up2ILIxJBQa84gBVNAucBpI35ZQe+oSsF5TYuFbgXLogYT1OPT9It2PrXrNRRn2x o5rQ==; darn=isar-build.org 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=1769157355; x=1769762155; darn=isar-build.org; 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=2JUgzzhxKDJsXNrWOQtTaaOPXDMZInzm5825YS2iO7U=; b=Zqi2pJyobA3EMZnhIKgiSFrqeEFpyEohSw/RGKr9RHwI1XPXy/QLd2LqxFdWuvg/PD KRRpqn7W9rJOesoajwPLZrbpBywJpcoVAHerNW//XmIMXbjCCmaU1ahcb4weBd8Y1mFz InrhBCl2Fl1BZV2+OQ2bUyh+R/dQOMtHeuZkD7GX3GP7qxhu2VvCgPqWttSo3hhG+WWj dVvjYrCKBsop1LsiweAUhc7NtFVPvT5ZZrE4jcGNiKSW7CH7xGPiyrUGufrpIik7EloN P4kOxbG+CXIBwdKciWpXwBnp3dT4r2L9Mdb+AoUFXlhciU1Lq+eJoviEsqqkyHM+mqam yrNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769157355; x=1769762155; 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=2JUgzzhxKDJsXNrWOQtTaaOPXDMZInzm5825YS2iO7U=; b=nrj+zX5vynwkdV4cF230BJUncGqi86QEKWilmR1UrXeIjbgjy/wDfw/SKX1/ZEkjFl 8EKnYeRSNVxSg/p2tl3Jv/xnJeQ+mNx3e+u1ZBeyHBMLQvmPck7oOK1HkTd6lzKzWWGU KOH1HrUsyQ4HyeMJOEN2ZFuN41RHZKtxDSwME3KYd7Xw+4La8aHIVDhllBz6b3HzcGjF YQ/U7ZUKeSGlCs5/+Y13V4sN2O1g1nNX9tXspaQz3lSKaGQYoGEl9Ot1JH/kFkMzUfBK 8IzQGeq5wHZW8Va2oqi8lwN/od4AavTUA82SGuH+hiYM64ThcvgZly+unfxptT7dbCX6 PM+A== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUwsCLa+g2iqBMxHax5uev50mmkU77o7swgC/S6JulRZMu44agCiY7lBiUHnUr+405v/CeBeOw=@isar-build.org X-Gm-Message-State: AOJu0Yy2ICVY3RKohAICEY0DzZIIKSrVzuMrh+e35yXjsBx6buBaADRd Tqbzl+9qjXDK/o6isjWp/Wn/Id3RbAXtzHIiYlZsDfKkknY7fjS60f54 X-Received: by 2002:a05:6512:308c:b0:59b:7d3a:2a26 with SMTP id 2adb3069b0e04-59de4925f2dmr706257e87.44.1769156711116; Fri, 23 Jan 2026 00:25:11 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="AV1CL+EDhv9hIQ4KtZk2D52rH9KRV2NrYZPpYun2rc25ulKieA==" Received: by 2002:a05:6512:3e1f:b0:59b:6d6e:9887 with SMTP id 2adb3069b0e04-59dd783f24bls521652e87.0.-pod-prod-02-eu; Fri, 23 Jan 2026 00:25:08 -0800 (PST) X-Received: by 2002:a2e:bc28:0:b0:385:d4d2:c38 with SMTP id 38308e7fff4ca-385d9ed5f3emr8447751fa.9.1769156708433; Fri, 23 Jan 2026 00:25:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769156708; cv=none; d=google.com; s=arc-20240605; b=j6MZ9JtmM24zDoJtX/3PJwh36dOeZJsfM3uLX5N5ZigTBRN6cv5ua1bC5vY0GObTKZ uzZZcKkgf17C7SFXb/2LbZVSRoSlyRkPv3Qak3ItBrqGq8P7j0O2nT55NOws02973SMh 490rHAb0+0uUyY4SUcxFXiMq4lbg85yeDY/hRSBUdry09PqvwC5VL7FO5NFh29X6kFHU urW87V1cycjPJ96fedsgXp2pnW2eX3oYAg7RBcqJKeGuvI6PmJ8R9FIdt/dQ6/vOuh+K hubxzvk3HElGDd2ORVyGgA9m0JYzw4EAHmb5wk8j4bRg/Ga2WN9ZZwNdt3qlmmNrIoba hoKg== 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=57ugCMyCTiLo4XBHPmCy2OI+Wto251x0ptN4VDlLQlo=; fh=V42d4Y/lNDOgZ/9/qsphFBeZCU4sz3YugfOOjBc+1H8=; b=jWYtKNaSBVdxfLtD8af7elkVa7tKVEtjs/9XFVH41MnRd/xNDVB4GpcwA/DuAfq7IQ ka5Yn6K+Q1d7+4p9tMysgDMMjJOCPs87OnjUoGurM47P7tmGrQUmk3re7V1nq8x4xz+y R8IIGB3Xq8kcUNkDWekCyWnlgidQ/sAcDZJ9hdUqjaCcfgqvCWFRF93KG5KEP9T3E11J E5zpj+/Mplpm6aU557COR8Ea/8pPD1s8gtBVX9AbE49K7nMSunMxXqvKP1V7H+mUttoy rqmora7vAy4FPpxBTH9PxYJmkO/vC3qGlalNo78YUjm9waYwNCYZc66w7KD/IK0wpALl 6T4A==; 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 38308e7fff4ca-385d9f8daf2si458941fa.2.2026.01.23.00.25.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Jan 2026 00:25:08 -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 60N8P1Xv014977; Fri, 23 Jan 2026 09:25:07 +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 16/20] testsuite: make sbuild-flavor test standalone Date: Fri, 23 Jan 2026 09:24:57 +0100 Message-Id: <20260123082501.240751-17-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_H2, 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 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: "MOESSBAUER, Felix" As the hello-isar recipe acts as an example for the SBUILD_FLAVOR feature, we also pull in a dedicated chroot into almost all tests. This is very costly and does not add much value. We change this by setting the SBUILD_FLAVOR of hello-isar to none in the CI layer and add a dedicated test that just tests the SBUILD_FLAVOR feature. This only slightly reduces the test coverage, but it significantly speeds up the test execution. Signed-off-by: Felix Moessbauer --- .../hello-isar/hello-isar.bbappend | 3 +++ .../recipes-app/libhello/libhello.bbappend | 5 +++++ testsuite/citest.py | 21 +++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 meta-test/recipes-app/libhello/libhello.bbappend diff --git a/meta-test/recipes-app/hello-isar/hello-isar.bbappend b/meta-test/recipes-app/hello-isar/hello-isar.bbappend index 44686458..27212262 100644 --- a/meta-test/recipes-app/hello-isar/hello-isar.bbappend +++ b/meta-test/recipes-app/hello-isar/hello-isar.bbappend @@ -15,3 +15,6 @@ SRC_URI:append = " \ " SRC_URI:remove = "file://nonexist-file" SRC_URI:remove = "git://nonexist-git" + +# avoid creating a dedicated sbuild chroot +SBUILD_FLAVOR = "" diff --git a/meta-test/recipes-app/libhello/libhello.bbappend b/meta-test/recipes-app/libhello/libhello.bbappend new file mode 100644 index 00000000..3c88a741 --- /dev/null +++ b/meta-test/recipes-app/libhello/libhello.bbappend @@ -0,0 +1,5 @@ +# This software is a part of ISAR. +# Copyright (C) Siemens + +# avoid creating a dedicated sbuild chroot +SBUILD_FLAVOR = "" diff --git a/testsuite/citest.py b/testsuite/citest.py index d908f9bc..49fcdec0 100755 --- a/testsuite/citest.py +++ b/testsuite/citest.py @@ -131,6 +131,27 @@ class CompatTest(CIBaseTest): self.perform_build_test(targets, compat_arch=True) +class SbuildFlavor(CIBaseTest): + """ + Test package build with a custom sbuild chroot. + :avocado: tags=sbuildflavor,fast + """ + + def test_sbuild_flavor(self): + targets = [ + 'mc:qemuamd64-trixie:hello-isar', + 'mc:qemuarm64-trixie:hello-isar', + ] + + lines = [ + 'SBUILD_FLAVOR:hello-isar = "db2m"', + 'SBUILD_FLAVOR:libhello = "db2m"' + ] + + self.init() + self.perform_build_test(targets, lines=lines) + + class ReproTest(CIBaseTest): """