[Pkg-javascript-devel] Bug#1016309: node-astw: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Fri Jul 29 19:21:39 BST 2022
Source: node-astw
Version: 2.2.0-8
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220728 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 --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
> mkdir -p node_modules
> ln -s ../. node_modules/astw
> /bin/sh -ex debian/tests/pkg-js/test
> + mocha test/json.js test/parent.js
> TAP version 13
> # json
> Since Acorn 8.0.0, options.ecmaVersion is required.
> Defaulting to 2020, but this will stop working in the future.
>
> 1) Uncaught error outside test suite
>
> 0 passing (2ms)
> 1 failing
>
> 1) Uncaught error outside test suite:
> Uncaught TypeError: Cannot read properties of undefined (reading 'allowHashBang')
> at getOptions (/usr/share/nodejs/acorn/dist/acorn.js:444:14)
> at new Parser (/usr/share/nodejs/acorn/dist/acorn.js:500:30)
> at Function.parse (/usr/share/nodejs/acorn/dist/acorn.js:639:12)
> at parse (/usr/share/nodejs/acorn/dist/acorn.js:5562:19)
> at module.exports (index.js:13:29)
> at Test.<anonymous> (test/json.js:7:16)
> at Test.bound [as _cb] (/usr/share/nodejs/tape/lib/test.js:99:32)
> at Test.run (/usr/share/nodejs/tape/lib/test.js:117:31)
> at Test.bound [as run] (/usr/share/nodejs/tape/lib/test.js:99:32)
> at Immediate.next (/usr/share/nodejs/tape/lib/results.js:88:19)
> at process.processImmediate (node:internal/timers:471:21)
>
>
>
>
> not ok 1 plan != count
> ---
> operator: fail
> expected: 2
> actual: 0
> at: process.<anonymous> (/usr/share/nodejs/tape/index.js:95:23)
> stack: |-
> Error: plan != count
> at Test.assert [as _assert] (/usr/share/nodejs/tape/lib/test.js:314:54)
> at Test.bound [as _assert] (/usr/share/nodejs/tape/lib/test.js:99:32)
> at Test.fail (/usr/share/nodejs/tape/lib/test.js:408:10)
> at Test.bound [as fail] (/usr/share/nodejs/tape/lib/test.js:99:32)
> at Test._exit (/usr/share/nodejs/tape/lib/test.js:265:14)
> at Test.bound [as _exit] (/usr/share/nodejs/tape/lib/test.js:99:32)
> at process.<anonymous> (/usr/share/nodejs/tape/index.js:95:23)
> at process.emit (node:events:525:35)
> ...
> not ok 2 test exited without ending: parent
> ---
> operator: fail
> at: process.<anonymous> (/usr/share/nodejs/tape/index.js:95:23)
> stack: |-
> Error: test exited without ending: parent
> at Test.assert [as _assert] (/usr/share/nodejs/tape/lib/test.js:314:54)
> at Test.bound [as _assert] (/usr/share/nodejs/tape/lib/test.js:99:32)
> at Test.fail (/usr/share/nodejs/tape/lib/test.js:408:10)
> at Test.bound [as fail] (/usr/share/nodejs/tape/lib/test.js:99:32)
> at Test._exit (/usr/share/nodejs/tape/lib/test.js:271:14)
> at Test.bound [as _exit] (/usr/share/nodejs/tape/lib/test.js:99:32)
> at process.<anonymous> (/usr/share/nodejs/tape/index.js:95:23)
> at process.emit (node:events:525:35)
> ...
>
> 1..2
> # tests 2
> # pass 0
> # fail 2
>
> 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/07/28/node-astw_2.2.0-8_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&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