From nobody Sat Feb 7 05:49:21 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1769524126; cv=none; d=zohomail.com; s=zohoarc; b=hWGZDqfxfGcWFPao5bXry645WYJtY6GSXu/kuXHRTNxl1RB5cFm5uZEWhpBc+yxou42FmjUUIHL8zOBZzQH6HxnyR4aWTSaruvyFkNsV5Xx2FDWaOlLvwQPf/8CirTI1rD9C/eFYXhkqJBGIHWd+JkJREyHFQcWcUF8lVY8D3Bk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769524126; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=7tbZk7kKvr/QHmajzAyPefU5UXlH0HA6YDOdEBNq1qA=; b=Zqhive9YFFUgCCDKBWc14YFYNWx9PKNaPHeaSSRWAzE/nWBo1cIgewnKSmNtWncVYouDV2mtPnyD+EyvEJLlZOC1LQp8Y5hgrc6hXhZiE2xAmnBG9HAP7JrLv2Rm0sH0RiJzDMLN0mv8vzpXtb8yj66jMofrRKRrPeL2koN8eFA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1769524126127485.4918040293592; Tue, 27 Jan 2026 06:28:46 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vkk2W-0006CI-H5; Tue, 27 Jan 2026 09:27:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2P-0006Ad-NS for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:25 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2M-0003ab-BU for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:24 -0500 Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-327-d9jj_lo_MzurQ4QRibKLqQ-1; Tue, 27 Jan 2026 09:27:18 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D27211800350; Tue, 27 Jan 2026 14:27:16 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.45.224.209]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 4B9E618001D5; Tue, 27 Jan 2026 14:27:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769524041; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7tbZk7kKvr/QHmajzAyPefU5UXlH0HA6YDOdEBNq1qA=; b=Hf99dxwMRNUfXbIsy7knqC2af7p1pT3mRilFb/jtMY75O8DQS6qmMjol2rfSf7aJ9bRX0p 7gkULdnaSrcZ5SfzRABFaEEfa58KPOp+lgQfpoGlgc9/Q3RckB/vxW5Y9zRLT7ie6gDdA+ z+5C59b2nywdbBOhcg0NqcmmlS23ksM= X-MC-Unique: d9jj_lo_MzurQ4QRibKLqQ-1 X-Mimecast-MFC-AGG-ID: d9jj_lo_MzurQ4QRibKLqQ_1769524037 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Michael Tokarev Subject: [PULL 1/9] gitlab: preserve base rules for container template Date: Tue, 27 Jan 2026 15:27:02 +0100 Message-ID: <20260127142710.131904-2-thuth@redhat.com> In-Reply-To: <20260127142710.131904-1-thuth@redhat.com> References: <20260127142710.131904-1-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1769524128850158500 From: Daniel P. Berrang=C3=A9 When extending the container template to allow scheduled pipelines in upstream context, we must ensure that all the existing rules defined by .base_job_template are preserved. Fortunately since the new rule for scheduled pipelines can come at the head of all other rules, not in the middle, we can just the obscure '!reference' syntax to pull in all the pre-existing rules as a single block. This fixes * stable branches using the wrong tag name in container images * pushes to forks unconditionally running container builds Fixes: 8bec7b9874235e60f14172618121c60fdbd39302 Signed-off-by: Daniel P. Berrang=C3=A9 Tested-by: Michael Tokarev Fixes: 8bec7b987423 ("gitlab: add a weekly container building job") Message-ID: <20260119135528.2738108-1-berrange@redhat.com> Signed-off-by: Thomas Huth --- .gitlab-ci.d/container-template.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.d/container-template.yml b/.gitlab-ci.d/container-t= emplate.yml index b92e96b0fc5..6eaa2f804df 100644 --- a/.gitlab-ci.d/container-template.yml +++ b/.gitlab-ci.d/container-template.yml @@ -23,6 +23,5 @@ - docker logout rules: # because we want to enable this for scheduled runs we also have to re= plicate the normal rules - - if: '$CI_PIPELINE_SOURCE =3D=3D "schedule"' - - if: '$CI_PROJECT_NAMESPACE =3D=3D $QEMU_CI_UPSTREAM && $CI_COMMIT_BR= ANCH =3D~ /^staging/' - - if: '$QEMU_CI && $CI_PROJECT_NAMESPACE !=3D $QEMU_CI_UPSTREAM' + - if: '$CI_PIPELINE_SOURCE =3D=3D "schedule" && $CI_PROJECT_NAMESPACE = =3D=3D $QEMU_CI_UPSTREAM' + - !reference [.base_job_template, rules] --=20 2.52.0 From nobody Sat Feb 7 05:49:21 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1769524084; cv=none; d=zohomail.com; s=zohoarc; b=HYg3bDivrryail6a6CCaqlw+0tTpul3WgfNXZ/8UXNeDyteujRX5uqcTwWHQcn9I89KpjKkP9D3fJDoak8l73sZu3D+G12ftYMeFzA98vpmZj5G8CtVBgtSex4EECaV/COQXWgratz18KeK0cPlWcIQeEyS0ZJYGkEpmPEOTk+k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769524084; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=xd+J+kC6FF+J4mj4PN6QRazhOO2ZO0Utc1aEYak0KzA=; b=D80GyXKJXMcFDXI+O183Q9hkVb2WiWLp/AhV8ju6skQ8CsVP2ddalExM6Ph8ytHohz5HITgJu1O/hvBcKlYaIvnrpAd39DZnCjYHf/K5NMrbDU2YxN/wTZBckf3noJIKuZAXhkfPXsxnCicHl+BmSjeu4Ng7+vHg86+QEbTVcFQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1769524084874525.0375026511322; Tue, 27 Jan 2026 06:28:04 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vkk2X-0006CX-D9; Tue, 27 Jan 2026 09:27:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2P-0006Af-Nm for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:25 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2N-0003as-LE for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:24 -0500 Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-502-stAkxvQaOLWZFToyOTAkkQ-1; Tue, 27 Jan 2026 09:27:20 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id EC1111956089; Tue, 27 Jan 2026 14:27:18 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.45.224.209]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 5883F180049F; Tue, 27 Jan 2026 14:27:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769524042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xd+J+kC6FF+J4mj4PN6QRazhOO2ZO0Utc1aEYak0KzA=; b=XJ8kifZvkIf4zy8kHTQ20I332AOV2dC8bUFIgmY9jBaxx7MznD43d2AMdM+2IxWF2++pq+ jYN3qvxKfNBlcdCSjc8IfQ5Pxzps3OXvOybZBbbgWlMgNHwPergBmshE1TpNlQwQs/UNlD EOmJuLxLePdKF2xCshu4EXvI1OqNsa0= X-MC-Unique: stAkxvQaOLWZFToyOTAkkQ-1 X-Mimecast-MFC-AGG-ID: stAkxvQaOLWZFToyOTAkkQ_1769524039 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Chao Liu Subject: [PULL 2/9] tests/functional/riscv64: Silence warnings from Pylint in the boston test Date: Tue, 27 Jan 2026 15:27:03 +0100 Message-ID: <20260127142710.131904-3-thuth@redhat.com> In-Reply-To: <20260127142710.131904-1-thuth@redhat.com> References: <20260127142710.131904-1-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1769524086120158500 From: Thomas Huth Pylint complains: tests/functional/riscv64/test_boston.py:1:0: C0114: Missing module docstring (missing-module-docstring) tests/functional/riscv64/test_boston.py:95:8: C0415: Import outside toplevel (subprocess.run, subprocess.PIPE) (import-outside= -toplevel) tests/functional/riscv64/test_boston.py:112:17: W1510: 'subprocess.run' used without explicitly defining the value for 'check'. = (subprocess-run-check) tests/functional/riscv64/test_boston.py:95:8: W0611: Unused PIPE imported from subprocess (unused-import) Rework the code a little bit to make the linter happy. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Chao Liu Signed-off-by: Thomas Huth Message-ID: <20260116095615.269199-1-thuth@redhat.com> --- tests/functional/riscv64/test_boston.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/functional/riscv64/test_boston.py b/tests/functional/ris= cv64/test_boston.py index 385de6a61df..2582df96f21 100755 --- a/tests/functional/riscv64/test_boston.py +++ b/tests/functional/riscv64/test_boston.py @@ -1,11 +1,14 @@ #!/usr/bin/env python3 # -# Boston board test for RISC-V P8700 processor by MIPS -# # Copyright (c) 2025 MIPS # # SPDX-License-Identifier: GPL-2.0-or-later # +""" +Boston board test for RISC-V P8700 processor by MIPS +""" + +from subprocess import run =20 from qemu_test import QemuSystemTest, Asset from qemu_test import wait_for_console_pattern @@ -92,7 +95,6 @@ def test_boston_invalid_cpu_count(self): """ Test that 65 CPUs is rejected as invalid (negative test case) """ - from subprocess import run, PIPE =20 fw_payload_path =3D self.ASSET_FW_PAYLOAD.fetch() rootfs_path =3D self.ASSET_ROOTFS.fetch() @@ -109,7 +111,8 @@ def test_boston_invalid_cpu_count(self): ] =20 # Run QEMU and expect it to fail immediately. - result =3D run(cmd, capture_output=3DTrue, text=3DTrue, timeout=3D= 5) + result =3D run(cmd, capture_output=3DTrue, text=3DTrue, timeout=3D= 5, + check=3DFalse) =20 # Check that QEMU exited with error code 1 self.assertEqual(result.returncode, 1, --=20 2.52.0 From nobody Sat Feb 7 05:49:21 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1769524135; cv=none; d=zohomail.com; s=zohoarc; b=hiSedmjySnIa2wurZMZiNBzWhLFE7kGvmHAS25q1llixeSNiInkbHhrdglzmneANra6Nle/T+aQI2lKeCMDFMSSPXcxQ7tFABQXnzAq2JX+MWLpunoPZ5tbXtrfYi8T52YP8oY9AKxRusUajAxCPUPSRsUaiM64dwdhHsaF0JIc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769524135; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=3gcl3Dbzs1jyEG1yBKpjfMi+5eNyPUahQKGJSe7GrLo=; b=T6lSlI1I99p1+hb4dYpscC4Y4N6Z3DfXIV4OAi0bs9cJrYhQbgSHXseRItFdLwMRCU0aDNNsf6t8PCN5z2LqnHMonIoYsWMabpDXnW0ym+L4QBL551gIjKY7bHBDoZeQ4KGx0U2rI3qz9U9tAI6EkpR5Mj5iIEfZHElOeJgIPfE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1769524135446924.2366030475546; Tue, 27 Jan 2026 06:28:55 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vkk2h-0006Hq-6L; Tue, 27 Jan 2026 09:27:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2R-0006An-Lz for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:28 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2Q-0003bH-9N for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:27 -0500 Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-10-bth3LGysNB-B1pruoLqPMw-1; Tue, 27 Jan 2026 09:27:22 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 3AB0C1800370; Tue, 27 Jan 2026 14:27:21 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.45.224.209]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 926A818001D5; Tue, 27 Jan 2026 14:27:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769524045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3gcl3Dbzs1jyEG1yBKpjfMi+5eNyPUahQKGJSe7GrLo=; b=IgKFfFMHA7oOSKQYnIRiVKXFYd0ITEnyACsj2KX79lWaSnj28bg92pDXKvTeAhj6hzhD51 zFvZyySDnIhLGAph+Ojx4o2p3K7feNwYoiczd9n7VSIvYHhWBOAX6E6izBUyL6U5PfqZAX IB5yXJxHNwpiI06OPRbgEoRWG0EI9eY= X-MC-Unique: bth3LGysNB-B1pruoLqPMw-1 X-Mimecast-MFC-AGG-ID: bth3LGysNB-B1pruoLqPMw_1769524041 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Zhao Liu Subject: [PULL 3/9] tests/functional/x86_64: Limit the memlock test to Linux hosts Date: Tue, 27 Jan 2026 15:27:04 +0100 Message-ID: <20260127142710.131904-4-thuth@redhat.com> In-Reply-To: <20260127142710.131904-1-thuth@redhat.com> References: <20260127142710.131904-1-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1769524151046158500 From: Thomas Huth The memlock test analyzes /proc/*/status files and expects the layout from Linux in there. However, these files also exist on NetBSD hosts with a completely different layout, causing this test to fail. Thus limit the test to Linux hosts now. We already have a decorator to skip a test if it is running on a certain host system, but in this case, we rather want to skip if we are not running on a specific host system, so introduce a new @skipUnlessOperatingSystem decorator for this job. Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Zhao Liu Signed-off-by: Thomas Huth Message-ID: <20260121111140.99482-1-thuth@redhat.com> --- tests/functional/qemu_test/__init__.py | 4 ++-- tests/functional/qemu_test/decorators.py | 12 ++++++++++++ tests/functional/x86_64/test_memlock.py | 3 ++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/tests/functional/qemu_test/__init__.py b/tests/functional/qemu= _test/__init__.py index 320193591b2..03e5c73d39d 100644 --- a/tests/functional/qemu_test/__init__.py +++ b/tests/functional/qemu_test/__init__.py @@ -15,8 +15,8 @@ from .linuxkernel import LinuxKernelTest from .decorators import skipIfMissingCommands, skipIfNotMachine, \ skipFlakyTest, skipUntrustedTest, skipBigDataTest, skipSlowTest, \ - skipIfMissingImports, skipIfOperatingSystem, skipLockedMemoryTest, \ - skipIfMissingEnv + skipIfMissingImports, skipIfOperatingSystem, skipUnlessOperatingSystem= , \ + skipLockedMemoryTest, skipIfMissingEnv from .archive import archive_extract from .uncompress import uncompress from .gdb import GDB diff --git a/tests/functional/qemu_test/decorators.py b/tests/functional/qe= mu_test/decorators.py index 807418359ab..fcf236ecfdf 100644 --- a/tests/functional/qemu_test/decorators.py +++ b/tests/functional/qemu_test/decorators.py @@ -57,6 +57,18 @@ def skipIfOperatingSystem(*args): 'running on an OS (%s) that is not able to run this test= ' % ", ".join(args)) =20 +def skipUnlessOperatingSystem(*args): + ''' + Decorator to skip execution of a test if the current host + operating system does not match one of the allowed ones. + Example: + + @skipUnlessOperatingSystem("Linux", "Darwin") + ''' + return skipUnless(platform.system() in args, + 'not running on one of the required operating systems (%= s)' % + ", ".join(args)) + def skipIfNotMachine(*args): ''' Decorator to skip execution of a test if the current diff --git a/tests/functional/x86_64/test_memlock.py b/tests/functional/x86= _64/test_memlock.py index f970a2c3095..d88843ab5f9 100755 --- a/tests/functional/x86_64/test_memlock.py +++ b/tests/functional/x86_64/test_memlock.py @@ -14,12 +14,13 @@ from typing import Dict =20 from qemu_test import QemuSystemTest -from qemu_test import skipLockedMemoryTest +from qemu_test import skipLockedMemoryTest, skipUnlessOperatingSystem =20 =20 STATUS_VALUE_PATTERN =3D re.compile(r'^(\w+):\s+(\d+) kB', re.MULTILINE) =20 =20 +@skipUnlessOperatingSystem('Linux') @skipLockedMemoryTest(2_097_152) # 2GB class MemlockTest(QemuSystemTest): """ --=20 2.52.0 From nobody Sat Feb 7 05:49:21 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1769524112; cv=none; d=zohomail.com; s=zohoarc; b=CahpMA5adGNMNKfBselma2fMMygaf/VRo1PLFbHfe5UCirsaa21FzeEszQfNIV8ncXM7HsS7ae3k/xOTDYnOzNPRcVJSe22JlcQTyic5Rfhzsn3THGzaGd+CJI4ORjS04AANDaQPNMOSKO2smpLG29erM4RcuW0Bp/xfGzEDlAM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769524112; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=46Z3aYCwOkKhlvtkaL8asS4eqySRO8FYDHF3vG+bbWg=; b=jg0Wt1XqfjlMONf1VUAyU/NRUjra14/U3NvglthYIm/fn2snGJ87d1K/sJkp6P6l04HrvriRbU8r5PzI/yrFyovP3K4sN4f8VgYm1MwXqi3DhspvAbW7ikOFm4wqbfFyBzmFm5bSBr+A0Q1U9z90DezACkrKJOhE+rzYqs6Jwh4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1769524112346245.842201100363; Tue, 27 Jan 2026 06:28:32 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vkk2i-0006Jq-U5; Tue, 27 Jan 2026 09:27:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2W-0006Ce-PW for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:32 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2U-0003bf-8b for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:32 -0500 Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-212-7MrgcSBdNvGqnoZJcucARA-1; Tue, 27 Jan 2026 09:27:25 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 8CFF31955F2C; Tue, 27 Jan 2026 14:27:24 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.45.224.209]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id EC8DB18001D5; Tue, 27 Jan 2026 14:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769524049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=46Z3aYCwOkKhlvtkaL8asS4eqySRO8FYDHF3vG+bbWg=; b=En3brGyAg1Mk9XI2vczaI++ksN+7WRVl3WBa7ffxEQ96B1LT0KHxHl/aj0d/h3m27Q9M1t /w9ikQfk4RFLpkIIhrA5z88HcymSj4TILZMnvUKwOlj0GRGWyPKaCE8P5iPHxBgJK9nhqw 4dWY0cueBSLcGOdxBXS5jOU3GVePTMs= X-MC-Unique: 7MrgcSBdNvGqnoZJcucARA-1 X-Mimecast-MFC-AGG-ID: 7MrgcSBdNvGqnoZJcucARA_1769524044 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Fabiano Rosas Subject: [PULL 4/9] tests/functional/x86_64: Use the right Python interpreter & fix format string Date: Tue, 27 Jan 2026 15:27:05 +0100 Message-ID: <20260127142710.131904-5-thuth@redhat.com> In-Reply-To: <20260127142710.131904-1-thuth@redhat.com> References: <20260127142710.131904-1-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1769524113800158500 From: Thomas Huth The bad_vmstate test currently fails if the host does not have a "python3" binary in $PATH because the vmstate-static-checker.py script is executed directly, so that it gets run via its shebang line. Use the right Python interpreter from sys.executable to fix this problem. Additionally, there was another bug with the formatting of the error message in case of failures: The "+" operator can only concatenate strings, but not strings with integers. Use a proper format string here instead. Reviewed-by: Daniel P. Berrang=C3=A9 Acked-by: Fabiano Rosas Signed-off-by: Thomas Huth Message-ID: <20260114101101.36225-1-thuth@redhat.com> --- tests/functional/x86_64/test_bad_vmstate.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/functional/x86_64/test_bad_vmstate.py b/tests/functional= /x86_64/test_bad_vmstate.py index 40098a8490b..71a1c0cf638 100755 --- a/tests/functional/x86_64/test_bad_vmstate.py +++ b/tests/functional/x86_64/test_bad_vmstate.py @@ -5,6 +5,7 @@ '''Test whether the vmstate-static-checker script detects problems correct= ly''' =20 import subprocess +import sys =20 from qemu_test import QemuBaseTest =20 @@ -41,12 +42,13 @@ def test_checker(self): 'vmstate-static-checker.py') =20 self.log.info('Comparing %s with %s', src_json, dst_json) - cp =3D subprocess.run([checkerscript, '-s', src_json, '-d', dst_js= on], + cp =3D subprocess.run([sys.executable, checkerscript, + '-s', src_json, '-d', dst_json], stdout=3Dsubprocess.PIPE, stderr=3Dsubprocess.STDOUT, text=3DTrue, check=3DFalse) if cp.returncode !=3D 13: - self.fail('Unexpected return code of vmstate-static-checker: '= + + self.fail('Unexpected return code of vmstate-static-checker: %= d' % cp.returncode) if cp.stdout !=3D EXPECTED_OUTPUT: self.log.info('vmstate-static-checker output:\n%s', cp.stdout) --=20 2.52.0 From nobody Sat Feb 7 05:49:21 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1769524120; cv=none; d=zohomail.com; s=zohoarc; b=eNeji9rU2s+iXw2CBSLt7whE1HFc4NWvGjwVFA0Dp7eOIL/XEzBtMx+3BgjRVPgFKVVimJs/ib5W/Qet13c20sxACRlNePPAatbLmcv13X448T858qLORpuzRs4isoBBv9XqXLXJmnfnHb1K19JmYJgF2GkwtXdXy1Otv/ynb+s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769524120; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=GgFLReW1kZW4cDB2r4cSefGbixkm2NtWdAy8Whc9s4M=; b=LTPockCC7p0Z4tV48kKvhimjQPH/w7GU2nZOO8nqblVP3jHbBJV0gi0Y9tZbTdWZqDJ7QNmDk4CqA3oDeDBXke8km3ZWV0vFqJUrxIUcO6kpUcSLYqVxpOJQV2uvBoFctYnhFf/JTTWZhnpHNs2rf+r95j5ZsL9AOCWU5rHF9lU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1769524120626680.9094525513503; Tue, 27 Jan 2026 06:28:40 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vkk2k-0006MO-CV; Tue, 27 Jan 2026 09:27:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2Z-0006DN-02 for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:37 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2W-0003bv-JQ for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:33 -0500 Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-15-dFIBLG3AOQuDFPoIuDn6PA-1; Tue, 27 Jan 2026 09:27:28 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 58D1819361BA; Tue, 27 Jan 2026 14:27:27 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.45.224.209]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 0ECC81801ACB; Tue, 27 Jan 2026 14:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769524052; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GgFLReW1kZW4cDB2r4cSefGbixkm2NtWdAy8Whc9s4M=; b=L8efTmaW+o4amwAzdHwJm7imuEAW8SfrZIn6xPiJbpa7vp4tkwwpvmB28j09QzJk3k5wh4 DZ/vEmM9sPV/S/4I2C6Bf7WxJ+/4409/T4agyLAo1vxA+NK8lW/URhwbH2GpI8KP+OD5UP 3yXWHRfr8FvsVkvUHibQ1Eu1Pue+ylQ= X-MC-Unique: dFIBLG3AOQuDFPoIuDn6PA-1 X-Mimecast-MFC-AGG-ID: dFIBLG3AOQuDFPoIuDn6PA_1769524047 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PULL 5/9] tests/tracetool: Honor the Python interpreter that "configure" detected Date: Tue, 27 Jan 2026 15:27:06 +0100 Message-ID: <20260127142710.131904-6-thuth@redhat.com> In-Reply-To: <20260127142710.131904-1-thuth@redhat.com> References: <20260127142710.131904-1-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1769524123906158500 From: Thomas Huth The tracetool tests currently fail if the host installation does not have a "python3" binary (and you compiled QEMU by selecting a different one during the "configure" step). This happens because tracetool-test.py executes scripts/tracetool.py directly, so that this script is run via its shebang line. To fix the issue, use the same Python interpreter to run scripts/tracetool.py as we are using to run the tracetool-test.py script. Suggested-by: Paolo Bonzini Reviewed-by: Daniel P. Berrang=C3=A9 Signed-off-by: Thomas Huth Message-ID: <20260115155318.37823-1-thuth@redhat.com> --- tests/tracetool/tracetool-test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/tracetool/tracetool-test.py b/tests/tracetool/tracetool-= test.py index 30006a99190..59e9ab3d6ef 100755 --- a/tests/tracetool/tracetool-test.py +++ b/tests/tracetool/tracetool-test.py @@ -36,7 +36,8 @@ def test_tracetool_one(tracetool, backend, fmt, src_dir, = build_dir): actual_file =3D Path(build_dir, rel_filename) expect_file =3D Path(src_dir, rel_filename) =20 - args =3D [tracetool, f"--format=3D{fmt}", f"--backends=3D{backend}", "= --group=3Dtestsuite"] + args =3D [sys.executable, tracetool, + f"--format=3D{fmt}", f"--backends=3D{backend}", "--group=3Dtes= tsuite"] =20 if fmt.find("stap") !=3D -1: args +=3D ["--binary=3Dqemu", "--probe-prefix=3Dqemu"] --=20 2.52.0 From nobody Sat Feb 7 05:49:21 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1769524136; cv=none; d=zohomail.com; s=zohoarc; b=HAElITQ2NraH3b56o1igwmDeE0lh9mCuPeRv80e1gYB/5YzFXLutt6Jee0qqDXBctzABbo8e4hEZmAQFh1Q7JVaLUNFxReYnRlIOnYnn32u7QEeBrWogNaRcltjyn3j9biMfthaCdBtSKkZHRseTWchCjMMXfQwfx1/v+Xh8HZw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769524136; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=gAR9IbAftdJfano+amtO1DX4mP8FEzuj2Svzqo8C5Dg=; b=GKWgUvds4nlKmLNgfL1dBT5YOQpg29tUz95+oGYQDKo8k8zZWpPUR6a2iZlMdmBGc2IwOe52On9RXJ9QMartj+ElGQzU8zhMWRIMM7SHRLlUvlr4bEiigI3kQsKLvoNQwrVX0i4NXzh5Cgf/h7wsHqdjikOTpVQGmipQ5kCafU8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1769524136604211.34078213688235; Tue, 27 Jan 2026 06:28:56 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vkk2k-0006Le-1M; Tue, 27 Jan 2026 09:27:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2a-0006F5-57 for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:37 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2Y-0003c6-Pt for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:35 -0500 Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-592-Q7p4MrH5PwK2cO2i8cCEXA-1; Tue, 27 Jan 2026 09:27:30 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 70C2C19775B2; Tue, 27 Jan 2026 14:27:29 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.45.224.209]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id CCCB6180049F; Tue, 27 Jan 2026 14:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769524054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gAR9IbAftdJfano+amtO1DX4mP8FEzuj2Svzqo8C5Dg=; b=bRHs0KxZOXMDjyCty0W/52XOCDj9dhzRCs5V7+5wN9n9H/HJPhE2p25br/Ul7XvcDItX1F AQaq++Z99xsnbZ8crX87y9V8EkAmn2cY9dr94EKz3/0byLj7p+zC80wbAh5krfkI6Z/zWT 0U3JCaCCCpv+LWoFcPty/YCcnSeEQkw= X-MC-Unique: Q7p4MrH5PwK2cO2i8cCEXA-1 X-Mimecast-MFC-AGG-ID: Q7p4MrH5PwK2cO2i8cCEXA_1769524049 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 6/9] pc-bios/optionrom: Use 32-bit linker emulation for the optionroms Date: Tue, 27 Jan 2026 15:27:07 +0100 Message-ID: <20260127142710.131904-7-thuth@redhat.com> In-Reply-To: <20260127142710.131904-1-thuth@redhat.com> References: <20260127142710.131904-1-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1769524137873158500 From: Thomas Huth Without this linker flag, the linking fails on NetBSD v10.1 with: ld: i386 architecture of input file `multiboot.o' is incompatible with i38= 6:x86-64 output ld: i386 architecture of input file `multiboot_dma.o' is incompatible with= i386:x86-64 output Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson Signed-off-by: Thomas Huth Message-ID: <20260121074819.29396-1-thuth@redhat.com> --- pc-bios/optionrom/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile index 30d07026c79..e6674a76e73 100644 --- a/pc-bios/optionrom/Makefile +++ b/pc-bios/optionrom/Makefile @@ -36,7 +36,7 @@ config-cc.mak: Makefile $(call cc-option,-Wno-array-bounds)) 3> config-cc.mak -include config-cc.mak =20 -override LDFLAGS =3D -nostdlib -Wl,--build-id=3Dnone,-T,$(SRC_DIR)/flat.lds +override LDFLAGS =3D -nostdlib -Wl,--build-id=3Dnone,-T,$(SRC_DIR)/flat.ld= s,-m,elf_i386 =20 pvh.img: pvh.o pvh_main.o =20 --=20 2.52.0 From nobody Sat Feb 7 05:49:21 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1769524138; cv=none; d=zohomail.com; s=zohoarc; b=DeS+fa+1lrm5rVzuomXasG1Rm6fC6Rk4e9goXDcBUJLzwAnRxOiZnQiJYMpcMkrU9t6BiPOj1Eo5pu9Zps8RADzf3mhMc2+tldaMD7SFeuJrG928Zq69C9Npza5M6b/EcqVKrtK0kycD9BF8GGi8ANUc9DFq6K3hFpQUrZX0RME= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769524138; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=JbaVrpV0w2eImAM6HYGffjaVPrHBHt/9Q9TT+OCQsHU=; b=jSS8ha1a7aAX3s1Lyv6LdcSyM314wBAkRlK8S7sh93X4kL4x6EgcVpMZJCxz6b8kktWrIWfExBAA5DStEXaoP1ZCzQTYamoJUIJnu4s0cAGD83Rvw5fY8PF3TExHOk9n6aavKKvPfHHYm1ILJZR9Kla4innGEH/Yk4zMD0+1QSY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1769524138032327.62761080014866; Tue, 27 Jan 2026 06:28:58 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vkk2k-0006M0-6u; Tue, 27 Jan 2026 09:27:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2h-0006I6-3y for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:43 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2f-0003co-Ft for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:42 -0500 Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-516-WUYspevHMD6a0mnwY60VFA-1; Tue, 27 Jan 2026 09:27:32 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 71AFB18002E8; Tue, 27 Jan 2026 14:27:31 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.45.224.209]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 2979A18001D5; Tue, 27 Jan 2026 14:27:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769524060; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JbaVrpV0w2eImAM6HYGffjaVPrHBHt/9Q9TT+OCQsHU=; b=HVuzoRiEXU1pxh8JS4bOPfhlyXfV4XmPbliJVeeh0xdGiiPfYnI9jFvhKaBWDMaRHTOEo0 PA+r6m0GHe//b6MuhVUDJ0ODh7FXDKtOLCMm24On58unlekyENuVmZ4DwNhHTAdF4xSZAC 1dprgHnbZDxSstj7FoJarSSYUrQgwuM= X-MC-Unique: WUYspevHMD6a0mnwY60VFA-1 X-Mimecast-MFC-AGG-ID: WUYspevHMD6a0mnwY60VFA_1769524051 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Richard Henderson Subject: [PULL 7/9] tests/vm: Update netbsd VM to version 10.1 Date: Tue, 27 Jan 2026 15:27:08 +0100 Message-ID: <20260127142710.131904-8-thuth@redhat.com> In-Reply-To: <20260127142710.131904-1-thuth@redhat.com> References: <20260127142710.131904-1-thuth@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1769524139924158501 Content-Type: text/plain; charset="utf-8" From: Thomas Huth NetBSD 10.1 has been released since more than a year, so it's time to update our VM to that version. Apart from the usual changes in the installation process, we also have to disable the installation of the "jpeg" package now, otherwise the package installation fails with an error message like this: pkg_add: jpeg-9fnb1: conflicts with `libjpeg-turbo-[0-9]*', and `libjpeg-turbo-3.1.3' is installed. We also have to drop the executable bits from scripts/qemu-plugin-symbols.py to force meson to use the detected Python interpreter instead of executing the file directly (which tries to use the Python interpreter from the file's shebang line). Signed-off-by: Thomas Huth Message-ID: <20260113193554.123082-1-thuth@redhat.com> --- scripts/qemu-plugin-symbols.py | 0 tests/vm/netbsd | 16 ++++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) mode change 100755 =3D> 100644 scripts/qemu-plugin-symbols.py diff --git a/scripts/qemu-plugin-symbols.py b/scripts/qemu-plugin-symbols.py old mode 100755 new mode 100644 diff --git a/tests/vm/netbsd b/tests/vm/netbsd index a3f6dd6b3c8..77d17a0dedf 100755 --- a/tests/vm/netbsd +++ b/tests/vm/netbsd @@ -22,15 +22,15 @@ class NetBSDVM(basevm.BaseVM): name =3D "netbsd" arch =3D "x86_64" =20 - link =3D "https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/images/NetBSD-9= .3-amd64.iso" - csum =3D "2bfce544f762a579f61478e7106c436fc48731ff25cf6f79b392ba5752e6= f5ec130364286f7471716290a5f033637cf56aacee7fedb91095face59adf36300c3" + link =3D "https://cdn.netbsd.org/pub/NetBSD/images/10.1/NetBSD-10.1-am= d64.iso" + csum =3D "7a5e5071307e1795885ffc6e1b8aac465082c21c8b79f4c9b4103ef44e4f= 2da45477299d213ae0093f6534dc99dc2bbf78f41e9dd556c72a02516068bf43fe49" size =3D "20G" pkgs =3D [ # tools "git-base", "pkgconf", "xz", - "python311", + "python313", "ninja-build", =20 # gnu tools @@ -46,7 +46,6 @@ class NetBSDVM(basevm.BaseVM): "gnutls", =20 # libs: images - "jpeg", "png", =20 # libs: ui @@ -126,8 +125,6 @@ class NetBSDVM(basevm.BaseVM): self.print_step("Installation started now, this will take a while") self.console_wait_send("Hit enter to continue", "\n") =20 - self.console_wait_send("d: Change root password", "d\n") - self.console_wait_send("a: Yes", "a\n") self.console_wait("New password:") self.console_send("%s\n" % self._config["root_pass"]) self.console_wait("New password:") @@ -153,6 +150,7 @@ class NetBSDVM(basevm.BaseVM): self.console_wait_send("Network media type", "\n") self.console_wait("autoconfiguration") self.console_wait_send("a: Yes", "a\n") + self.console_wait_send("Finished", "netbsd-guest\n= ") self.console_wait_send("DNS domain", "localnet\n") self.console_wait("Are they OK?") self.console_wait_send("a: Yes", "a\n") @@ -160,6 +158,8 @@ class NetBSDVM(basevm.BaseVM): self.console_wait_send("a: Yes", "a\n") =20 self.console_wait_send("e: Enable install", "e\n") + self.console_wait("installed in /etc") + self.console_wait_send("a: Yes", "a\n") proxy =3D os.environ.get("http_proxy") if not proxy is None: self.console_wait_send("f: Proxy", "f\n") @@ -178,13 +178,13 @@ class NetBSDVM(basevm.BaseVM): self.console_wait_send("d: Reboot the computer", "d\n") =20 # setup qemu user - prompt =3D "localhost$" + prompt =3D "netbsd-guest$" self.console_ssh_init(prompt, self._config["guest_user"], self._config["guest_pass"]) self.console_wait_send(prompt, "exit\n") =20 # setup root user - prompt =3D "localhost#" + prompt =3D "netbsd-guest#" self.console_ssh_init(prompt, "root", self._config["root_pass"]) self.console_sshd_config(prompt) =20 --=20 2.52.0 From nobody Sat Feb 7 05:49:21 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1769524109; cv=none; d=zohomail.com; s=zohoarc; b=AGRloYkouT/3SfURFuEU9MFgKhzHAoHWux56zwRTlFc5PBQYxpzX3NYLVWkEy47mhSrkTIwZZ6XH67KCxhLTth4gelvQwUJQRzBkKYn/L7wXjB3kF646NG1wGyUMUnAG56n0sjSpmqHN/zBkym9x8nDSqFDBDiwM9n7xhEovCsY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769524109; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=DhhBwqoukfafQXKXugsUkx7V0pAdgeoaOurg4u5b+kk=; b=OnWK60tNmDgnmurAtiPG7Mo+ltsqkKIRTwd3KklZVRl1YradWYVLU+yxeX5GR6lOYs0NQxu3Vh4LOrZbjmWnUNCOsFtTGwz/qQuRD9vjezGfH4EBlPBI//ARSrhy6O9torHVOi0HM/YaLOFV/WywRU51n6qEWQwggbUmLeUHAns= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 176952410943688.740536835949; Tue, 27 Jan 2026 06:28:29 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vkk2k-0006Md-Go; Tue, 27 Jan 2026 09:27:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2d-0006Gk-Ow for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:42 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2c-0003cJ-A8 for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:39 -0500 Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-584-LBkVpflsOZiWXJ13QiZVkA-1; Tue, 27 Jan 2026 09:27:35 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 46200195608F; Tue, 27 Jan 2026 14:27:34 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.45.224.209]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 32F4618001D5; Tue, 27 Jan 2026 14:27:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769524057; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DhhBwqoukfafQXKXugsUkx7V0pAdgeoaOurg4u5b+kk=; b=I0YPPAg9yE4dEHdtJ6krVBSWOAdTUdNtxbyy/jH8i0SPK03nO64JIWZwKM7G3WGELtBkPk k5u0ga/l7nkehnoqu+OhwKH4XBFSuZTgXfKWruGG0baZ7Xus+IJVirMInykseojVSCAmd5 NM8vLT9jfVWpgaRtKjOUyvwWZjnwRmI= X-MC-Unique: LBkVpflsOZiWXJ13QiZVkA-1 X-Mimecast-MFC-AGG-ID: LBkVpflsOZiWXJ13QiZVkA_1769524054 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Richard Henderson , Prasad Pandit Subject: [PULL 8/9] tests/vm: Make the haiku VM usable again Date: Tue, 27 Jan 2026 15:27:09 +0100 Message-ID: <20260127142710.131904-9-thuth@redhat.com> In-Reply-To: <20260127142710.131904-1-thuth@redhat.com> References: <20260127142710.131904-1-thuth@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1769524109882158500 Content-Type: text/plain; charset="utf-8" From: Thomas Huth The haiku VM bitrotted in the course of time. Make sure to use the latest version of the repositories here and install missing pieces like "pip" and "tomli" now. Since we nowadays also install our own version of meson in our venv, this also requires a change to our configure script: On Haiku, the meson binary shows up as pyvenv/non-packaged/bin/meson here, and not in the expected location pyvenv/bin/meson. Adjust the "meson" variable to point to that Haiku-specific location to fix this issue. See also: https://github.com/haiku/haiku/blob/r1beta5/docs/user/storage/storageintro.= dox And finally, with the new toolchain from the beta 5, we also have to compile with "-pie", otherwise the linker complains about bad relocations in the object files, so allow compiling with PIE in the configure script now. Reviewed-by: Prasad Pandit Signed-off-by: Thomas Huth Message-ID: <20260123184429.5278-1-thuth@redhat.com> --- configure | 8 +++++++- tests/vm/haiku.x86_64 | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 213880df890..4b61fd3bbf8 100755 --- a/configure +++ b/configure @@ -987,6 +987,12 @@ if [ -f "$meson$EXESUF" ]; then meson=3D"$meson$EXESUF" fi =20 +# On Haiku, meson might show up in a "non-packaged" subfolder instead, see +# https://github.com/haiku/haiku/blob/r1beta5/docs/user/storage/storageint= ro.dox +if test "$host_os" =3D "haiku" && test ! -e "$meson" ; then + meson=3D"$(cd pyvenv/non-packaged/bin; get_pwd)/meson" +fi + # Conditionally ensure Sphinx is installed. =20 mkvenv_online_flag=3D"" @@ -1069,7 +1075,7 @@ static THREAD int tls_var; int main(void) { return tls_var; } EOF =20 -if test "$host_os" =3D windows || test "$host_os" =3D haiku; then +if test "$host_os" =3D windows ; then if test "$pie" =3D "yes"; then error_exit "PIE not available due to missing OS support" fi diff --git a/tests/vm/haiku.x86_64 b/tests/vm/haiku.x86_64 index 71cf75a9a3e..529283c39f6 100755 --- a/tests/vm/haiku.x86_64 +++ b/tests/vm/haiku.x86_64 @@ -78,6 +78,8 @@ class HaikuVM(basevm.BaseVM): "devel:libusb_1.0", "devel:libz", "ninja", + "pip", + "tomli_python310", ] =20 BUILD_SCRIPT =3D """ @@ -109,6 +111,8 @@ class HaikuVM(basevm.BaseVM): self.wait_ssh(wait_root=3DTrue, cmd=3D"exit 0") =20 # Install packages + self.ssh_root("echo yes | pkgman add-repo https://eu.hpkg.haiku-os= .org/haiku/r1beta5/$(getarch)/current") + self.ssh_root("echo yes | pkgman add-repo https://eu.hpkg.haiku-os= .org/haikuports/r1beta5/$(getarch)/current") self.ssh_root("pkgman install -y %s" % " ".join(self.requirements)) self.graceful_shutdown() =20 --=20 2.52.0 From nobody Sat Feb 7 05:49:21 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1769524078; cv=none; d=zohomail.com; s=zohoarc; b=bP1Ck0TpMEPtC4k/OB0NjkpBX2jiCOOgfO46IbdWuutl8t2cgOtQcgyar8EdqjYajeFP+sqwpeZy+fh859WFrOM1gOcSaBIFSRZqM+x1rs/oNHSOnSwlLvZ9Bz/Mn/EblW7k9gb1NFWySdxpQ9h8bIZDYFnjcVhJjDXolCkLgVc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769524078; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ijMK7//j4F3l3eePMpDavIghEkHlTFmmAa9iX2aFYPU=; b=Vq0kkxH50IoDkeo0cYZeyE6NZmTsboLufqetHcpNdJ7fCvlmDj6+2ggrc1iSlT5MHAXRaZ9UMYXvjwI1FrM6XiAyhm2mHtGx+jNbxLvCOkBz9eSBOdb+gHrCnaO8BnZknunANuPOilQphWYRdN8Kg4/S6WI3tC3kABgxqyb3yzg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1769524078339993.6394066267785; Tue, 27 Jan 2026 06:27:58 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vkk2l-0006S7-S0; Tue, 27 Jan 2026 09:27:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2k-0006Mv-JX for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:46 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vkk2j-0003dC-12 for qemu-devel@nongnu.org; Tue, 27 Jan 2026 09:27:46 -0500 Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-225-vu0IeHdOOV6okcGBwWqdCQ-1; Tue, 27 Jan 2026 09:27:37 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id CE3D61800473; Tue, 27 Jan 2026 14:27:36 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.45.224.209]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 09479180066A; Tue, 27 Jan 2026 14:27:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769524064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ijMK7//j4F3l3eePMpDavIghEkHlTFmmAa9iX2aFYPU=; b=MDhOIu2IodrZXxqOOJOBRGK81k/NDJjtXxl/7OiAlWdj1IcZTqQLfnVKbSSz1hstLAm/13 hBmvaTXq8V20E2lkpE0gsXr20MoZhQxUa9j3HZP59sQPVOjHn9V+DB23cQnlQXS/Ow8p4j rgY/f1+qsIjcoJTFDnoBGAuB+QtVeBY= X-MC-Unique: vu0IeHdOOV6okcGBwWqdCQ-1 X-Mimecast-MFC-AGG-ID: vu0IeHdOOV6okcGBwWqdCQ_1769524056 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Aditya Gupta Subject: [PULL 9/9] tests/functional: Enforce sha256 as hashsum algorithm for all tests Date: Tue, 27 Jan 2026 15:27:10 +0100 Message-ID: <20260127142710.131904-10-thuth@redhat.com> In-Reply-To: <20260127142710.131904-1-thuth@redhat.com> References: <20260127142710.131904-1-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1769524079637158500 From: Thomas Huth The functional testing framework currently supports both, sha256 and sha512 as hashsums for the assets. However, all but one test currently only use sha256, which should also be sufficient according to the current security standards. Having two algorithms around already caused some confusion (e.g. the clean_functional_cache.py script only supports sha256 right now), so standardize now on enforcing sha256 before more tests use a mix of the two algorithms. Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Aditya Gupta Signed-off-by: Thomas Huth Message-ID: <20260121101957.82477-1-thuth@redhat.com> --- tests/functional/ppc64/test_fadump.py | 4 +--- tests/functional/qemu_test/asset.py | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/functional/ppc64/test_fadump.py b/tests/functional/ppc64= /test_fadump.py index 2d6b8017e8f..bd9692f64c0 100755 --- a/tests/functional/ppc64/test_fadump.py +++ b/tests/functional/ppc64/test_fadump.py @@ -32,9 +32,7 @@ class QEMUFadump(LinuxKernelTest): ASSET_VMLINUZ_KERNEL =3D Asset( ('https://archives.fedoraproject.org/pub/archive/fedora-secondary/' 'releases/39/Everything/ppc64le/os/ppc/ppc64/vmlinuz'), - ('81e5541d243b50c8f9568906c6918dda22239744d637bb9a7b22d23c3d661226' - '8d5302beb2ca5c06f93bdbc9736c414ef5120756c8bf496ff488ad07d116d67f= ') - ) + '6d77658130a7de1dd014ae14d7983c27f8ba1a61fa02e8d9064afdb8519e7e96= ') =20 ASSET_FEDORA_INITRD =3D Asset( ('https://archives.fedoraproject.org/pub/archive/fedora-secondary/' diff --git a/tests/functional/qemu_test/asset.py b/tests/functional/qemu_te= st/asset.py index bae40765ce4..45a2e01e2e6 100644 --- a/tests/functional/qemu_test/asset.py +++ b/tests/functional/qemu_test/asset.py @@ -57,10 +57,8 @@ def _check(self, cache_file): return True if len(self.hash) =3D=3D 64: hl =3D hashlib.sha256() - elif len(self.hash) =3D=3D 128: - hl =3D hashlib.sha512() else: - raise AssetError(self, "unknown hash type") + raise AssetError(self, "unsupported hash type") =20 # Calculate the hash of the file: with open(cache_file, 'rb') as file: --=20 2.52.0