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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 03FA6C43219 for ; Tue, 17 May 2022 15:25:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D289284273; Tue, 17 May 2022 17:24:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="nRWUzweF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7367784272; Tue, 17 May 2022 17:24:55 +0200 (CEST) Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8457884253 for ; Tue, 17 May 2022 17:24:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-pg1-x532.google.com with SMTP id s68so695743pgb.13 for ; Tue, 17 May 2022 08:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=vLWbppu04vlgsc6aQN4GtooMdwRDO9h3fRdAK952k94=; b=nRWUzweFs6HKFvbbVdiuQbE2pAM0OXYSMNS3DCUK/TQ3OJO1vdCu/mmi/BnapTypL5 GrtddKXNw9LaVyHL5PTDoBT5d9jEeWQDFHCbKyaEGk4ydI3rdYghXV8iHqMTkMk53Ljo MLxTNkfn7eSxZMSgNtLKFc5PTEXm/kMFCtjVlegr9E/zNDp4POLlVodwv4sLqX50bPn1 cg27bkd+buep6e0GxpmmNkgSJtehiTdCsS8XzPXa2lwBW9Xz0Ls3DsOtSlxkpycou0DX rJFjrSb05Pehkg/47/4lTwOG2kmX8hY57ZLx8op2QDM/+dANUNKr6rYw8uNn9cQLNmyA OlWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=vLWbppu04vlgsc6aQN4GtooMdwRDO9h3fRdAK952k94=; b=iCTPx5yONlPZWwlrRNCvG0J4YuY2cA+tSjMaZdf3x1LBxYPSajOSOJTt623lbyDBNo P5Q8HDy4pHZnASYUEmgc1niABvx/dE44+Ey+cTo/lImf7PO7mUGEJm+47KhHySPFuPwF PsvzvSdXnWh7YOu5d0qr4T1p33kPzvXMy9HAMvieGIp1x7qhOW6kbcbjNNH9Fjlr74eu nX8AA66gXwZckdvYdp+Cnw5UD92MMzOU4PuCI7rAXwxkROGZrX8nLGOfxewM3K8H9lPV ZZq3XFzIIFd7tUmwsSudkpzcGL4dWJpHRd+/f7biMFeLN9X+t4MAMGe7LYqxVGeVWo6t ZJaQ== X-Gm-Message-State: AOAM533Hw8I3Ll/wYUrPp5GrNjaoVg6Uh3go5VIYjPYp0+27KTlZOU8k 1YcJfFjUcz0ByPe1oInE7ufhs/tZP4U= X-Google-Smtp-Source: ABdhPJyjyjbhOZxD3ksAdUyx0wUlKpKaIpPKaWRDMnGV2A7kLxQxcIOuj8WruCfnEc45jBvMmKxu/A== X-Received: by 2002:a63:5d50:0:b0:3db:5325:b120 with SMTP id o16-20020a635d50000000b003db5325b120mr20284233pgm.212.1652801090928; Tue, 17 May 2022 08:24:50 -0700 (PDT) Received: from pek-vx-bsp2.wrs.com (unknown-176-192.windriver.com. [147.11.176.192]) by smtp.gmail.com with ESMTPSA id d5-20020a170902654500b0015e8d4eb1besm6579118pln.8.2022.05.17.08.24.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 08:24:50 -0700 (PDT) From: Bin Meng To: Simon Glass , Tom Rini , U-Boot Mailing List Subject: [PATCH 1/3] test/py: Reset the console timeout value Date: Tue, 17 May 2022 23:24:43 +0800 Message-Id: <20220517152445.2556580-1-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Reset the console timeout value as some tests may change its default value during the execution. This fixes the random case timeout issue seen in the U-Boot CI. Signed-off-by: Bin Meng --- test/py/u_boot_console_base.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/py/u_boot_console_base.py b/test/py/u_boot_console_base.py index 58ec859b34..26b6de07f8 100644 --- a/test/py/u_boot_console_base.py +++ b/test/py/u_boot_console_base.py @@ -400,6 +400,10 @@ class ConsoleBase(object): """ if self.p: + # Reset the console timeout value as some tests may change + # its default value during the execution + if not self.config.gdbserver: + self.p.timeout = 30000 return try: self.log.start_section('Starting U-Boot') -- 2.25.1