Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5747315ioo; Wed, 1 Jun 2022 11:41:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz79fHnl3tmSXPGA6lVCID/Ggrc12Nm8QM1tBKLzfKwVtNmDz6mAZK3Hugo2VpbZwlUPtcV X-Received: by 2002:a17:90b:4a91:b0:1df:ea07:9596 with SMTP id lp17-20020a17090b4a9100b001dfea079596mr737350pjb.141.1654108888783; Wed, 01 Jun 2022 11:41:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654108888; cv=none; d=google.com; s=arc-20160816; b=HTDlxbUrgO3WqjoSiXI9oPrn6s1V3Lv/Bl1+sD75nIVFGiT6C6o3plxNJ75TSqL77R oT6yTUC/b6SAzoTRo6uCUpnmEb96DadTC1HcCt/ZQFagZ/QmIRpX/XnpflqzcJCdJZ3U bhemW1HZ+KbJ4xP6rAaOWCnVUA8ZBrw/LOmK7O6eHUHtSQhxnzH17d/T4X+zjnf8ebaY SjcxyM1k7BLsK/zjkYDyGMWPiaYVzgJyU1gJQJK7fOammsegimo/jlZsWDyHMXT4Vo6o L01Dt0h6ddMQbz76kHcICkE413Xt8wsUlxaNg36HGcBZEEUU+eagpc7kpncBLULvb3/d u1Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=giKzDTqjEJ8KihVCpVy9gKZOD2ilUlIsbqi54ehvy9Q=; b=c3kMo6rw6QzCR/e4sBuv7eV9WJdHaIueDX3p41yXYkWU0ob4TAM+JTkscehBDhBzfY bF2Te8WI7yvW1PF4060kSrg3QGvLoGXdGHvePHpxR4JK2VBSWvDedSO8oEUNTIPu5EyF mSg4MIN6ASPP6t2uZTdCADED5KVUI8ZSMJAJqp6nUC7jamXZlz1kgeig0PgUr/IbapVy v14fxT1qaIbvv00eWKG5zXQR2XjNLGbtMUsPPV7QH3InIwh0sX8TK+CTJup/NNa5oEqv BSLtMtnW0lzjO6yA4ADz+b0P+G5+OwMx86NSu+39gMm3VRh935SFlzI2HvPxD2ZB1Yfp SI2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lIBL4gg4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h124-20020a636c82000000b003f5f6e34cbfsi2973453pgc.700.2022.06.01.11.41.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 11:41:28 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lIBL4gg4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8BFD378EC0; Wed, 1 Jun 2022 11:37:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355440AbiFAOPD (ORCPT + 99 others); Wed, 1 Jun 2022 10:15:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354480AbiFAOJm (ORCPT ); Wed, 1 Jun 2022 10:09:42 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15461E0A8; Wed, 1 Jun 2022 07:01:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A87B8B81985; Wed, 1 Jun 2022 14:01:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3142EC385A5; Wed, 1 Jun 2022 14:01:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654092068; bh=KJhUKllErRJpBntBCZwKFWW3K3q4jqc9MvCVLYA5Vgo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lIBL4gg4Oah5wGKnj11rbA64WY1ZTPrkNQzN8k6189bS06FOsjkey0D7u3EuK6R0I e4nZxvUoh252crCayCHTkfPGhfhyolgxNHZY8IESRWru6wYufn2hENOEiKqaKl0Xkk OBTeNyGP+GW+Okup1wDX1gxv/JvS0vA21rWCot4HNuF8YiX7SUc1Y/15XPCMWl0q8B GsooTaT6WwbuWFY0OHhDPvsE+WM1MAk2DlCN21QHf9pgLGJ+9sAtmiRiOgm9eKFDAm ukl2DYrxwJa6BDntnrHo8jgAiLIu+pqbyMyIzPtu3DsAw1eRi2gCSLCMcLeJ/l/hDD Yi3FA8bxG1Swg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Shaopeng Tan , Reinette Chatre , Fenghua Yu , Shuah Khan , Sasha Levin , shuah@kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH AUTOSEL 4.9 03/11] selftests/resctrl: Change the default limited time to 120 seconds Date: Wed, 1 Jun 2022 10:00:52 -0400 Message-Id: <20220601140100.2005469-3-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220601140100.2005469-1-sashal@kernel.org> References: <20220601140100.2005469-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Shaopeng Tan [ Upstream commit e2e3fb6ef0d6548defbe0be6e092397aaa92f3a1 ] When testing on a Intel(R) Xeon(R) Gold 6254 CPU @ 3.10GHz the resctrl selftests fail due to timeout after exceeding the default time limit of 45 seconds. On this system the test takes about 68 seconds. Since the failing test by default accesses a fixed size of memory, the execution time should not vary significantly between different environment. A new default of 120 seconds should be sufficient yet easy to customize with the introduction of the "settings" file for reference. Reviewed-by: Reinette Chatre Reviewed-by: Fenghua Yu Signed-off-by: Shaopeng Tan Signed-off-by: Shuah Khan Signed-off-by: Sasha Levin --- tools/testing/selftests/resctrl/settings | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/testing/selftests/resctrl/settings diff --git a/tools/testing/selftests/resctrl/settings b/tools/testing/selftests/resctrl/settings new file mode 100644 index 000000000000..a383f3d4565b --- /dev/null +++ b/tools/testing/selftests/resctrl/settings @@ -0,0 +1,3 @@ +# If running time is longer than 120 seconds when new tests are added in +# the future, increase timeout here. +timeout=120 -- 2.35.1