From patchwork Wed Nov 6 08:21:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Mikanovich X-Patchwork-Id: 3897 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Wed, 06 Nov 2024 09:21:39 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f187.google.com (mail-lj1-f187.google.com [209.85.208.187]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4A68LbYC017026 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 6 Nov 2024 09:21:37 +0100 Received: by mail-lj1-f187.google.com with SMTP id 38308e7fff4ca-2fb58c0df21sf30883121fa.2 for ; Wed, 06 Nov 2024 00:21:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1730881292; cv=pass; d=google.com; s=arc-20240605; b=T/9MxZJA2x3bmhBMouO4eC/dJQjbAiW+UfXfTSnvWvwjBSNtZ7yLQ/Dbk/xV0houW9 HcCOoMsfOCO2hJ9B8OKSS5Ukzq4vjw/M9yCTSMfKAS5+CJAETm/tKxW9wltwlwOtfrPi X0NN983rz7rcJ8jUcijrED1JHSh7Pgu9BjzSvNcU8yUPKTag5AxpcHWgAREysNMhpx92 c4d41DE5kJsd9kr4+OTjIbEPsB0z25sDVU56zVVdB4OS3dQijAzuXSCJWATyuTT1G3Go D/88D8KzGroXyErzPw76NMPlE7NAo32VPeRqia6crfZk0aq+oXFw0sKdFWVzXJHBTbIS qPpg== 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=7PvZRxHE6F8Sh02WOZ739DcXAg3uUWW3Nj5LHUmNEvI=; fh=cwzcE3Qt5j2CoEwvXAymHc4HQLkJVUUpr2rpWLAbQnY=; b=GLgh1SzSxSA3Jpxpy6m1KPMJ0JTZZeH/FZttBS/6RLei2Ub15WnTyVVtnCluTi7Grr vBk5r/RAhTo4gPV70hikyMS9ii/uPvJ1Jv0qYAJ5tSBzyhi6980/FIUEKyWB3aoakLr2 xx4CISLNer9iiD5mAIknFT7OhBnwrI2ezuR0Wg4MoUESBfFyIOFWjgR2pJt4Tr+pxdaN Amu0TM9mdiPlmg8NOhP06QA6kfpy1Abg8Fk5JrvrsmwxAB1lOO0ewU/V18tyHeomvTLb f9VEUY777QfFwNk6XxaLTqhSWotPrHrWpx9/D8E7V/866lWoM8w3p1GNg/XCGDv6Wovo ad4w==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1730881292; x=1731486092; 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=7PvZRxHE6F8Sh02WOZ739DcXAg3uUWW3Nj5LHUmNEvI=; b=L9yMwsGGqlwHNDMHg9OfHFbS5ljBd8vbNmK/tPv47NVFexb1tD1nTQxHVGzlkMHd8K 62Eo0mo8Zcy3bAxyvEXHI8ghpL61w1ryCEWl8A64VGbzJiL84Jn4N9sW9evlytsgABCP ud84Q3HKNuxpWEErC1zUca1uXnCEWwzeuK2zqx6X16K8XEsisr5fImWJC55L9Lqi3SI6 nVLm7mi174owci4mUcD1vS+ZPqTkfRXF6o0PGXg+Bwb+xLjn/EDUCK5vNWo1EpeUp6eh iOiSd9PXTl8b3F4I7NNLTej0B89HCgcDNxYPMeddUIhfKgmUT/9JEmHtjwjZdvgPV6fa QqQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730881292; x=1731486092; 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=7PvZRxHE6F8Sh02WOZ739DcXAg3uUWW3Nj5LHUmNEvI=; b=cmyDG5n/1aXayag2kXS6iePxI7sRiiMsiQhZHRow6XH06vWvzWvogDvkDAX/uhsZHs SdCV2IShzxn0ExIyxa/BDnSSjNLveJ8cQMF0zsKqTj58JOiiK/4Rids2gWd6wJiuMZIc ifYkOtdeTo6tq0H+mk9llJIZGPI8L0ex9Uj4SNAfqLTb3cP409vfc9fmjs1B77aXZWEb SVV1koaq1MuPKRlFBoYqcmq+ixqws6x0nAqLIHuCkwNYa3lozVUBAaXsBMle3ImcBcOc HD/MTXZ1NqM0c4LB1U9bjmxpFsmVRt2fZYlm1lu93Q3nYZALkrUAY6Pd/PHXYG/3SFi4 TAmA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXCCicKdV0aPQqpQbxa/p/V3WZC02q20aTbvXJD6IvGum+jr1S9ranOCm4WCwgZWzTFgDodack=@isar-build.org X-Gm-Message-State: AOJu0YzoqUg4ORYxK+WJGveocbHHYzveDhL9Dnq3pzXFYC+NMrOWkdAA hrfEjkJu5YjR2a02R38y5XRM0Y961QurIU5OK1fq8M8zyxyIt6J5 X-Google-Smtp-Source: AGHT+IEdoPpfZRZVivyU6IcNNNjr/QAPhF2MrfRd1MiBEe+wZQ69sgsHF2sAKoDxj1ledQWHPthu9g== X-Received: by 2002:a05:651c:2209:b0:2fa:d31a:1b84 with SMTP id 38308e7fff4ca-2fcbdf5fa0bmr180598711fa.9.1730881291385; Wed, 06 Nov 2024 00:21:31 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:22c5:0:b0:2fa:1c89:d423 with SMTP id 38308e7fff4ca-2fdeb674ae0ls3518851fa.1.-pod-prod-09-eu; Wed, 06 Nov 2024 00:21:29 -0800 (PST) X-Received: by 2002:a2e:be20:0:b0:2fb:4951:172 with SMTP id 38308e7fff4ca-2fcbdf5f742mr176155371fa.2.1730881289113; Wed, 06 Nov 2024 00:21:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1730881289; cv=none; d=google.com; s=arc-20240605; b=DoG+F2Qj//tDBDzPzrydLUn/ms0oqBSMjPUSXdSMPpm9BVyoRgZThFk/m5pxQIXA82 Ev3yq/V5fX78nVBz0VQfRczzUjHcLqdD8V3+QI2cYgd/iEn7q0cPnQew/ZTaWi9Iov/e GNoC7fwTHHPgJ/umZ+KPCRV9a8ej1p8/5jhJ/Sdy/xIx9b1q/GNnB6bRWk3Rc8+aADrJ THOVtdwSkneQpK1qoy+g/sPqv+jVdQ45vDuWONEDu6Lw+BOflSRqbTZsDoToFmQC2HwF BmRjYKh58Getwcpdh45D7pdDBZMacFftr41m/mZG+k/3DK6xvt6nLnE0f299ZBr5jsU8 6xCQ== 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=QJoiNIoUazrM7NxTXosWWmTxeKtmCD1h7UZJG1bxO5U=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=BR0ZNHdHlXDAGrrihbI0z+IiDAP1xgC+9ka7+niNHY/j/xWSMDDN6xX2kHEIaIfkMe M6z+/977BOwDrgp77/jDWgQJtrWFKb8aXOTDcR30WdEEyJxMUe7CH4YtQIJCOTc4regx o27NT3Wq0PqLC9HUlkUwisg+0NefEAyRR4DRqUvTw/55amxPI/YvzR0hs6asOyA4HuP0 nqS/dkndGQsqxADjH0sSxNAWfT1nnn7jXyeiW3/omNLasVsrhqtAgjq5FnCPNWfefGCm wypvGCZ1w/ul6p1ulImPVwu/BsSXQZoQ0A4K1YIg/ugIzvn3kwgIxpqwmWkvk2Sv9Ox0 MGKQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 38308e7fff4ca-2fdef38d7d0si2469481fa.2.2024.11.06.00.21.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2024 00:21:29 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from user-B660.promwad.corp ([159.148.83.114]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 4A68LOjt016956 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Nov 2024 09:21:28 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v11 4/8] testsuite: Allow variable bootstrap providers Date: Wed, 6 Nov 2024 10:21:13 +0200 Message-Id: <20241106082117.1089554-5-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241106082117.1089554-1-amikan@ilbers.de> References: <20241106082117.1089554-1-amikan@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: amikan@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@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?= If we can use different recipes provide bootstrap, recipe name should be obtained from target environment. Signed-off-by: Anton Mikanovich --- testsuite/cibase.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/testsuite/cibase.py b/testsuite/cibase.py index cccac86c..075535b1 100755 --- a/testsuite/cibase.py +++ b/testsuite/cibase.py @@ -216,10 +216,13 @@ class CIBaseTest(CIBuilder): # Rebuild image self.move_in_build_dir('tmp', 'tmp_before_sstate') self.bitbake(image_target, **kwargs) + bootstrap_target_task = CIUtils.getVars( + 'PREFERRED_PROVIDER_bootstrap-target', target=image_target + ) if not all( [ check_executed_tasks( - 'isar-bootstrap-target', + bootstrap_target_task, ['do_bootstrap_setscene', '!do_bootstrap'], ), check_executed_tasks( @@ -257,7 +260,7 @@ class CIBaseTest(CIBuilder): if not all( [ check_executed_tasks( - 'isar-bootstrap-target', ['do_bootstrap_setscene'] + bootstrap_target_task, ['do_bootstrap_setscene'] ), check_executed_tasks( 'sbuild-chroot-target', ['!do_sbuildchroot_deploy'] @@ -282,7 +285,7 @@ class CIBaseTest(CIBuilder): if not all( [ check_executed_tasks( - 'isar-bootstrap-target', + bootstrap_target_task, ['do_bootstrap_setscene', '!do_bootstrap'], ), check_executed_tasks(