Debian Bug report logs - #806639
Please allow to run internal test suite during build

version graph

Package: src:nss; Maintainer for src:nss is Maintainers of Mozilla-related packages <team+pkg-mozilla@tracker.debian.org>;

Reported by: Guido Günther <agx@sigxcpu.org>

Date: Sun, 29 Nov 2015 17:21:10 UTC

Severity: wishlist

Tags: patch

Found in version nss/2:3.21-1

Reply or subscribe to this bug.

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


Report forwarded to debian-bugs-dist@lists.debian.org, Maintainers of Mozilla-related packages <pkg-mozilla-maintainers@lists.alioth.debian.org>:
Bug#806639; Package src:nss. (Sun, 29 Nov 2015 17:21:14 GMT) (full text, mbox, link).


Acknowledgement sent to Guido Günther <agx@sigxcpu.org>:
New Bug report received and forwarded. Copy sent to Maintainers of Mozilla-related packages <pkg-mozilla-maintainers@lists.alioth.debian.org>. (Sun, 29 Nov 2015 17:21:14 GMT) (full text, mbox, link).


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

From: Guido Günther <agx@sigxcpu.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Please allow to run internal test suite during build
Date: Sun, 29 Nov 2015 18:18:09 +0100
[Message part 1 (text/plain, inline)]
Source: nss
Version: 2:3.21-1
Severity: wishlist
Tags: patch

Hi,
attached patch enables running parts of the internal test suite. I hope
to run all.sh at one point but for now this covers quit some ground and
helps to detect errors when backporting.
It be great to have this applied.

In case you prefer to cherry-pick I have a temporary repo at:

    https://github.com/agx/nss-debian

Cheers,
 -- Guido
[0001-Run-standard-cycle-of-nss-s-testsuite.patch (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Maintainers of Mozilla-related packages <pkg-mozilla-maintainers@lists.alioth.debian.org>:
Bug#806639; Package src:nss. (Fri, 16 Dec 2016 14:18:02 GMT) (full text, mbox, link).


Acknowledgement sent to Raphael Hertzog <hertzog@debian.org>:
Extra info received and forwarded to list. Copy sent to Maintainers of Mozilla-related packages <pkg-mozilla-maintainers@lists.alioth.debian.org>. (Fri, 16 Dec 2016 14:18:02 GMT) (full text, mbox, link).


Message #10 received at 806639@bugs.debian.org (full text, mbox, reply):

From: Raphael Hertzog <hertzog@debian.org>
To: Guido Günther <agx@sigxcpu.org>, 806639@bugs.debian.org
Subject: Re: [PATCH] Run standard cycle of nss's testsuite
Date: Fri, 16 Dec 2016 15:15:58 +0100
Hi,

A small correction to the last patch is needed.

On Sat, 28 Nov 2015, Guido Günther wrote:
> +override_dh_auto_test:
> +	# Create .chk files for FIPS mode tests
> +	$(foreach lib,libsoftokn3.so libfreebl3.so libnssdbm3.so, \
> +	  $(call cmd,cd $(DISTDIR)/lib; LD_LIBRARY_PATH=$(DISTDIR)/lib $(DISTDIR)/bin/shlibsign -v -i $(lib)))

Here you need to add "libfreeblpriv3.so" to the foreach loop otherwise
you get failing FIPS tests.

Mike, can you include this patch and the one from #806207? Having
test suite run at build time makes it easier to spot regressions
later when we backport security updates. And the autopkgtest suite
is also usefull to ensure that the resulting packages do reasonably
work.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Nov 22 00:13:00 2024; Machine Name: bembo

Debian 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.