Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp27250pxk; Tue, 15 Sep 2020 16:47:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiEV3QOtvq3YKbeFU1NP/VVopwg6W7oV1gdnNZG1ubVDXtibepmg9FivcZ+R7ptr6glPQD X-Received: by 2002:a17:906:f90c:: with SMTP id lc12mr22280042ejb.104.1600213651109; Tue, 15 Sep 2020 16:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600213651; cv=none; d=google.com; s=arc-20160816; b=tj4oTZfTliCEQHCpLszzz0zlaociF0ACbyPMWU7DYhPEaa67p1pxufcuHv4KZunPyC HA7iHelYg8n7z56eSynwdyKW1En8+6eIiZ/4kE90qmKf38NyybFadwQFaMgY+oesPQ7G l78zwPqMPqg1h7raF/CySXlKYc8wlgqnwT2PwheFIF18v1TVhbtSJRsCNcuZ/oqPwy9c QvSw95FyGSlyH6vA8AuTAG4nzhR67EaJ33wGkL2NwtTkvSNv7xmIY0tYKnruk1PLZCHT 57uj0bEIN5ZlHMW/GtwK5FGP7S8lz/koaNZQ4i+r2dzgyta/EUu5dc6mFbwrEgBq96Xp OxrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+B1Sl3ASB7IZI/LW2ove2sVNcmN3hDZU/Opndo0U8f4=; b=waeBm0CiHJng0L5XYqAUbjrLcTuKz/jq5myAS99b38OvjNWWEYTbZhpIntP8BERoBZ 846GjdQLlhbKGTD3V4Y0554bKY22X3FfsmZgWWTP2Mo8rINAuY7P8QSDOi5yQLHFJgW6 fmmTTmn5vvAgvW5U8qLvIPSm8aXEyGnw8NtWnf3Qch9BCTtLnrqm0JJNyyMSgC2OE4fy 5REoMN1Zej3/xx8QokdbbA17BOu/nWeYAjE+xo1Kc5G881LDDJi724OSELVzwUVU2D78 6OtHiVscM9hY2Hh1XHiQUwuZX2JBjBuC5fQUr9eMzdbMTSvW8930e5aoofzB/MDgjuyr 5hfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GxNfGsKa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lt3si10232896ejb.687.2020.09.15.16.47.08; Tue, 15 Sep 2020 16:47:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GxNfGsKa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727196AbgIOXq0 (ORCPT + 99 others); Tue, 15 Sep 2020 19:46:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:47652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726761AbgIOOdX (ORCPT ); Tue, 15 Sep 2020 10:33:23 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AA6C522C9D; Tue, 15 Sep 2020 14:24:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600179895; bh=hcNMlLT8WPC/BoQhX7eai5oBEzD7XRS4GeDsX0qQAqc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GxNfGsKaMRNEns+Dfi/kPYVExkGLMFldsZLqhGzEaK5Bhz20qjxeDYDAQ2chWxyuA GAirlXVsRgYg8wpbj+XA6hPxEmvrAkzAZJKn2qwAUJCLXGLN6vIMXUz3YgRdMtdlCO XxvNA/UV5qfbX7IsJON/iWqfDndUflKS24YN7YJ4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Po-Hsu Lin , John Stultz , Shuah Khan , Sasha Levin Subject: [PATCH 5.8 009/177] selftests/timers: Turn off timeout setting Date: Tue, 15 Sep 2020 16:11:20 +0200 Message-Id: <20200915140654.086811005@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200915140653.610388773@linuxfoundation.org> References: <20200915140653.610388773@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Po-Hsu Lin [ Upstream commit 5c1e4f7e9e49b6925b1fb5c507d2c614f3edb292 ] The following 4 tests in timers can take longer than the default 45 seconds that added in commit 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") to run: * nsleep-lat - 2m7.350s * set-timer-lat - 2m0.66s * inconsistency-check - 1m45.074s * raw_skew - 2m0.013s Thus they will be marked as failed with the current 45s setting: not ok 3 selftests: timers: nsleep-lat # TIMEOUT not ok 4 selftests: timers: set-timer-lat # TIMEOUT not ok 6 selftests: timers: inconsistency-check # TIMEOUT not ok 7 selftests: timers: raw_skew # TIMEOUT Disable the timeout setting for timers can make these tests finish properly: ok 3 selftests: timers: nsleep-lat ok 4 selftests: timers: set-timer-lat ok 6 selftests: timers: inconsistency-check ok 7 selftests: timers: raw_skew https://bugs.launchpad.net/bugs/1864626 Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") Signed-off-by: Po-Hsu Lin Acked-by: John Stultz Signed-off-by: Shuah Khan Signed-off-by: Sasha Levin --- tools/testing/selftests/timers/Makefile | 1 + tools/testing/selftests/timers/settings | 1 + 2 files changed, 2 insertions(+) create mode 100644 tools/testing/selftests/timers/settings diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile index 7656c7ce79d90..0e73a16874c4c 100644 --- a/tools/testing/selftests/timers/Makefile +++ b/tools/testing/selftests/timers/Makefile @@ -13,6 +13,7 @@ DESTRUCTIVE_TESTS = alarmtimer-suspend valid-adjtimex adjtick change_skew \ TEST_GEN_PROGS_EXTENDED = $(DESTRUCTIVE_TESTS) +TEST_FILES := settings include ../lib.mk diff --git a/tools/testing/selftests/timers/settings b/tools/testing/selftests/timers/settings new file mode 100644 index 0000000000000..e7b9417537fbc --- /dev/null +++ b/tools/testing/selftests/timers/settings @@ -0,0 +1 @@ +timeout=0 -- 2.25.1