Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7608718rwd; Tue, 6 Jun 2023 13:27:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7bAaHiZXubGomX7RcBZPQUXoxiPk/nKxJEfqv1u38s/xux+tsRz595+vAHzOVaeaP9gPKu X-Received: by 2002:a05:6808:14a:b0:39a:aafd:dda7 with SMTP id h10-20020a056808014a00b0039aaafddda7mr2975426oie.35.1686083224071; Tue, 06 Jun 2023 13:27:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686083224; cv=none; d=google.com; s=arc-20160816; b=FTi2SPaC70vWY4FSYhl5l4l+nQ6bu5H8tVMQId4ftIxHZBFDyCA0QCvX+6i9KpEQ5w KkJXIwd+ftBp/zRjqyIJuhlthMydHrl/AyuTogXpFMfLu4wCVsV+/qJh7bZyx5H+1y5P PiLVgj/h2YPT8g9bVaOADQcSyUlepVBZCFRzf5bl34NbSG+rU/N7rhwQV1IksQQV9ZSg ijs+4ul1m4iZKJTOGLxN2NReQz1u7IRmoH107cjKppv8Pp/OEPa5OEfP1bEtS48vHQ7/ D0k8D0SPo6xEL/t5culqfeW8ICBisKc86KAgLXETGkfwwet1S65zXuouV+RNXTy5qXZK 3CEQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=AUyUlld4/coDumvI2Qbw01UYKicqIu48nJUypwhfHz4=; b=jB9v7MJPmcbu7dA6EEzFt/VJqRZzkbRPXf33hn4pD8bZWv9iQpxfAOMOLtJQzDrXeD 2+HsBv06y+0DzScU2+znyaitjRdkipPUtTYSzyPPLjpyvZ4cwcBtpQyCAu93lBAx8z00 GHvWD9Brnlt63nt2teDTwG5jI3WVyRNQHG71PSXWV5ehpVbUB/fH4nOKv5zEuM7WDSGL maOr4YWFqwRA0KLSlPRB1z/uhWXpalnZQ/na3b4NN2D10wr0Uaf+CXxPS/IEWfv2py7l MgM87SuPoYAE3ZpKzNoprd4AFdDTbZs5N7K2Fu3bvfNJ5j13nRbniWJcIaUS18tGm9s8 gjXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@intel.com header.s=Intel header.b=g2o2be6h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b00542d3727da9si6287286pgq.464.2023.06.06.13.26.43; Tue, 06 Jun 2023 13:27:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@intel.com header.s=Intel header.b=g2o2be6h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238424AbjFFUYw (ORCPT + 99 others); Tue, 6 Jun 2023 16:24:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239348AbjFFUYv (ORCPT ); Tue, 6 Jun 2023 16:24:51 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A24A1A7; Tue, 6 Jun 2023 13:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686083090; x=1717619090; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=JTSfzp4d5BayGS+yELJc8KP9I7Woge+Z1oHfJzhTnHg=; b=g2o2be6hMpOvQTGgV3SxsNjpYRx0/Or/SqtC1DIXl0IG+JQgMr023lNF 2gWhcovlPsJXwY3i6dMUdFV9aGbsYLzuxUD9Bl+WfsytiYpev7ALkohRK PYNmrEckO/lExuAiSnuVk2a4JGDb5bfYS7S34LSNHDGdh5p3JbD6+2P5F gABN9gQXxnCSuWf3pgaQrQP17sreLfSw2fhQRmpRNY1WlyXVNLUBcCW3Q W5hUy5gwp5cxfgBiGdRFCxXpbzsD67RVcZGzqPHSz1QnPa+pmte/IOJk/ KwuXYcyte65bf00+eVrM2xMlxCuhRNpPj9oC8yqLq4bMc34FD/uCOD/5c Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10733"; a="422631143" X-IronPort-AV: E=Sophos;i="6.00,221,1681196400"; d="scan'208";a="422631143" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2023 13:24:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10733"; a="821808446" X-IronPort-AV: E=Sophos;i="6.00,221,1681196400"; d="scan'208";a="821808446" Received: from a0cec87da3f2.jf.intel.com (HELO worker-node-1.jf.intel.com) ([10.165.55.163]) by fmsmga002.fm.intel.com with ESMTP; 06 Jun 2023 13:24:47 -0700 From: Weilin Wang To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Adrian Hunter , Ian Rogers , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Weilin Wang , Kan Liang , Alt@vger.kernel.org, Samantha , Taylor@vger.kernel.org, Perry , Biggers@vger.kernel.org, Caleb Subject: [PATCH v1 0/3] Add metric value validation test Date: Tue, 6 Jun 2023 13:24:18 -0700 Message-Id: <20230606202421.2628401-1-weilin.wang@intel.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 This series introduces metric value validation tests. Weilin Wang (3): perf test: Add metric value validation test perf test: Add allow list for metrics known would fail perf test: Rerun failed metrics with longer workload .../tests/shell/lib/perf_metric_validation.py | 574 ++++++++++++++++++ .../lib/perf_metric_validation_rules.json | 398 ++++++++++++ tools/perf/tests/shell/stat_metrics_values.sh | 19 + 3 files changed, 991 insertions(+) create mode 100644 tools/perf/tests/shell/lib/perf_metric_validation.py create mode 100644 tools/perf/tests/shell/lib/perf_metric_validation_rules.json create mode 100755 tools/perf/tests/shell/stat_metrics_values.sh base-commit: 7cdda6998ee55140e64894e25048df7157344fc9 -- 2.39.1