From patchwork Tue Feb 20 00:08:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 203354 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp106459dyc; Mon, 19 Feb 2024 16:08:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXJarR1lK37w6Ei1rusVDgDBCb3WTIn5drvLRC/88Sw2G4H97KCKZZN2NSVV9Wyis+mJkhhnPBXl8mFneXsvqJi34cXIg== X-Google-Smtp-Source: AGHT+IFuflE59lTBLNWG3BrPORvNKYwCo+dBpoVEzcjxqHsNnX+yxMWOykPyHZlEwrpdPpMs7N5w X-Received: by 2002:a6b:915:0:b0:7c7:28de:72f6 with SMTP id t21-20020a6b0915000000b007c728de72f6mr10957000ioi.7.1708387709270; Mon, 19 Feb 2024 16:08:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708387709; cv=pass; d=google.com; s=arc-20160816; b=en5PAAF2bC05sZr1SIn9EKYbOdweYhDDC7iajEeKbYfy1WLKsfNdB7+RaosE1PskWB LPsK2vTzSwf6lbaBg07GI8XL7d8DNEckViRwjZAxUpBEm5Bio7ZEzxHNP4E1AF3tYFcU MLfjYV1a3UnKKmpHPnYOOP2ZaFsCqebmPbZ6Xe5gqPM5Q5px9/3z1ZVWGKOqEHUP+mYl S5ztqZjiYbRdm24MDML5dYICwdTK/wQahedjDLE8woPRxH2tCp1DG+QkjK2zpnnRx2aY RLSiwFQAf1zH5y9oknQXaKnojm7Hx7P/Cb9ssB4/kpKY+Wan9o0QXFOM6sAZdesIUByw AfYg== 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=L0zauVthNR+/K5EbIFCDjc4lFotryPppxDFsZKoreZc=; fh=Gi24bJpJTV8z9T2+pIu7bdWJPwlC+7TZzgZGR97zYGs=; b=lEH0GTrMZAt4EWa1ROULGgpn4ecAKOA52BvHdNYC47Cj3IbcX8j54T/62GmNHgPHh0 MDgZ/vpCSd1ioqQC8EifWSLIMlAt6serMDAuhVCpYcuTtVkOJg40MuNVexCfBBg6S7ax bY/UjwXf0obEApwjzplYf8jT9Y0+7Tzh9Kxvvi71kuiS7yd4N8/+tccciwAv4Cx4zFq/ Hw90u7c5arCcbgX5c7WbqQdF+UsEWPGa1ap1mXbI8cGv8dbSCJULiifgRB1x/iUg6VJ/ EhPta6fzpMAkjbFnN61sN6KL63E63u4Eayj04HMrp79no1+5KRaQvHrhQywvVIT9RwYG YBPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="cobi/0Q5"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-72146-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72146-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q21-20020a638c55000000b005d8b313de26si5088251pgn.594.2024.02.19.16.08.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 16:08:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72146-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="cobi/0Q5"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-72146-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72146-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7D400B22874 for ; Tue, 20 Feb 2024 00:08:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E66B17E1; Tue, 20 Feb 2024 00:08:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cobi/0Q5" 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 D7711ED0; Tue, 20 Feb 2024 00:08:05 +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=1708387686; cv=none; b=PFK11AVavgulwiA3j7Kmuv2AgZ/8DM3mpRarzvHenT4fAXBP6oyHHeD1sITDvW5iBkNy1QmyLxo9ZCoOucUsEW3yBWDV7ReHF526s1El9kQK+TgC16OgIJyj6LjsmgbpZ7GcIUny+xCukSKYsP/WEiInipQBZeWuiGBMzF/aCao= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708387686; c=relaxed/simple; bh=E0AOuvGysAaJobQXzkk4JFvOSeT/8IQZKbw+Y9BzdZE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Sfnb6ajXjms7l0H7QBaO95UGEJBRbhG5qTECJRPquf6ouiY/qWZeg3O+iOeewnXc6PFAMu+J5JbHt3zYRagbLj913LlhJ/zkvfZxQXvwyXNd4m8Jg6UMMV9ecA3MGMWhPblQ02kcVcc066Km6b1LhOYruEdSeaVSr7ayTHcj7NA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cobi/0Q5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2E3BC433F1; Tue, 20 Feb 2024 00:08:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708387685; bh=E0AOuvGysAaJobQXzkk4JFvOSeT/8IQZKbw+Y9BzdZE=; h=From:To:Cc:Subject:Date:From; b=cobi/0Q5kpXHokftZyEnkYIX4IkgNm3ysOB+CoWVmucm/djObYaEBqbrtlKybv90h 60AaopwN3B3K/7Uoj4SiwBL6CL6W+1dw09i8o/3vsgMKJTB88W4shgppVHZ3ozjXEP 6bLnkX3mY9kluR849oEQRR3kZ4/AVBqOZbnXHb0poUeprntUYPLKJrT7tDPMTqCa7B BVbHbPfUZgPL8ATllMsjJlISlDH5UIHxTQbIYoCeyy0vU+EK+EZ4OfEUTdcTeaojuc stU/8L/fnccIDV9/+f3p/NPIjqaEQAD8+3H0zOiK1QR8GigS7QObTCM9XUMPU0Wphc b/lFJ3J4Ombxw== From: SeongJae Park To: shuah@kernel.org Cc: ryan.roberts@arm.com, abuehaze@amazon.com, brauner@kernel.org, jlayton@kernel.org, jack@suse.cz, keescook@chromium.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Vijaikumar_Kanagarajan@mentor.com, SeongJae Park Subject: [PATCH v3] selftests/mqueue: Set timeout to 180 seconds Date: Mon, 19 Feb 2024 16:08:02 -0800 Message-Id: <20240220000802.162556-1-sj@kernel.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791374025375351940 X-GMAIL-MSGID: 1791374350617271174 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 180 seconds. Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") Cc: # 5.4.x Signed-off-by: SeongJae Park Reviewed-by: Kees Cook --- Changes from v2 (https://lore.kernel.org/r/20240220000243.162285-1-sj@kernel.org) - Update commit message about the new timeout limit to 180 seconds - Remove wrong Link: line Changes from v1 (https://lore.kernel.org/r/20240208212925.68286-1-sj@kernel.org) - Use 180 seconds timeout instead of 100 seconds 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..a953c96aa16e --- /dev/null +++ b/tools/testing/selftests/mqueue/setting @@ -0,0 +1 @@ +timeout=180