From: Christina O'Donnell <cdo@mutix.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 40316@debbugs.gnu.org, guix-devel <guix-devel@gnu.org>,
zhengjunjie@iscas.ac.cn, Steve George <steve@futurile.net>
Subject: Re: bug#40316: nss not reproducible
Date: Mon, 6 May 2024 12:37:45 +0100 [thread overview]
Message-ID: <c6f6cd42-4878-01f1-2b59-5fea771838ad@mutix.org> (raw)
In-Reply-To: <8734qvl05q.fsf@gnu.org>
Hi,
On 06/05/2024 11:12, Ludovic Courtès wrote:
> Hi,
>
> Christina O'Donnell <cdo@mutix.org> skribis:
>
>> Tangentially, given how long nss takes to build, do you think that
>> it'd be worth shaving it down to a single test pass? Currently it runs
>> each test up to 3 times, which takes ~1h on my machine with no other
>> build running. Running only the standard pass takes 2.5-3x less time,
>> which is a huge quality of life improvement.
> Currently we run ./nss/tests/all.sh, which I suppose is what upstream
> recommends to run tests.
>
> For sure I’d be happy if the test suite could run faster, but does
> upstream offer such an option? When you say “a single pass”, is that
> something upstream supports?
Yes, you can control the tests by setting environment variables
NSS_TESTS to a list of tests and NSS_CYCLES to a list of 'cycles' (what
I previously called passes). The default is:
"standard pkix threadunsafe"
* 'standard' runs all of the below tests with default settings: "cipher
lowhash cert dbtests tools sdr crmf smime ssl ocsp merge pkits ec gtests
ssl_gtests policy"
* 'pkix' runs the tests "lowhash libpkix cert tools ssl ocsp pkits ec
gtests ssl_gtests policy" with PKIX enabled.
* 'thread_unsafe' runs "ssl ssl_gtests" with "THREAD_UNSAFE" enabled.
My thinking would be to run the thread_unsafe cycle normally, but to
reduce the test overlap between standard and pkix however, I can't say
that I'm knowledgeable enough of NSS to claim that that wouldn't leave
gaps that might bite us some point down the line. So it might be best to
leave it as is unless someone familiar with NSS can confirm that it'd be
safe to disable some tests/cycles.
Kind regards,
Christina
next prev parent reply other threads:[~2024-05-06 11:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200329131611.38448a58@scratchpost.org>
2024-04-26 21:33 ` [PATCH 0/6] WIP: nss: Update to 3.99 Christina O'Donnell
2024-04-26 21:33 ` bug#40316: [PATCH 1/6] gnu: nss: Fix cross-compilation Christina O'Donnell
2024-04-26 21:33 ` bug#40316: [PATCH 2/6] gnu: nspr: " Christina O'Donnell
2024-04-26 21:33 ` [PATCH 3/6] gnu: nss: Make reproducible Christina O'Donnell
2024-04-26 21:34 ` [PATCH 4/6] gnu: nss: Update to 3.99 Christina O'Donnell
2024-04-26 21:34 ` [PATCH 5/6] gnu: nss-certs: " Christina O'Donnell
2024-04-26 21:34 ` [PATCH 6/6] WIP: nss: Attempting to resolve FIPS regression Christina O'Donnell
2024-05-02 8:15 ` bug#40316: nss not reproducible Ludovic Courtès
2024-05-02 15:20 ` Christina O'Donnell
2024-05-06 10:12 ` Ludovic Courtès
2024-05-06 11:37 ` Christina O'Donnell [this message]
2024-05-14 9:15 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c6f6cd42-4878-01f1-2b59-5fea771838ad@mutix.org \
--to=cdo@mutix.org \
--cc=40316@debbugs.gnu.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
--cc=steve@futurile.net \
--cc=zhengjunjie@iscas.ac.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).