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; Wed, 11 Nov 2026 17:08:29 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f64.google.com (mail-wm1-f64.google.com [209.85.128.64]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 6ABG8SHc006803 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 11 Nov 2026 17:08:28 +0100 Received: by mail-wm1-f64.google.com with SMTP id 5b1f17b1804b1-4b8b3cd61a5sf19658335e9.1 for ; Wed, 11 Nov 2026 08:08:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1794413303; cv=pass; d=google.com; s=arc-20260327; b=dsMxAOEBIeHn8vkMFAxajGlYxZdB6eCm2/sVfDN+iS0cnO0LVpVOXnNcADl3oU7PN8 ARvB0IcTEKEUzuwsjgL0QQNphWKKd3FxPkxRudJNf+2QyGFa4vaCSi7BnfLdVLSTHcuj R09mffsX9ztGtgkp7LUp4sD01AQDNCAkeuf+j6DUp4/0aSFublji3EQzXLDjaTnt77Yf 597s8bZpnJ50huK3wfkVGuIAbRXcvwEFyp6gksEVRunLw0j5WKvfn6PT/WwzCZz6k89+ tWl0tRfpokVOlr4t8yLJA3PvYU7PtNfd29NNXvu6n+Fu7VXNeDbjiiBUIpTDAnPRJvMD iz0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=zYNCe+nNCPnHjFl8Rymxeex75Tj+gZaaJs6BtGTznq0=; fh=TjtKVRDZEAswNCGGzVdhoW28y8EgWpczQn8cXp6quV0=; b=OGb3jFcZLwOh4lHvMMVUxP6he18oxwHrZkg4jrH1qnq0Wu6D3De5AwXodykPsgmCqX mpGv3YxJBpdqXZYMeG6JTxie2U15BVf7SYnlOtbUNIFLAJ8NWeUFZ+5ZJXBdga1Y71Qa 9GW1JvSvoM2hU558X4f0ulxsJE280F1wT2wAIgcftOhV8CO9NJTMziScSB9pdJcrXFEq faie9RHiuV7KZzUv15ssnsGMx5NeVTJ7lFX+LQeKSHZi90GvW8EkxwLRjaNoX1cuR7XM nVoyvQ3rlqiJDJzs889abplrxyFfKOkTdKnuQSm8nPYQQs0boKA8eJdY1b+/oAGeRypV /9hQ==; 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=20260707; t=1794413303; x=1795018103; 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:content-type:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to:content-type; bh=zYNCe+nNCPnHjFl8Rymxeex75Tj+gZaaJs6BtGTznq0=; b=Ew6OppAmNk1NWeBiimrJhDPnwD5Yc6qzx5Un4SxUUL8yeF5FlHnxtVxw6ocEAg41Pb QbTxobDJmD3yAHCI5Nk4MaPA8t5kRmL4OpVcjNI7pP6uYSyEazvhZE1UefUuebPwLBKh VGGaF3cT+g5I5YZ3rRc7w+rwgz7jBR4mlPEGNvnOiO9rB8Y+Q8iIg5AnyqCqU52cNIE9 X2KgjMyE/nZoDCYp1bVh4nTpTB6Arvw/+XV4WoMlwiREmpQFiT7l32wWeYe+L2bAFTLv 8D+xzBK6yAfwtPNjbxmi0i2HN4lfYrQGMUp3XkxFqaOOeeWjcAH2YnVoVbOlqN37qS8V 2ZXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794413303; x=1795018103; 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:content-type :in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:x-beenthere:x-gm-message-state:sender :from:to:cc:subject:date:message-id:reply-to:content-type; bh=zYNCe+nNCPnHjFl8Rymxeex75Tj+gZaaJs6BtGTznq0=; b=e49K5RiiZCwAmhGMMA9KosDTOCZJ4Kdj/OmPN/NTPsE5c/45Oz6YVECdiibsF697ob gztx3tP6r0+nsQ9RXNUEBvDVWf4v5/+duGEExr4ZCPtwToq3peEmnfoQrdCLrFmJufL4 1iB9LF0Uxc47zFGds0jrT9Oobvp0YS95id1rcjQFSSHM8+WfheW5X9scJ/jljGNv63E/ T1ZWP2tWTqZOd6ypQCgsysfuTBmcTEZKPY1+iCpJgKk0Raxl94CvFxwS4fZ0CXUwFwjn h1qS52azZzKzSt6QZwZjudNic+ev1DboBkzh0kic+CTtYMUW2qjHMGdveudHeokIEqrt kSLQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AL+hErE2u5a4238pZtDFxlh34Fg8PChD5/J3c28ysHCVllebte83Iq+z2PtcI+P2AiSMFt9xDQD6@ilbers.de X-Gm-Message-State: APuU4Z+tZfXHyjtlPhErHA7nk1DUAQOgaVMqy55vE07PFJ51QBskT2YR +iuaRaMlTNBOj5Bn7st/cUjOqTwwx6oH4nTDiXYIlDS+qVcDEELkUBlT X-Received: by 2002:a05:600c:4594:b0:4a1:c6f5:2450 with SMTP id 5b1f17b1804b1-4ba0938142cmr51820885e9.17.1794413302925; Wed, 11 Nov 2026 08:08:22 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="ATskLdc/2GW6f+4oCeQtwkfqeEsRTSWV5rckiiWn4tC4UPz3Uw==" Received: by 2002:a05:600c:c098:b0:4a2:963:bdfb with SMTP id 5b1f17b1804b1-4ba01d74f7cls7847125e9.0.-pod-prod-00-eu-canary; Wed, 11 Nov 2026 08:08:21 -0800 (PST) X-Forwarded-Encrypted: i=2; AL+hErGRh4QlF0bMJGBTdcIeXhzZwbmkxn+bvtMuf4JohVBf7C4EEFy8BZU5VfhZCL2eOUMqI9DtkoMrE1+c@googlegroups.com X-Received: by 2002:a05:600c:548d:b0:4a2:18c4:61a5 with SMTP id 5b1f17b1804b1-4ba0935bd5dmr53794135e9.6.1794413300672; Wed, 11 Nov 2026 08:08:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1794413300; cv=none; d=google.com; s=arc-20260327; b=mD0XkU98FBfeGxOEHyuutxhJgD7faltnkFPKm2ep+WD9w6b9V8EiBQXI8YCJd6/ujP L6hj2HrEOiMb97iRrKnga5gueNk5Q/WcURlmoVq8bZavoV1qEq1BAEoFGCDviB4JHQ6S TAglPj7+q+vSvUlVkomp1PsXGO6/mJOHUfmkyUSPSEnq0J7KyomvdtAH3pscGLzlCVPb xZnaiVos/W9m8VIMD/XfT/RRhZ9I75DUcSY8M7H+klDZYX0zLwirwrC9LDtBsy2jnPKG NU2qg7nO2ADxEer6qVnejiVYR8G3rmZyzU0SpR2TlH3o7GK30Voa7Rdr5KaaWIlmYP6p d3KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=H+iWKiDGu0AAIgF3ksQiTslYv+fcRZDvMXrx9xThQgc=; fh=lOecfPjbysiGzlRBef36l/WlHWoMC0vHaB+pO6uJ+To=; b=Mg1s6wzg5tp/G6dcXS0iEvfKnXK2U7IAwIiQlC2FgytHRf0H8XQVv7U8ocyNFjJPoi 9LyzU2yDIR0W2IsAnyOU/cv3/MnqSSWbv1Ne5AFyl64FFs71Y//sdKT0yUjZLsl1qEqP Z8rViwbkqgd15IHe/JltTCOzsrnvhM6vCkQimnEQ7fVbDaoOYY8CcLR4fskeat8pTDgG EtusKyBiPRsfmfSMM0x/AvFJ2Lp4L3e79TNUWFcp1YjLq5agvQgqWn4Y67MCuYCA2Qqs 8K/wbd/3YClwSGSzSZpTfEmVK84Nc/i7dMBhnXWW2pVSNEppD6MuNLVieQV28zSNME/+ 6/xQ==; 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 5b1f17b1804b1-4bb4c698754si19995e9.0.2026.11.11.08.08.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Nov 2026 08:08:20 -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 [192.168.178.24] (dslb-188-101-247-215.188.101.pools.vodafone-ip.de [188.101.247.215]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 6ABG6JtH006707 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Nov 2026 17:06:20 +0100 Message-ID: Date: Wed, 11 Nov 2026 17:06:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/4] testsuite: fix sstate test with relocated build directory To: Clara Kowalsky , isar-users@googlegroups.com References: <20261029102027.1974884-1-clara.kowalsky@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: <20261029102027.1974884-1-clara.kowalsky@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed 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-TUID: Lg9YJWWX9zwM Applied to next, thanks. Zhihang On 10/29/26 11:20, 'Clara Kowalsky' via isar-users wrote: > In rootful mode, sbuild uses schroot and creates its overlay upperdir > under TMPDIR. The test-container mounts /isar as an overlay, but > bind-mounts /isar/build to its work directory. The sstate test placed > its build outside that bind mount, so schroot could not use the > upperdir. The test failed when running: > > scripts/run-tests.sh testsuite/citest.py:SstateTest.test_sstate \ > -p rootless=0 --debug > > ERROR| E: 10mount: mount: /run/schroot/mount/isar-builder-...: > fsconfig() failed: overlay: filesystem on > /isar/build-sstate/tmp/schroot-overlay/isar-builder.../upper not > supported as upperdir. > > This is fixed by moving the sstate build under /isar/build. Since this > relocates TOPDIR, BBLAYER paths are generated relative to the build > directory, so BitBake uses the relocated checkout. > The SignatureTest still passes successfully with this change. > > Fixes: a00e0aa0afff ("testsuite: fix SignatureTest by avoiding absolute path in bblayers") > Signed-off-by: Clara Kowalsky > --- > meta-test/conf/bblayers.conf.sample | 8 ++++---- > scripts/isar-setup-builddir | 5 +++-- > testsuite/cibase.py | 2 +- > testsuite/citest.py | 2 +- > 4 files changed, 9 insertions(+), 8 deletions(-) > > diff --git a/meta-test/conf/bblayers.conf.sample b/meta-test/conf/bblayers.conf.sample > index b04aba92..48928450 100644 > --- a/meta-test/conf/bblayers.conf.sample > +++ b/meta-test/conf/bblayers.conf.sample > @@ -9,10 +9,10 @@ BBPATH = "${TOPDIR}" > BBFILES ?= "" > > BBLAYERS ?= " \ > - ${TOPDIR}/../meta \ > - ${TOPDIR}/../meta-isar \ > - ${TOPDIR}/../meta-test \ > + ${TOPDIR}/##ISARROOT_RELATIVE##/meta \ > + ${TOPDIR}/##ISARROOT_RELATIVE##/meta-isar \ > + ${TOPDIR}/##ISARROOT_RELATIVE##/meta-test \ > " > BBLAYERS_NON_REMOVABLE ?= " \ > - ${TOPDIR}/../meta \ > + ${TOPDIR}/##ISARROOT_RELATIVE##/meta \ > " > diff --git a/scripts/isar-setup-builddir b/scripts/isar-setup-builddir > index 3896793d..401a137c 100755 > --- a/scripts/isar-setup-builddir > +++ b/scripts/isar-setup-builddir > @@ -100,9 +100,10 @@ into your configuration please add entries to conf/bblayers.conf. > > EOM > > - # Put the abosolute path to the layers in bblayers.conf so we can run > - # bitbake without the init script after the first run > + # Expand source-root placeholders so layers can be found independently > + # of the build directory location. > sed -e "s|##ISARROOT##|$ISARROOT|g" \ > + -e "s|##ISARROOT_RELATIVE##|$(realpath --relative-to="$BUILDDIR" "$ISARROOT")|g" \ > $ISARCORELAYERCONF > "$BUILDDIR/conf/bblayers.conf" > SHOWYPDOC=yes > fi > diff --git a/testsuite/cibase.py b/testsuite/cibase.py > index e5150b36..3f44e8ac 100755 > --- a/testsuite/cibase.py > +++ b/testsuite/cibase.py > @@ -268,7 +268,7 @@ class CIBaseTest(CIBuilder): > os.makedirs(isar_sstate) > process.run(f"git --work-tree={isar_sstate} checkout HEAD -- .") > > - self.init('../build-sstate', isar_dir=isar_sstate) > + self.init('../build/build-sstate', isar_dir=isar_sstate) > self.configure(targets=image_target, sstate=True, sstate_dir='', **kwargs) > > # Cleanup sstate and tmp before test > diff --git a/testsuite/citest.py b/testsuite/citest.py > index af4cea6a..d057ffa2 100644 > --- a/testsuite/citest.py > +++ b/testsuite/citest.py > @@ -1571,7 +1571,7 @@ class SstateTest(CIBaseTest): > image_target = 'mc:qemuamd64-bullseye:isar-image-base' > package_target = 'mc:qemuamd64-bullseye:hello' > > - self.init('build-sstate') > + self.init('build/build-sstate') > self.perform_sstate_test(image_target, package_target) > > -- 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/d1f558ee-0cbe-403d-a1ab-82e85c4ec1e9%40ilbers.de.