From patchwork Thu Dec 19 10:49:14 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: 182082 Delivered-To: patch@linaro.org Received: by 2002:a92:d0a:0:0:0:0:0 with SMTP id 10csp313033iln; Thu, 19 Dec 2019 02:54:22 -0800 (PST) X-Google-Smtp-Source: APXvYqz3BMF09ftmJYaQqTcz2TEBnoevVVBE8gBomkwLW+Lqp3gLn4msT6ipXp11TkxQvlkyfbpC X-Received: by 2002:a37:3ce:: with SMTP id 197mr7590542qkd.454.1576752862876; Thu, 19 Dec 2019 02:54:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576752862; cv=none; d=google.com; s=arc-20160816; b=MIu3FBNn+BZeLAp/ksRTUR1LG4U87fuF1qXDZc/c0cVdzOH5QL1UBc1UY5a4Oh102b AkEwMeVNxPtlwhK9gs400qEwYlIJGtuZFeNadhDc2D8UV+tg1RSfzcDY+gnF4LgfRS0G b+zeFFFzAKw9UYrlqzkyzw/sPfG0VJrw+CSEM7bgIJAygIjFu8YWWskKumFFcST3DrZs O0qcyghHaZ5qtCsX91cZcKuGrqyI0IAbL43wBQW/ADxycMnzXEoQjM+W5kHIux2Ijpvt 8Zxt0YW6vthZqobIQ/PzCC5cbRbPBviqRePC+6HAd78NHHGpdZpQN+mb2j8vwLjB/V8/ bzfg== 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=903ieA21LmcrJVAsLL1LFphWZ9y7liPxJNyTsqIDuUs=; b=oPrveKE8CAUA28fb1CQMlX2EvAaPrZ/SxkNdU+kcq0X6TblaD9C0C75BXcfZghBRjw 2S8bNifJ9W1B/aqpqRTptg0bpeBORGTqsKIHP8WyJw/5Je8cINJfRAyY8tlZPZBp7fsV lq65dY6b7IW55BSgoLatEBxxxbipCIuCV1f+4T945d5TCCHXwIoj5soFjORS8V+4Ay1b 0ziR9sJTRQgd9bIwnBv8B9tPy0eyhU5NLFPxoahl5qNLf10evPy0FE1zhms7i253osbh TU1E4Zpp/n0xMBacOTZaT7ndq2Vt/UI+l8nWTbFDg9JbpNfNuR3uq1R/87Sh6xGMPrO5 duuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=yk3jf9+4; 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 cj13si2925685qvb.47.2019.12.19.02.54.22 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Dec 2019 02:54:22 -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=yk3jf9+4; 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]:38802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihtRl-0005e8-TR for patch@linaro.org; Thu, 19 Dec 2019 05:54:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38824) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihtNJ-0006dR-PH 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 1ihtNI-0008S8-Mo for qemu-devel@nongnu.org; Thu, 19 Dec 2019 05:49:45 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:33720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihtNI-0008NM-E3 for qemu-devel@nongnu.org; Thu, 19 Dec 2019 05:49:44 -0500 Received: by mail-wr1-x42d.google.com with SMTP id b6so5516305wrq.0 for ; Thu, 19 Dec 2019 02:49:44 -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=903ieA21LmcrJVAsLL1LFphWZ9y7liPxJNyTsqIDuUs=; b=yk3jf9+4el4JsIh3kBJo7wFoxtSkjc9VVNRqehA+FL/FAsNad/qRHPe4W8n6R6IYDt utdt2eFfNnpEPBSI7lY5MBRS8osAnlNZ+XsYMMRes6SYP0qEhtN2FHXZZMzqRlQCYX5P bJU8oyvHz33djfkHE/UoYwRVumaDE3L3+brcCyG7GOpeFRWoF4apCEVuJsm3C4omRtdz m/rxoWcqwT6sGYOeCYT+RBeqifKJ7deaAGDbiuY0Ak9X0dFDzCT2xGYq/UvNbKPvmvYj 9BfBDZyk57KUQz41W0HBqqPRBhHLicna4ZINLcDq3sbT3CuIAA6x+c0P7jg/mvns2Y41 49EA== 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=903ieA21LmcrJVAsLL1LFphWZ9y7liPxJNyTsqIDuUs=; b=M64Xl3DAP92T8yOqtNxItvELdlKVylCo7iy/j5LSKdpUSv/ubA/odCuxDtJda+3DGo 8eezm9UFskxLSpcioGsUYB3FNikWBxeuOEr3L20LNK7MC6aKJwlR5m0xoSmc4AiPdk8f d7qYQgw3po4aj92HogYO48bzCR1V0LZ73qOfaaKGXfzl0Tn/VB6qnRvSNPKCn4ajH19K cqaYjDor7iukj6vwQz6AcPOfvNo2vp49FOvQVjQk/pCW8UjNLUhadwqq3WZ3dv5W6Ock sc4ju3dAvXFczeUoxxqKpsQ/d/9jE9pN0utW13brJlTGiehKK0HXvuuij1MK4kSEZlWy NFcQ== X-Gm-Message-State: APjAAAW2YInTPD3nMtCZsLsra/aN8XyxEQ0E2gEKoth6zR2QU5x5yLmT +BEdkMNTf8gtdwSTd276P8K+OA== X-Received: by 2002:adf:f3d0:: with SMTP id g16mr9043454wrp.2.1576752583259; Thu, 19 Dec 2019 02:49:43 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id x14sm5620446wmj.42.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 E3F251FF92; Thu, 19 Dec 2019 10:49:34 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 05/25] iotests: Skip test 060 if it is not possible to create large files Date: Thu, 19 Dec 2019 10:49:14 +0000 Message-Id: <20191219104934.866-6-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::42d 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?Philippe_Ma?= =?utf-8?q?thieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Max Reitz , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth 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 Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20191204154618.23560-3-thuth@redhat.com> Signed-off-by: Alex Bennée -- 2.20.1 diff --git a/tests/qemu-iotests/060 b/tests/qemu-iotests/060 index b91d8321bb8..d96f17a4846 100755 --- a/tests/qemu-iotests/060 +++ b/tests/qemu-iotests/060 @@ -49,6 +49,9 @@ _supported_fmt qcow2 _supported_proto file _supported_os Linux +# The repair process will create a large file - so check for availability first +_require_large_file 64G + rt_offset=65536 # 0x10000 (XXX: just an assumption) rb_offset=131072 # 0x20000 (XXX: just an assumption) l1_offset=196608 # 0x30000 (XXX: just an assumption)