From patchwork Mon Apr 17 13:43:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 673830 Delivered-To: patch@linaro.org Received: by 2002:adf:fcce:0:0:0:0:0 with SMTP id f14csp1515691wrs; Mon, 17 Apr 2023 06:45:36 -0700 (PDT) X-Google-Smtp-Source: AKy350ZIs2d59KuIakS2x1HHbY8TxGwV8i/auvyEgD2/j5PKm/6zY3e0KkPwLRwxqL8VRZc5zlcx X-Received: by 2002:ad4:4ea5:0:b0:5ef:4729:b50c with SMTP id ed5-20020ad44ea5000000b005ef4729b50cmr19948893qvb.38.1681739136810; Mon, 17 Apr 2023 06:45:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681739136; cv=none; d=google.com; s=arc-20160816; b=h9+WcBOuOLrJV7m75nyjbq81aPTNB1jfgL4js8aqGcTQjZt+hF3t9+NIYQg9V1vXoz 0Lk+HL7hKkUmjqzuMNVsCSPI1H7EwuJ0Im6oQAMJcONCnr+eemFtCeZqhWDbykOzaaXg pN+ediK2Nq6IaUxjguiMriEe6uWxAd7pFraaylCjWnz9T39DSSvMyFDiCN68BVJHfLY7 g6nLmM4Ifa0uFsWKTIf+wZTKpcqKk25zxckh9ruvzmpLPXnvRM7aStFwzrhK5knLrDfG uNPpcHGuqpYfZl5d4iOwd/G4QDvj7eZ5WUI8v5/0VsNOjFyQjq6H7s0KjcjBDtJza21K u2Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=P9n1yCkab3nqvFJeat8PsO+uayv0uqVeYCdXKnT6Q+k=; b=Whqr2eYol7P/zBpQ/TGzPwkSb104+PBeehAHrw8nIkzXPBhH4NQeKhgs39pbZhn3Nl 7aZX960wEhLMb7z9xeYBS6Q/ROFFl0hLT6JxY4j5FxRRz/3ssaCGCU60togQpFBocws/ zLwG0aGZ9JeGk2oMvb2I+S5de4ntvezWXRzRhG1RRbFLriGvS3ladikgQAHOZQY2Oc5b a2v86hqiwNhrnso1ivZZoNY028iknUCnshvafz5tjlgMOeWIowZ23e+Ti07CpzSrbiwr av5EV6xp9Qqn1ksTXI4gWtr07OEL0tLz7YaqXzK47yCZmpF/ALn5kJjPFU5aamlPzlz3 CroQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NCUZEv2F; 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=pass (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 123-20020a370381000000b0074de71f36c2si1752688qkd.569.2023.04.17.06.45.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Apr 2023 06:45:36 -0700 (PDT) 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=pass header.i=@linaro.org header.s=google header.b=NCUZEv2F; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poP8u-0000y9-5x; Mon, 17 Apr 2023 09:43:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poP8k-0000tZ-Uh for qemu-devel@nongnu.org; Mon, 17 Apr 2023 09:43:32 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1poP8i-0006NM-QO for qemu-devel@nongnu.org; Mon, 17 Apr 2023 09:43:30 -0400 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-2fa0ce30ac2so781990f8f.3 for ; Mon, 17 Apr 2023 06:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681739006; x=1684331006; 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; bh=P9n1yCkab3nqvFJeat8PsO+uayv0uqVeYCdXKnT6Q+k=; b=NCUZEv2FuMvvKC5FvkHpWFoWTBaQPxihC8LuWNODAiZo8bMc2MJ/5qjMTbvbu8hCxc sg8MMoChZP7bxT8NYaeyaygv1TXe8LOVZJnYW4980TrCpwTX+hRl5UTAe6fmMR5txKFq DBak+lzhSjNVizYcqdPTY18VhXMPdc4PwT+qY5YS6SI3sZGc8y3mdiWxGHuMjkhfrgJe rWQQIG8qFpqPGxV6bA3NBwqxmc3fuh/dhbiwc0enXxPCuTyiRjsxAZZPNhRWaAidCA2o +EXCquay3HEgs/oI9bP3IBetguAg1tw49A4s6mJGubAIclS2M92moQqoTqcF6HAmh89L mtQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681739006; x=1684331006; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P9n1yCkab3nqvFJeat8PsO+uayv0uqVeYCdXKnT6Q+k=; b=jXlJ38dBGWf5nJtl7XMfDWQlnlUklxtycy0MyzLAfScW69cPmDdbz+6DwILJugOucW 7TEby0JfXyCoNzSFAJgDtaGpKDdIxfsjyr+M9nTJJ9LAJl4qhmom4IPv92qnYcw9aSo9 8yZfQxKN1AI1bzBJ+ia0XexC/HsY64abNtGdrmk1qMyJ2FVAnL6RbTM5yTc5/srw3Efo QG7VmmYn+IR+QJKAp87KAxsP8jW2b6SsceauUn1OsPhwakKvSLpYt1Fpdf2IQOqOh3SK ENZtjrjo4SAj6pAMWUjTIvW51LJcmQTGhra4FDNw5f364af4A2G7Q7JmfE6uX7yuercA ugPg== X-Gm-Message-State: AAQBX9fu1WUlgtHuxv/4uC2+EnysZe2cbnP+u0U1nXJQUY84SiG3uSoT q5AiAGQsFonaX5dWSTHl4WSpFQ== X-Received: by 2002:a5d:45c8:0:b0:2f6:620f:92ca with SMTP id b8-20020a5d45c8000000b002f6620f92camr5268382wrs.23.1681739006125; Mon, 17 Apr 2023 06:43:26 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id z4-20020adfe544000000b002f6dafef040sm8820388wrm.12.2023.04.17.06.43.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 06:43:22 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E8C411FFB8; Mon, 17 Apr 2023 14:43:21 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , Bastian Koppelmann , Markus Armbruster , Beraldo Leal , =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Stefan Hajnoczi , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Cleber Rosa , Radoslaw Biernacki , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Leif Lindholm , John Snow , Paolo Bonzini , Wainer dos Santos Moschetta , qemu-arm@nongnu.org, Kautuk Consul , Hariharan T S Subject: [PATCH v4 1/6] tests/requirements.txt: bump up avocado-framework version to 101.0 Date: Mon, 17 Apr 2023 14:43:16 +0100 Message-Id: <20230417134321.3627231-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230417134321.3627231-1-alex.bennee@linaro.org> References: <20230417134321.3627231-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.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, T_SCC_BODY_TEXT_LINE=-0.01 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Kautuk Consul Avocado version 101.0 has a fix to re-compute the checksum of an asset file if the algorithm used in the *-CHECKSUM file isn't the same as the one being passed to it by the avocado user (i.e. the avocado_qemu python module). In the earlier avocado versions this fix wasn't there due to which if the checksum wouldn't match the earlier checksum (calculated by a different algorithm), the avocado code would start downloading a fresh image from the internet URL thus making the test-cases take longer to execute. Bump up the avocado-framework version to 101.0. Signed-off-by: Kautuk Consul Tested-by: Hariharan T S Message-Id: <20230327115030.3418323-2-kconsul@linux.vnet.ibm.com> Message-Id: <20230330101141.30199-10-alex.bennee@linaro.org> Reviewed-by: Thomas Huth --- v2 - limit --max-parallel-tasks $(JOBS_OPTION:-j%=%) --- tests/Makefile.include | 18 +++++++++++------- tests/requirements.txt | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index 9422ddaece..a4de0ad5a2 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -138,14 +138,18 @@ get-vm-image-fedora-31-%: check-venv # download all vm images, according to defined targets get-vm-images: check-venv $(patsubst %,get-vm-image-fedora-31-%, $(FEDORA_31_DOWNLOAD)) +JOBS_OPTION=$(lastword -j1 $(filter-out -j, $(filter -j%,$(MAKEFLAGS)))) + check-avocado: check-venv $(TESTS_RESULTS_DIR) get-vm-images - $(call quiet-command, \ - $(TESTS_PYTHON) -m avocado \ - --show=$(AVOCADO_SHOW) run --job-results-dir=$(TESTS_RESULTS_DIR) \ - $(if $(AVOCADO_TAGS),, --filter-by-tags-include-empty \ - --filter-by-tags-include-empty-key) \ - $(AVOCADO_CMDLINE_TAGS) \ - $(if $(GITLAB_CI),,--failfast) $(AVOCADO_TESTS), \ + $(call quiet-command, \ + $(TESTS_PYTHON) -m avocado \ + --show=$(AVOCADO_SHOW) run --job-results-dir=$(TESTS_RESULTS_DIR) \ + $(if $(AVOCADO_TAGS),, \ + --filter-by-tags-include-empty \ + --filter-by-tags-include-empty-key) \ + --max-parallel-tasks $(JOBS_OPTION:-j%=%) \ + $(AVOCADO_CMDLINE_TAGS) \ + $(if $(GITLAB_CI),,--failfast) $(AVOCADO_TESTS), \ "AVOCADO", "tests/avocado") check-acceptance-deprecated-warning: diff --git a/tests/requirements.txt b/tests/requirements.txt index 0ba561b6bd..a6f73da681 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -2,5 +2,5 @@ # in the tests/venv Python virtual environment. For more info, # refer to: https://pip.pypa.io/en/stable/user_guide/#id1 # Note that qemu.git/python/ is always implicitly installed. -avocado-framework==88.1 +avocado-framework==101.0 pycdlib==1.11.0