Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp163797rwd; Wed, 24 May 2023 16:03:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5coLRYHZlT15/x5z8DdTUDVyfS+ynFIpErICBYxrRr3mfTVC7DVdkfOH21JKPJ/IgF16R7 X-Received: by 2002:a17:902:c40d:b0:1ac:66c4:6071 with SMTP id k13-20020a170902c40d00b001ac66c46071mr21276217plk.57.1684969406465; Wed, 24 May 2023 16:03:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684969406; cv=none; d=google.com; s=arc-20160816; b=C6FJVxZfyUHaATWNlRDg7hHYngzQqrw7fonB0ilgtDCPcVulE/14gTVIz0tnRmsYjk 1qs5xBV9a4pnfpwpXH9RsrRwQM2l8sB2n86gPS76b9yyqy68NVECRsQUu8M+YWKPXd1l WsL8yQWacLHkZIjB4PtogSu0mawCVc6ZdqKdLZOvscJWaUYscXx1VZuGHtrptnj9uhnq aWNHjt+dP8DB/k3yljUuHwftEBGWG4KTlD20aqIFmk5ZCTxs3W73yhq0l2PB9JWJCR8D RYh0BkLOLUl+ZBny9KvHlFf1ZYC+C07x+ipjbW5hVw7XQcTRBTcc+Fzn8tA5i4tlqo0L 8GqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kJ4Oy2Yrdt9sPa79KIijN8nSLPO32FE6oEphCMooz00=; b=KEXH0LOLd8zMGKHGdpbIZ9LJa8jleh7RDKDex+A4bPKw8sgLTijGqDhgKVwbVIiZjx 0suEQSqhnTU2fYx0ajXcuVni6ZObnMMmTQ3o27F73ICxUb1GqjcxfPO6BiSVPTKQFjhW c2GSX8OUOWXtDxaBqrQdgvH/tuWms5ASCS/qXpCXP/C38GcBL0LwPy2qTIkuWsfGWwGS 0WdLLp1r6tT1n2IlTkgJinK6NUhKQWDiViNx0OwHNgVEudqULpGH547NGc1jSDlS9+LW Il8ok0SRo0nTZhQAdCxJsMEKsqybzKz0e+FJE+S5tGpbKVQcY2B3+uGYsKO/EAnPLP8+ x/Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="NLhNyk/g"; 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 x4-20020a170902ea8400b001aae1eefc9bsi5142921plb.238.2023.05.24.16.03.10; Wed, 24 May 2023 16:03:26 -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=@infradead.org header.s=bombadil.20210309 header.b="NLhNyk/g"; 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 S236548AbjEXW6g (ORCPT + 99 others); Wed, 24 May 2023 18:58:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233308AbjEXW6e (ORCPT ); Wed, 24 May 2023 18:58:34 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3638BB; Wed, 24 May 2023 15:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description; bh=kJ4Oy2Yrdt9sPa79KIijN8nSLPO32FE6oEphCMooz00=; b=NLhNyk/g75PlT2Vy8EtY+i9Odn zZ2va5B8EA39HX8C8P1rIs28BuCofS6gBUo88Y2C68QA68+cdUtM/X1sJiIm6QHolBK1pGnU6ssmt hC3RtAjCaEAEY32dHq+Alm5rFbqUpvGdH9E2O0vjtJ9rkkXgEbQ/MwOJzmLET6KhQ4T86vVZZ/dSd EiiWPDCZIaVnzkGHpPKyWQERl+aufoelypWlWKlESSS2J979o7eUOvwXuIiqwdZRwxxvk5ld7HXd/ bz8bY+beCVerWZ7WgrZo8kSknXOL4yaXSR897XrRKAFp7wNunxJZMntX0MIGBRbIfwl4fT3lZLmw3 6MFiZKwg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1q1xR7-00EsNL-2V; Wed, 24 May 2023 22:58:29 +0000 Date: Wed, 24 May 2023 15:58:29 -0700 From: Luis Chamberlain 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" Subject: Re: [PATCH] selftests: allow runners to override the timeout Message-ID: References: <20230414193845.2494120-1-mcgrof@kernel.org> <3f5c5c28-3814-3fea-dfbb-a3c7604e0edc@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: Luis Chamberlain X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,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 Thu, May 11, 2023 at 08:26:42AM -0700, Luis Chamberlain wrote: > On Fri, Apr 28, 2023 at 1:34 AM Muhammad Usama Anjum > wrote: > > > > On 4/15/23 12:38 AM, 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. Shuah, friendly re-poke. Luis