From patchwork Thu Dec 19 10:49:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 182084 Delivered-To: patch@linaro.org Received: by 2002:a92:d0a:0:0:0:0:0 with SMTP id 10csp313267iln; Thu, 19 Dec 2019 02:54:41 -0800 (PST) X-Google-Smtp-Source: APXvYqyVCXM6F6xN1sJORgWiK8MNPwvzQ7dtjv6MQ3D5w7xHP5txiLc71TjhN6f+3IGyUmaw3w67 X-Received: by 2002:ad4:56a7:: with SMTP id bd7mr7049056qvb.238.1576752880924; Thu, 19 Dec 2019 02:54:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576752880; cv=none; d=google.com; s=arc-20160816; b=O7RHDU5YiqTFmVn+5HPe/Cq3RgdLtwGXUhYUyVKiI89deY++6wnyGBmayd3qv6647R IClG/3nc1MoCpBh0I7sz3a+8H6iA1llvWkx5lZ8MpwUhtd3HeX82kLfa74GebMFqPRZN Xz65/cBlKg60tPW4PzcXXsrm4pqgcDCqBS27nrnF/RcRLuE3hLMIVlE8uKkYyH2QDkgP zIZklmP8xVVq56f6D1RApRQWPR+fu5uOnO0dy7JljkMptRSgXPXiSyj7+X7rXkzHszw9 TTa55lYEpjblj9Qg+OTa9MixQVpGykTiZTSo6N8Xsv1eA0UV/gTnouJOiblvrjSTM4mJ uU/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=ppf+32iUYT5wLQ7K4SiHbEd1II5Q2/neiLzdRWS+Cpo=; b=O7M5iMyR+iooXC6B/XAuUvPXdscf1sKDfy2lA5BepfKcjWhPJMQUuzyc/Sap61D//y VghqRJcNaQsOb4oUQvo/W4eS5vRepG4VRMU3ui8WhXt855MWWMJ9Zq3ZQZpZEe5jrY/c HjolBlF8AfbL0ywbzsRddrKQP0VtATvR557QkUlyP3G+FrTPO++7yvk4dj/nUZEC1pAU uauIs8Jo/dOVV3ofWh6dzZUYi/74LRzDjSJI/kRrGnsC3jIRRqksWl8839ntGyu7gkfr RVgZnpo7WRDyvKD/+kZTerwyYcDfxOLysQNAg3DrQ2eippmPTWmO64emA+9Tfj0FjLfd pQjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=oMZwvs0q; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x21si2978416qtq.402.2019.12.19.02.54.40 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Dec 2019 02:54:40 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=oMZwvs0q; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:38810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihtS4-0005lx-9A for patch@linaro.org; Thu, 19 Dec 2019 05:54:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38990) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihtNK-0006f7-Vw for qemu-devel@nongnu.org; Thu, 19 Dec 2019 05:49:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihtNJ-00007B-PI for qemu-devel@nongnu.org; Thu, 19 Dec 2019 05:49:46 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:41089) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihtNJ-0008SO-DV for qemu-devel@nongnu.org; Thu, 19 Dec 2019 05:49:45 -0500 Received: by mail-wr1-x433.google.com with SMTP id c9so5472611wrw.8 for ; Thu, 19 Dec 2019 02:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ppf+32iUYT5wLQ7K4SiHbEd1II5Q2/neiLzdRWS+Cpo=; b=oMZwvs0qYvo5sD2b7x6Sum0AjDageW28Uht7zW+iAotGfwDakn83a8S3zxw3Lzbias WPgK4MRu354i8nUM7T3+0fuyD8lG9ILafGSd9gGZNi3Z0kRUWWoiup+V68AYjC/OvXEe Fb6HgwZMDiw6MNnXyWIvAcm14nvdMlx4KuOFlerja17IIP4zNjmCq9aiW7pOhQTohwqV kmCglnVL10fJR8E5L64LUnu0652EFE3+aXik1PFNvc+RihX4jE4G5qABbJG7eRz4IUfo LnU3RCGzXJl6/YraUuvGb1I8klXP8YLXqVstolOmrO8jqDmeEaz/t9XiMPTFy/sBqWme Awng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ppf+32iUYT5wLQ7K4SiHbEd1II5Q2/neiLzdRWS+Cpo=; b=b5qDtYBAYR74NJXSJgyQ49LPx3G4aXYUXb4kikW0i7A2+tQITiVePO7hT6Cqo3Md8C UFVzunDHEGEIATPnEDj3K5vr48m/LdXjYoWA3vaf+ff5ioLhB5HY/vN+EjObI6pJYhcV pd+MMZr3Q8d2SI1oA3mk3WMpdUQq2RW2TQ02E3b66PHEFndcYsDbHg4xvQvgPRcUnz4o ViSaddokBm/dFWmU0hzDrE8wRgL5X8tZvPMzXzufYcVXAi7IBoMVKo20IZgJHUBSPYij HIhbrWsMuG0bOG8ki0qZ+Mdcrqcu/V/1rYo5161a853VKKepo4vC+iplS6A/B12s511F GbMA== X-Gm-Message-State: APjAAAXREkyQlvzM8Z+VIklkDAbkVvKJQt7OPH4+b/gSkay1/+KNOEzK +5tNWYuBArr3ubQVPKowuYa3Xg== X-Received: by 2002:a5d:4fd0:: with SMTP id h16mr8292145wrw.255.1576752584321; Thu, 19 Dec 2019 02:49:44 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a1sm5676904wmj.40.2019.12.19.02.49.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 02:49:41 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 03BEF1FF93; Thu, 19 Dec 2019 10:49:35 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 06/25] iotests: Skip test 079 if it is not possible to create large files Date: Thu, 19 Dec 2019 10:49:15 +0000 Message-Id: <20191219104934.866-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191219104934.866-1-alex.bennee@linaro.org> References: <20191219104934.866-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::433 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: Kevin Wolf , Thomas Huth , "open list:Block layer core" , =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , qemu-devel@nongnu.org, Max Reitz , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth 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 Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20191204154618.23560-4-thuth@redhat.com> -- 2.20.1 diff --git a/tests/qemu-iotests/079 b/tests/qemu-iotests/079 index 81f0c21f530..78536d3bbfa 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 +# Some containers (e.g. non-x86 on Travis) do not allow large files +_require_large_file 4G + echo "=== Check option preallocation and cluster_size ===" echo cluster_sizes="16384 32768 65536 131072 262144 524288 1048576 2097152 4194304"