From patchwork Tue Sep 20 17:15:10 2022 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: 12982644 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7024EC6FA8E for ; Tue, 20 Sep 2022 21:41:39 +0000 (UTC) Received: from localhost ([::1]:44600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oakzq-0006Fb-GB for qemu-devel@archiver.kernel.org; Tue, 20 Sep 2022 17:41:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oagqh-0000az-Iw for qemu-devel@nongnu.org; Tue, 20 Sep 2022 13:16:00 -0400 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]:41860) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oagqg-0000iG-2d for qemu-devel@nongnu.org; Tue, 20 Sep 2022 13:15:55 -0400 Received: by mail-ej1-x629.google.com with SMTP id hy2so4106425ejc.8 for ; Tue, 20 Sep 2022 10:15:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=HAk1owhoyeWDT/goQ0xeRgqf6zzLI7dtllkknf7bW9w=; b=utiXQbCDdOUx1JV+d5f6iI+TPoyPZpLeoJPXEzb7TJKZjKwOBktd7PLWiawkKJGOrv MEakAuxGsVT2bPKhORNbdZ1sJSNi00ciZY+bJ2Fe6cqfC8oSZIQpJrVhWzWU8cm+OH8R GHTRd7QOXBnlvM7JqGzv6QFGq4lQQSybBiQRp/2y/Kmy6xMOOL2jbiQ77SK5lkfhal7n hsC6fx9Yso7SXFIsrS/OKwLDbpi3/9D4VdsxyQPvn0JunNM6eV7qMqi7gd4u26rzNK5/ DmZIetHpk8Iw8gn230XYDYMFEyxlXhwWkNFwDnFd1mPH8l1nQDbQyXCdqextCDktc0Uu /a3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=HAk1owhoyeWDT/goQ0xeRgqf6zzLI7dtllkknf7bW9w=; b=djGlufrvJ4j9EBCtVdYYxc3v3x2xuDpBNXzGvj8xxm9vHTGRM8vCJtdVayHB22fbVr 0Vm3MOdc4m/EWnk/7sgtjmUGxmRK8WYSWjN7VgXCBiLGIBSpOBGBGcdbzULqByWgAmEM I/Ug3eV1GX25EVP1+aSIQ8kZOws5yCpkFAlSOI8otcdV03ROE6XTsLM8UHnhcuUqAByl 15rZFJIG+R2lBAS0pfDf7y2VRu0ecGmXZb+wsmMeYBwd5WYag7p0WaJr6tGJBuWwIjwC J942yyhNVqRZqD5KhCjjN0kfWplQDKk4RODr9qk7h8+D4RrKibxqmK2NMAwSONfAsm4Z tvdg== X-Gm-Message-State: ACrzQf3kHJXoAUP/XL1IQcr5dSte7o13OIXk9HVhJuGAaPyRFrBQ+r6t 4bduqUYAM6tW0XM1KcrPlRMXcA== X-Google-Smtp-Source: AMsMyM5z21Qrzgk9oi3biHGZOXqk986mR2HR51EDUr5RTct5BSCJbrqL8zS8BkE+uVEYEBpL9msf5Q== X-Received: by 2002:a17:907:6d28:b0:781:c4a3:4a08 with SMTP id sa40-20020a1709076d2800b00781c4a34a08mr3211271ejc.280.1663694152184; Tue, 20 Sep 2022 10:15:52 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id v18-20020a170906293200b007341663d7ddsm163806ejd.96.2022.09.20.10.15.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 10:15:43 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 5F5071FFBF; Tue, 20 Sep 2022 18:15:34 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: stefanha@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 07/30] tests/avocado: reduce the default timeout to 120s Date: Tue, 20 Sep 2022 18:15:10 +0100 Message-Id: <20220920171533.1098094-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220920171533.1098094-1-alex.bennee@linaro.org> References: <20220920171533.1098094-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x629.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 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" We should be aiming to keep our tests under 2 minutes so lets reduce the default timeout to that. Tests that we know take longer should explicitly set a longer timeout. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Message-Id: <20220914155950.804707-8-alex.bennee@linaro.org> diff --git a/tests/avocado/avocado_qemu/__init__.py b/tests/avocado/avocado_qemu/__init__.py index 5f1d3e551c..910f3ba1ea 100644 --- a/tests/avocado/avocado_qemu/__init__.py +++ b/tests/avocado/avocado_qemu/__init__.py @@ -229,7 +229,7 @@ def exec_command_and_wait_for_pattern(test, command, class QemuBaseTest(avocado.Test): # default timeout for all tests, can be overridden - timeout = 900 + timeout = 120 def _get_unique_tag_val(self, tag_name): """