From patchwork Wed Dec 14 13:03:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 13073100 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 197B9C4332F for ; Wed, 14 Dec 2022 13:05:00 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 89237236B; Wed, 14 Dec 2022 14:04:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 89237236B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1671023098; bh=GZEykBLRY6xcsFpVXkvhdUKjKSjymjAXbtZtme1Q4E8=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=EnOkIYOsxPvTwNxWnFBo+sLbvnwSZdSJrXlsSBP5fp6acInHm6PiBR7WH93tU5FeN TJGqpyqvoolFy3bQLdDDmzSe7PJwo4sjToMv6AYxCW7KLvYrfgfzxIEmPWwDo9SROn VwogLTWsdPRLwTmc3ryBNERDhZ63LX9hXuQZCCMk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 2DA9BF80310; Wed, 14 Dec 2022 14:04:08 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 61CF7F804D0; Wed, 14 Dec 2022 14:04:07 +0100 (CET) Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 99BBDF801D5 for ; Wed, 14 Dec 2022 14:04:04 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 99BBDF801D5 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=mail header.b=L3MWub+8 Received: from localhost.localdomain (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id A54B76602C4E; Wed, 14 Dec 2022 13:04:00 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1671023043; bh=GZEykBLRY6xcsFpVXkvhdUKjKSjymjAXbtZtme1Q4E8=; h=From:To:Cc:Subject:Date:From; b=L3MWub+8UXzsNySJvlrzmj27f8o4iAeJkAW/wJr1oroFMO3CU1WQ3qUge9+bbPzNe Ae11AYDf73jO3Gaw8m2dafrgJJYi71g03hapgtNhMmQ64q3bP+nR26mcykZWFbaQwT mZ79vee70XXhrT34BpQKMxvtvzYLnZ7BOU81Go0bGBQV2H16WcrwAkMSrfodIG7m5V xJD0cjymPN3rfA3qla4hullm7nSo3XLnLj/ODU4zsHsnnCQq90mQ18pSlKAQM714kx 28FQ+y+AV/F3TJ/L0Q6zGi9BBMeJM0GKKSSX5X8A8+5BUIQm4qZVJPYgSXL6DZg9Mw FqXop6nFTqcEA== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Subject: [PATCH v2] kselftest/alsa: Increase kselftest timeout Date: Wed, 14 Dec 2022 10:03:53 -0300 Message-Id: <20221214130353.1989075-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , linux-kernel@vger.kernel.org, Takashi Iwai , linux-kselftest@vger.kernel.org, kernel@collabora.com, Shuah Khan Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The default timeout for kselftests is 45 seconds, but that isn't enough time to run pcm-test when there are many PCMs on the device, nor for mixer-test when slower control buses and fancier CODECs are present. As data points, running pcm-test on mt8192-asurada-spherion takes about 1m15s, and mixer-test on rk3399-gru-kevin takes about 2m. Set the timeout to 4 minutes to allow both pcm-test and mixer-test to run to completion with some slack. Reviewed-by: Mark Brown Signed-off-by: NĂ­colas F. R. A. Prado --- Changes in v2: - Reduced timeout from 10 to 4 minutes - Tweaked commit message to also mention mixer-test and run time for mixer-test on rk3399-gru-kevin tools/testing/selftests/alsa/settings | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/testing/selftests/alsa/settings diff --git a/tools/testing/selftests/alsa/settings b/tools/testing/selftests/alsa/settings new file mode 100644 index 000000000000..b478e684846a --- /dev/null +++ b/tools/testing/selftests/alsa/settings @@ -0,0 +1 @@ +timeout=240