From patchwork Thu May 9 14:35:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 27211 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BE1A027BBE9; Thu, 9 May 2024 15:37:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3F95F27BBE2 for ; Thu, 9 May 2024 15:37:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s54tA-00069E-Q5; Thu, 09 May 2024 10:36:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s54su-00063p-QQ for guix-patches@gnu.org; Thu, 09 May 2024 10:36:37 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s54su-0006zm-Bh for guix-patches@gnu.org; Thu, 09 May 2024 10:36:36 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s54tJ-0003jC-V5 for guix-patches@gnu.org; Thu, 09 May 2024 10:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70693] [PATCH v3 1/3] gnu: nss/fixed: Tweak performance test. References: <26a7162056587eb3c5855e6d35e70c15b9fb72cc.1714556505.git.mail@cbaines.net> In-Reply-To: <26a7162056587eb3c5855e6d35e70c15b9fb72cc.1714556505.git.mail@cbaines.net> Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 May 2024 14:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70693 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70693@debbugs.gnu.org Received: via spool by 70693-submit@debbugs.gnu.org id=B70693.171526537714272 (code B ref 70693); Thu, 09 May 2024 14:37:01 +0000 Received: (at 70693) by debbugs.gnu.org; 9 May 2024 14:36:17 +0000 Received: from localhost ([127.0.0.1]:55614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s54sb-0003i2-ES for submit@debbugs.gnu.org; Thu, 09 May 2024 10:36:17 -0400 Received: from mira.cbaines.net ([212.71.252.8]:43430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s54sV-0003hl-Vd for 70693@debbugs.gnu.org; Thu, 09 May 2024 10:36:15 -0400 Received: from localhost (unknown [212.132.255.10]) by mira.cbaines.net (Postfix) with ESMTPSA id C49B227BBE2 for <70693@debbugs.gnu.org>; Thu, 9 May 2024 15:35:44 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 6b822efb for <70693@debbugs.gnu.org>; Thu, 9 May 2024 14:35:44 +0000 (UTC) From: Christopher Baines Date: Thu, 9 May 2024 15:35:40 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches As I'm seeing this test fail with results of 5 to 7 seconds. * gnu/packages/nss.scm (nss/fixed)[arguments]: Tweak a test to have a higher time threshold. Change-Id: Icb0551cd986acf67b2ba17dc8772a67b9747d31a --- gnu/packages/nss.scm | 8 ++++++++ 1 file changed, 8 insertions(+) base-commit: cf5f7a8bf9ca2288700fcf351bbca0fc341ec969 diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm index 162e748094..80bf627583 100644 --- a/gnu/packages/nss.scm +++ b/gnu/packages/nss.scm @@ -280,6 +280,14 @@ (define-public nss/fixed (setenv "USE_IP" "TRUE") (setenv "IP_ADDRESS" "127.0.0.1") + ;; This specific test is looking at performance "now + ;; verify that we can quickly dump a database", and + ;; we're not testing performance here (especially + ;; since we're using faketime), so raise the + ;; threshold + (substitute* "nss/tests/dbtests/dbtests.sh" + ((" -lt 5") " -lt 50")) + ;; The "PayPalEE.cert" certificate expires every six months, ;; leading to test failures: ;; . To