Your message dated Fri, 04 Jan 2019 11:25:23 +0000
with message-id <[email protected]>
and subject line Bug#898755: fixed in node-miller-rabin 4.0.1-2
has caused the Debian Bug report #898755,
regarding node-miller-rabin: FTBFS and flaky autopkgtests
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
898755: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898755
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: node-miller-rabin
Version: 4.0.1-1
Severity: serious
Tags: patch
User: [email protected]
Usertags: flaky
Hi Maintainer
Since 2017-12-28, node-miller-rabin has FTBFS in unstable [1] with the
following error:
0 passing (2s)
1 failing
1) Miller-Rabin
should test number for primality:
Error: Timeout of 2000ms exceeded. For async tests and hooks,
ensure "done()" is called; if returning a Promise, ensure it resolves.
at done (/usr/lib/nodejs/mocha/lib/runnable.js:298:13)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:372:7)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
The same test is run during autopkgtests and often fails, especially on
the slower architectures which are tested in Ubuntu, but not in Debian.
I believe this is another example of the unreliable timing in tests
being discussed in #853035.
I was able to work around the problem in Ubuntu by increasing the test
timeout to 8000ms (4000ms was not sufficient on armhf) as per the patch
below:
--- a/test/api-test.js
+++ b/test/api-test.js
@@ -4,6 +4,7 @@
describe('Miller-Rabin', function() {
it('should test number for primality', function() {
+ this.timeout(8000);
assert(!mr.test(new bn(221)));
assert(mr.test(new bn(257)));
Regards
Graham
[1]
https://tests.reproducible-builds.org/debian/history/amd64/node-miller-rabin.html
--- End Message ---
--- Begin Message ---
Source: node-miller-rabin
Source-Version: 4.0.1-2
We believe that the bug you reported is fixed in the latest version of
node-miller-rabin, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Xavier Guimard <[email protected]> (supplier of updated node-miller-rabin package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 04 Jan 2019 10:48:31 +0100
Source: node-miller-rabin
Binary: node-miller-rabin
Architecture: source
Version: 4.0.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers
<[email protected]>
Changed-By: Xavier Guimard <[email protected]>
Closes: 898755
Description:
node-miller-rabin - Miller Rabin algorithm for primality test
Changes:
node-miller-rabin (4.0.1-2) unstable; urgency=medium
.
* team upload
* Add patch to increase test timeout (Closes: #898755)
* Update debian/copyright format link to https
* Bump debhelper compatibility level to 12
* Declare compliance to policy 4.3.0
* Update VCS URLs
Checksums-Sha1:
959dce9bc1b70f18694489f2641b8f7be71dee95 2208 node-miller-rabin_4.0.1-2.dsc
0e9b7468266f7a935a0bb1a087b368784840e17a 3164
node-miller-rabin_4.0.1-2.debian.tar.xz
Checksums-Sha256:
ed1fc0a228bbadedcabd5899baa17c8f8d491da04318683b4a0e03f2af76f087 2208
node-miller-rabin_4.0.1-2.dsc
97faade3acbb62745fd23eeb6a97ea05958f3910c9b91e53f1391cc4843ed1f9 3164
node-miller-rabin_4.0.1-2.debian.tar.xz
Files:
eb681792eb6d87485227172545795819 2208 javascript optional
node-miller-rabin_4.0.1-2.dsc
92527366e4123c43eb4684653fd57ad7 3164 javascript optional
node-miller-rabin_4.0.1-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCgAuFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAlwvLUAQHHlhZGRAZGVi
aWFuLm9yZwAKCRD210ynyZnu6aNLD/40mSc88wp6wPhjsMF40tat+PjYW/kHiUrZ
afqp4H1PgzJj0BSWG/h3MzjTDiq7MdVnVfOuoO/7W8CJgtIEwIuRQDZ0K5OV3To2
83S4bx5JdPAkfyjfs2QIHrMDGOvXv4jiRifFR7MOpmpjj4oMg+fq0wvBgFCAnpqh
fV3FWPfwJoJL3qiVRYhwuceKv4coS+cDlBUx6/GGrjbiFL+gXBrAyrq9I5UwFlyD
3BVIx7cscidacSLuFs8yhwfTSIYyHZZ7euIAEWzUiqUO6htGOt4wH1HzRKHri9d6
TmNxGVW695ofyhRzkLUvE64P+Mg9AgoXIM/56SugR1k5Nrp+t7nhQBU/vo4BOPZN
2qfvPQaHwDf40A3j1DGF6xpS9rjP97KqfZvE3PCOEgHx8UpijfGpOuLyALtbrVQn
/ksmm15CIrAzCoH5lDngP4SG/UFK+5FpyhwJpRRZAfm+vzDsfAzHjRujbdp5fJYS
YyEXuS2/MYktPTyaIaG2YztQeb2ARyhtyxi5N6TI8w2H4Mjy6qQcIp8HmSU8RV7X
Osh9TMG0w0F13oD9RhjDkV6lk/Axur4jf36kDIXzWJJz9F4jIsp8wbV2mUaZmDZv
JCFRVV7w1SRFBhbqFUeKAoKbBSnkJahi3AahPRm/p5kRnq3hMZkQHj1+T5lR3qY9
nQzO+R6Gtg==
=nUAF
-----END PGP SIGNATURE-----
--- End Message ---