From patchwork Wed May 1 09:41:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 63751 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 6032A27BBEA; Wed, 1 May 2024 10:43:37 +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=ham 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 CB6A327BBE2 for ; Wed, 1 May 2024 10:43:32 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s26UA-0008Eg-Ic; Wed, 01 May 2024 05:42:46 -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 1s26U5-0008BI-QA for guix-patches@gnu.org; Wed, 01 May 2024 05:42:44 -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 1s26U5-00067h-Hk for guix-patches@gnu.org; Wed, 01 May 2024 05:42:41 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s26UQ-000483-Jl for guix-patches@gnu.org; Wed, 01 May 2024 05:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70693] [PATCH] gnu: nss/fixed: Tweak performance test. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 May 2024 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70693 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70693@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171455654115858 (code B ref -1); Wed, 01 May 2024 09:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 May 2024 09:42:21 +0000 Received: from localhost ([127.0.0.1]:36437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s26Tk-00047i-PJ for submit@debbugs.gnu.org; Wed, 01 May 2024 05:42:21 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s26Th-00047c-IW for submit@debbugs.gnu.org; Wed, 01 May 2024 05:42:19 -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 1s26TH-00085z-1O for guix-patches@gnu.org; Wed, 01 May 2024 05:41:51 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s26TF-00064L-3L for guix-patches@gnu.org; Wed, 01 May 2024 05:41:50 -0400 Received: from localhost (unknown [212.132.255.10]) by mira.cbaines.net (Postfix) with ESMTPSA id 9DC7127BBE2 for ; Wed, 1 May 2024 10:41:46 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 5590c942 for ; Wed, 1 May 2024 09:41:46 +0000 (UTC) From: Christopher Baines Date: Wed, 1 May 2024 10:41:45 +0100 Message-ID: <26a7162056587eb3c5855e6d35e70c15b9fb72cc.1714556505.git.mail@cbaines.net> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: 7d4ae2fca723114fb1df56de33b82177fbc4d0a6 diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm index 162e748094..60bc4d52de 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* "tests/dbtests/dbtests.sh" + ((" -lt 5") " -lt 50")) + ;; The "PayPalEE.cert" certificate expires every six months, ;; leading to test failures: ;; . To