From nobody Sun Jul 12 00:40:41 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=openvz.org ARC-Seal: i=1; a=rsa-sha256; t=1783700037; cv=none; d=zohomail.com; s=zohoarc; b=AwRrMhYQ3JrRaNfkovjK9+JRIF4GkvihJf9VQxC7tsckw3gzYQN/aWX82UklWGH2MpYm3gC2S8s1AvrWMgEye1cypN6EOffHHB2rQR2GYR1YTQXNUAZ2R5g/mGNSK8agb1Z8Y2eC2RaUBys0nHoICNu7qNTl6Z0A8QvESKulkIc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1783700037; 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=b9+WW0WzzDwWC4+VBlNwLNOZ/ug0yqYomOfZpjSFUvA=; b=KitB8wgop52yQCiZIIrnBWsFZF8o/pGn0+oiL/96UopYBZyJGEh5AY/k3m+7lqjLUIn7AOFGQxXMAYNY/n95536fp4R+LdS/fl2DOFHVM/OVDd4eJMEomolql80l1RdvwzI5X8EeCM2gHLg8p1vE8zbK/nzsN8VPuKdopbQFG8U= 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 lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1783700037879576.1835334668697; Fri, 10 Jul 2026 09:13:57 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wiDqu-0002T7-P8; Fri, 10 Jul 2026 12:13:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wiDqo-0002Rq-PA for qemu-devel@nongnu.org; Fri, 10 Jul 2026 12:13:19 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wiDqm-0006aX-H9 for qemu-devel@nongnu.org; Fri, 10 Jul 2026 12:13:18 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-493b27c7451so27531875e9.0 for ; Fri, 10 Jul 2026 09:13:15 -0700 (PDT) Received: from athena ([2a06:5b06:b600:300:5926:51ec:1f64:b9b3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47aa0f214d2sm59944836f8f.33.2026.07.10.09.13.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2026 09:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvz.org; s=google; t=1783699994; x=1784304794; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=b9+WW0WzzDwWC4+VBlNwLNOZ/ug0yqYomOfZpjSFUvA=; b=ZPmFWsj8Gn5dPKlawT2nfuAw8SXvecTUt09grOEW1mB9bKp8fIfvpArIECTtc1tclT reo83fSOO5+LulzC3iQq4UeIN1gf5MWS46ZPpC6tg14grVKDfewU/LoBGSXy3CAACA89 kNecFlOUFj9fIPcoec7iiQNLMSOQKEe4UZiFu7acK8Xzyw/1qusscBH/tIiLBvBadzIP OAKOOptQ+i9Und6h2l9sfl/EK97RQ1vtxtBCXkDctUSFHapijqAaQT4sac64HqTvEVw3 qeTcC8t/fJrAXt8n+kvXl2+NMQoBsWC9gY+fIAxT9ejtj2UDOZb/1BtK/adbe4K+9aeD aqkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783699994; x=1784304794; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=b9+WW0WzzDwWC4+VBlNwLNOZ/ug0yqYomOfZpjSFUvA=; b=l9vXrOdcVG0ygcCoQ7GEXRxJkR9Tk+fncxWxeJh8KWywzMIB3ITaLcdOOENAleL0xi EJX+uLvMeQs9YhnLwgRvEVeO+OUw/pvFO7nIFvqBEUxSoAWYHl17tJMBOlArojCEQ6Th R7eBf4riyehrWv+STk4dqPgv0jZBApEZ+SDro/EInzLMJOsCNrqcT7PC4ndXGAap3yFK t8xvcglqKBnleos/CjSHbA3/pO29zcpKqNgSHSspX5QzDOViU1tzsBQtLb1x3Gjafibe fbWwkzeFu5JYceDrSXj4sH5I+nUClR5P0xK9vwq3xqZ+i7YBa03ajZXZcx/1e7XhMOfM 8BYg== X-Forwarded-Encrypted: i=1; AHgh+Ro0Q53sc6poEseHxEcoE9ASZ1oR1WzCzuUBBW7upVZcmJxp2vRTSw98ZRiq4JEw05bCAz/8S2WBQIqB@nongnu.org X-Gm-Message-State: AOJu0Yx4F4+cKQuBcYU6moRAUgrJN2aWJ9ivTIxgV+nN/0Mwub56gbYs s6/+6pUJB+UN0M3usAdMbV5yjJ4QF3YpncpZttFYvM3QqBGjztCkLRQNrv1fphqINk8= X-Gm-Gg: AfdE7ckmZ3xP5b70g+D4GJYwEmoxVoQ8+drXcOC8UjhrmjZzgxd56I/pWQwiFeFAaoB vyKmqR5wPO3Hc3uZnV3Uz0li7eqOaWeF9WiwXGJBKbyUiFwsHIpM64jZ+AV3QoEaShDJ4FjcP/6 RtC+kd8IlZ9H9zd94cDzhCAjAVka+EwExerYjGIdtCN8puyhFwzCVe87u5Qt4SALJOA5yGdKgU2 gibcyvrH39Lg4RpVNJxuO3xI69s0515KYRVkpv4kfxWXacWGgsBb7vRO1IxsVCWWDBGYrpdy3Q5 xKUV038Rev6BVOkbjK0U+jsi4hEJmB3EB1Wb0NP0hDHTCRPM/h0OCL3h6SjUGdEMMoXKw6wwRUe 0gpOvuz03kZRw6IYkjmLGMIz7M2BzafRotJ6qQYONGI1StGGhyxV1e93Zmqm7r9BQg2rGz/FLWe Bp/w== X-Received: by 2002:a05:600d:f:b0:493:f6c1:7aac with SMTP id 5b1f17b1804b1-493f6c17b53mr21530615e9.12.1783699994454; Fri, 10 Jul 2026 09:13:14 -0700 (PDT) From: "Denis V. Lunev" To: qemu-block@nongnu.org, qemu-devel@nongnu.org Cc: den@openvz.org, Kevin Wolf , Hanna Reitz Subject: [PATCH 1/3] iotests: run the test pool with the 'fork' start method Date: Fri, 10 Jul 2026 18:13:07 +0200 Message-ID: <20260710161309.1104712-2-den@openvz.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260710161309.1104712-1-den@openvz.org> References: <20260710161309.1104712-1-den@openvz.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=lists1p.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=den@openvz.org; helo=mail-wm1-x32e.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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 @openvz.org) X-ZM-MESSAGEID: 1783700039135158500 Content-Type: text/plain; charset="utf-8" run_tests_pool() shares the runner via the class attribute TestRunner.shared_self, relying on worker processes to inherit it. That only works with the 'fork' start method. Python 3.14 switched the Linux default to 'forkserver', so workers see shared_self as None and parallel runs abort with: assert runner is not None AssertionError Only reproduces with Python 3.14+ and 'check -jN' (N > 1); meson runs one test per process and never calls run_tests_pool(), so CI is unaffected. Request get_context('fork') explicitly; it is available on all supported Python versions and a no-op before 3.14. Signed-off-by: Denis V. Lunev CC: Kevin Wolf CC: Hanna Reitz --- tests/qemu-iotests/testrunner.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/qemu-iotests/testrunner.py b/tests/qemu-iotests/testrunn= er.py index dbe2dddc32..5b2664d9f3 100644 --- a/tests/qemu-iotests/testrunner.py +++ b/tests/qemu-iotests/testrunner.py @@ -26,7 +26,7 @@ import json import shutil import sys -from multiprocessing import Pool +from multiprocessing import Pool, get_context from typing import List, Optional, Any, Sequence, Dict from testenv import TestEnv =20 @@ -125,7 +125,7 @@ def run_tests_pool(self, tests: List[str], assert TestRunner.shared_self is None TestRunner.shared_self =3D self =20 - with Pool(jobs) as p: + with get_context('fork').Pool(jobs) as p: results =3D p.starmap(self.proc_run_test, zip(tests, [test_field_width] * len(tests)= )) =20 --=20 2.53.0 From nobody Sun Jul 12 00:40:41 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=openvz.org ARC-Seal: i=1; a=rsa-sha256; t=1783700043; cv=none; d=zohomail.com; s=zohoarc; b=fyhNKjhvfi5jhCS1Knk8gK5MChp8oDyqnUzMncJIedRxneeIYbZa7IFtFPwCuPJQiRcdiwdXspp82CFGVTct8AxXi2RREzWVRJujn/pKxTTfRhP2HeSa/0z1LWt/BMD7H2ZdBrBe4uZ7rClvUzgye8oxeIBDh0pQ5yQNMpOalpw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1783700043; 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=TJGSqNXeeEITi5YiFnKI3FfRbKLjBMns+gBb/y9J3j4=; b=UNCxFsOt/CZCqFi2JCUulC/TmmJTBIpDlmLx4w2hmq+g7B+iZYDYiZEIji+Y4e1r/pQ74RLpUwJE9I/mnyyW3TwsXhaLHaIqu23Bbb93quw6F9HbKgHP/CrVZaS43psDrlfM3pZpaR7ssfQHiS2fynoWUzebY38PNMgDzPdjPMQ= 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 lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1783700043057944.4105150478289; Fri, 10 Jul 2026 09:14:03 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wiDqw-0002V2-HX; Fri, 10 Jul 2026 12:13:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wiDqq-0002SK-MG for qemu-devel@nongnu.org; Fri, 10 Jul 2026 12:13:21 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wiDqo-0006b4-Fw for qemu-devel@nongnu.org; Fri, 10 Jul 2026 12:13:19 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-493ba701891so9729895e9.3 for ; Fri, 10 Jul 2026 09:13:17 -0700 (PDT) Received: from athena ([2a06:5b06:b600:300:5926:51ec:1f64:b9b3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47aa0f214d2sm59944836f8f.33.2026.07.10.09.13.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2026 09:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvz.org; s=google; t=1783699996; x=1784304796; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=TJGSqNXeeEITi5YiFnKI3FfRbKLjBMns+gBb/y9J3j4=; b=GrMH/Pr67OIVAVTRxTIgF3SuaxRASi36zivGyDFwTRFfyF6tMzaPwr66eKUAta5kE2 iyEFWKNAtiX2ucT/mh8t489nBVeHQm4MBRQbROte+0QtMZ1TyCqPhtHiAnR2BHlQtgVK GquKQUHckaGZRPGhJPpiSZl0rwfVXi+cCRDhZQnROOU51NprZ/9aavCMFXLxY80uC97T /UxXg+boy3x79bvd58EtT/BvJwwKJoXfa1TmTax+a8aaKW6D03wH3nIxmi3L7cZmLQR0 k7R71cnKRgZdh2420qyicGH8zALR8h6egf5FL9tUg0x3Gif38TcGwkpE+QB64UNlZCyv s7YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783699996; x=1784304796; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=TJGSqNXeeEITi5YiFnKI3FfRbKLjBMns+gBb/y9J3j4=; b=LgioVLk2hbM6mwntfnyNE+ZCJIz/kW1T7ov/IsEfa1jXztcWP4x0pRU9PPXZAC2aZg BLB/egmSgAUtEgWmv14id1UkISE4o4FnopcKOVT4O/IKKw59GT/hkCO9BeTk+1M3DiOZ crXKGlEnAxRzNJeIukPG2kI6uf3+4Uk9bc7WK08zD2okjn0BQDOOMcvPS700Si1vCOK/ HzjB3hAmwHYK5vGoTOgSm3GeAKRr/8+VDQU0lCR6NzVSNE/uYpo+PbcENQWUdPvmpvto +MxuxSqrbnGc8m3qpdRLrCvZR2EsTeiD4TH4O4dgY76fshmfmpK98ed0Ok7T1DqsZY9Y zN7A== X-Forwarded-Encrypted: i=1; AHgh+RoWyfmVwEuJ+6Ey7ooYoJgTYDyiby6fKl273D9WMPuXOPtzkZapFMv9M/8y+Kt7ZH3PlMVyrRan/Nr0@nongnu.org X-Gm-Message-State: AOJu0Yyp8NzS3keXdTTx/DJTJlb1mMab12SfSS8crU4LpJ2e/D3aXbqj 9bSFjDmdL0YwWbLHrSnMbUXlk7yWviNtwfUud2PzgSrDJ5x5jTQdxfqRsNCdLnit/sU= X-Gm-Gg: AfdE7ckKzoWnB+QWKyaLplhIs9otcdOpzgxs/fh7X+AHpI3JlcIXjTrXeO6LFLHerfq qZzMgMuhLJSLD5/YKQjhAzR4A7IPKpHhmQ7rIz8yq2hPPOrjjXz+GiHbXAD27BB40H4BFOfCQK+ VsOAvHngQwKOTTvCnFfEmdhyUZT0g40n2hgp7adV59/Q+fW1+jEk+L/M1zzL+imIMDLT/kdm8zO FMWIFwLvgT0HQ6NF7FgfuHVoQOUkvKrNJ/WiuPyLQ8eKeTyOXEuMkfS+R77wqFkOLViZ532IdQq kVgPn4EP/KKAHbZr1fhfp4ZSee5xpcrzuvGfYSlveUtUpljPQsSo3gBg2c5Cx1IlE2TGdsor4kN UXrjonkzfmhZZ16Gn54MzgXhNmHuiP+NmnueUweLPLfhtijHl3I7S/gQwVtvNb0K9w71YTdZckY doNQ== X-Received: by 2002:a05:6000:420b:b0:479:e2ea:3d51 with SMTP id ffacd0b85a97d-47df071e891mr14348151f8f.17.1783699995773; Fri, 10 Jul 2026 09:13:15 -0700 (PDT) From: "Denis V. Lunev" To: qemu-block@nongnu.org, qemu-devel@nongnu.org Cc: den@openvz.org, Kevin Wolf , Hanna Reitz Subject: [PATCH 2/3] iotests: skip FUSE tests when FUSE is not usable Date: Fri, 10 Jul 2026 18:13:08 +0200 Message-ID: <20260710161309.1104712-3-den@openvz.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260710161309.1104712-1-den@openvz.org> References: <20260710161309.1104712-1-den@openvz.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=lists1p.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=den@openvz.org; helo=mail-wm1-x32b.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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 @openvz.org) X-ZM-MESSAGEID: 1783700045183158500 Content-Type: text/plain; charset="utf-8" file-io-error, fuse-allow-other and fuse-mmap-shared skip only when FUSE is not compiled in. When FUSE is built in but unusable at run time (no /dev/fuse access, fusermount lacking permissions), the export fails to mount with "Failed to mount FUSE session to export" and the tests report a spurious failure instead of skipping, like NBD tests already do for missing NBD support. Add _notrun_on_no_fuse() to common.rc and use it in the shell tests. fuse-mmap-shared is Python, so it gets an equivalent inline check. Signed-off-by: Denis V. Lunev CC: Kevin Wolf CC: Hanna Reitz --- tests/qemu-iotests/common.rc | 14 ++++++++++++++ tests/qemu-iotests/tests/file-io-error | 4 +--- tests/qemu-iotests/tests/fuse-allow-other | 2 ++ tests/qemu-iotests/tests/fuse-mmap-shared | 9 ++++++--- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc index 298bc483e0..62a2bc146b 100644 --- a/tests/qemu-iotests/common.rc +++ b/tests/qemu-iotests/common.rc @@ -981,6 +981,20 @@ _require_drivers() done } =20 +# Skip if FUSE is unusable: not compiled in, or the export failed to +# mount. $1 is the failing 'block-export-add' reply. +_notrun_on_no_fuse() +{ + case "$1" in + *"Parameter 'type' does not accept value 'fuse'"*) + _notrun "No FUSE support" + ;; + *"Failed to mount FUSE session"*) + _notrun "FUSE not usable in this environment" + ;; + esac +} + # Check that we have a file system that allows huge (but very sparse) files # _require_large_file() diff --git a/tests/qemu-iotests/tests/file-io-error b/tests/qemu-iotests/te= sts/file-io-error index fb8db73b31..3cdb41f33d 100755 --- a/tests/qemu-iotests/tests/file-io-error +++ b/tests/qemu-iotests/tests/file-io-error @@ -89,9 +89,7 @@ output=3D$(_send_qemu_cmd $QEMU_HANDLE \ 'return' \ | grep -v 'option allow_other only allowed if') =20 -if echo "$output" | grep -q "Parameter 'type' does not accept value 'fuse'= "; then - _notrun 'No FUSE support' -fi +_notrun_on_no_fuse "$output" echo "$output" =20 echo diff --git a/tests/qemu-iotests/tests/fuse-allow-other b/tests/qemu-iotests= /tests/fuse-allow-other index eaa39f8f23..bcba191951 100755 --- a/tests/qemu-iotests/tests/fuse-allow-other +++ b/tests/qemu-iotests/tests/fuse-allow-other @@ -77,6 +77,8 @@ fuse_export_add() _notrun "allow_other not supported" fi =20 + _notrun_on_no_fuse "$output" + echo "$output" } =20 diff --git a/tests/qemu-iotests/tests/fuse-mmap-shared b/tests/qemu-iotests= /tests/fuse-mmap-shared index 52941a3bb6..b190105894 100755 --- a/tests/qemu-iotests/tests/fuse-mmap-shared +++ b/tests/qemu-iotests/tests/fuse-mmap-shared @@ -28,9 +28,12 @@ def test_fuse_support(mount_point): }) test_qsd.stop() if 'error' in res: - assert (res['error']['desc'] =3D=3D - "Parameter 'type' does not accept value 'fuse'") - iotests.notrun('No FUSE support') + desc =3D res['error']['desc'] + if desc =3D=3D "Parameter 'type' does not accept value 'fuse'": + iotests.notrun('No FUSE support') + if 'Failed to mount FUSE session' in desc: + iotests.notrun('FUSE not usable in this environment') + assert False, desc =20 # Shared mmap when using direct IO is only supported for Linux kernels >= =3D 6.6 # with commit e78662e818f94 ("fuse: add a new fuse init flag to relax --=20 2.53.0 From nobody Sun Jul 12 00:40:41 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=openvz.org ARC-Seal: i=1; a=rsa-sha256; t=1783700053; cv=none; d=zohomail.com; s=zohoarc; b=V28YemW21ztUi/OrHIKHaJfU3tEgtD61J+MLDQcDSvV+qOsauciTagyfWYmFQvlyvvBcNf9qakFozcLTWuHx/G6oUbeorhK+IXY2c968Fi8DrMhcZS6k/uTaN0jpUTZJy3z1WzalbCpTTyqrh10Md22tNQGQjKZeSw4X+4I7sJU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1783700053; 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=3p5PUASyHfF4eEZ7QhRrsGOCqAhKmkzJnGDOtWRz5lY=; b=SE91FdAEC0Ihn+FNOh91O502D1zylWnsqgAGV3SReaSyn4Lfhrn99ZfZVd6L4cdBNPXpG1an0JM9DR8926Rxq3V39OyTmkP0VGl9ojKGB7FgrfC/5Gk13jqGRxHDMWfAHWZRl+rbEmx3xz1NrDFDvh9nnTTBECK8zMFdtdpBXA8= 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 lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1783700053275231.41418611861877; Fri, 10 Jul 2026 09:14:13 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wiDqv-0002Tl-Fk; Fri, 10 Jul 2026 12:13:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wiDqr-0002SV-8o for qemu-devel@nongnu.org; Fri, 10 Jul 2026 12:13:22 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wiDqo-0006bQ-HA for qemu-devel@nongnu.org; Fri, 10 Jul 2026 12:13:21 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-493b77b150aso9683115e9.2 for ; Fri, 10 Jul 2026 09:13:18 -0700 (PDT) Received: from athena ([2a06:5b06:b600:300:5926:51ec:1f64:b9b3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47aa0f214d2sm59944836f8f.33.2026.07.10.09.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2026 09:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvz.org; s=google; t=1783699997; x=1784304797; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=3p5PUASyHfF4eEZ7QhRrsGOCqAhKmkzJnGDOtWRz5lY=; b=tRsWcJWTj8j+7fv1Zsr4INu/NVu6ogKNBaL9eZR0CXKmcYetlH+7beVKqEsCSWxvbE IRDzMclNHUwbsllqrKimVn1WsdpWcdDXYLvXIOCRtKYga1DvOxfJgk3BS7uC+hSBe9Tf U4lBE395KeopLHlqoEZAWYnG8e5ZAZZL4p79FeCtlmBg698bhia3f2RB6nBv2A0mNRQJ B9TheJTsm9INdyoZ3ZiKwx1Y3XIrhGVUqt+KCuBbwpzzZR50+vvP0AT1ChAzPDR5H2nd RcrOT1baKIMQ+Gw53Sx46vwDF0OOEe5D2c6Y7ijV8rrM9E7CNCD+BaXgtPkt+5oUN/I0 obRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783699997; x=1784304797; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=3p5PUASyHfF4eEZ7QhRrsGOCqAhKmkzJnGDOtWRz5lY=; b=OrXEmQqu4r+1t0W8ba5juMhQbC1mhniFUfi0HlFXFpnbhHRMUlD6WfK5ylwi2iO69S 22GUaigg7Q7390KQjRbFc4taoyv4p3CJ7Fqje3MMHd9ewHYqcjPEd072OfmLXaeYcFOE t05kd7n7Rb9krY7I7LJGNIRqWAHYu+t9i/W3EZeosCdHRFeNGk+JyrGkaJv6HYvN8XNb RhT69JgtsjFuwBxodJyAPczOyApWcB8Wot/FY6bpaKTkvURqX9zr3L5H4tXECM1nZyxg 8rk8zK1eF9lsgT54cuuQbrY+tZYvzEbP7epR8etO5vmpx6lHwpxWe76tDclBosStvHJv OnYQ== X-Forwarded-Encrypted: i=1; AHgh+Rr876sGQ7nkF8utsWNR+/3DWEHXchUO7Bw72HTY4xlBpEjdEjOkm02uzM/i05W96NWZp+2f6ibeeg/O@nongnu.org X-Gm-Message-State: AOJu0Yw5VCFtb3yrsyqrT4NE3IGFI9noVVwD//BDngJgTYuy3UgXzLhQ LlC7c4wguRvuz6WqK2zgg/9HT9jjYWUg2Ln/p1iD8r83pyTmMaJTvKsE9XJENYt9w+k= X-Gm-Gg: AfdE7cm/+Fcff4cFCuEMyai2rS5O8aeaYc5nIGNU74I1nP70rXJ5JrJfJzs4hilJPun xQzA/jSWh2d5zWd5LxcAjdaUXUJTpQaU8bbrUKOGM12++3pehVUiQK/xKDKB64TUaZHo4rvkgGd 7Ua3ibO0FJvEDc+FFyuNhTM4/lkvm8Q+2YhXQ5qrDMFOfDtTbLuZaLlSRM3bwgan9Gasy1ChY34 RXzVqYjo45Ge4pu0POBsgmUeGLG0sYU0T1xr9lRwocw2C0SSsu63nj/JbY6KCVwCiLd34ujQsNh yrKqGpI8QeGSQC2brzFjA6pRAQHNyS2iWeHY2tG5OtgjIr6V/qe0vOMO4QsjNZOpuehYkT6I8dS uSilb81f8y40IT0CZGl8Jb+l6/yjRGKpDroBpl2eZHp4ZmjoIn1ZOql8OfYasatZ3gesedyoesw rTaQ== X-Received: by 2002:a05:600c:354e:b0:493:d216:ed96 with SMTP id 5b1f17b1804b1-493e68930bdmr129365835e9.9.1783699996986; Fri, 10 Jul 2026 09:13:16 -0700 (PDT) From: "Denis V. Lunev" To: qemu-block@nongnu.org, qemu-devel@nongnu.org Cc: den@openvz.org, Kevin Wolf , Hanna Reitz Subject: [PATCH 3/3] iotests/migrate-bitmaps-postcopy-test: drop the postcopy timing assertion Date: Fri, 10 Jul 2026 18:13:09 +0200 Message-ID: <20260710161309.1104712-4-den@openvz.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260710161309.1104712-1-den@openvz.org> References: <20260710161309.1104712-1-den@openvz.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=lists1p.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=den@openvz.org; helo=mail-wm1-x32d.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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 @openvz.org) X-ZM-MESSAGEID: 1783700055030158501 Content-Type: text/plain; charset="utf-8" test_postcopy_success asserted `downtime * 10 < postcopy_time` to confirm the run spent meaningful time in postcopy. This is an unnormalized wall-clock heuristic tuned to old hardware (commit e80a4150a5), and fails on fast hosts where the bitmap payload now transfers in under a second while switch-over downtime stays fixed (e.g. downtime=3D0.6s, postcopy_time=3D0.8s). It is also a weak proxy for the regression it guards against (postcopy degenerating to precopy): that is already covered by the bitmap sha256, mid-migration update and persistence checks, none of which depend on this timing. Drop the assertion; keep printing the timings under debug. Signed-off-by: Denis V. Lunev CC: Kevin Wolf CC: Hanna Reitz --- tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test b/tests= /qemu-iotests/tests/migrate-bitmaps-postcopy-test index c519e6db8c..f9c55b6395 100755 --- a/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test +++ b/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test @@ -186,7 +186,6 @@ class TestDirtyBitmapPostcopyMigration(iotests.QMPTestC= ase): downtime =3D event_dist(event_stop, event_resume) postcopy_time =3D event_dist(event_resume, event_complete) =20 - assert downtime * 10 < postcopy_time if debug: print('downtime:', downtime) print('postcopy_time:', postcopy_time) --=20 2.53.0