Your message dated Sun, 08 Jan 2017 18:03:28 +0000
with message-id <e1cqhow-0008zk...@fasolo.debian.org>
and subject line Bug#849971: fixed in node-sprintf-js 1.0.3-2
has caused the Debian Bug report #849971,
regarding node-sprintf-js: FTBFS randomly (AssertionError)
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 ow...@bugs.debian.org
immediately.)


-- 
849971: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849971
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:node-sprintf-js
Version: 1.0.3-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if [ ! -d debian/build ]; then \
    mkdir debian/build; \
fi; \
for _FILE in src/*.js ; \
do \
    cp ${_FILE} debian/build/; \
    uglifyjs  -o debian/build/$(basename ${_FILE} .js).min.js ${_FILE}; \
done
dh_auto_build
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mocha test/test.js

  ․․․

  2 passing (11ms)
  1 failing

  1) sprintfjs should return formated strings for callbacks:
     AssertionError: 1482551006652 == '1482551006653'
      at Context.<anonymous> (/<<PKGBUILDDIR>>/test/test.js:80:16)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:451:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:308:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
      at Immediate._onImmediate (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
      at processImmediate [as _immediateCallback] (timers.js:383:17)



debian/rules:31: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:14: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

This is the assertion which fails:

1482551006652 == '1482551006653'

The number is clearly the number of seconds after the epoch, i.e. "date +%s"
and the test clearly takes the current time at different times and expects
those timestamps to be the same. This is a race condition and should be 
disabled,
because tests are supposed to be always successful.

If you want "a way to reproduce it", just build it over and over again
until it fails (it will).

Thanks.

--- End Message ---
--- Begin Message ---
Source: node-sprintf-js
Source-Version: 1.0.3-2

We believe that the bug you reported is fixed in the latest version of
node-sprintf-js, 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 849...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastien Roucariès <roucaries.bastien+deb...@gmail.com> (supplier of updated 
node-sprintf-js 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 06 Jan 2017 11:09:44 +0100
Source: node-sprintf-js
Binary: node-sprintf-js
Architecture: source
Version: 1.0.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 
<pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Bastien Roucariès <roucaries.bastien+deb...@gmail.com>
Description:
 node-sprintf-js - JavaScript sprintf implementation
Closes: 849971
Changes:
 node-sprintf-js (1.0.3-2) unstable; urgency=medium
 .
   * Bug fix: "FTBFS randomly (AssertionError)", thanks to Santiago Vila
     (Closes: #849971).
   * Bump standard version (no changes).
   * Fix lintian warnings.
Checksums-Sha1:
 4e4db22b4b3c8ba4adbf2f6e9cce11ed7734365f 2109 node-sprintf-js_1.0.3-2.dsc
 c304058e168ed3dd4256c4a624165863af7b8b83 3996 
node-sprintf-js_1.0.3-2.debian.tar.xz
Checksums-Sha256:
 6b945e6bf3b5c6bd0d0031446e4d0bb5b95577f7cd3bf466daa1facf1c3dca30 2109 
node-sprintf-js_1.0.3-2.dsc
 fc00cfcde24e4c32e197974a64c1efe8e15c2f05270677a7cce067b661aa3d13 3996 
node-sprintf-js_1.0.3-2.debian.tar.xz
Files:
 6309ef791fb344103b23875ec57a8ac8 2109 web optional node-sprintf-js_1.0.3-2.dsc
 955145a8ba2c1bfcaab6a54a42f1a3a2 3996 web optional 
node-sprintf-js_1.0.3-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlhye18ACgkQCBa54Yx2
K63lSQ/6A4BNk1Kf3gkf5OjEdOq4Asj3TXPVN2x0rh2tIlzo7yq+fExECmGIKsRR
Z4MXilEk5Ds/0iX9Fx+IulT9z/NzSPBoHEcm2nhJ/clgNPmOWuYlExoy9HiFYCbD
6dVvxyTsqRItL3dMoVKra4WukcepI7JzVEFAXp7IlRbwUm0BI3v3o/1gALQs9CBR
FTwzkWxaKscZEF9Xb4XEN0Lupats7rFAaJloLoHlKq2Oe/97995VPsRVME1fUoBr
Nkl/7qCc3TlKauxjpOZiqZ2xOxRglgbn+I/3JYYEz1UiITJ5u4oLtcRHTxLZklHw
w+zA2Tm1uBzMailWMX8hl1ptSNxWwAY+2WJ+sIM8dCMotrItOD9HSg0iiC9zVnh7
i/KSrD8iACN2/ITV2lwK+0yJBoQB+gnrST0caghOseWozi+F8SGbU6CIPs/2qkUc
R2l/JSbk6CNvlBxHIGFPiDdHNAYvBw3r8zhoY9eg4pAG6gl7lL8XgtsLT/ZDjzGV
7ZXGx8d/yD0y+Nl89qdr9+qIJhHj8nLtGa6DqQzS2dVchkbINDvD4/xtap/gOTRc
hx81l88mK4trzg7QiFNpTS7OUpZ8iRlKdLouOuhVsrp9zw6fMcBwKMDuWcJehn5R
U3EMbH6xt+vSOaLuZAM07tUIXPkmKViWY6QU9tZP2xGSQxJ9Oiw=
=vJkn
-----END PGP SIGNATURE-----

--- End Message ---
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to