From patchwork Mon Apr 6 05:57:43 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: 1266684 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 48wfwB1S6Jz9sQt; Mon, 6 Apr 2020 15:58:02 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1jLKli-0005rY-GA; Mon, 06 Apr 2020 05:57:58 +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 1jLKlh-0005rS-1B for kernel-team@lists.ubuntu.com; Mon, 06 Apr 2020 05:57:57 +0000 Received: from mail-pg1-f197.google.com ([209.85.215.197]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jLKlg-0006tO-L4 for kernel-team@lists.ubuntu.com; Mon, 06 Apr 2020 05:57:56 +0000 Received: by mail-pg1-f197.google.com with SMTP id j16so12342864pga.1 for ; Sun, 05 Apr 2020 22:57:56 -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:subject:date:message-id; bh=OWs9hOJZkhqxvJWOovAjWWTc0Hr33iMVEua3aasPPls=; b=O626jzIqrTr84+oQ63iG3WMOxyai7QT9as7SYfGtxrK1K2HRVv5xBUuy39zzJ1c8bz EYOjam9YQjkHQ28soDgFRLZQeBg1GtE5i4cL28IP2RNYcbWHaXehTZnPpbT2CFDHKM7J z8icBYqxj9HRdlQ2kWhbU5UuDXYtXFipXXhbrDi2Tfbja5PQGq3OKjPE9zeNERF94Rdg TORrpvFk4z6SNu/mVunM7psWeIJzA2IsB5FmKnE7buv18X35S+1GxMuGh3nIm9x/th62 XT17qaGaIjwOG5zh3VcDa9qV0qbfjqtOFqqr4OLh9/CJU/HljPu9rBUy9o2ada5n2Tow 2r+g== X-Gm-Message-State: AGi0PuYl66i7G6q+u6y5oh1459nL4hL+hRESTnRNQa3de/RGi4VJ3QHm Rls+lj5U3Z2RJtgprMjqd+Km67oJ1cV2E6DZoDA5V8NcoAtZTDT7vO/wuL/t0NZ3zeo7UxLBcSx 87YmyjXzdHxGvQTDHXLDi8BC/0Cs8DqZStpQXCNzc X-Received: by 2002:a17:902:6b84:: with SMTP id p4mr6988216plk.343.1586152675012; Sun, 05 Apr 2020 22:57:55 -0700 (PDT) X-Google-Smtp-Source: APiQypI/r2qcP+obFy28Q3tjdLoo3IN5MOq1Pn18UfT2JiV7oTrsADU0hCQhnuRq5/ZAPl0XxfB7CQ== X-Received: by 2002:a17:902:6b84:: with SMTP id p4mr6988202plk.343.1586152674741; Sun, 05 Apr 2020 22:57:54 -0700 (PDT) Received: from localhost.localdomain (59-115-56-163.dynamic-ip.hinet.net. [59.115.56.163]) by smtp.gmail.com with ESMTPSA id h4sm10040914pgg.67.2020.04.05.22.57.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Apr 2020 22:57:54 -0700 (PDT) From: Po-Hsu Lin To: kernel-team@lists.ubuntu.com Subject: [F][SRU][PATCH 0/2] selftests/powerpc: Turn off timeout setting for benchmarks, dscr, signal, tm Date: Mon, 6 Apr 2020 13:57:43 +0800 Message-Id: <20200406055745.11164-1-po-hsu.lin@canonical.com> X-Mailer: git-send-email 2.17.1 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" == SRU Justification == Some specific tests in powerpc can take longer than the default 45 seconds that added in commit 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test") to run, the following test result was collected across 2 Power8 nodes and 1 Power9 node in our pool: powerpc/benchmarks/futex_bench - 52s powerpc/dscr/dscr_sysfs_test - 116s powerpc/signal/signal_fuzzer - 88s powerpc/tm/tm_unavailable_test - 168s powerpc/tm/tm-poison - 240s Thus they will fail with TIMEOUT error. == Fix == * 850507f3 ("selftests/powerpc: Turn off timeout setting for benchmarks, dscr, signal, tm") Only Eoan and newer kernel will need this fix. For Eoan, this patch can be applied with some context adjustment. For Focal, there is a SAUCE patch which turned off timeout setting for benchmarks and tm that needs to be reverted first, and this patch can be applied with some context adjustment too == Test == Patch tested on PowerPC and it works as expected. == Regression Potential == Low, changes limited to testing tools for PowerPC. Po-Hsu Lin (2): Revert "UBUNTU: SAUCE: selftests/powerpc -- Disable timeout for benchmark and tm tests" selftests/powerpc: Turn off timeout setting for benchmarks, dscr, signal, tm tools/testing/selftests/powerpc/dscr/Makefile | 2 ++ tools/testing/selftests/powerpc/dscr/settings | 1 + tools/testing/selftests/powerpc/signal/Makefile | 2 ++ tools/testing/selftests/powerpc/signal/settings | 1 + 4 files changed, 6 insertions(+) create mode 100644 tools/testing/selftests/powerpc/dscr/settings create mode 100644 tools/testing/selftests/powerpc/signal/settings