From patchwork Fri Dec 30 15:32:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Fernandes X-Patchwork-Id: 13084434 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41406C4167B for ; Fri, 30 Dec 2022 15:32:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbiL3Pcg (ORCPT ); Fri, 30 Dec 2022 10:32:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbiL3Pcf (ORCPT ); Fri, 30 Dec 2022 10:32:35 -0500 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0992D55B3 for ; Fri, 30 Dec 2022 07:32:34 -0800 (PST) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-47fc4e98550so159180227b3.13 for ; Fri, 30 Dec 2022 07:32:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=E2R+Iw0I7AIBMP3oD3VCJ7gCAV7aVBjAMojy2VXR83o=; b=RgDOQYadLakjt2UroFuF0tXcma+aN76Jzl2OltZHMzHe9OryL505SwviDv1HAzdCp5 gU2sJZpqvJX2oy5gRodKdxEw2E/f+cQ7ZH0R91pE8Wx0ILoJG2rqtSOLXup0mvyq/Cs9 gujP/YqUVaGlY5hDUB5clieTyr+0sgoQW5Cgc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=E2R+Iw0I7AIBMP3oD3VCJ7gCAV7aVBjAMojy2VXR83o=; b=1OW3UD412WDlwdIaYU21htuPB7rieEDmQGEABn8C3n646bpzj3xKxXvmZRqYpQO2ru bvYrJzlG5V4S0P6zTQ4crAeWz0XU7PqPttDnKKTt2t3vjGyH+umHEJanT/9SNFr9ETJA eFpi1EO+swAhoseeRUIMPgV/Yr5go2Grq6KRWzeX+rXSUgv301EUGGYfLQ87gxtv6A4m IS5BiqdEONgN9N0eVTxtHPQJzfmTPR4imXPo91sXvvsDFOxbZ2r3SiSJoUppG1JbV0yM l98CBIxKiVkoBaAW7eHWgjcFtc5OXb+piOkNqp42mlrMUwwu3qA/ttQ1hN0M0PBxBiPX 6HYA== X-Gm-Message-State: AFqh2kpoxjzOUeRJHjG/T8bgE24t17CE3xXv8L4VBE3O9nqUy3upLW0R Mwo5LQ0YZp3vOqOUuvkPmMQmrw== X-Google-Smtp-Source: AMrXdXuXL80qaggUZG978MbRGe5sIWFU5CYxiAVW0/oxTG+QizD2dKUps7v/a9uE0beg0qKrID6DQQ== X-Received: by 2002:a05:7500:6601:b0:ef:bb1c:c01e with SMTP id ix1-20020a057500660100b000efbb1cc01emr916989gab.26.1672414353045; Fri, 30 Dec 2022 07:32:33 -0800 (PST) Received: from joelboxx.c.googlers.com.com (228.221.150.34.bc.googleusercontent.com. [34.150.221.228]) by smtp.gmail.com with ESMTPSA id w29-20020a05620a0e9d00b006ec62032d3dsm15177813qkm.30.2022.12.30.07.32.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Dec 2022 07:32:32 -0800 (PST) From: "Joel Fernandes (Google)" To: stable@vger.kernel.org Cc: "Paul E. McKenney" , Joel Fernandes , rcu@vger.kernel.org Subject: [PATCH v5.10 1/2] torture: Exclude "NOHZ tick-stop error" from fatal errors Date: Fri, 30 Dec 2022 15:32:13 +0000 Message-Id: <20221230153215.1333921-1-joel@joelfernandes.org> X-Mailer: git-send-email 2.39.0.314.g84b9a713c41-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org From: "Paul E. McKenney" commit 8d68e68a781db80606c8e8f3e4383be6974878fd upstream. The "NOHZ tick-stop error: Non-RCU local softirq work is pending" warning happens frequently and appears to be irrelevant to the various torture tests. This commit therefore filters it out. If there proves to be a need to pay attention to it a later commit will add an "advice" category to allow the user to immediately see that although something happened, it was not an indictment of the system being tortured. Signed-off-by: Paul E. McKenney Cc: # 5.10.x Signed-off-by: Joel Fernandes (Google) --- tools/testing/selftests/rcutorture/bin/console-badness.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/console-badness.sh b/tools/testing/selftests/rcutorture/bin/console-badness.sh index 0e4c0b2eb7f0..80ae7f08b363 100755 --- a/tools/testing/selftests/rcutorture/bin/console-badness.sh +++ b/tools/testing/selftests/rcutorture/bin/console-badness.sh @@ -13,4 +13,5 @@ egrep 'Badness|WARNING:|Warn|BUG|===========|Call Trace:|Oops:|detected stalls on CPUs/tasks:|self-detected stall on CPU|Stall ended before state dump start|\?\?\? Writer stall state|rcu_.*kthread starved for|!!!' | grep -v 'ODEBUG: ' | grep -v 'This means that this is a DEBUG kernel and it is' | -grep -v 'Warning: unable to open an initial console' +grep -v 'Warning: unable to open an initial console' | +grep -v 'NOHZ tick-stop error: Non-RCU local softirq work is pending, handler'