Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1777118rwd; Mon, 15 May 2023 02:57:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7wT+ScPJKPm4gnK8YAz7bUhHz0LctyW729AHKz8QYI7lOPeNS5z6BaqB6jax6N4CvOexM0 X-Received: by 2002:a17:903:124f:b0:1aa:d292:3814 with SMTP id u15-20020a170903124f00b001aad2923814mr40207640plh.67.1684144632008; Mon, 15 May 2023 02:57:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684144631; cv=none; d=google.com; s=arc-20160816; b=X94gLBPIf24Qw8uH/u9djQfcFSqBB9b872wg+jWijshIOsD6QvV5h2LB8AnLq1x49n pv1MGFUN0IMc8FM9uC30RWm6cZabxecjOxvOI089aD5AAW8xrG4dTWutYMUWv1wq7IOm Q9+kfiJwqLmTE7SaIHF5sb18L6qszpdNRAIDia7HA3XhAraYdzbEBRDKdwnUSHykDTcP TpUig+lzExkDPx7DkJw1rX6yE2RZdi6PvukxUR65rCFsTRM5D8Si/lBlpdSZsC+/SOps t6oaG4zD7ReISzpSVFJbewopy2HKN5YCIlpT2KnV3Dtmqf3TqRHx9OlQNExhQ56rpquz aPZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sZvHjHrXYsPbapMw12HiLs2Xi4Q+OMhTpEUrV+5GG4I=; b=vzm5VgggEcfxulcryLdeYP7+iXa0s4mh7tj4sWDwuy+0qAkCzzY9mMQibevr6mfwE0 xEu14aPnpEDM8kIsDGKGzXRirHyS/LrKUBAbOUEsIPYO5apgmlBdJUN14brdEjGOkcGr BeSJ8+SVxOZoi5zvgB5Bsd4HQF2Oc7/DbaZbY4ldjxoTMw3IIdPxTwjkaIrVv3Tqo8yT NrLGzd8C/z+1AESQNW1t6l/sUAlCPL791ddMNQwrpYE1OeL1fm78ShYpf1KMUwDCAgJ1 2jy1iUir1lsZBnjbJEPqyKwpReRIpjC+WkRdBAs1kQxvS8JsPan+Uo6n9odCYsLy9cd+ NW8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ka60WAbh; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id je22-20020a170903265600b0019c3d2a71c6si14781996plb.489.2023.05.15.02.56.59; Mon, 15 May 2023 02:57:11 -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=@collabora.com header.s=mail header.b=ka60WAbh; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240768AbjEOJpt (ORCPT + 99 others); Mon, 15 May 2023 05:45:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241052AbjEOJpE (ORCPT ); Mon, 15 May 2023 05:45:04 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57F9110DD; Mon, 15 May 2023 02:43:15 -0700 (PDT) Received: from localhost (unknown [IPv6:2a0c:5a83:9203:ad00:2382:dff5:d060:ac62]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: rcn) by madras.collabora.co.uk (Postfix) with ESMTPSA id 6933966031D7; Mon, 15 May 2023 10:43:13 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1684143793; bh=+MCskmCGmJIvWHAj2wGlAPgVjUersyVw3itl9FDTp5w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ka60WAbh4l1VgDuo+v2GG9+WQHy4LUUFlDeIMv+GY0t0i8NC2P1YMLiHO6akxXi+Y Tx8aNMGzzrcof4O+eCPsPnUyAUwgaBIRHmcsbsrLM5hxhL92g0wkv+e72M3toM8Jv9 1ih7eTozqvjiNZUHWWKbt6RvEn87/R1LrtFE/StQuKYlLkydl120lRDXDZXSexyEoM 1evc/M2rz7U+NNKMsqbFjhwsUvQelBvDMJhiNy8FaxDBatvaW45ZoCGnfbssq9y6u8 WQewBeTvw2wttPsMIpy00MR0MR3txkWpsmM/g2mZqWdtCAWuPQKJ9P1QEbhrwCWdGu ni22R/h32NcuQ== Date: Mon, 15 May 2023 11:43:10 +0200 From: Ricardo =?utf-8?Q?Ca=C3=B1uelo?= To: Shuah Khan Cc: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado , Mark Brown , kernel@collabora.com, Jaroslav Kysela , Shuah Khan , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH] kselftest/alsa: Increase kselftest timeout Message-ID: <20230515094310.hulpyhhtb4sxxn7i@rcn-XPS-13-9305> References: <20221213183242.1908249-1-nfraprado@collabora.com> <2ee34e21-44bd-71e7-6da2-f4bea9a35452@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2ee34e21-44bd-71e7-6da2-f4bea9a35452@linuxfoundation.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Hi Shuah, Bumping an old thread, this is still an issue for this test [1] and it could end up affecting many others. On mar 13-12-2022 11:37:56, Shuah Khan wrote: > On 12/13/22 11:32, NĂ­colas F. R. A. Prado wrote: > > The default timeout for kselftests is 45 seconds, but pcm-test can take > > longer than that to run depending on the number of PCMs present on a > > device. > > > > As a data point, running pcm-test on mt8192-asurada-spherion takes about > > 1m15s. > > > > Set the timeout to 10 minutes, which should give enough slack to run the > > test even on devices with many PCMs. > > > > 10 minutes is way too long. Is there a downside to that? There'll be some tests that take more time, I don't think that's a problem with the tests or a reason to let them timeout. IMO it's the test framework which should adapt to the needs of different types of tests, and the solution provided by this patch is good enough, it addresses the problem for this particular test suite. If the solution is still unacceptable, do you have an alternative proposal in mind that we can try to implement? Thanks, Ricardo [1] https://linux.kernelci.org/test/case/id/646127cf62438996ba2e8648/