From patchwork Thu Feb 26 16:26:12 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhihang Wei X-Patchwork-Id: 4908 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 26 Feb 2026 17:26:25 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f63.google.com (mail-wm1-f63.google.com [209.85.128.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 61QGQNpr009000 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 26 Feb 2026 17:26:24 +0100 Received: by mail-wm1-f63.google.com with SMTP id 5b1f17b1804b1-4836cf00787sf22562535e9.1 for ; Thu, 26 Feb 2026 08:26:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1772123178; cv=pass; d=google.com; s=arc-20240605; b=lH7UulWFsk+F5iNbdhzJSAZelEbybigW+tGIhGnMjWrprd+RyHb+zBD7rcjc/GVzYZ HUsdcaR97rd0JZTUuWMcYrkQAxpvyE0dAxT10RC8E1NAjdvLLaQp8ulDjavQPHh124sN X2jOOvEXSiCJ+HhTn5ZtKqFx1wp/JldS9zhfj6lQs0+yNVCb2bf4j9botq2SncTL1Yhn VN9lM3LGPP3UF3SZtSoG8dQDNtfp98NtdlEUphuqe4rcp24Xn78b1iJEOMXHh+kP0OCQ 7wSji9pbNSwNURdVO7N6+1IqTbAsUMlG+tsz48BuT5qzivG6TYcR9pMSzVlsRgAoUs3G 3PEw== 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=0FQyBREGLbCiibalMSfLbOeYFvn3uDxM0ZljUCHvY+I=; fh=hq2TZlGsns+TLCFFXvcLXPwF51xzoqSR5Ec6j7QEapw=; b=HnzgdlXviSc15iAVND0Gstdswdwr9IVry5LimjilCUDtK+HqvRVs+i4MvyJRqCF7wo Uan8rXnYfsxrTbcjD/8VxHBBjB3C/oSJ9fpZlBt9Z4oyJIopj8RvopPwiyIrHyuFKj5r Ahq9kHXZ3GTQlFZIRbx3+ADS7l2Mx3elYJVmEu/1O1it1NoezHwy/ZwQwbdQRoir1ka4 TBcZT+NYZs6+tZQlgYY7HKmycbyqxDJAWUh3H353yXK+rpypxfWjPjlXeC9uF354gQPj 2RWFLsl0N2YeHQac+AS7roUqp+UdFrTksARfn8UABkoCXI9nZxylH1NJKLFTBRBIlFO3 mT1g==; 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=1772123178; x=1772727978; 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=0FQyBREGLbCiibalMSfLbOeYFvn3uDxM0ZljUCHvY+I=; b=fjBcQx9xNaQ0tSNUTAIL5r0URwQ/Ut0uxrXclgeJIkWFWBiVV/iahGPYsS8ux+KMK0 4epec6TEupxNQssdr7VAov2Db4idTIad+idM2mh+WgpoxoeBCYhC/tUa2/82E7bZsHo3 av7CdWnngs2c1DJMlL5RWnADjZMyRxQS9HepBabhYZPtpyLtS9IHydRrmvq8oC3EvtRy Cb5H1IDoZDh8OnDpufrj+N4SjM/lYNMDEyZBq/CN4Bzg5ZVLjXQ4Juv+EIl3g5qD64iY ++xVJSC2/L1z8GCWWajk2ey/3AJ5lTVLw53ubK9nRvHhXIv17PkWDbqUnyT859BIO5J/ GppQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772123178; x=1772727978; 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=0FQyBREGLbCiibalMSfLbOeYFvn3uDxM0ZljUCHvY+I=; b=bAcuccp6/lUEbC//CbtPewr6r2aaEvZXhZlig0dLv/YosF1LwU757nh3b6rlO7UH9v qC5QW2W5dLGKPif/QTZEnyiUmV6RwgpHTVnHx9namU7TIu2Rkmy4dowHqFLeECrd9Sig FtAEqHbeuGpVoFdNAA8cn5ywwBDzB/WkDU6hP3lojXTUUXe8zZ5Gj0xTXVADBu6f75hg qCQOgBTihCvg5H7LVfumvl2ws/9RiLswd7RZk2cSbPOa5OO4m6fJmckYqQArWlwbR5VY igAzTaGxcwdopXzFF5suvMFeDbBBqw1X+SLF1E5VZPqDTmBTtaCd/r3xXmhpHlXX634q 2/ZQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUBxT3FlGlwRsC/H7+dYNs6Bg6BrB7CKCcIUv08k/TOd4nYE4aMG9Gvl/1ATuW4nVhZysP2Dm0=@isar-build.org X-Gm-Message-State: AOJu0YyKMS4Bph6cqOLhy0f/OeDvdVU5h4YHTwXE4tq2S/BVvxdrTRpD 7eyAs5Jv34eRsvpUVbhozyi+yt3nQIhImdZdd50se7U3r21Ju7wHdV/o X-Received: by 2002:a05:600c:2307:b0:483:6cf0:5d8b with SMTP id 5b1f17b1804b1-483c33e4f63mr41362995e9.9.1772123178297; Thu, 26 Feb 2026 08:26:18 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="AV1CL+Gmgue32bzhBO2SJAw8k9wfcb3R4afGnjBgT+62DELfxw==" Received: by 2002:a05:600c:4749:b0:477:9600:cba2 with SMTP id 5b1f17b1804b1-483b8dc3ec5ls11265325e9.2.-pod-prod-00-eu-canary; Thu, 26 Feb 2026 08:26:16 -0800 (PST) X-Received: by 2002:a05:600c:34c9:b0:483:6d9e:e4f5 with SMTP id 5b1f17b1804b1-483c33cccafmr57932665e9.5.1772123176153; Thu, 26 Feb 2026 08:26:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1772123176; cv=none; d=google.com; s=arc-20240605; b=jNDOVkJsRpcEbOY21S02BrwcrFPhb159oQTEFo+oU0XD+RrC/Q/RXeRMJ+ULoYrOs9 XviWinDK5O9ClRhjPFG28YZ2aGNr8qruwdfdKFsm6VD1N5rjY100kgNMXdZmnpkAcPjt dLoV5jUzvwe7oVi1zjauxdoKEHqnjkYoHzwq/rRkmWrZg4wtdl4RJ7dP9gr8uBrO91me x9l+CipmIt02jmvtSA1hZ/yBOFLOFHIQlDoiyzF4teFJjeG8mE/131V5R3DV7hC9YYt8 A6HJO64CWJr+XE4S6ynhKoWQCTPi7Pj2gUOWN8OMEkBzJHyeNWWF0f8rXSUch+BUED0K 6vEw== 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=UNRm6Pke6ZB/0/wXCLqzyDnJRr8YGvhc6pkT2h0//AzhkqRUAwzqLhV7q6SLRIhPaU m1Rkh7dxhE0numiE0pL+mP29zGfCFmPRPf1+3O4O5bMdaA6CHaaGdQR5qdFcW+tL7SzM gyoDaWIj7eGO6aZNXLJEMG4kB3vh0W0brzmWqIk/6uWELfAuZ4EnBCToVKitQ8JeS8W6 KobQuGhALloxSDJdSFmh3q/GK843yDy5o1cM+yEHnMedbihqogdH17rOQqE32x1sk+n1 f2L+Dh4UAEWdI/Oo8+50Dem4y/KWXU/c0ffaIC445zUItsCkFLPSDflpVJ2eqjO7JwkK IjEA==; 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-483bfab8f56si1068045e9.0.2026.02.26.08.26.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Feb 2026 08:26:16 -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 localhost.localdomain (dslb-088-074-195-234.088.074.pools.vodafone-ip.de [88.74.195.234]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPA id 61QGQEXW008973 for ; Thu, 26 Feb 2026 17:26:15 +0100 From: Zhihang Wei To: isar-users@googlegroups.com Subject: [PATCH v7 2/3] testsuite: Add testcases to check dtb deployment Date: Thu, 26 Feb 2026 17:26:12 +0100 Message-Id: <20260226162613.1954014-3-wzh@ilbers.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20260226162613.1954014-1-wzh@ilbers.de> References: <20260226162613.1954014-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): """