GNU bug report logs - #70950
[PATCH] gnu: nss/fixed: Hasten test suite.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Tue, 14 May 2024 18:01:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

To reply to this bug, email your comments to 70950 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#70950; Package guix-patches. (Tue, 14 May 2024 18:01:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 14 May 2024 18:01:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH] gnu: nss/fixed: Hasten test suite.
Date: Tue, 14 May 2024 14:00:28 -0400
This causes the test suite to run in about in nearly a third of the original
time (from 145 min to 52 minutes on a particular machine).

* gnu/packages/nss.scm (nss/fixed) [phases] {check}: Set NSS_CYCLES
environment variable to 'standard'.

Change-Id: I5dab1ed16b302af2276b0f075a790f6193edbe95
---

 gnu/packages/nss.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index 80bf627583..8fb8a2fc99 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -288,6 +288,11 @@ (define-public nss/fixed
                          (substitute* "nss/tests/dbtests/dbtests.sh"
                            ((" -lt 5") " -lt 50"))
 
+                         ;; Since the test suite is very lengthy, run the test
+                         ;; suite once, not thrice as done by default, by
+                         ;; selecting only the 'standard' cycle.
+                         (setenv "NSS_CYCLES" "standard")
+
                          ;; The "PayPalEE.cert" certificate expires every six months,
                          ;; leading to test failures:
                          ;; <https://bugzilla.mozilla.org/show_bug.cgi?id=609734>.  To

base-commit: 898b5f30f3d485d48275c920da172863da9524c6
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#70950; Package guix-patches. (Wed, 15 May 2024 16:42:01 GMT) Full text and rfc822 format available.

Message #8 received at 70950 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 70950 <at> debbugs.gnu.org
Cc: Christina O' Donnell <cdo <at> mutix.org>
Subject: Re: [bug#70950] [PATCH] gnu: nss/fixed: Hasten test suite.
Date: Wed, 15 May 2024 12:40:09 -0400
Hi,

+CC Christina, who has done some work with NSS recently.

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> This causes the test suite to run in about in nearly a third of the original
> time (from 145 min to 52 minutes on a particular machine).
>
> * gnu/packages/nss.scm (nss/fixed) [phases] {check}: Set NSS_CYCLES
> environment variable to 'standard'.
>
> Change-Id: I5dab1ed16b302af2276b0f075a790f6193edbe95
> ---
>
>  gnu/packages/nss.scm | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
> index 80bf627583..8fb8a2fc99 100644
> --- a/gnu/packages/nss.scm
> +++ b/gnu/packages/nss.scm
> @@ -288,6 +288,11 @@ (define-public nss/fixed
>                           (substitute* "nss/tests/dbtests/dbtests.sh"
>                             ((" -lt 5") " -lt 50"))
>  
> +                         ;; Since the test suite is very lengthy, run the test
> +                         ;; suite once, not thrice as done by default, by
> +                         ;; selecting only the 'standard' cycle.
> +                         (setenv "NSS_CYCLES" "standard")
> +
>                           ;; The "PayPalEE.cert" certificate expires every six months,
>                           ;; leading to test failures:
>                           ;; <https://bugzilla.mozilla.org/show_bug.cgi?id=609734>.  To
>
> base-commit: 898b5f30f3d485d48275c920da172863da9524c6

-- 
Thanks,
Maxim




Information forwarded to guix-patches <at> gnu.org:
bug#70950; Package guix-patches. (Wed, 22 May 2024 16:11:02 GMT) Full text and rfc822 format available.

Message #11 received at 70950 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 70950 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH v2] gnu: nss/fixed: Hasten test suite.
Date: Wed, 22 May 2024 12:09:22 -0400
This causes the test suite to run in about in nearly a third of the original
time (from 145 min to 52 minutes on a particular machine).

* gnu/packages/nss.scm (nss/fixed) [phases] {check}: Set NSS_CYCLES
environment variable to 'standard'.

Change-Id: I5dab1ed16b302af2276b0f075a790f6193edbe95
---

(no changes since v1)

 gnu/packages/nss.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index 80bf627583..8fb8a2fc99 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -288,6 +288,11 @@ (define-public nss/fixed
                          (substitute* "nss/tests/dbtests/dbtests.sh"
                            ((" -lt 5") " -lt 50"))
 
+                         ;; Since the test suite is very lengthy, run the test
+                         ;; suite once, not thrice as done by default, by
+                         ;; selecting only the 'standard' cycle.
+                         (setenv "NSS_CYCLES" "standard")
+
                          ;; The "PayPalEE.cert" certificate expires every six months,
                          ;; leading to test failures:
                          ;; <https://bugzilla.mozilla.org/show_bug.cgi?id=609734>.  To

base-commit: b462cff5ee582d09a0a6b656bea3b1e77c1f57a5
-- 
2.41.0





Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Thu, 30 May 2024 02:08:01 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Thu, 30 May 2024 02:08:02 GMT) Full text and rfc822 format available.

Message #16 received at 70950-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 70950-done <at> debbugs.gnu.org
Subject: Re: [bug#70950] [PATCH v2] gnu: nss/fixed: Hasten test suite.
Date: Wed, 29 May 2024 22:05:54 -0400
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> This causes the test suite to run in about in nearly a third of the original
> time (from 145 min to 52 minutes on a particular machine).
>
> * gnu/packages/nss.scm (nss/fixed) [phases] {check}: Set NSS_CYCLES
> environment variable to 'standard'.
>
> Change-Id: I5dab1ed16b302af2276b0f075a790f6193edbe95
> ---
>
> (no changes since v1)
>
>  gnu/packages/nss.scm | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
> index 80bf627583..8fb8a2fc99 100644
> --- a/gnu/packages/nss.scm
> +++ b/gnu/packages/nss.scm
> @@ -288,6 +288,11 @@ (define-public nss/fixed
>                           (substitute* "nss/tests/dbtests/dbtests.sh"
>                             ((" -lt 5") " -lt 50"))
>  
> +                         ;; Since the test suite is very lengthy, run the test
> +                         ;; suite once, not thrice as done by default, by
> +                         ;; selecting only the 'standard' cycle.
> +                         (setenv "NSS_CYCLES" "standard")
> +
>                           ;; The "PayPalEE.cert" certificate expires every six months,
>                           ;; leading to test failures:
>                           ;; <https://bugzilla.mozilla.org/show_bug.cgi?id=609734>.  To
>
> base-commit: b462cff5ee582d09a0a6b656bea3b1e77c1f57a5

Merged with c9e3806ec1686f348f2ac5d88cf65daed74a721b.

-- 
Thanks,
Maxim




This bug report was last modified 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.