[Pkg-javascript-devel] Bug#921794: node-cross-spawn-async: FTBFS (failing tests)

Santiago Vila sanvila at debian.org
Sat Feb 9 00:15:42 GMT 2019


Package: src:node-cross-spawn-async
Version: 2.2.5-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_update_autotools_config -i
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
nodejs test/prepare && mocha -C -R spec test/test
Copied "prepare_()%!^&;, .sh" to "()%!^&;, "


  cross-spawn-async
    1) should support shebang in executables with /usr/bin/env
    2) should support shebang in executables without /usr/bin/env
    3) should support shebang in executables with relative path
    ✓ should support shebang in executables with relative path that starts with `..` (1538ms)
    4) should support shebang in executables with extensions
    ✓ should expand using PATHEXT properly
    ✓ should handle commands with spaces
    ✓ should handle commands with special shell chars
    ✓ should handle arguments with quotes (1744ms)
    ✓ should handle empty arguments (1244ms)
    ✓ should handle non-string arguments (1236ms)
    ✓ should handle arguments with spaces (1196ms)
    ✓ should handle arguments with \" (1237ms)
    ✓ should handle arguments that end with \ (1213ms)
    ✓ should handle arguments that contain shell special chars (1202ms)
    ✓ should handle special arguments when using echo
    ✓ should handle optional args correctly (63ms)
    ✓ should not mutate args nor options
    ✓ should give correct exit code (1216ms)
    ✓ should work with a relative command
    ✓ should emit "error" and "close" if command does not exist (1024ms)
    ✓ should NOT emit "error" if shebang command does not exist (1013ms)
    ✓ should NOT emit "error" if the command actual exists but exited with 1 (1012ms)


  19 passing (23s)
  4 failing

  1) cross-spawn-async
       should support shebang in executables with /usr/bin/env:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at Timeout.<anonymous> (/usr/lib/nodejs/mocha/lib/runnable.js:238:19)

  2) cross-spawn-async
       should support shebang in executables without /usr/bin/env:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at Timeout.<anonymous> (/usr/lib/nodejs/mocha/lib/runnable.js:238:19)

  3) cross-spawn-async
       should support shebang in executables with relative path:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at Timeout.<anonymous> (/usr/lib/nodejs/mocha/lib/runnable.js:238:19)

  4) cross-spawn-async
       should support shebang in executables with extensions:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at Timeout.<anonymous> (/usr/lib/nodejs/mocha/lib/runnable.js:238:19)



make[1]: *** [debian/rules:11: override_dh_auto_test] Error 4
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-cross-spawn-async.html

where you can get a full build log if you need it.

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 BTS web page for this package.

Thanks.



More information about the Pkg-javascript-devel mailing list