[Pkg-javascript-devel] Bug#862496: node-raw-body: FTBFS randomly	(failing tests)
    Santiago Vila 
    sanvila at debian.org
       
    Sat May 13 15:54:28 UTC 2017
    
    
  
Package: src:node-raw-body
Version: 1.2.0-1
Severity: important
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: Compatibility levels before 9 are deprecated (level 8 in use)
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
dh_auto_configure: Compatibility levels before 9 are deprecated (level 8 in use)
   dh_auto_build -i
dh_auto_build: Compatibility levels before 9 are deprecated (level 8 in use)
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mocha
  [90mâ¤[0m[90mâ¤[0m[93mâ¤[0m[93mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[90mâ¤[0m[31mâ¤[0m[90mâ¤[0m
[92m [0m[32m 31 passing[0m[90m (4s)[0m
[31m  1 failing[0m
[0m  1) Raw Body when using with http server should echo data:
[0m[31m     Error: timeout of 2000ms exceeded[0m[90m
      at null.<anonymous> (/usr/lib/nodejs/mocha/lib/runnable.js:139:19)
      at Timer.listOnTimeout (timers.js:92:15)
[0m
debian/rules:11: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: 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 just how the build ends, not necessarily the relevant part.
I've put several build logs here:
https://people.debian.org/~sanvila/build-logs/node-raw-body/
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.
The bug should be reproducible with sbuild on a single CPU virtual machine,
provided you try enough times (as the failure happens randomly).
Note: The failure rate is quite low (around 2.5%), I would recommend
taking a look at the build logs and the code and try to guess how it
may happen.
Thanks.
    
    
More information about the Pkg-javascript-devel
mailing list