Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9011348rwr; Thu, 11 May 2023 08:52:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4H8BIQoZbRv93GhFXDflamS3AyyS9LPwiRaHEluYXYAxvt5A/1y6cACJdvN7utCBlBSteK X-Received: by 2002:a17:902:c104:b0:1ab:e2a:85a4 with SMTP id 4-20020a170902c10400b001ab0e2a85a4mr22160829pli.20.1683820328661; Thu, 11 May 2023 08:52:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683820328; cv=none; d=google.com; s=arc-20160816; b=M7BIWy1THB9bRtaOPk/SH4iSuo0VT3kpzXFNjNDCgd3x5X/kLiEUQItS7TdusyIJJk R4KNz9hxIkiQykiOzRTOMMvZSKipDZVkhuiHuX3Rb0k0FHzlbKwziJ/opY/sirkptfCY bk5vZJYFSu7GGLXeJ8qt3ipxCSJKW4FvasOuj7ZvNAY15Wy3JCmdsjq4cufQ/79sb3DA eqyAc2qIQCuD1RYQLksOUsO5n+fo7yukGY5bhJA3xDd+/BSP03iKaDJ9bgmCZ2se9XTY IbDz430P+rbYXaYZUaMFddEQEZ66ZhNLPyjy0D1foNy1sxBdxrswyQfsZQPmX4yD7S9l P6ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=uk6CrVHB9bGV+MUUegQ2Q3wJW+wI7YvN/4zzTnZQzyE=; b=Crlps/IqrBetczCI7PqgY/6tUIjAqWazdVAFpwrNjOvfCqkZJFwKl2gTIS4C9paKOB i66EwoAod8nJtQPxc7RcPsHnK0i0xEocElIZqxNB35h5pknGhQe8LhK+v/87/tX7EuuG mdBq0nLJjh6nOtPpfKDcrr6MBYP31hj4jAMqCEpgvloxOA5NMbOQRqOCqByYDhkbrVmb b7Am7Ctg3ac68T5iK39hrXVZbY2lYMrvBcJAqvlGqm8bYXme8e+j6i6huk8O4t9aQhWr my+cByLbGj2/WpkyiVlOpN7Xq8xyQg7/ung/Q0/PAHDB024O//AFu+HTYxQOYnYrfpx+ BZ0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="HK/bPiVJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020a63db58000000b0052161765a25si7007587pgi.288.2023.05.11.08.51.56; Thu, 11 May 2023 08:52:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="HK/bPiVJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238638AbjEKP05 (ORCPT + 99 others); Thu, 11 May 2023 11:26:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238328AbjEKP04 (ORCPT ); Thu, 11 May 2023 11:26:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A31C197; Thu, 11 May 2023 08:26:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EAF5364F02; Thu, 11 May 2023 15:26:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53101C433A0; Thu, 11 May 2023 15:26:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683818814; bh=yX+KBh46sRECtS54M5dooUORP+MvkRKDtoQcUIKDYzw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HK/bPiVJqW1AVZoDBZcQcpF3C9UZZYF2xCSZQzGAab9P99CPmY3Bw23JY/yL1RNju RhX0Wpi+97Xg8oTi5oz17b+B/zkLUSnUsYkMsULkS6H71AuKvMXnbrlVIQKmDxYlN1 J1AYLBsb2Fb50/01yVioC6S5kKGkHXzwQ2IT8VM6mY2Rbbh8l+2fTD0ag8MQgWi4q/ sh/+KIJ+VkR8It0P4CHXC2WTm91kaB+Q5kVLg8j39cxEdeu1LWV2G/D1qYi7tY36EX kpZ3akhhapolJvQy5zp2dAq9hzaQ5ajrNLIUdA9s4nehfUsHw/aLuTAwp6Yi458/er UiDkmqqJ8IKnw== Received: by mail-vk1-f180.google.com with SMTP id 71dfb90a1353d-44fd15d6824so3077202e0c.3; Thu, 11 May 2023 08:26:54 -0700 (PDT) X-Gm-Message-State: AC+VfDz9YAVpZlQ4eAHuE6rSVyIDCUt2iuVICvgCPqC40fVAbOACZArC mDHAVFaCqRYo6FdfumPzAP7I7QL8glsBbLn8Tb0= X-Received: by 2002:a1f:c343:0:b0:450:17ac:47ca with SMTP id t64-20020a1fc343000000b0045017ac47camr6143019vkf.16.1683818813106; Thu, 11 May 2023 08:26:53 -0700 (PDT) MIME-Version: 1.0 References: <20230414193845.2494120-1-mcgrof@kernel.org> <3f5c5c28-3814-3fea-dfbb-a3c7604e0edc@collabora.com> In-Reply-To: <3f5c5c28-3814-3fea-dfbb-a3c7604e0edc@collabora.com> From: Luis Chamberlain Date: Thu, 11 May 2023 08:26:42 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] selftests: allow runners to override the timeout To: Muhammad Usama Anjum , Shuah Khan Cc: linux-kselftest@vger.kernel.org, gregkh@linuxfoundation.org, tiwai@suse.de, tianfei.zhang@intel.com, russell.h.weight@intel.com, keescook@chromium.org, tweek@google.com, a.manzanares@samsung.com, dave@stgolabs.net, vincenzopalazzodev@gmail.com, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan , Lucas De Marchi , "Darrick J. Wong" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 28, 2023 at 1:34=E2=80=AFAM Muhammad Usama Anjum wrote: > > On 4/15/23 12:38=E2=80=AFAM, Luis Chamberlain wrote: > > The default timeout for selftests tests is 45 seconds. Although > > we already have 13 settings for tests of about 96 sefltests which > > use a timeout greater than this, we want to try to avoid encouraging > > more tests to forcing a higher test timeout as selftests strives to > > run all tests quickly. Selftests also uses the timeout as a non-fatal > > error. Only tests runners which have control over a system would know > > if to treat a timeout as fatal or not. > > > > To help with all this: > > > > o Enhance documentation to avoid future increases of insane timeouts > > o Add the option to allow overriding the default timeout with test > > runners with a command line option > > > > Suggested-by: Shuah Khan > > Signed-off-by: Luis Chamberlain > Reviewed-by: Muhammad Usama Anjum > Tested-by:Muhammad Usama Anjum Shuah, just a friendly poke! This is needed to allow me to enable full automation for kdevops for selftests. Luis