From patchwork Tue Mar 18 14:02:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uladzimir Bely X-Patchwork-Id: 4110 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 18 Mar 2025 15:06:42 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-il1-f191.google.com (mail-il1-f191.google.com [209.85.166.191]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 52IE6eD0022661 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 18 Mar 2025 15:06:41 +0100 Received: by mail-il1-f191.google.com with SMTP id e9e14a558f8ab-3d2b3882febsf48344055ab.1 for ; Tue, 18 Mar 2025 07:06:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1742306794; cv=pass; d=google.com; s=arc-20240605; b=keuurpcSfMTrXshGEDUYMt1rf+vgM7Pq4n3uUwH+1tcfHwvM3uAT44EFsCDHrfQHdv iMiB+ZcpbJF6i/G3jzuK9wmqVemW8oZCSZxEL9V6Koo38Nwqz0YdEc55Css/+skk+qOQ XqLJR+BkfwZEIS/Q4tFu4+f6LGcdX8dZ0lTWwin8oLBCeE0dC6l9RGCdZd3YkYyaxtXy 8KfoPl3+3TFPBqJJ2pFjNhpudPlKAn+JV936VU7eP1FuVG6viQQKge7GhDBrA92/auzM S7Bdc/XhajCDogsqp2zho9jI6tutOuAnsrUpRx4t+cCHA1T0uCOsWN7iBlD+ToDDeGIS HCKg== 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=L9MGGVxhTfTBPi+nwLmFKF1EjsDK0CGKk1IVxRWjlaE=; fh=yOAPaxDadvMVAXt+2o4k1/9ZLECxLSghV5lNLkCgYgo=; b=hq1KT1tOxmQ3RV4ZZeZBhbbYcZ8DY0l29e2rZJK+roDfDiZ313gV1phhlBF6SEm3po YXjfQPe61NmDOeLj9gzwYSinkk2mWUMDp2KwTwcbLZqJDJODygLD0mR8QhpJp4iqmKIJ ohS8fpVEhjB4kY1hlkPbr+K9em+wj+BvPNwltcWqZ2fh/YbdZG+Sd7wxuWHBKinXEOB7 Lq9D3CH81hclcs97EbFcz5BQ+PbxcvuYStH4shYwcFMY5ByrshQuND9Of7crugIZZoc8 t/incAD4g7J+OiomJYlRLj+j3whDijNBb3WSWDdwrTsgYXhzj+BtAuFx0fwWXh4jBIvB wr8w==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1742306794; x=1742911594; 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=L9MGGVxhTfTBPi+nwLmFKF1EjsDK0CGKk1IVxRWjlaE=; b=HSUBMxb1HmIaAy/Vu/rwoKddJGAogM7GtiOJV1OPFV9tEhqUVHACabnynifgyb2CEC 79ZRr1540MgSgpoqKd0wgDuAqxLHMSxqvoUO3GihrbhnCOJO2nHT1TQlls7/2kkg3MXj Xk8plbjxLCYjxMU+Aal8p1M+xnmdzShbF5weFH3IJKte/6FYVisK090whb9KThuWZWsx 8PpZvm75H+R+xgvw1LpstmlIvRLkeUg6iQQiSvHCa7D0PDwpgvQuDtEdLLhCHHAH5h/U YxzZszIy0sKDZtFZpEdxWpkEJif25W08+hDL3FGnPrRmTVpcopsuf6KmhjP6iau14i7K +3DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742306794; x=1742911594; 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=L9MGGVxhTfTBPi+nwLmFKF1EjsDK0CGKk1IVxRWjlaE=; b=vB/hMOPN0z6qlfodew8pfi+6yHZCP0sNhm1LS+AsPaooPs+dolNMqq4ewldpLLcBW/ 7tRI1m07ZNJ91uP5SrxE5Jk6awIO8f4pkHIL4lxbdtDitJF9Sv+8/RFAqmO76RH5He/g SFBL4IoJAE4qFEd3DJs7tF31/A7LWHrESgpWAO2gSZpMu31IwQi9c0QnJ/IEiPo3DwSw ISIMegXPTbJKTUXuxYzD1JUfcCWJZKcOHmtbTrjW9rHmUe3gzrnKK2p/sONXy3o9XLvj iDte4YrMiBw4xnrfxk7gNKaoi7g8k+wwWGU2yLILbcsx7v6I1/q1Mr14+0GG2tvJm0d4 oixw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWVNWdZYmoTYMRMCPxEYPSXJ7tohgLrl7gGXpEB5ciOsxyKM+OMcXFc0clSHTB8AuuEAr1CQC4=@isar-build.org X-Gm-Message-State: AOJu0Yww3oyTGgEx9WaGTAATdOqNMeOLZdd4Xb2E1yIawPmIGbHkcCyi CU73Jv/XEOAhoZknDVRiH8lGUeh+cfmHSQJifEa6n7OkEXhkxaiK X-Google-Smtp-Source: AGHT+IEMtZgb8eMVokk32LFOsDBxAo6am+lsm5baIRYYrABjdbYJI2TgSwKJ4mqBRe9Tpib2XIXNjQ== X-Received: by 2002:a05:6e02:b41:b0:3d4:4134:521a with SMTP id e9e14a558f8ab-3d483a2b1ecmr156441525ab.12.1742306793866; Tue, 18 Mar 2025 07:06:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h=ARLLPALEEsyDAVRSHJYWc2+rsZYlblhKkUMPCx00pKDgqMxsYQ== Received: by 2002:a05:6e02:180b:b0:3d3:e25e:e66d with SMTP id e9e14a558f8ab-3d478824f82ls3539605ab.1.-pod-prod-04-us; Tue, 18 Mar 2025 07:06:32 -0700 (PDT) X-Received: by 2002:a05:6602:4084:b0:85b:59f3:2ed3 with SMTP id ca18e2360f4ac-85dc4832c03mr1900949339f.8.1742306792604; Tue, 18 Mar 2025 07:06:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1742306792; cv=none; d=google.com; s=arc-20240605; b=WGHU+Zs7pcibXVmlSNS3DKxMCJPKQEaWdQnGqjVSR3Eid6h3+gKw+iWAAtLLrcmt4Q /nCuwPFEzZlXP9E0LjBLkWrn8ikzgHfUGQgmK682IaTY4JyzStmNQMLhMAkW8fJGbIQD f3pzvLnKzApBTsxWFoZ5c6AeqEWO1thBPWeiu07Y5Zh5nWYTqf2Xqh7agIS9B3sVPeof 1Pyrs7iXcX0VKGcv3ih7B1r6vGpGiiwpojx0XlO+unHVewFVzs/5j+xEjDKP1SbVwBPI oVcegDSyeKSCDOaDi8Y2+Lfwq8f+qnZ1eg2fH1LiMG1Zz/r30w0OdXViRSKttNT+XDcY H86A== 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=c0keneesWELs/MDTvsMdX2efUngLyPE7+0JAtFV8gGQ=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=WWaB4aK7JkO6x3saBt3qZvo8+fD9RR3mms/5EDIasXm6koxM2tHYofLs8c1AMXbgk5 ICBPQh5+78u/ca83wR7Q8j6+HAeBmPjmAqnLA9TMz4uJgEgc93ff9ljTARfiZzABj3CJ LiAWqVnQg758p2d9taGssJ53M/z6LDBLUlR/qSOuRFqXiK6S8+fklq/ytqNK3cvhC3xr Za3bKP0JN87Nog2XQGCLjxLOnPtNUvOX9TWS2Snvt3lDZdH7eIpnHYqN0pwJIsJkrr2n ryZ2S6QFCjP7hNU16ToiZ/jaG2gSBbf4o9Ojcw0g/UdfIGBOt4qaqtR3qsrj2+uN5Xp3 64Dg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 8926c6da1cb9f-4f2637ff63csi492578173.4.2025.03.18.07.06.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Mar 2025 07:06:32 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from hp15.localdomain (mm-54-5-214-37.mogilev.dynamic.pppoe.byfly.by [37.214.5.54]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 52IE6S2l022611 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 18 Mar 2025 15:06:30 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v3 2/4] testsuite: Disable "snapshot" feature for installer image. Date: Tue, 18 Mar 2025 17:02:15 +0300 Message-ID: <20250318140622.13676-3-ubely@ilbers.de> X-Mailer: git-send-email 2.45.3 In-Reply-To: <20250318140622.13676-1-ubely@ilbers.de> References: <20250318140622.13676-1-ubely@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: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@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?= In the testsuite we use qemu-system with "-shapshot" optiop with wic images thus preventing them from unwanted modification by tests. For installer.wic it's reasonable to disable this feature so that bmaptool will write directly to "installer.wic" instead of temporary file used by qemu for providing snapshot features. It also allows to mount it after build for debugging purposes. --- testsuite/cibuilder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuite/cibuilder.py b/testsuite/cibuilder.py index 52eb35e8..eb5de190 100755 --- a/testsuite/cibuilder.py +++ b/testsuite/cibuilder.py @@ -236,7 +236,8 @@ class CIBuilder(Test): f.write(f'DISTRO ?= "{installer_distro}"\n') f.write(f'MACHINE ?= "{installer_machine}"\n') f.write(f'QEMU_DISK_ARGS = "-bios /usr/share/ovmf/OVMF.fd"\n') - f.write(f'QEMU_DISK_ARGS += "-hda {install_target}"\n') + f.write(f'QEMU_DISK_ARGS += "-drive file={install_target},'\ + 'if=ide,bus=0,unit=0,format=raw,snapshot=off"\n') f.write(f'QEMU_DISK_ARGS += "-hdb ##ROOTFS_IMAGE##"\n') # include ci_build.conf in local.conf