From nobody Wed May 8 22:37:23 2024 Delivered-To: importer@patchew.org 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; Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1575282296; cv=none; d=zohomail.com; s=zohoarc; b=LDoPe+oztvXxoXIOpnTgo3a0hTO/bvVVq+C4YAmSbjXky+VkRq/ue5MDEkGCveNtOoDv0A63sWMOmbofyWIHJKERSMRSf76ol66U+sl0XJeShsSXV/7IIT994upl0gXZivAm6/DEIdQSjFHIKJ8xb8Kwgm29vUr/zQKjSA/91pQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575282296; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=9/3u8dKCSDzbWxj2nBAiYl0KSceplmOWQCmOia8vAvc=; b=T4jp9TaR7SdSXOwftlr3FWRdQtjYa+TMJWmYJlDmfCQhoRzD1Mo0F4+5NcPUo+4l/MSL5WVqTI6U+jGbw/FBLBr92xybtvU/IUZmUYIjbZeOivjEgHRrbTJmL436eB4NdAAHMoXQp5znqBPWb5wovUMB9UjtmenikNi39CeeoaY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=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 1575282296645277.6450972621874; Mon, 2 Dec 2019 02:24:56 -0800 (PST) Received: from localhost ([::1]:33518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibisx-00080z-Hc for importer@patchew.org; Mon, 02 Dec 2019 05:24:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60941) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibil5-0008In-Kw for qemu-devel@nongnu.org; Mon, 02 Dec 2019 05:16:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibil3-00088O-G9 for qemu-devel@nongnu.org; Mon, 02 Dec 2019 05:16:47 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:36292 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ibil3-000833-D5 for qemu-devel@nongnu.org; Mon, 02 Dec 2019 05:16:45 -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-185-E-UgjZGmNrymLASQzXIHhw-1; Mon, 02 Dec 2019 05:16:38 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1C51310054E3; Mon, 2 Dec 2019 10:16:37 +0000 (UTC) Received: from thuth.com (ovpn-117-196.ams2.redhat.com [10.36.117.196]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8BA3267E56; Mon, 2 Dec 2019 10:16:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575281801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9/3u8dKCSDzbWxj2nBAiYl0KSceplmOWQCmOia8vAvc=; b=MkKT4pfCBCTjFYkuShYrEUJnSmgy21+HW8ruNymSb9Uzjh+nEBEBnl2kWJIFVa4uxVIDW9 jC0nMmOlir/j9JYZrcqluVsLz4OaPAL+zzdnr+zdLUi8lpWMVOoDobo1zvUtz3/ik5rHoP OUN3/qNmHYxKZz9KJ/sOcqMwTUkEHR0= From: Thomas Huth To: qemu-block@nongnu.org, Kevin Wolf , Max Reitz Subject: [PATCH 1/3] iotests: Provide a function for checking the creation of huge files Date: Mon, 2 Dec 2019 11:16:29 +0100 Message-Id: <20191202101631.10003-2-thuth@redhat.com> In-Reply-To: <20191202101631.10003-1-thuth@redhat.com> References: <20191202101631.10003-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: E-UgjZGmNrymLASQzXIHhw-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: 207.211.31.81 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: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Some tests create huge (but sparse) files, and to be able to run those tests in certain limited environments (like CI containers), we have to check for the possibility to create such files first. Thus let's introduce a common function to check for large files, and replace the already existing checks in the iotests 005 and 220 with this function. Signed-off-by: Thomas Huth Reviewed-by: Alex Benn=C3=A9e --- tests/qemu-iotests/005 | 5 +---- tests/qemu-iotests/220 | 6 ++---- tests/qemu-iotests/common.rc | 10 ++++++++++ 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/tests/qemu-iotests/005 b/tests/qemu-iotests/005 index 58442762fe..b6d03ac37d 100755 --- a/tests/qemu-iotests/005 +++ b/tests/qemu-iotests/005 @@ -59,10 +59,7 @@ fi # Sanity check: For raw, we require a file system that permits the creation # of a HUGE (but very sparse) file. Check we can create it before continui= ng. if [ "$IMGFMT" =3D "raw" ]; then - if ! truncate --size=3D5T "$TEST_IMG"; then - _notrun "file system on $TEST_DIR does not support large enough fi= les" - fi - rm "$TEST_IMG" + _require_large_file 5T fi =20 echo diff --git a/tests/qemu-iotests/220 b/tests/qemu-iotests/220 index 2d62c5dcac..15159270d3 100755 --- a/tests/qemu-iotests/220 +++ b/tests/qemu-iotests/220 @@ -42,10 +42,8 @@ echo "=3D=3D Creating huge file =3D=3D" =20 # Sanity check: We require a file system that permits the creation # of a HUGE (but very sparse) file. tmpfs works, ext4 does not. -if ! truncate --size=3D513T "$TEST_IMG"; then - _notrun "file system on $TEST_DIR does not support large enough files" -fi -rm "$TEST_IMG" +_require_large_file 513T + IMGOPTS=3D'cluster_size=3D2M,refcount_bits=3D1' _make_test_img 513T =20 echo "=3D=3D Populating refcounts =3D=3D" diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc index 38e949cf69..91c0217e59 100644 --- a/tests/qemu-iotests/common.rc +++ b/tests/qemu-iotests/common.rc @@ -657,5 +657,15 @@ _require_devices() done } =20 +# Check that we have a file system that allows huge (but very sparse) files +# +_require_large_file() +{ + if ! truncate --size=3D"$1" "$TEST_IMG"; then + _notrun "file system on $TEST_DIR does not support large enough fi= les" + fi + rm "$TEST_IMG" +} + # make sure this script returns success true --=20 2.18.1 From nobody Wed May 8 22:37:23 2024 Delivered-To: importer@patchew.org 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; Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1575282241; cv=none; d=zohomail.com; s=zohoarc; b=K834e7OGUzbFZcNJ6IxV9Opi/BZINhQq3gqj/z8/R85B/vP1ljHQlpYP3nuumyfSWz+dF6jjBeHDU5kqWVX21hWlRVC38ah2E7IDMulbsgH0ThFPr3eTxhwNyQPb4HfsMsxmP1nbVrBxs9+IBHCiwa8iQ4EYgcwtiFDm1+1sMQ0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575282241; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=Fj6HDM3KE3pRtu7dxE+8pWnox8YZTgmkPdDHuXVOU1Q=; b=OE/TmgfILbhVbnqwK3wkwhXH88UW79HAa0+39t5zonLlfHavY1IzZY1yS9R+28bF6RP2Rnzj/7WJMiJMSNFlXSX5vZbK4XA3jcs2R+LWp/T8xxGfbNN+FbZ+XaaQHi2tMhvT6FfHlquqqR7h3vfdBWhEeVVJzZOBbA2GB2ppc5E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=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 1575282241302679.8425346747192; Mon, 2 Dec 2019 02:24:01 -0800 (PST) Received: from localhost ([::1]:33506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibis3-00076v-Rc for importer@patchew.org; Mon, 02 Dec 2019 05:23:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60940) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibil5-0008Im-LT for qemu-devel@nongnu.org; Mon, 02 Dec 2019 05:16:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibil3-00088F-EA for qemu-devel@nongnu.org; Mon, 02 Dec 2019 05:16:47 -0500 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:41482 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ibil1-00083s-W8 for qemu-devel@nongnu.org; Mon, 02 Dec 2019 05:16:45 -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-100-IFbAkq8oNH-cIId9Sn2u8w-1; Mon, 02 Dec 2019 05:16:39 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CBF1219029EE; Mon, 2 Dec 2019 10:16:38 +0000 (UTC) Received: from thuth.com (ovpn-117-196.ams2.redhat.com [10.36.117.196]) by smtp.corp.redhat.com (Postfix) with ESMTP id 76CA467E56; Mon, 2 Dec 2019 10:16:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575281802; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Fj6HDM3KE3pRtu7dxE+8pWnox8YZTgmkPdDHuXVOU1Q=; b=NP0B381seOQ/h42sT04uapf9AxIxShKV44K+wvP5s0YCQk92MASLPgSgNtAle9kp35Api1 OyEyxQ6/xUh18iYMLBODzitk6tiNy43H74feYkYU0PcLm5RoD/4OxU3gM2n0p+WY9rsIDa wk7U5oESw53sdqZ+4CTVBPMHGJytEdo= From: Thomas Huth To: qemu-block@nongnu.org, Kevin Wolf , Max Reitz Subject: [PATCH 2/3] iotests: Skip test 060 if it is not possible to create large files Date: Mon, 2 Dec 2019 11:16:30 +0100 Message-Id: <20191202101631.10003-3-thuth@redhat.com> In-Reply-To: <20191202101631.10003-1-thuth@redhat.com> References: <20191202101631.10003-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: IFbAkq8oNH-cIId9Sn2u8w-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.61 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: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Test 060 fails in the arm64, s390x and ppc64le LXD containers on Travis (which we will hopefully enable in our CI soon). These containers 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 --- tests/qemu-iotests/060 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/qemu-iotests/060 b/tests/qemu-iotests/060 index b91d8321bb..d96f17a484 100755 --- a/tests/qemu-iotests/060 +++ b/tests/qemu-iotests/060 @@ -49,6 +49,9 @@ _supported_fmt qcow2 _supported_proto file _supported_os Linux =20 +# The repair process will create a large file - so check for availability = first +_require_large_file 64G + 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.18.1 From nobody Wed May 8 22:37:24 2024 Delivered-To: importer@patchew.org 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; Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1575282141; cv=none; d=zohomail.com; s=zohoarc; b=AplxRHShMCe/aiErLZNVkbf++lpyHQ1jEQwrZMnEp6D3vfuBtxb26TRH25iYNV4tepMK+CwslVcY5MTh5qgG7q/WQfP1Z8geNQday+gDGhEJleRlNg2zM8pACRF3MIQJAdkVotrNKCsXokaWbNMYMUlBEec/EULyh0ImgPwnAPo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575282141; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=06bvpxKQ3N/x7DAPDOf5iIrQAdu/5VBGhG8lLFNcv2g=; b=YILI0+i4jZ0FtDM+I4++Mutr57tlzwLZQ8ORGMRJMM6TN5d4IRxVe1HmTsCbtVmaqcIMyDjYEPrT/4A537HS4LBq+mw6FY3aTKpWhc3nzUuVQIjFERE0n/mckbePOH+ZzafeP0c+0NGVqk739KiyU5dA2EEeWFQvj3DK88XFpaE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=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 1575282141396738.0623448324241; Mon, 2 Dec 2019 02:22:21 -0800 (PST) Received: from localhost ([::1]:33466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibiqS-0005Q0-A9 for importer@patchew.org; Mon, 02 Dec 2019 05:22:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60988) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibilJ-0008PQ-6K for qemu-devel@nongnu.org; Mon, 02 Dec 2019 05:17:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibilG-0008Ij-SB for qemu-devel@nongnu.org; Mon, 02 Dec 2019 05:17:00 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:50655 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 1ibil5-00089J-Kl for qemu-devel@nongnu.org; Mon, 02 Dec 2019 05:16:49 -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-279-k-X7UMKUOLeRt1Qemsk5iw-1; Mon, 02 Dec 2019 05:16:46 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0AD208024C0; Mon, 2 Dec 2019 10:16:45 +0000 (UTC) Received: from thuth.com (ovpn-117-196.ams2.redhat.com [10.36.117.196]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2423C67649; Mon, 2 Dec 2019 10:16:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575281807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=06bvpxKQ3N/x7DAPDOf5iIrQAdu/5VBGhG8lLFNcv2g=; b=KHqXc9ZqPV9Flr6bKHs0YekXFerluHiz+xczKmPb45fGlfkO7VLaMlGPRz6NZqai/BAh7a zBm3DUWeO204PNWuqSjk8vbGozoM8LlWsruQQlIIs4gvCPPZspFnpTRb83DpAH7+PXIw3N JGkbSfSx9te5W3FgUdHA7lqAA2SUegE= From: Thomas Huth To: qemu-block@nongnu.org, Kevin Wolf , Max Reitz Subject: [PATCH 3/3] iotests: Skip test 079 if it is not possible to create large files Date: Mon, 2 Dec 2019 11:16:31 +0100 Message-Id: <20191202101631.10003-4-thuth@redhat.com> In-Reply-To: <20191202101631.10003-1-thuth@redhat.com> References: <20191202101631.10003-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: k-X7UMKUOLeRt1Qemsk5iw-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: 207.211.31.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: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Test 079 fails in the arm64, s390x and ppc64le LXD containers on Travis (which we will hopefully enable in our CI soon). These containers apparently do not allow large files to be created. Test 079 tries to create a 4G sparse file, which is apparently already too big for these containers, so check first whether we can really create such files before executing the test. Signed-off-by: Thomas Huth --- tests/qemu-iotests/079 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/qemu-iotests/079 b/tests/qemu-iotests/079 index 81f0c21f53..78536d3bbf 100755 --- a/tests/qemu-iotests/079 +++ b/tests/qemu-iotests/079 @@ -39,6 +39,9 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _supported_fmt qcow2 _supported_proto file nfs =20 +# Some containers (e.g. non-x86 on Travis) do not allow large files +_require_large_file 4G + echo "=3D=3D=3D Check option preallocation and cluster_size =3D=3D=3D" echo cluster_sizes=3D"16384 32768 65536 131072 262144 524288 1048576 2097152 41= 94304" --=20 2.18.1