Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1428063rdb; Mon, 19 Feb 2024 15:54:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWWp/j0Zeisv8tVy9/BJVG1GynwXC+hqbZimj6R9ZN/D7o8SzxyoavO3ijhigZ/lRnqVufDbi36hshdJ/Ag0Aidbdw6mzQ2MwsRanfDFw== X-Google-Smtp-Source: AGHT+IFNX7i3f6R0l6wd0eFvIuHSGX1mwwfPlA3BaOHTLdRT/22E2u7evtkquUKaKI2uxEm4vPqC X-Received: by 2002:a05:620a:91d:b0:787:3503:8aa3 with SMTP id v29-20020a05620a091d00b0078735038aa3mr16207220qkv.4.1708386879490; Mon, 19 Feb 2024 15:54:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708386879; cv=pass; d=google.com; s=arc-20160816; b=pjH/oxG37z/1nTQ4LC18fa4Pw8vCZT3LagKugrhLPvhuvNxQN7cxHajZmhzxYL5VBU VZ4TImt3LzuLejWXjHM0Y+NiQPUkworX7RrStX5qsXcu2I2OHoVv5swMXc+N4279iLEQ FnXv+LOpXuNwL1LwFZfxkPPsaJGL8cvZ4/EWCq5MJFNbO9exlsCe/bg9lKZcEE7qjZSo VDmN+cNlD+Srn1z3EAk1DbY6SlVoyLwRLf/5HAzDxGW4PDH6g+jexPI4HriRE5IS9h5i ZJto7b+ep3uX5zehtF/KyrHuSptNBPAyjUfwOxhEtjADFU5vkQ8bRBM3rJzh90OaptCf VB8w== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=8RGt1Pjg/+2XnEY6IqaSyHeMl6+SQU130GKj7D2IuKk=; fh=lXInpN5Zi+MjkEFIUyYO2SyZpV3NjXO04DE53qAdaYU=; b=w1cQz6xrKO7/a5Ftwgsyw7SlReSxRyWaXquqt0n7MXRBKnczPA1J4qMHcLucA2kDVo OlY9hTs2vzKiE+Cb5x3HEch5dKq0ffPYmDSJvOCjBX/K8vMg8sDeru3U0tGRk92suCTZ qWpwfbNWoW7ePQYubBxcvSzlVhuUnRo9rrxjWldCsFt7WmXYPR9B9E0rV1ZPNkF2SDe0 l8ZdTuCuy3xbV+0hWeF2nYmu3uR+ut0Md4j7Fwr+6b1c0MIzSLYLZfY1YT0ogF3N3570 nhwvNcTCk8OgbOnmO/ao+UIyAIvUf741uCV4krg2ro/FjI4c1tQx+1pTl7qnGMkMjjyg 3ZxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fRtigiwa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-72143-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72143-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m26-20020ae9e01a000000b00785d3f38833si7097093qkk.543.2024.02.19.15.54.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 15:54:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72143-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fRtigiwa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-72143-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72143-linux.lists.archive=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 385851C21813 for ; Mon, 19 Feb 2024 23:54:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A1F8356B7A; Mon, 19 Feb 2024 23:54:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fRtigiwa" 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 BA07E5478B; Mon, 19 Feb 2024 23:54:32 +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=1708386872; cv=none; b=mFXoXSolDPDRvUUUkJrmUhGbMeh7wKdFwGtzatDdcUPMLDzqsVc+gfWZUIdhNhmw25sV265MlO1P5A4/PozYGxmTAPrObEoJf154+ap/ellNtoVAKiKw4cv7PIeOQn7yo5QN4PzkXjuPfEh7OVA5XHtIOPgzLCrI03NKsx0m6DQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708386872; c=relaxed/simple; bh=QeDHhaJqxzviod2zL7H9Evl4rD2LSxF3WcsodiKIcWs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WKvJHf/LL9fPaa3mTN9qUDd3ASYxFJ8jsRRR44AnFf8jJXmSU7mw9IKaP36/XaEDh8X8flOkH+W4Vi+/lnAM/i6DgItPScxaqkHvJ4WfWtgD3oL7hrWMV0RuZHptIyg4fStIWSD44yrAzyDxugwTe6Bc6LMho5yadRd+8FPeYls= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fRtigiwa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63129C433C7; Mon, 19 Feb 2024 23:54:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708386872; bh=QeDHhaJqxzviod2zL7H9Evl4rD2LSxF3WcsodiKIcWs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fRtigiwaCwGFdaQcibAEmCQkQnntlgLSz5ACEFdQskrM+XOuwO6dsXIPtw4OKsdzp biB1sBj2hFBNraQhapP+OTQF0VP0S50aXTlmdszB69+t+4L6EqRpd4L5hw2wUXPUtx 75hZANqklyyNYzqObWSCCi4Y/F1+Vqbo+hV3ueKfifDEymUxj2x6SxzLmUJUmdt566 GHGwUJaHPCQl5Zhs5enV00GQTOTiGRPbDPcqcR8Ninhmb2HVZPLz9dTQ5EU6oRc9k7 UYjhSDcxVMfw7S8a3wwL+oju1wObBiyma4KxwArOKREXOMb5o3K9voqALknNYReLsf bCuX6r4g0+S4A== From: SeongJae Park To: "Mohamed Abuelfotoh, Hazem" Cc: SeongJae Park , Kees Cook , shuah@kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Vijaikumar_Kanagarajan@mentor.com, brauner@kernel.org, jlayton@kernel.org, jack@suse.cz Subject: Re: [PATCH] selftests/mqueue: Set timeout to 100 seconds Date: Mon, 19 Feb 2024 15:54:30 -0800 Message-Id: <20240219235430.161792-1-sj@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Mon, 19 Feb 2024 14:01:06 +0000 "Mohamed Abuelfotoh, Hazem" 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 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 wrote: > >>> > >>>> On Fri, 9 Feb 2024 10:30:38 +0000 "Mohamed Abuelfotoh, Hazem" 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: # 5.4.x > >>>>>> Signed-off-by: SeongJae Park > >>>>>> --- > >>>>>> 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 > > > > Thank you! > > > > > > Thanks, > > SJ > > > >> > >> -- > >> Kees Cook > >> > >