GNU bug report logs

#70950 [PATCH] gnu: nss/fixed: Hasten test suite.

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to guix-patches@gnu.org:
bug#70950; Package guix-patches. (Tue, 14 May 2024 18:01:01 GMT) (full text, mbox, link).


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


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

From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: guix-patches@gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@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@gnu.org:
bug#70950; Package guix-patches. (Wed, 15 May 2024 16:42:01 GMT) (full text, mbox, link).


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

From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 70950@debbugs.gnu.org
Cc: Christina O' Donnell <cdo@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@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@gnu.org:
bug#70950; Package guix-patches. (Wed, 22 May 2024 16:11:02 GMT) (full text, mbox, link).


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

From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 70950@debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@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@gmail.com>:
You have taken responsibility. (Thu, 30 May 2024 02:08:01 GMT) (full text, mbox, link).


Notification sent to Maxim Cournoyer <maxim.cournoyer@gmail.com>:
bug acknowledged by developer. (Thu, 30 May 2024 02:08:02 GMT) (full text, mbox, link).


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

From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 70950-done@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@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




bug archived. Request was from Debbugs Internal Request <help-debbugs@gnu.org> to internal_control@debbugs.gnu.org. (Thu, 27 Jun 2024 11:24:09 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 8 03:09:36 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.