From patchwork Tue Aug 16 12:26:20 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: 597498 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:b345:0:0:0:0 with SMTP id w5csp2343085maz; Tue, 16 Aug 2022 05:27:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR7ER9ILVAwhyW6ffDZ8Ed+OMPoOXJ8UGtKUZARHuBRA4zI8SFLQ/FkOxs8NUHdrbAWH8pBA X-Received: by 2002:a37:ea14:0:b0:6b9:4292:32e8 with SMTP id t20-20020a37ea14000000b006b9429232e8mr14587911qkj.196.1660652855759; Tue, 16 Aug 2022 05:27:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660652855; cv=none; d=google.com; s=arc-20160816; b=zokwu4EgqKwWzckWRivo+waXGG16rfagKnIw74VXj/BwZMojvEV8jKmSoI/sN1rxDx ezPNgzJ9dW/SzRfh6m2EMbh80hN1Rg993XtIL/VkKoslpN6bLMnfj9mvZq0DLkd+YYap yZivJ6MK5CLA9imHGlkCm9xotOEwp3VSHU+yl44S9VF2F36femPO7SuKMURDaMqkOdzz cXvEDrjWhsfxFtNxaHCfF7ZB27O/kF8ZsSZFPZWtUFY82Dy1ks7OqYOE7b8BwHsQe0Op RZi+oWWU0nxcEyY7YWO0xIx6H6VFBGjk4OWRmUpBIFDQou4UH96UgchfJbdjtnBxuGl8 xc1w== 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=lcoW7Lzpi1sLzNSIYAaJ/EO/qi9Z5QpCbFBSmRllJwE=; b=gNSh3k/OlMZSFVPKvSKBTNFXxlpxwqR9PC/POi9qLlRFuImmRMppPbOaJoDN04I1sk 9Q8eKCTTHH4daia6z/To/E7Nzqz32ORlqDT1RMcPARZXdQZdbuzEIz9bB6D5gF5t+24Q RzISXG0FKG0Juo39akDaY3q36PXaReHP+75i+9DAwdN73NIFZtCLSu227brS0x3QUg7x Bxv+Uszete1l3bYg0DEg3hzM6hM6vUizfUvW8Jf/6Rg1QKtKZKFD9W7PeRKNdNO7U73S vG/JkySJ/iMPr/yXcFHl7LklbrzKCtSuOyGRz8tBA+7zwoUYwbBQ+jYs7RuvuIVsGDUZ xhog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YzxllfUq; 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 gv11-20020a056214262b00b004768b9fecaesi7115985qvb.228.2022.08.16.05.27.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Aug 2022 05:27:35 -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=YzxllfUq; 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]:46586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNvfT-0004gO-Bz for patch@linaro.org; Tue, 16 Aug 2022 08:27:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNveN-0004dL-TT for qemu-devel@nongnu.org; Tue, 16 Aug 2022 08:26:27 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:50764) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNveM-0001jO-0v for qemu-devel@nongnu.org; Tue, 16 Aug 2022 08:26:27 -0400 Received: by mail-wm1-x32c.google.com with SMTP id j26so2921314wms.0 for ; Tue, 16 Aug 2022 05:26:25 -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; bh=lcoW7Lzpi1sLzNSIYAaJ/EO/qi9Z5QpCbFBSmRllJwE=; b=YzxllfUqpgE6pDtlwGbkji85vJjbK3adYD81KbyQq8vDyHjj2ZCvR7VE/59qHOUpVz FYlzBLGZfs9/Dpox1a89gjjOsoGHXcp96yogZRuM4Wx4BpapRWV10rLum6T9OoWrBBgA 5U4xazV++38jrNuixxQhwRRyLm/hz+JXCmvkjzIkGRI4ANosOVysn0xEERuvPPmuGkhp dd6GvnDZEWFHibC7ubps3k2ewAHWm5ZluZSNdwZjXVPKQaNuEDaUDfDM+olRuKAluwBn h0FKW7Y5vbkwDpxcNS39/cg/jrA/1BomQogxyMiPcpLEGPWHQcEgYkQSVL6gqMp0wcmy 37GQ== 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; bh=lcoW7Lzpi1sLzNSIYAaJ/EO/qi9Z5QpCbFBSmRllJwE=; b=sJ9mfpyYJ5hqzM/zz+sYiZxPrXZsZa74d6KRJX4xbUW5FF4tMLqdKC1bVzBxjMV2Lc 2fuBIe+EgAtRakqJOl1fP1wcuPoK+le0iNmf638KGEiPTaOkaZFBbO2snn9Tg9xzTi4h aVHKAji+HNEtOxcONxr0sXSV38G3glpbHy4HMz+Nu+tr9sM7+7lk9Q3Wq5j5ZGZDy49h R+9zza3dgDOpdAJCom0U6xE68PlArrJO90zpqlI6zFf1oxHeeCmw8ClWEeUjvJVD7bYk 15tC2YDtDg0F7kgK6feUGo+BNU/g4ew0NFQG7GZyu3+u5bm1zXQsR63/e3UXk7PUjq3Y zKdg== X-Gm-Message-State: ACgBeo3BrFz0JfEdeOsa4QCu7YtoZxf2HEQPCi821pnugnBeFdYHk/58 +MmZdP4cnry6Yhs6TOsDAVb6Vg== X-Received: by 2002:a05:600c:1551:b0:3a5:e40b:1477 with SMTP id f17-20020a05600c155100b003a5e40b1477mr8332317wmg.16.1660652784523; Tue, 16 Aug 2022 05:26:24 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id m8-20020a05600c4f4800b003a603f96db7sm3640742wmq.36.2022.08.16.05.26.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 05:26:22 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 00E531FFBA; Tue, 16 Aug 2022 13:26:22 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org, richard.henderson@linaro.org Cc: qemu-devel@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= , Cleber Rosa , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 2/3] tests/avocado: add timeout to the aspeed tests Date: Tue, 16 Aug 2022 13:26:20 +0100 Message-Id: <20220816122621.2066292-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220816122621.2066292-1-alex.bennee@linaro.org> References: <20220816122621.2066292-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32c.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" On some systems the test can hang. At least defining a timeout stops it from hanging forever. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20220811151413.3350684-7-alex.bennee@linaro.org> diff --git a/tests/avocado/machine_aspeed.py b/tests/avocado/machine_aspeed.py index b4e35a3d07..c54da0fd8f 100644 --- a/tests/avocado/machine_aspeed.py +++ b/tests/avocado/machine_aspeed.py @@ -40,6 +40,8 @@ def test_ast1030_zephyros(self): class AST2x00Machine(QemuSystemTest): + timeout = 90 + def wait_for_console_pattern(self, success_message, vm=None): wait_for_console_pattern(self, success_message, failure_message='Kernel panic - not syncing',