From nobody Mon Feb 9 00:43:02 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1574183574; cv=none; d=zoho.com; s=zohoarc; b=PIENGOyXdhAHTF87R/bovwFpF1o5VRlBYBS1+H2dHHOngVomjkZCbRzcT/re5gSkWI27itJfjs8SQeVpUOVa/Xn+QOSzOxaLW8Rgxpd4CMdAcaTV5IhdlCkkyarm6lpHmpeHqL/MPQlKKuFrM1Q8SxtRWDoeFzKXt23Q3vqRnJ4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1574183574; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=K43NMrnRB8JWadXcLr4MJSLq+KllZj7hsQaNx06RyLA=; b=YcNTGhPVo/tCjCeyhtjf+fvoGfZ1j+EYxuYkqXgHi5lAcxgKARsG7JL3nIEAsZXjJUrmyIY9kmUbyJNQUtbXJeL6JIU7cdJktTq+l6YRblJSH4c0Oejs5oIxXmOWenoHR2dpGON+EE7IA4SRRkyNVa8RHfToe7S3IHkwQ6VJ/YA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1574183574580967.6082547283069; Tue, 19 Nov 2019 09:12:54 -0800 (PST) Received: from localhost ([::1]:48126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX73d-0001bU-2n for importer@patchew.org; Tue, 19 Nov 2019 12:12:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47197) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX6zX-0005Qj-R9 for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX6zV-0004Gz-N1 for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:38 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:24662 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iX6zT-0004Ef-PV for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:36 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-186-S6q729czNFKhINGM0VEhPA-1; Tue, 19 Nov 2019 12:08:31 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 06311102C862; Tue, 19 Nov 2019 17:08:30 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-117-181.ams2.redhat.com [10.36.117.181]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1C7DC5E27A; Tue, 19 Nov 2019 17:08:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574183314; 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=K43NMrnRB8JWadXcLr4MJSLq+KllZj7hsQaNx06RyLA=; b=hA4bfm3262Awn896i5gRUZWCLfpD4VcnDtsq+vqaWDv4q6rMZYeQ4zHkXsrtjRZjw1OKzt QtQDi6g6+s7jrEf9FSa0a95PvTuiDJXojVjuN2SFeC3odu+8rYxjSzET7r9wmHHjgR5XM3 fCEL+S0DUVCDtDn6Arj01qZsP/0025I= From: Thomas Huth To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Kevin Wolf , Max Reitz , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 1/6] iotests: Skip test 060 if it is not possible to create large files Date: Tue, 19 Nov 2019 18:08:16 +0100 Message-Id: <20191119170822.45649-2-thuth@redhat.com> In-Reply-To: <20191119170822.45649-1-thuth@redhat.com> References: <20191119170822.45649-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: S6q729czNFKhINGM0VEhPA-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Christian Borntraeger , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-block@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Test 060 fails in the arm64, s390x and ppc64le LXD containers, which apparently do not allow large files to be created. The repair process in test 060 creates a file of 64 GiB, so test first whether such large files are possible and skip the test if that's not the case. Signed-off-by: Thomas Huth Reviewed-by: Alex Benn=C3=A9e --- tests/qemu-iotests/060 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/qemu-iotests/060 b/tests/qemu-iotests/060 index b91d8321bb..e7ee865c55 100755 --- a/tests/qemu-iotests/060 +++ b/tests/qemu-iotests/060 @@ -49,6 +49,12 @@ _supported_fmt qcow2 _supported_proto file _supported_os Linux =20 +# The repair process will create a large file - so check for availability = first +if ! truncate --size=3D64G "$TEST_IMG"; then + _notrun "file system on $TEST_DIR does not support large enough files" +fi +rm "$TEST_IMG" + rt_offset=3D65536 # 0x10000 (XXX: just an assumption) rb_offset=3D131072 # 0x20000 (XXX: just an assumption) l1_offset=3D196608 # 0x30000 (XXX: just an assumption) --=20 2.23.0