[Pkg-javascript-devel] Bug#1009524: node-qw: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:22:25 BST 2022
Source: node-qw
Version: 1.0.1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary
> 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
> mkdir -p node_modules
> ln -s ../. node_modules/qw
> /bin/sh -ex debian/tests/pkg-js/test
> + tap -J test/qw.js
> TAP version 13
> (node:3423559) DeprecationWarning: isDeeply() is deprecated, use strictSame() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> not ok 1 - test/qw.js # time=48.4ms
> ---
> env: {}
> file: test/qw.js
> timeout: 30000
> command: /usr/bin/node
> args:
> - test/qw.js
> stdio:
> - 0
> - pipe
> - 2
> cwd: /<<PKGBUILDDIR>>
> exitCode: 1
> ...
> {
> # Subtest: qw
> ok 1 - single
> ok 2 - single trailing whitespace
> ok 3 - single leading whitespace
> ok 4 - single both whitespace
> ok 5 - double
> ok 6 - double middle whitespace
> ok 7 - double trailing whitespace
> ok 8 - double leading whitespace
> ok 9 - double both whitespace
> ok 10 - double all whitespace
> ok 11 - triple
> ok 12 - triple middle whitespace
> ok 13 - triple trailing whitespace
> ok 14 - triple leading whitespace
> ok 15 - triple both whitespace
> ok 16 - triple all whitespace
> ok 17 - one var
> ok 18 - one var middle whitespace
> ok 19 - one var trailing whitespace
> ok 20 - one var leading whitespace
> ok 21 - one var both whitespace
> ok 22 - one var all whitespace
> ok 23 - two var
> ok 24 - two var middle whitespace
> ok 25 - two var trailing whitespace
> ok 26 - two var leading whitespace
> ok 27 - two var both whitespace
> ok 28 - two var all whitespace
> ok 29 - three var
> ok 30 - three var middle whitespace
> ok 31 - three var trailing whitespace
> ok 32 - three var leading whitespace
> ok 33 - three var both whitespace
> ok 34 - three var all whitespace
> ok 35 - append vars
> ok 36 - prepend vars
> ok 37 - chain vars
> not ok 38 - t.done is not a function
> ---
> stack: |
> Test.<anonymous> (test/qw.js:52:5)
> Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40)
> /usr/share/nodejs/libtap/lib/test.js:369:21
> Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7)
> Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15)
> /usr/share/nodejs/libtap/lib/test.js:485:13
> TAP.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5)
> Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14)
> at:
> line: 52
> column: 5
> file: test/qw.js
> function: Test.<anonymous>
> type: TypeError
> tapCaught: testFunctionThrow
> test: qw
> source: |2
>
> t.done()
> ----^
> })
> ...
>
> 1..38
> # failed 1 of 38 tests
> not ok 1 - qw # time=42.888ms
>
> 1..1
> # failed 1 test
> # time=48.4ms
> }
>
> 1..1
> # failed 1 test
> # time=677.135ms
> ----------|---------|----------|---------|---------|-------------------
> File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
> ----------|---------|----------|---------|---------|-------------------
> All files | 100 | 100 | 100 | 100 |
> qw.js | 100 | 100 | 100 | 100 |
> ----------|---------|----------|---------|---------|-------------------
> 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/2022/04/12/node-qw_1.0.1-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-javascript-devel
mailing list