From patchwork Fri Dec 18 09:50:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Po-Hsu Lin X-Patchwork-Id: 1418143 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Cy3yJ3VWGz9sWR; Fri, 18 Dec 2020 20:50:32 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1kqCP7-0005fY-0U; Fri, 18 Dec 2020 09:50:29 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kqCP3-0005fA-IO for kernel-team@lists.ubuntu.com; Fri, 18 Dec 2020 09:50:25 +0000 Received: from mail-pg1-f198.google.com ([209.85.215.198]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kqCP3-0003Of-61 for kernel-team@lists.ubuntu.com; Fri, 18 Dec 2020 09:50:25 +0000 Received: by mail-pg1-f198.google.com with SMTP id 26so1316854pgl.2 for ; Fri, 18 Dec 2020 01:50:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=nmdRJIayH+ckdhSIBQNgiK0ZSJY5hEscJneQywLg8J0=; b=m8KA8Kyb0m1Tf6WN1Hr+0HN7b3aG5eUhYTg5JsW0E/OeOZpnPxwl9m4gh7tMjWPSw7 n0S+lNnvMjUq+rvoUfndplnQuqmmglJpivKsEGRn2X5nQs+Yup+4YCiUIxSvVSm+PvtX IFis3adDh8aC/TIkiOkcYsPP9Kz9UK52xzskvGkmP9JIaK2bzidY0+/QY5FttT2pyw8p 6TaCwxtcIFVs/RT1QPHzuPHYR8AK30qjMS7iSuXgPX6PhdQlJxVmTohROEldTeGW74uN zKxzb/3bQoHUtBZV5n/VIKJUG1usBlVJflMv5D3tHhHs1iH9/uavYe4jMud9EqDFq8fC Y48Q== X-Gm-Message-State: AOAM533Jtetn15aoC4fwCw5yCekK4Vk5pmUS1erOygCZ9ufvxPTOKUWJ o2tDFeSB5gEuocbPvWdzbtft4dKT8CorXpZyfO+Uti9TYDfTXFpb+7GlAoIcWGNkCaMXF87V/gc LylR+LKCQ5vJ/MZ7gCLE0u6CvXfA3f6BB8PRbD7lK X-Received: by 2002:a05:6a00:2302:b029:198:4459:e6c9 with SMTP id h2-20020a056a002302b02901984459e6c9mr3461381pfh.33.1608285023225; Fri, 18 Dec 2020 01:50:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9VPxMOp+/9YbEGe612rtzBoMVfEV8ygj1huHzmqVY0q92ZlATuy55FT36t0RTlRFp/OT3vg== X-Received: by 2002:a05:6a00:2302:b029:198:4459:e6c9 with SMTP id h2-20020a056a002302b02901984459e6c9mr3461368pfh.33.1608285022881; Fri, 18 Dec 2020 01:50:22 -0800 (PST) Received: from Leggiero.taipei.internal (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id f90sm7523918pjd.32.2020.12.18.01.50.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Dec 2020 01:50:22 -0800 (PST) From: Po-Hsu Lin To: kernel-team@lists.ubuntu.com Subject: [F/G/H/Unstable][SRU][PATCH 1/1] selftests/powerpc/eeh: disable kselftest timeout setting for eeh-basic Date: Fri, 18 Dec 2020 17:50:14 +0800 Message-Id: <20201218095014.9958-2-po-hsu.lin@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201218095014.9958-1-po-hsu.lin@canonical.com> References: <20201218095014.9958-1-po-hsu.lin@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1882503 The eeh-basic test got its own 60 seconds timeout (defined in commit 414f50434aa2 "selftests/eeh: Bump EEH wait time to 60s") per breakable device. And we have discovered that the number of breakable devices varies on different hardware. The device recovery time ranges from 0 to 35 seconds. In our test pool it will take about 30 seconds to run on a Power8 system that with 5 breakable devices, 60 seconds to run on a Power9 system that with 4 breakable devices. Extend the timeout setting in the kselftest framework to 5 minutes to give it a chance to finish. Signed-off-by: Po-Hsu Lin Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20201023024539.9512-1-po-hsu.lin@canonical.com (cherry picked from commit f5eca0b279117f25020112a2f65ec9c3ea25f3ac) Signed-off-by: Po-Hsu Lin --- tools/testing/selftests/powerpc/eeh/Makefile | 2 +- tools/testing/selftests/powerpc/eeh/settings | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 tools/testing/selftests/powerpc/eeh/settings diff --git a/tools/testing/selftests/powerpc/eeh/Makefile b/tools/testing/selftests/powerpc/eeh/Makefile index b397bab..ae963eb 100644 --- a/tools/testing/selftests/powerpc/eeh/Makefile +++ b/tools/testing/selftests/powerpc/eeh/Makefile @@ -3,7 +3,7 @@ noarg: $(MAKE) -C ../ TEST_PROGS := eeh-basic.sh -TEST_FILES := eeh-functions.sh +TEST_FILES := eeh-functions.sh settings top_srcdir = ../../../../.. include ../../lib.mk diff --git a/tools/testing/selftests/powerpc/eeh/settings b/tools/testing/selftests/powerpc/eeh/settings new file mode 100644 index 0000000..694d707 --- /dev/null +++ b/tools/testing/selftests/powerpc/eeh/settings @@ -0,0 +1 @@ +timeout=300