Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4085244pxb; Mon, 21 Feb 2022 11:49:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyBWKtp2Y1ckJ0Jh25G8lA3QERLopDY9GjYaN4Cn3dFRVzN1qXrVDrr1UebRTDgpFq8uEP9 X-Received: by 2002:a17:90a:1f08:b0:1bc:1b9f:9368 with SMTP id u8-20020a17090a1f0800b001bc1b9f9368mr506452pja.63.1645472973119; Mon, 21 Feb 2022 11:49:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645472973; cv=none; d=google.com; s=arc-20160816; b=KkjJ7gRWzPAlKCEsr4p/Ah38sUSk+T/+llU2MjmVrS1Ud11lLB1hxte0AexppbD0mZ VwVDh03u+WVzv64NF3KEf00WBaWWgY/17iDQA9iMfXLZkJWy6CxUhxAYXfg1va95YRrL 4s0OeS7+3xzYp8PWOl+gcFygrC5APfeWwovimvLfIAzgHwMOXrTINewPLRWe88yEINzg hGy/I8HYFi/Qq6LkctB8BrhETf1LYVXh3JY5AQhg1JRvbGa/Nf5jba/Q3qnowxoJVuY3 LbVM/8pYjSsDqPLLrNMZAKyAETu5EB1x//ed3H9eDNl/MsjXcx3qZ/94Yzw/4Hkkph9K knNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ARsPwBxQA7OKLnZN7XPii9fIiHtDkua5zXWnx5BF25w=; b=CD/le1neeBZKgwQ3AeRQ8XjjYgcnB0w+QAm4YwkIdVvmAlpbXbFe9KlSnZw+hHaV0K D1lEfv/uaCr+wfpQHaGVeVVP2yw3qLbaLsOpXb2Q3l7dn8AUHz7lgQ/4lvRNylIFOwuq nqnFZEnzC10FiVL0x6BJipT0lrRjdiPZneJXZx82bN/M6YvKRnh1PeakBuAHv3Apb3Oc CTD7HVwP3ozYR8wvMH8lX+RsKAE7UDTWa6ZJni91zx35t4Q7xv8phixBcPGFGwrvYNaI eW/o7iVosPJ7ia83DJx9g9GZCYaI3OxrC8ML5J77+DgKsetyXn5a7MlTe1O4V2cpPCwd OkvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jch+UuVM; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pi6si293510pjb.2.2022.02.21.11.49.17; Mon, 21 Feb 2022 11:49:33 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=jch+UuVM; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244609AbiBUJHs (ORCPT + 99 others); Mon, 21 Feb 2022 04:07:48 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:32914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348366AbiBUJCm (ORCPT ); Mon, 21 Feb 2022 04:02:42 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0401C2C123; Mon, 21 Feb 2022 00:58:00 -0800 (PST) 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 8BFE661140; Mon, 21 Feb 2022 08:57:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73D4BC340E9; Mon, 21 Feb 2022 08:57:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1645433862; bh=Kp3T8Uq/wmdAQIvGZCoRhZ+9BMeChwVbO3ac4eqCP1g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jch+UuVM6L707MDHcAo2AsqYAtLTvxgi2CjbPwlElHFBZXFjdj23ee6TNZi6hcDzV lfLt46ET7NyM1Mf4dIoRsSNmAct1MHWwcMRVOqVlfglu+rAj3wXAEQRY9tOHx8LLui 2L5KVEdmmD5fleQ9piRIApCd2ew0XejfaoNhUlgE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "=?UTF-8?q?N=C3=ADcolas=20F . =20R . =20A . =20Prado?=" , Alexandre Belloni , Shuah Khan , Sasha Levin Subject: [PATCH 5.4 10/80] selftests: rtc: Increase test timeout so that all tests run Date: Mon, 21 Feb 2022 09:48:50 +0100 Message-Id: <20220221084915.932031407@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220221084915.554151737@linuxfoundation.org> References: <20220221084915.554151737@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAD_ENC_HEADER,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 From: NĂ­colas F. R. A. Prado [ Upstream commit f034cc1301e7d83d4ec428dd6b8ffb57ca446efb ] The timeout setting for the rtc kselftest is currently 90 seconds. This setting is used by the kselftest runner to stop running a test if it takes longer than the assigned value. However, two of the test cases inside rtc set alarms. These alarms are set to the next beginning of the minute, so each of these test cases may take up to, in the worst case, 60 seconds. In order to allow for all test cases in rtc to run, even in the worst case, when using the kselftest runner, the timeout value should be increased to at least 120. Set it to 180, so there's some additional slack. Correct operation can be tested by running the following command right after the start of a minute (low second count), and checking that all test cases run: ./run_kselftest.sh -c rtc Signed-off-by: NĂ­colas F. R. A. Prado Acked-by: Alexandre Belloni Signed-off-by: Shuah Khan Signed-off-by: Sasha Levin --- tools/testing/selftests/rtc/settings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rtc/settings b/tools/testing/selftests/rtc/settings index ba4d85f74cd6b..a953c96aa16e1 100644 --- a/tools/testing/selftests/rtc/settings +++ b/tools/testing/selftests/rtc/settings @@ -1 +1 @@ -timeout=90 +timeout=180 -- 2.34.1