Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3794559pxb; Mon, 21 Feb 2022 05:59:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwuuRNJHjjNKZ+waBQHxOesqT8PEUAVLj9un17935jP0Whf6wS3/ITwRi2lxIrXRDVQ7YYN X-Received: by 2002:a17:90b:f13:b0:1b9:c387:d0f3 with SMTP id br19-20020a17090b0f1300b001b9c387d0f3mr21674614pjb.226.1645451963931; Mon, 21 Feb 2022 05:59:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645451963; cv=none; d=google.com; s=arc-20160816; b=LojC8F7uZehD7iH0kiQeCCZl9RA/o8xViCNu5gDvlOqWqONdT06WFymXr2A2iCyoaR x30KD7/QqPITuVrChfqrM4s2if/J9lHdFa1JpYLAjlrYZpH6FRXYZf1S63HTtW8yPD1O u7PYJmFwqsI7mO0S5reXEa7GhZ/98r+DfSY7ovKiID4KtwPrSQpDveUVJE+5ed1zRKIn uqiFChLLEbzZh2GHUGJxW59ZQm/d8VfLTheXGX8u2GmHPfIE6AXbgMcZy77zVfN33V/l ENKQEau9J4kZ+sX4zImWT/gB3ESs5FJWfQWnHB5HJWn8BmK4/VXqmmFiLFkC9OLH1b/j xqmQ== 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=ilM6A7SygCS3gOHvwoxPoYk+kEipL+fLyBDabSPV2NAXxbpGyrn5ZRXxuAwfYafaMY iesVynlz1D6dZNxlnJ3Ou96F9ak3TqRQQnWf06yrnKuwmWGPnrYjPB3HjP1FrKDxjXhu zZ6sJXJ18hk3MU7acza2bWZspt0ZnJ/EqdmgShts4VkOiXeIa3zM/aL3tZXT2SedAhou wYfQEwsml53IwXGiPJrI74AuzFZPNHIo5FQM9DsKmrH/iJoYyxFL+fd1UenIApR/FR9n GCs1GS/aO2H7wtK2CoJTKVbi7KvlY6aq1ufxIC/6IDtJNdxd6CUJ21kKgkkzcxopKCx2 Nv2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EA+N6a4P; 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 v128si9117532pfc.16.2022.02.21.05.59.08; Mon, 21 Feb 2022 05:59:23 -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=EA+N6a4P; 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 S243578AbiBUJso (ORCPT + 99 others); Mon, 21 Feb 2022 04:48:44 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351289AbiBUJn4 (ORCPT ); Mon, 21 Feb 2022 04:43:56 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67B193ED33; Mon, 21 Feb 2022 01:18:01 -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 0405E60EB3; Mon, 21 Feb 2022 09:18:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA9BFC340E9; Mon, 21 Feb 2022 09:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1645435080; bh=Kp3T8Uq/wmdAQIvGZCoRhZ+9BMeChwVbO3ac4eqCP1g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EA+N6a4Pfq9zRQewpyUp9jWba5SP6VenUsqInMExqYPhgQ2sY4qPfq23Jv9DQTLPO 6A8ludGkQYlZKmM2rNehLjDzKhp3AIz+9Zna0Nxbx55cDld/uI9+i5A2OEVMWJ6oku OYVfeysvwv2UdGeduzmJSj8HDRceeOOqxxuciK5Q= 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.16 036/227] selftests: rtc: Increase test timeout so that all tests run Date: Mon, 21 Feb 2022 09:47:35 +0100 Message-Id: <20220221084936.067577664@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220221084934.836145070@linuxfoundation.org> References: <20220221084934.836145070@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