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-lf1-f62.google.com (mail-lf1-f62.google.com [209.85.167.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 60N8bBQE016445 (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-lf1-f62.google.com with SMTP id 2adb3069b0e04-59de9e302f9sf25607e87.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=Zy3JF4HGPVyk6+s9GvMsLqrMa5IQKE/j6gBmyH1uWyi9LknNyoWDDeFUv2dBWUNaAK BXW810vtQbzF2S3NZWdOJUGPG8ibmnuBP2xORvxCRQZYyJRXLBB1OnS2rDtEHrBCGCoq j0zKmwryAOhdDSbqTAC5agTFESnx3SFFWRX4kTIL9N+OPCKIDZH0ixvQUg574APQSCkD LKNtzw/fHMWoD97POtd/HvxP9cUe6rnrdto3zRgOZJDKZ6piqxCvp5EqZsGDkctDZQZI FpbaUCBnlge5msjh1IyLjUqF14mqELxDHHSyawdnGwE7MgO//yBYNkP6EVxTBAQ9dBSx 4stw== 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=RdGiNncMKRaDCLb9CJCO9pJdt5ahmOnaLjta2reS9nw=; b=CrLRjdGZCb5moSEHdlSh79dKJu6qtLpGIZj2DQPznzGXBTQLxlsvM2Ozx6mQ1t9ZXH llvT7EsLrXidAztoQjJiwUUupL6z0cG0qdKgjkiQTHvCaq7/Wzkq1Gjia0LnRHwbQFnY GqAHl1sU64a80T4XhIUvLS2+omsyVdcbrfxOSRrEHHjhZAEtdvNmCRygZmXrTqQaAbVo uyr9NFbXwASPf9/oX1DXrZr5OS5DybmatUZz0Qhwh639mX3Vg8hYveBQ5VkWD7G7hZVI 2aH9yf+6y6jeTCbim3aF4hIu76ujv8YtFlmCI0halBcfEATEen9dxO9Opx2QMquaw7ln uXCw==; 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=2JUgzzhxKDJsXNrWOQtTaaOPXDMZInzm5825YS2iO7U=; b=ErdRl6w/1S5orXp9Wo4bLQmckdTWMFlQEiYqlG1MGWW6uPBokt4h1cD+R/fTQaCBwC BtuqNiOVtR/Pxr4exGBtCweItNIoEjhBab7VgqobCYnyq1z/8BOwIF3Sf9r8TTWmj/CV zsPrzlB3nwRMaOyup0aF8eM0YuNrcUxqsbluuw4Szk2PD/N+mw8XjqrT1xv27TsNdyN3 4O6O41uheeMOLw33XKFMO5W+C0Rh6EvpbquITaMyy8NVTRDEIP9b2uTizn6f3VzVplQq z66wNY87gkkmTAUL4faVk4y6gwBKZwnDViCDb1Fc603POtEwmBAfzG+SPOTnfkDzpCOs d9hw== 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=2JUgzzhxKDJsXNrWOQtTaaOPXDMZInzm5825YS2iO7U=; b=jQUBWdlzu7CWc6bF+igo6tZBl3dqI1CdPdyay5AkEnL289ZEpt9RjFx/HNYTOfI46n oLuLkDeygB82QYyJT5phUvf5TyytFzLolrHdwz5ovid4kHl/CZSETUODYEBF4hqiRms7 JDwL3I1pHNiscp+Fb9Ysc345Vm0uUD0JQzHTlozd3obMwIh0ao+y105ZyC6pTCKW5tcr S0VlDa5W/6cUXv+YnZP7TWX3quQlPVX6Jz3oEIcqEmWsSvaY7mUArX6zHuEPiR0cgSUj pY+a0GDkqzD/5ZIzkgxFtTxSnjPlG0XQpC9MdW+Y/zMW14ZjfrpL3puFS+bVJ+cXLBuw hSSQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUKH+OlDy2zFP8vsX629ukQrYcO2RLyWPypl7xA4ZlfpBTZqP9kIaRCq2rKBZLsoo31Zg4V@ilbers.de X-Gm-Message-State: AOJu0Yypp7Qw1fzB5OwgMk9Kif4RPmlXsiKF2dVolyxQz0Yjd0pqoFSt vf3P0OpwpgdfqOWFIdcpZOg9MGRpNvqtVuWmbdaoXB7zqehx+XQVx+0e 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 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: juol91Cu0N4t 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): """ -- 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-17-wzh%40ilbers.de.