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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD6FFC433FE for ; Wed, 12 Jan 2022 23:51:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236160AbiALXvn (ORCPT ); Wed, 12 Jan 2022 18:51:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236199AbiALXvP (ORCPT ); Wed, 12 Jan 2022 18:51:15 -0500 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97BEAC0611FD for ; Wed, 12 Jan 2022 15:51:15 -0800 (PST) Received: by mail-io1-xd29.google.com with SMTP id k14so2064980ion.7 for ; Wed, 12 Jan 2022 15:51:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0CvvG6Sg5CRn0S0loFvtHz3tC3c34qm3FIT7bwi49zU=; b=OYDJaZdUTGuRaroxFXXXNdTr51ykvM0AH51j04gwQqdJAUknTFQHloDZAwcIFCBiFZ 1pW9K243gh8Rv2VPOVecIhOudZ7Is2czEmGsh0yLW1ZcnF9m+HS+CKhgBKLpojiFnBcv GM1lR4Pmy/iELtFjIYjkp3K09X+yrltigfhfw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0CvvG6Sg5CRn0S0loFvtHz3tC3c34qm3FIT7bwi49zU=; b=dWUQP4yc4jUJEoU6ipv59b/m6D7sJLFfb7fuL9f0yFIIfkOyFSwLT8v6TlgeSiXzxr A/M+etILzYlT4SwIIRgBkR6R32AWVy54Xer/gi55RD0gbSDcUTC92iAoD7f7ZCifx7e0 hFHbyoWBctzfVSocNt7X63RmCmgqkzvEj2cGfb5QCMxv4WBYsdnK0KV2eV1vSGBjdhZE xwaZXmmgRvPNtYh/aiiqMCXtlaa45/gzqYdv5aiS5lPWnT3aeHhRjh/lSvsayZJdNA/v sw1hW+y7CKS438A/XW8dq6ujWOcu8PhMk2tRMvfAIADWldrFIPbcWHI6KtNPSxw/8sW3 L+xA== X-Gm-Message-State: AOAM533T5RavLa/IAibxx9M/ycmDe6cnaIw/AT723Gmwn6/QAD5dfNFd OVaIEJmRMLwPA2bsEjLNHB2vBg== X-Google-Smtp-Source: ABdhPJymO1uP67tDwkSLUyfdC2hMMiuA+ArDBEMBICjwJtjISNY2I19w33OarazW9fRbTnq0yUQ7Mg== X-Received: by 2002:a05:6602:1484:: with SMTP id a4mr979952iow.153.1642031474992; Wed, 12 Jan 2022 15:51:14 -0800 (PST) Received: from [192.168.1.128] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id a12sm930874ilv.69.2022.01.12.15.51.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jan 2022 15:51:14 -0800 (PST) Subject: Re: [PATCH v2] selftests: rtc: Increase test timeout so that all tests run To: Alexandre Belloni , =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: Shuah Khan , Alessandro Zummo , linux-rtc@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Shuah Khan References: <20220112194142.3276385-1-nfraprado@collabora.com> From: Shuah Khan Message-ID: Date: Wed, 12 Jan 2022 16:51:12 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/12/22 1:22 PM, Alexandre Belloni wrote: > On 12/01/2022 14:41:42-0500, NĂ­colas F. R. A. Prado wrote: >> 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 Thank you both. Will apply this for 5.17-rc2 once the merge window closes. thanks, -- Shuah