From patchwork Wed Apr 1 10:49:06 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhihang Wei X-Patchwork-Id: 5002 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Wed, 01 Apr 2026 12:49:21 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f55.google.com (mail-lf1-f55.google.com [209.85.167.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 631AnKFb017481 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 1 Apr 2026 12:49:20 +0200 Received: by mail-lf1-f55.google.com with SMTP id 2adb3069b0e04-5a2c2448255sf716809e87.0 for ; Wed, 01 Apr 2026 03:49:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1775040555; cv=pass; d=google.com; s=arc-20240605; b=Vbj5G/vLdPherQMScv4sXsCmcWExSBMoEA8nsfGjX8CuY4zyz6kHFYwBoHYJCTEMro V6XdMR/6522iJ6ZvY3wtDKMAyinRhDYk2cM09C4ONmD8dYKAYeF2o2y/E7Sx2WCpifI0 O88pR8pb9eK7tlhuy5s5d+6qnbkCn7k5AAgValWtS5YY7j7+rKQ8whcb8YNyv0JROOKh fJNqRua4XzTwkp3Y5hxWasNjqwA3AHDpP/HfOFuFrE3s+7KcBUSF7h2uSKM0Qx2qXOq0 O5Kj5SszbaFULt4miMr9J2KfwcIJ6dKHDkCqrwovw/dSOHJ5ukwsrb3QmawAHmsRmwG+ Xrnw== 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:to:from:sender:dkim-signature; bh=VlkLUSDyEHx6JLjw7pnfwIAk+v59q7cjKQnr6yolkkY=; fh=smmDCIU37lxcN8dH13FYrmBWWvAIUbHh/+P6AmeAbuc=; b=iUezJl1fLPd7qwZwNZfGhB/xuXviSMp/uq4dPu1iijL+/asiZt9Wdn4O5DKU8Ydz7Z 2Eot9dhOe3p+l0+/f/g9hYU2WwOmYOwDOhGDfoI8JqUmy+t7SR0CqhXpL9FlqLCi3y40 BeAZg4SioE2hnNnIS9bM2+Z3ghFBseOpdzJ8epMNE7gBl5fJs5td0cRdUE59hiARP6NF D3ONhbtdwbKhTr0O798tUHprIjGGLwI5KKkvflWwZwYJfFXKs6w6zj4gUP8fYXzdHCyP IcwHYd+WYzFLIuvBLXbaZ+1AYQE0GANkRZPiR4O2dTjf4wM3Zxfd9J9sNHdyt4MnBkSv AQGw==; 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=20251104; t=1775040555; x=1775645355; 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:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=VlkLUSDyEHx6JLjw7pnfwIAk+v59q7cjKQnr6yolkkY=; b=c8KNW0P7cAZ/ErWFdGf2n3+iu3jxhSbkrVa5xvf6mQG9qSIvk3Rlf2G5NTxM//PRxo zImPPk+RFC8xFLCi0aILTfFly7jTK9Z5EU7MmfPANv3l/wMIg3gPXTi9rlAU9LC3Nw7/ mBw+jgR9iNXvv3asLI8km2Lj4FRWB3MaAUIcALJz1hYDCyt3jqUXmhzlWgTA+xnd3QM0 wNsY6wQaIeWiotTDItuylDT4sffQGajuFTaBTegtz/W2Z8Au+dT+jHj0OFWK0ZDtXFzN w+Af/r8Vs38PitDnai5VTGw5wMd9IYlKJmen1qzO9lLQS5rEVx/j3zEDhMSkfQl/dMfp sNxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775040555; x=1775645355; 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:to:from:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=VlkLUSDyEHx6JLjw7pnfwIAk+v59q7cjKQnr6yolkkY=; b=ndMaKFHLxygL76ac7W5v9/UTZhxGvn0XVpHqxMkB8XrIVWrc8wF+NABFOlGtfaU8qU OWmG782pkIFakBX6192pTpq3JPylLJ/XoBV4IYNQaLRGbaPR1ZP6OzNvfHrL9UFj4+XP aMYX765cSQJE+CWF43+YVNFPvPfEsW/MzH6zmdW6LNSdKRnnTDRWuCHwT+KBMwqzcicX gApaIcP92DEP3mQlhX2pprM22WsRpM0zndItZPH9qFpEIj0n3EJcMSzT6BC06cRyqav3 wRrdyJ/WlBTvMggIYbUO7LFbbK5tX8tHiBfE4hUwA7w5p928H51l/cLXuRV5hFej7I13 SRRw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWNm9CzR17pa8H6H6Nn7uUM4a1J+jnW8bXW8ZfbMo7qFwXZLwPRYFJ3XNCkj+sRKcX/3QRbong=@isar-build.org X-Gm-Message-State: AOJu0YyT5E9odyUGcZNpsyb6lYyc0/bgjW/Ge1IUoSh12d7YmGyIXMY6 dHyNA/cWhUbsRikZyw9ljYU4UWvqhB9odNIH1iKx3i/fH8K2gdShaQKp X-Received: by 2002:a05:6512:1393:b0:5a2:7d49:2f63 with SMTP id 2adb3069b0e04-5a2c1ee23f8mr1392901e87.4.1775040554739; Wed, 01 Apr 2026 03:49:14 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AYAyTiKSmRuc4H4Q3XfT9z9R81iKoqO63gESQTlgyWeZqqudmA==" Received: by 2002:ac2:4f14:0:b0:5a2:b1c2:d12d with SMTP id 2adb3069b0e04-5a2b1c2d297ls82615e87.0.-pod-prod-04-eu; Wed, 01 Apr 2026 03:49:09 -0700 (PDT) X-Received: by 2002:a05:6512:118c:b0:5a2:b219:3ecb with SMTP id 2adb3069b0e04-5a2c1f338e5mr1406346e87.42.1775040549304; Wed, 01 Apr 2026 03:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775040549; cv=none; d=google.com; s=arc-20240605; b=cz6AA/1t8nW21+i7wOz5JUwyX+8iP4/mp+RpFM5BaWaZJDfFqZWD37eL+kpvT/cLdk V13XH5J/lW2CVIzgETekz8lDl5umag7NhTx7DHBgVsbnXrCZmym4FhcfcgdycN7COIQd nxD8ykmNdYNfkIFucJ1vhQguK8qY4wWxUA6mN8EhzwS16sXB7c2rVhz9APP89ZSPfE7m 4UvZHTIKsfqWX5HleSm9mWdQIg78rLZtGK6oTfwveL8agaJ8c3WzqTBCg9v2g+45JYsm VkdbtROl329+a6RACDGVX4UKvJJGy+4C22FXwNSEHPEHkzohHuXOfoiZ4Zy4+RhCpTaK SCbA== 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:to:from; bh=gQOXwEP80X/wox/zrRB5hPheljtNTIgBpbq9tr73660=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=dt5A2LxrFSM/Kz/zPwg1P2kD4werVrH1l0DVgpsMwk60qakEndMS4D+kYvOxa9wj5h vgmq8cO3Erqo/jI6vY3JLbQSXin0cRUSSveZfu2IM2I09TBbxLHW93qP9gVEDu8bbGcO Vby9czK5YgWZ5YigYl371rGCV3hWv9vMLnxtzqBbptjMNqVt0fyrCtGQ501zdyeE3bqE 14FhBovifBsMrKLFPGGlDZKL0IRwOI5IcEm75C5vniWiqpKLuQnvwBDy52gr73sJvnKy 0gHSrVzzzdPXw831ZUEf5FvfrTOf2mcSKD4x0NGPmrcndocgD1arx+FZzbajW/Byr3CS bPUw==; 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 2adb3069b0e04-5a2c40a5b7bsi26756e87.2.2026.04.01.03.49.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Apr 2026 03:49:09 -0700 (PDT) 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 631An76i017421 for ; Wed, 1 Apr 2026 12:49:08 +0200 From: Zhihang Wei To: isar-users@googlegroups.com Subject: [PATCH v9 2/3] testsuite: Add testcases to check dtb deployment Date: Wed, 1 Apr 2026 12:49:06 +0200 Message-Id: <20260401104907.3365696-3-wzh@ilbers.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20260401104907.3365696-1-wzh@ilbers.de> References: <20260401104907.3365696-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: Anton Mikanovich Build several images with dtbs deployed to the same path. - test_dtb_deploy_distros Same machine, different distros, same image, same kernel, same dtb name and contents. - test_dtb_deploy_images Same machine, same distro, different images, same kernel, same dtb name and contents. Both fail with: ERROR: mc:phyboard-mira-bookworm:isar-image-base-1.0-r0 do_copy_boot_files: The recipe isar-image-base is trying to install files into a shared area when those files already exist. Those files and their manifest location are: NOTE: recipe isar-image-base-1.0-r0: task do_copy_boot_files: Failed build/tmp/deploy/images/phyboard-mira/imx6q-phytec-mira-rdk-nand.dtb (not matched to any task) Please verify which recipe should provide the above files. Signed-off-by: Anton Mikanovich --- testsuite/citest.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/testsuite/citest.py b/testsuite/citest.py index ab28b68e..ca701422 100755 --- a/testsuite/citest.py +++ b/testsuite/citest.py @@ -677,6 +677,39 @@ class WicTest(CIBaseTest): ) +class DtbDeployTest(CIBaseTest): + + """ + Build some targets potentially causing DTB deploy issues. + + :avocado: tags=dtbdeploy,full + """ + + def test_dtb_deploy_distros(self): + """ + Cover case: Same machine, different distros + """ + targets = [ + 'mc:phyboard-mira-bullseye:isar-image-base', + 'mc:phyboard-mira-bookworm:isar-image-base', + ] + + self.init() + self.perform_build_test(targets) + + def test_dtb_deploy_images(self): + """ + Cover case: Same machine/distro, different images + """ + targets = [ + 'mc:phyboard-mira-bookworm:isar-image-base', + 'mc:phyboard-mira-bookworm:isar-image-ci', + ] + + self.init() + self.perform_build_test(targets) + + class NoCrossTest(CIBaseTest): """