[Pkg-javascript-devel] Bug#963373: node-which: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Sun Jun 21 21:10:51 BST 2020
Source: node-which
Version: 2.0.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
>
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package node-which
> dpkg-buildpackage: info: source version 2.0.2-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Xavier Guimard <yadd at debian.org>
> dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
> debian/rules clean
> dh clean --with nodejs
> dh_auto_clean --buildsystem=nodejs
> rm -rf ./node_modules/.cache
> dh_clean
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-which using existing ./node-which_2.0.2.orig.tar.gz
> dpkg-source: info: building node-which in node-which_2.0.2-1.debian.tar.xz
> dpkg-source: info: building node-which in node-which_2.0.2-1.dsc
> debian/rules binary
> dh binary --with nodejs
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure --buildsystem=nodejs
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> dh_auto_test --buildsystem=nodejs
> /bin/sh -ex debian/tests/pkg-js/test
> + tap test/basic.js test/bin.js test/windows.js
> TAP version 13
> # Subtest: test/basic.js
> # Subtest: setup
> 1..0
> ok 1 - setup # time=4.947ms
>
> # Subtest: does not find missed
> 1..3
> ok 1 - expect rejected Promise # time=8.568ms {
> ok 1 - expect rejected Promise
> 1..1
> }
>
> ok 2 - expected to throw
> ok 3 - should be equal
> ok 2 - does not find missed # time=14.966ms
>
> # Subtest: does not find non-executable
> 1..2
> # Subtest: absolute
> 1..3
> ok 1 - expected to throw
> ok 2 - type is Error
> ok 3 - should be equal
> ok 1 - absolute # time=4.376ms
>
> # Subtest: with path
> 1..3
> ok 1 - expected to throw
> ok 2 - type is Error
> ok 3 - should be equal
> ok 2 - with path # time=1.781ms
>
> ok 3 - does not find non-executable # time=11.388ms
>
> # Subtest: make executable
> 1..0
> ok 4 - make executable # time=0.568ms
>
> # Subtest: find when executable
> # Subtest: absolute
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 1 - absolute # time=7.868ms
>
> # Subtest: with process.env.PATH
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 2 - with process.env.PATH # time=1.333ms
>
> ok 3 - with pathExt # SKIP Only for Windows
> # Subtest: with path opt
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 4 - with path opt # time=1.234ms
>
> # Subtest: relative path
> 1..3
> # Subtest: no ./
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 1 - no ./ # time=4.733ms
>
> # Subtest: with ./
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 2 - with ./ # time=1.46ms
>
> # Subtest: with ../
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - with ../ # time=2.207ms
>
> ok 5 - relative path # time=13.516ms
>
> 1..5
> # skip: 1
> ok 5 - find when executable # time=28.372ms
>
> # Subtest: find all
> ok 1 - should be equivalent
> ok 2 - should be equivalent
> 1..2
> ok 6 - find all # time=3.058ms
>
> # Subtest: clean
> 1..0
> ok 7 - clean # time=2.412ms
>
> 1..7
> # time=74.643ms
> ok 1 - test/basic.js # time=241.379ms
>
> # Subtest: test/bin.js
> # Subtest: finds node
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - should be equal
> ok 4 - should match pattern provided
> 1..4
> ok 1 - finds node # time=90.728ms
>
> # Subtest: does not find flergyderp
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - should be equal
> ok 4 - should match pattern provided
> 1..4
> ok 2 - does not find flergyderp # time=77.772ms
>
> # Subtest: finds node and tap
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - should be equal
> ok 4 - should match pattern provided
> 1..4
> ok 3 - finds node and tap # time=83.713ms
>
> # Subtest: finds node and tap, but not flergyderp
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - should be equal
> ok 4 - should match pattern provided
> 1..4
> ok 4 - finds node and tap, but not flergyderp # time=82.807ms
>
> # Subtest: cli flags
> 1..4
> # Subtest: -a
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - should be equal
> not ok 4 - should have more than 1 result
> ---
> actual:
> - /usr/bin/which
> at:
> line: 99
> column: 13
> file: test/bin.js
> type: global
> stack: |
> test/bin.js:99:13
> ChildProcess.<anonymous> (test/bin.js:31:5)
> source: |
> t.ok(out.length > 1, 'should have more than 1 result', opt)
> ...
>
> 1..4
> # failed 1 of 4 tests
> not ok 1 - -a # time=95.402ms
>
> # Subtest: -s
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - should be equal
> ok 4 - should be silent
> 1..4
> ok 2 - -s # time=78.485ms
>
> # Subtest: -as
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - should be equal
> ok 4 - should be silent
> 1..4
> ok 3 - -as # time=78.983ms
>
> # Subtest: -sa
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - should be equal
> ok 4 - should be silent
> 1..4
> ok 4 - -sa # time=79.067ms
>
> # failed 1 of 4 tests
> not ok 5 - cli flags # time=338.277ms
>
> # Subtest: shows usage
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - should be equal
> ok 4 - should be equal
> 1..4
> ok 6 - shows usage # time=82.125ms
>
> # Subtest: complains about unknown flag
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - should be equal
> ok 4 - should be equal
> 1..4
> ok 7 - complains about unknown flag # time=82.215ms
>
> 1..7
> # failed 1 of 7 tests
> # time=845.161ms
> not ok 2 - test/bin.js # time=1008.877ms
> ---
> timeout: 30000
> file: test/bin.js
> command: /usr/bin/node
> args:
> - test/bin.js
> stdio:
> - 0
> - pipe
> - 2
> cwd: /<<PKGBUILDDIR>>
> exitCode: 1
> ...
>
> # Subtest: test/windows.js
> # Subtest: setup
> 1..0
> ok 1 - setup # time=4.904ms
>
> # Subtest: does not find missed
> 1..3
> ok 1 - expect rejected Promise # time=9.049ms {
> ok 1 - expect rejected Promise
> 1..1
> }
>
> ok 2 - expected to throw
> ok 3 - should be equal
> ok 2 - does not find missed # time=16.519ms
>
> ok 3 - does not find non-executable # SKIP not relevant on windows
> # Subtest: make executable
> 1..0
> ok 4 - make executable # time=0.805ms
>
> # Subtest: find when executable
> # Subtest: absolute
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 1 - absolute # time=8.624ms
>
> # Subtest: with process.env.PATH
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 2 - with process.env.PATH # time=1.779ms
>
> # Subtest: with pathExt
> # Subtest: foo.sh
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 1 - foo.sh # time=7.767ms
>
> # Subtest: foo
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 2 - foo # time=2.244ms
>
> # Subtest: replace
> 1..0
> ok 3 - replace # time=0.804ms
>
> 1..3
> ok 3 - with pathExt # time=15.297ms
>
> # Subtest: with path opt
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 4 - with path opt # time=2.137ms
>
> # Subtest: relative path
> 1..3
> # Subtest: no ./
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 1 - no ./ # time=5.844ms
>
> # Subtest: with ./
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 2 - with ./ # time=2.26ms
>
> # Subtest: with ../
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - with ../ # time=2.128ms
>
> ok 5 - relative path # time=14.484ms
>
> 1..5
> ok 5 - find when executable # time=48.764ms
>
> # Subtest: find all
> ok 1 - should be equivalent
> ok 2 - should be equivalent
> 1..2
> ok 6 - find all # time=3.349ms
>
> # Subtest: clean
> 1..0
> ok 7 - clean # time=2.36ms
>
> 1..7
> # skip: 1
> # time=86.262ms
> ok 3 - test/windows.js # time=252.916ms
>
> 1..3
> # failed 1 of 3 tests
> # time=1516.191ms
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2020/06/20/node-which_2.0.2-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-javascript-devel
mailing list