Message ID | 20240208212925.68286-1-sj@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-58722-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp463829dyd; Thu, 8 Feb 2024 13:30:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWU3dIwGCNOuJmArYaO3vzYWW6zJI4rh3jVzJeFtMeb9AiwYHcUFarBmDPr2N01qtmsinLoLuw7LQyMcXJVyDCKs1GLQw== X-Google-Smtp-Source: AGHT+IG0fe9UFcRWBeFwulUCzXNVBgxcoBQe+T8UtpEziHxGMqmKjesCg8dbJCkbrMOsUyARgHYM X-Received: by 2002:a0d:db50:0:b0:5ff:5135:f754 with SMTP id d77-20020a0ddb50000000b005ff5135f754mr691935ywe.2.1707427836721; Thu, 08 Feb 2024 13:30:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707427836; cv=pass; d=google.com; s=arc-20160816; b=A5TQ5+2jrGG+O65LVLT9ETO34eLbjee7au44UniEUIEUMAdSm25Ao3uc5omyjvi+ln J9Y63Yxco00h/Y6uo5gU7BYd4wzm141N97EbiO593pLixG/uPftXJmAkvQWCA1ybU9NB GxK/4PANuFrk68Cp9O7fgNqjdd/jJf+0Y1GZ+BpvgcSLa3kByNeR5Fz4miysMWNDoym3 ALj1ZZhJP/Pe3TNsRxicCXHS/OBME3FLOdEooynq82UGlV5ydMqHw/EfEv4KSpWr3U0C IHLxTbpK0xTuVhkN1WGpNzhuLJs9/JIpCTEXHz9qD/Ep6XSMd9s6ukGBKohXqKmcGH+h EnTQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=AJFuQ8rhFTYfmuM5ZyOxbN6fJe8IQeqvFCJnU04IOq8=; fh=fIg2E+lkiBZ53pkIinn4TSd+B+8evjM2wSD00RuiW5o=; b=AiRDJ6eUkbNIizS4ofxdds0EayTtCFF16hp/u6Q/eao2UlBN4O7Dl4E3c1FpnYoxya jHtWwJctT5KNh8RI/CH7p3N3KocIXMPzwyhwPRoQxfCv37vp9uc1Qpzk1euxaAM9Rwlb qPNgqH3A8ie4A5gxjXR6ms73fuWONkoWQT7zZQ1GAt/LLjc4Ncs6pzRWsLXn5MeZgtal MOIjcTpJwcOrSe7Eh17ROhEMRUIwz4ZhRgMO35Ai7pqvTRejEjl1SrX64BhoUQJXKJOe rZDgJAkYW7Em/dBgZK3DYdxWHq+pvI81ZrrkoSmY5kDX5wemGbSXUVa04+VdUaIogs1y n9Mg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nd9bwZz0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58722-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58722-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWCicmDoGQ8YnTgl/DU2SV5+c+ys58UH54GMNxgKsBQL0uQetl9j/y+ozboGOg+TXesFLA2eknPVxNlLtYGa8tdt7AvoA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id vw17-20020a05620a565100b00785a2bdd0f2si501732qkn.93.2024.02.08.13.30.36 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 13:30:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58722-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nd9bwZz0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58722-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58722-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E45511C2252A for <ouuuleilei@gmail.com>; Thu, 8 Feb 2024 21:30:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0DCFB4F889; Thu, 8 Feb 2024 21:29:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Nd9bwZz0" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 582364F5EC; Thu, 8 Feb 2024 21:29:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707427774; cv=none; b=ZxXmvR6s5vZPcagOurlzr6wtqa64a0QxdsEWfg3azyhYvlkEFZLds1vzZBmEFt4RAvmEs/SeCwKtdgHc5Lh+yL20XnZP/cF4+YHDeK8aQnNJlE9EkaHDldMVv49N/8MkpPjUyJJ5nAuji/E7SEOTNu13otLEBBfLa/usOEorxt4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707427774; c=relaxed/simple; bh=YXw+TEHL3D7AVQ+U9ym9qWi5wUyYZTB8xY8EFuYW8e4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=qnK0TRDfvX7qJ/VgFNt52LTbwlSx4O/wRy0yHdUqQhdlw1O9D30qr7KarKWyUxDTfewHgG9dP0+SG7l0lZEpRmpBSYvaXcyuskriRjoc7My29YfrcKRJe7jNMjrguo17McWspKeijFPE6IMey190CT5kRB8Qnm4Tah/YR+KUs/U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Nd9bwZz0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAC71C433F1; Thu, 8 Feb 2024 21:29:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707427774; bh=YXw+TEHL3D7AVQ+U9ym9qWi5wUyYZTB8xY8EFuYW8e4=; h=From:To:Cc:Subject:Date:From; b=Nd9bwZz0Jql8dlhoyYZqB5bSOT4LaLsuWQWnJtcCvsTvSwgTGgP4jWTws5HwiwPCF CoyPD0RSPf1eXsN+ynVL6GrQONA8Hc8P9YcScuLiLMrpjfuo8R/WhR1h3MDATkqkfT eKNYajZgFnwDPoVWSSoMrNVd+5hdl7wU7AiX8NwHPmpf6RP82FImOPwxhxqGu4loQt gf6NTXfN3SrkljNWiZIrcY6kflp3p131xf1PAfJutto6q8+DXOziclIV+E0CJs8Usg qt7UIr5uju1YsKdjGASZ4D5tiaiKvKySgCEedkLWqerMNbmVLIagMWYryAwMc5Kijg hhDQir1sVXReQ== From: SeongJae Park <sj@kernel.org> To: shuah@kernel.org Cc: keescook@chromium.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, SeongJae Park <sj@kernel.org>, stable@vger.kernel.org Subject: [PATCH] selftests/mqueue: Set timeout to 100 seconds Date: Thu, 8 Feb 2024 13:29:25 -0800 Message-Id: <20240208212925.68286-1-sj@kernel.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790367851188806433 X-GMAIL-MSGID: 1790367851188806433 |
Series |
selftests/mqueue: Set timeout to 100 seconds
|
|
Commit Message
SeongJae Park
Feb. 8, 2024, 9:29 p.m. UTC
While mq_perf_tests runs with the default kselftest timeout limit, which
is 45 seconds, the test takes about 60 seconds to complete on i3.metal
AWS instances. Hence, the test always times out. Increase the timeout
to 100 seconds.
Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test")
Cc: <stable@vger.kernel.org> # 5.4.x
Signed-off-by: SeongJae Park <sj@kernel.org>
---
tools/testing/selftests/mqueue/setting | 1 +
1 file changed, 1 insertion(+)
create mode 100644 tools/testing/selftests/mqueue/setting
Comments
On 08/02/2024 21:29, SeongJae Park wrote: > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. > > > > While mq_perf_tests runs with the default kselftest timeout limit, which > is 45 seconds, the test takes about 60 seconds to complete on i3.metal > AWS instances. Hence, the test always times out. Increase the timeout > to 100 seconds. > > Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") > Cc: <stable@vger.kernel.org> # 5.4.x > Signed-off-by: SeongJae Park <sj@kernel.org> > --- > tools/testing/selftests/mqueue/setting | 1 + > 1 file changed, 1 insertion(+) > create mode 100644 tools/testing/selftests/mqueue/setting > > diff --git a/tools/testing/selftests/mqueue/setting b/tools/testing/selftests/mqueue/setting > new file mode 100644 > index 000000000000..54dc12287839 > --- /dev/null > +++ b/tools/testing/selftests/mqueue/setting > @@ -0,0 +1 @@ > +timeout=100 > -- > 2.39.2 > > Added Vijai Kumar to CC This looks similar to [PATCH] kselftest: mqueue: increase timeout https://lore.kernel.org/lkml/20220622085911.2292509-1-Vijaikumar_Kanagarajan@mentor.com/T/#r12820aede6bba015b70ae33323e29ae27d5b69c7 which was increasing the timeout to 180 however it's not clear why this hasn't been merged yet. I have seen the same issue on v5.15.y so it's very likely that we will need to apply this on all LTS branches not just 5.4 as mentioned in Cc: <stable@vger.kernel.org> # 5.4.x Hazem
On Fri, 9 Feb 2024 10:30:38 +0000 "Mohamed Abuelfotoh, Hazem" <abuehaze@amazon.com> wrote: > On 08/02/2024 21:29, SeongJae Park wrote: > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. > > > > > > > > While mq_perf_tests runs with the default kselftest timeout limit, which > > is 45 seconds, the test takes about 60 seconds to complete on i3.metal > > AWS instances. Hence, the test always times out. Increase the timeout > > to 100 seconds. > > > > Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") > > Cc: <stable@vger.kernel.org> # 5.4.x > > Signed-off-by: SeongJae Park <sj@kernel.org> > > --- > > tools/testing/selftests/mqueue/setting | 1 + > > 1 file changed, 1 insertion(+) > > create mode 100644 tools/testing/selftests/mqueue/setting > > > > diff --git a/tools/testing/selftests/mqueue/setting b/tools/testing/selftests/mqueue/setting > > new file mode 100644 > > index 000000000000..54dc12287839 > > --- /dev/null > > +++ b/tools/testing/selftests/mqueue/setting > > @@ -0,0 +1 @@ > > +timeout=100 > > -- > > 2.39.2 > > > > > > Added Vijai Kumar to CC > > This looks similar to [PATCH] kselftest: mqueue: increase timeout > https://lore.kernel.org/lkml/20220622085911.2292509-1-Vijaikumar_Kanagarajan@mentor.com/T/#r12820aede6bba015b70ae33323e29ae27d5b69c7 > which was increasing the timeout to 180 however it's not clear why this > hasn't been merged yet. Thank you. I don't care who's patch would be picked, but hope any of those be merged. For more eyes, I'm Cc-ing contacts from `./scripts/get_maintainer.pl ipc/mqueue.c` output. > I have seen the same issue on v5.15.y so it's > very likely that we will need to apply this on all LTS branches not just > 5.4 as mentioned in Cc: <stable@vger.kernel.org> # 5.4.x Yes, that's the intent of the Fixes: and Cc: <stable@vger.kernel.org> lines. I hope the lines to be added to Vijai's patch if it is picked instead of this. Thanks, SJ > > Hazem >
A gentle reminder. Thanks, SJ On Fri, 9 Feb 2024 09:42:43 -0800 SeongJae Park <sj@kernel.org> wrote: > On Fri, 9 Feb 2024 10:30:38 +0000 "Mohamed Abuelfotoh, Hazem" <abuehaze@amazon.com> wrote: > > > On 08/02/2024 21:29, SeongJae Park wrote: > > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. > > > > > > > > > > > > While mq_perf_tests runs with the default kselftest timeout limit, which > > > is 45 seconds, the test takes about 60 seconds to complete on i3.metal > > > AWS instances. Hence, the test always times out. Increase the timeout > > > to 100 seconds. > > > > > > Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") > > > Cc: <stable@vger.kernel.org> # 5.4.x > > > Signed-off-by: SeongJae Park <sj@kernel.org> > > > --- > > > tools/testing/selftests/mqueue/setting | 1 + > > > 1 file changed, 1 insertion(+) > > > create mode 100644 tools/testing/selftests/mqueue/setting > > > > > > diff --git a/tools/testing/selftests/mqueue/setting b/tools/testing/selftests/mqueue/setting > > > new file mode 100644 > > > index 000000000000..54dc12287839 > > > --- /dev/null > > > +++ b/tools/testing/selftests/mqueue/setting > > > @@ -0,0 +1 @@ > > > +timeout=100 > > > -- > > > 2.39.2 > > > > > > > > > > Added Vijai Kumar to CC > > > > This looks similar to [PATCH] kselftest: mqueue: increase timeout > > https://lore.kernel.org/lkml/20220622085911.2292509-1-Vijaikumar_Kanagarajan@mentor.com/T/#r12820aede6bba015b70ae33323e29ae27d5b69c7 > > which was increasing the timeout to 180 however it's not clear why this > > hasn't been merged yet. > > Thank you. I don't care who's patch would be picked, but hope any of those be > merged. For more eyes, I'm Cc-ing contacts from > `./scripts/get_maintainer.pl ipc/mqueue.c` output. > > > I have seen the same issue on v5.15.y so it's > > very likely that we will need to apply this on all LTS branches not just > > 5.4 as mentioned in Cc: <stable@vger.kernel.org> # 5.4.x > > Yes, that's the intent of the Fixes: and Cc: <stable@vger.kernel.org> lines. I > hope the lines to be added to Vijai's patch if it is picked instead of this. > > > Thanks, > SJ > > > > > Hazem > >
On Wed, Feb 14, 2024 at 05:13:09PM -0800, SeongJae Park wrote: > A gentle reminder. > > > Thanks, > SJ > > On Fri, 9 Feb 2024 09:42:43 -0800 SeongJae Park <sj@kernel.org> wrote: > > > On Fri, 9 Feb 2024 10:30:38 +0000 "Mohamed Abuelfotoh, Hazem" <abuehaze@amazon.com> wrote: > > > > > On 08/02/2024 21:29, SeongJae Park wrote: > > > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. > > > > > > > > > > > > > > > > While mq_perf_tests runs with the default kselftest timeout limit, which > > > > is 45 seconds, the test takes about 60 seconds to complete on i3.metal > > > > AWS instances. Hence, the test always times out. Increase the timeout > > > > to 100 seconds. > > > > > > > > Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") > > > > Cc: <stable@vger.kernel.org> # 5.4.x > > > > Signed-off-by: SeongJae Park <sj@kernel.org> > > > > --- > > > > tools/testing/selftests/mqueue/setting | 1 + > > > > 1 file changed, 1 insertion(+) > > > > create mode 100644 tools/testing/selftests/mqueue/setting > > > > > > > > diff --git a/tools/testing/selftests/mqueue/setting b/tools/testing/selftests/mqueue/setting > > > > new file mode 100644 > > > > index 000000000000..54dc12287839 > > > > --- /dev/null > > > > +++ b/tools/testing/selftests/mqueue/setting > > > > @@ -0,0 +1 @@ > > > > +timeout=100 > > > > -- > > > > 2.39.2 > > > > > > > > > > > > > > Added Vijai Kumar to CC > > > > > > This looks similar to [PATCH] kselftest: mqueue: increase timeout > > > https://lore.kernel.org/lkml/20220622085911.2292509-1-Vijaikumar_Kanagarajan@mentor.com/T/#r12820aede6bba015b70ae33323e29ae27d5b69c7 > > > which was increasing the timeout to 180 however it's not clear why this > > > hasn't been merged yet. Should it be 100 or 180? Either way: Reviewed-by: Kees Cook <keescook@chromium.org>
On Fri, 16 Feb 2024 16:01:20 -0800 Kees Cook <keescook@chromium.org> wrote: > On Wed, Feb 14, 2024 at 05:13:09PM -0800, SeongJae Park wrote: > > A gentle reminder. > > > > > > Thanks, > > SJ > > > > On Fri, 9 Feb 2024 09:42:43 -0800 SeongJae Park <sj@kernel.org> wrote: > > > > > On Fri, 9 Feb 2024 10:30:38 +0000 "Mohamed Abuelfotoh, Hazem" <abuehaze@amazon.com> wrote: > > > > > > > On 08/02/2024 21:29, SeongJae Park wrote: > > > > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. > > > > > > > > > > > > > > > > > > > > While mq_perf_tests runs with the default kselftest timeout limit, which > > > > > is 45 seconds, the test takes about 60 seconds to complete on i3.metal > > > > > AWS instances. Hence, the test always times out. Increase the timeout > > > > > to 100 seconds. > > > > > > > > > > Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") > > > > > Cc: <stable@vger.kernel.org> # 5.4.x > > > > > Signed-off-by: SeongJae Park <sj@kernel.org> > > > > > --- > > > > > tools/testing/selftests/mqueue/setting | 1 + > > > > > 1 file changed, 1 insertion(+) > > > > > create mode 100644 tools/testing/selftests/mqueue/setting > > > > > > > > > > diff --git a/tools/testing/selftests/mqueue/setting b/tools/testing/selftests/mqueue/setting > > > > > new file mode 100644 > > > > > index 000000000000..54dc12287839 > > > > > --- /dev/null > > > > > +++ b/tools/testing/selftests/mqueue/setting > > > > > @@ -0,0 +1 @@ > > > > > +timeout=100 > > > > > -- > > > > > 2.39.2 > > > > > > > > > > > > > > > > > > Added Vijai Kumar to CC > > > > > > > > This looks similar to [PATCH] kselftest: mqueue: increase timeout > > > > https://lore.kernel.org/lkml/20220622085911.2292509-1-Vijaikumar_Kanagarajan@mentor.com/T/#r12820aede6bba015b70ae33323e29ae27d5b69c7 > > > > which was increasing the timeout to 180 however it's not clear why this > > > > hasn't been merged yet. > > Should it be 100 or 180? As mentioned on the previous mail[1], either values are good to me :) [1] https://lore.kernel.org/r/20240215011309.73168-1-sj@kernel.org > Either way: > > Reviewed-by: Kees Cook <keescook@chromium.org> Thank you! Thanks, SJ > > -- > Kees Cook >
On 17/02/2024 00:31, SeongJae Park wrote: > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. > > > > On Fri, 16 Feb 2024 16:01:20 -0800 Kees Cook <keescook@chromium.org> wrote: > >> On Wed, Feb 14, 2024 at 05:13:09PM -0800, SeongJae Park wrote: >>> A gentle reminder. >>> >>> >>> Thanks, >>> SJ >>> >>> On Fri, 9 Feb 2024 09:42:43 -0800 SeongJae Park <sj@kernel.org> wrote: >>> >>>> On Fri, 9 Feb 2024 10:30:38 +0000 "Mohamed Abuelfotoh, Hazem" <abuehaze@amazon.com> wrote: >>>> >>>>> On 08/02/2024 21:29, SeongJae Park wrote: >>>>>> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. >>>>>> >>>>>> >>>>>> >>>>>> While mq_perf_tests runs with the default kselftest timeout limit, which >>>>>> is 45 seconds, the test takes about 60 seconds to complete on i3.metal >>>>>> AWS instances. Hence, the test always times out. Increase the timeout >>>>>> to 100 seconds. >>>>>> >>>>>> Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") >>>>>> Cc: <stable@vger.kernel.org> # 5.4.x >>>>>> Signed-off-by: SeongJae Park <sj@kernel.org> >>>>>> --- >>>>>> tools/testing/selftests/mqueue/setting | 1 + >>>>>> 1 file changed, 1 insertion(+) >>>>>> create mode 100644 tools/testing/selftests/mqueue/setting >>>>>> >>>>>> diff --git a/tools/testing/selftests/mqueue/setting b/tools/testing/selftests/mqueue/setting >>>>>> new file mode 100644 >>>>>> index 000000000000..54dc12287839 >>>>>> --- /dev/null >>>>>> +++ b/tools/testing/selftests/mqueue/setting >>>>>> @@ -0,0 +1 @@ >>>>>> +timeout=100 >>>>>> -- >>>>>> 2.39.2 >>>>>> >>>>>> >>>>> >>>>> Added Vijai Kumar to CC >>>>> >>>>> This looks similar to [PATCH] kselftest: mqueue: increase timeout >>>>> https://lore.kernel.org/lkml/20220622085911.2292509-1-Vijaikumar_Kanagarajan@mentor.com/T/#r12820aede6bba015b70ae33323e29ae27d5b69c7 >>>>> which was increasing the timeout to 180 however it's not clear why this >>>>> hasn't been merged yet. >> >> Should it be 100 or 180? Both options may work, I am more inclined to have this as 180 seconds by giving more time for the test to finish, this can be reduced later to 100 or something else if we start hearing complains about the new timeout. Hazem > > As mentioned on the previous mail[1], either values are good to me :) > > [1] https://lore.kernel.org/r/20240215011309.73168-1-sj@kernel.org > >> Either way: >> >> Reviewed-by: Kees Cook <keescook@chromium.org> > > Thank you! > > > Thanks, > SJ > >> >> -- >> Kees Cook >>
On 17/02/2024 00:01, Kees Cook wrote: > > Should it be 100 or 180? Either way: > > Reviewed-by: Kees Cook <keescook@chromium.org> > > -- > Kees Cook Both options may work, I am more inclined to have this as 180 seconds by giving more time for the test to finish, this can be reduced later to 100 or something else if we start hearing complains about the new timeout. Hazem
On Mon, 19 Feb 2024 14:01:06 +0000 "Mohamed Abuelfotoh, Hazem" <abuehaze@amazon.com> wrote: > On 17/02/2024 00:31, SeongJae Park wrote: > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. > > > > > > > > On Fri, 16 Feb 2024 16:01:20 -0800 Kees Cook <keescook@chromium.org> wrote: > > > >> On Wed, Feb 14, 2024 at 05:13:09PM -0800, SeongJae Park wrote: > >>> A gentle reminder. > >>> > >>> > >>> Thanks, > >>> SJ > >>> > >>> On Fri, 9 Feb 2024 09:42:43 -0800 SeongJae Park <sj@kernel.org> wrote: > >>> > >>>> On Fri, 9 Feb 2024 10:30:38 +0000 "Mohamed Abuelfotoh, Hazem" <abuehaze@amazon.com> wrote: > >>>> > >>>>> On 08/02/2024 21:29, SeongJae Park wrote: > >>>>>> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. > >>>>>> > >>>>>> > >>>>>> > >>>>>> While mq_perf_tests runs with the default kselftest timeout limit, which > >>>>>> is 45 seconds, the test takes about 60 seconds to complete on i3.metal > >>>>>> AWS instances. Hence, the test always times out. Increase the timeout > >>>>>> to 100 seconds. > >>>>>> > >>>>>> Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") > >>>>>> Cc: <stable@vger.kernel.org> # 5.4.x > >>>>>> Signed-off-by: SeongJae Park <sj@kernel.org> > >>>>>> --- > >>>>>> tools/testing/selftests/mqueue/setting | 1 + > >>>>>> 1 file changed, 1 insertion(+) > >>>>>> create mode 100644 tools/testing/selftests/mqueue/setting > >>>>>> > >>>>>> diff --git a/tools/testing/selftests/mqueue/setting b/tools/testing/selftests/mqueue/setting > >>>>>> new file mode 100644 > >>>>>> index 000000000000..54dc12287839 > >>>>>> --- /dev/null > >>>>>> +++ b/tools/testing/selftests/mqueue/setting > >>>>>> @@ -0,0 +1 @@ > >>>>>> +timeout=100 > >>>>>> -- > >>>>>> 2.39.2 > >>>>>> > >>>>>> > >>>>> > >>>>> Added Vijai Kumar to CC > >>>>> > >>>>> This looks similar to [PATCH] kselftest: mqueue: increase timeout > >>>>> https://lore.kernel.org/lkml/20220622085911.2292509-1-Vijaikumar_Kanagarajan@mentor.com/T/#r12820aede6bba015b70ae33323e29ae27d5b69c7 > >>>>> which was increasing the timeout to 180 however it's not clear why this > >>>>> hasn't been merged yet. > >> > >> Should it be 100 or 180? > Both options may work, I am more inclined to have this as 180 seconds by > giving more time for the test to finish, this can be reduced later to > 100 or something else if we start hearing complains about the new timeout. Thank you for the opinion. I will send v2 with 180 seconds timeout. Thanks, SJ > > Hazem > > > > As mentioned on the previous mail[1], either values are good to me :) > > > > [1] https://lore.kernel.org/r/20240215011309.73168-1-sj@kernel.org > > > >> Either way: > >> > >> Reviewed-by: Kees Cook <keescook@chromium.org> > > > > Thank you! > > > > > > Thanks, > > SJ > > > >> > >> -- > >> Kees Cook > >> > >
diff --git a/tools/testing/selftests/mqueue/setting b/tools/testing/selftests/mqueue/setting new file mode 100644 index 000000000000..54dc12287839 --- /dev/null +++ b/tools/testing/selftests/mqueue/setting @@ -0,0 +1 @@ +timeout=100