From patchwork Fri Apr 23 11:15:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Po-Hsu Lin X-Patchwork-Id: 12220131 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0FC43C433B4 for ; Fri, 23 Apr 2021 11:15:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D11D4613C9 for ; Fri, 23 Apr 2021 11:15:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242216AbhDWLQb (ORCPT ); Fri, 23 Apr 2021 07:16:31 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:43716 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231185AbhDWLQa (ORCPT ); Fri, 23 Apr 2021 07:16:30 -0400 Received: from mail-pj1-f72.google.com ([209.85.216.72]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lZtmr-0000N3-C2 for linux-kselftest@vger.kernel.org; Fri, 23 Apr 2021 11:15:53 +0000 Received: by mail-pj1-f72.google.com with SMTP id p11-20020a17090ad30bb029014dcd9154e1so3178817pju.0 for ; Fri, 23 Apr 2021 04:15:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bSnrI9pLqbkLYsZ1fjcEqsSyBUockPgKVVHwwmrSw5Y=; b=ZZG2ob0PrvZvbVdFClo3IoGfPCI4FfD+iAF2lxlx84TxhIR1PXQQxffY7ri7RFle23 NgqwOXml4lbPPj6saZY0W36wbiIrG48YSbW0mY0Im/6/MddzMmwHR2Ds1ZfuEnYaVWCA WjKpK8tES8dB0U0E5jUVaw9uq4LCb/suowxXrn2qxsQPyjA5J0vAd7TgVMbFL378KoEx Q9TIjCYdYzie2LOB7dID7XgpkvEXO4mx/YbasKcrlG4flSHmWKya+iygH+Q4+XqjXv2K OdolZThJeyXsfIIIVw+39bfWoxT/bg490qhKA5R1J9lVhpCfaN6i7BkYVUPIWHaFk35W TozQ== X-Gm-Message-State: AOAM533wJMOBIWuIHBzNClx7YzsSXna69lKXs0u3PO07jDrA9kFe5k1M npyvs9dB5jOG2PuomFdJXiwsdjAiH3JDypTlx8uNt9Q5djjR2wucb37atgipF8Kb0U4cgR6AGXy 7zR+NyiHcH59KReT5lus3cZgmmExJXWofsbYLZsWl8CSD X-Received: by 2002:a17:902:bb95:b029:ec:8ad4:d62c with SMTP id m21-20020a170902bb95b02900ec8ad4d62cmr3554097pls.19.1619176551753; Fri, 23 Apr 2021 04:15:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzH8VIHkl3araIMp1Mu6LTIx3ouUWdz8gp9ETzkSXTwaEPzx+B+Sa5hINQ712Xtrcqz8tmkHA== X-Received: by 2002:a17:902:bb95:b029:ec:8ad4:d62c with SMTP id m21-20020a170902bb95b02900ec8ad4d62cmr3554065pls.19.1619176551302; Fri, 23 Apr 2021 04:15:51 -0700 (PDT) Received: from localhost.localdomain (61-220-137-38.HINET-IP.hinet.net. [61.220.137.38]) by smtp.gmail.com with ESMTPSA id z17sm4227370pfe.181.2021.04.23.04.15.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Apr 2021 04:15:50 -0700 (PDT) From: Po-Hsu Lin To: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org Cc: davem@davemloft.net, kuba@kernel.org, shuah@kernel.org, skhan@linuxfoundation.org Subject: [PATCH] selftests/net: bump timeout to 5 minutes Date: Fri, 23 Apr 2021 19:15:38 +0800 Message-Id: <20210423111538.83084-1-po-hsu.lin@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org We found that with the latest mainline kernel (5.12.0-051200rc8) on some KVM instances / bare-metal systems, the following tests will take longer than the kselftest framework default timeout (45 seconds) to run and thus got terminated with TIMEOUT error: * xfrm_policy.sh - took about 2m20s * pmtu.sh - took about 3m5s * udpgso_bench.sh - took about 60s Bump the timeout setting to 5 minutes to allow them have a chance to finish. https://bugs.launchpad.net/bugs/1856010 Signed-off-by: Po-Hsu Lin --- tools/testing/selftests/net/Makefile | 2 ++ tools/testing/selftests/net/settings | 1 + 2 files changed, 3 insertions(+) create mode 100644 tools/testing/selftests/net/settings diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile index 25f198b..2be4670 100644 --- a/tools/testing/selftests/net/Makefile +++ b/tools/testing/selftests/net/Makefile @@ -37,6 +37,8 @@ TEST_GEN_FILES += ipsec TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict tls +TEST_FILES := settings + KSFT_KHDR_INSTALL := 1 include ../lib.mk diff --git a/tools/testing/selftests/net/settings b/tools/testing/selftests/net/settings new file mode 100644 index 0000000..694d707 --- /dev/null +++ b/tools/testing/selftests/net/settings @@ -0,0 +1 @@ +timeout=300