[Pkg-javascript-devel] Bug#1009536: node-connect-timeout: 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:21:56 BST 2022
Source: node-connect-timeout
Version: 1.9.0-5
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 ../debian/tests/test_modules/supertest node_modules/supertest
> ln -s ../. node_modules/connect-timeout
> /bin/sh -ex debian/tests/pkg-js/test
> + NODE_PATH=debian/tests/test_modules mocha --exit --reporter spec --bail --check-leaks test/
>
>
> timeout()
> undefined should have a default timeout (5045ms)
> undefined should accept millisecond timeout (130ms)
> undefined should accept string timeout (49ms)
> when below the timeout
> undefined should do nothing
> when above the timeout
> with no response made
> undefined should respond with 503 Request timeout (103ms)
> 1) should pass the error to next()
>
>
> 5 passing (5s)
> 1 failing
>
> 1) timeout()
> when above the timeout
> with no response made
> should pass the error to next():
> Uncaught Error [ERR_STREAM_WRITE_AFTER_END]: write after end
> at new NodeError (internal/errors.js:322:7)
> at writeAfterEnd (_http_outgoing.js:694:15)
> at ServerResponse.end (_http_outgoing.js:815:7)
> at /<<PKGBUILDDIR>>/test/test.js:46:15
> at Timeout._onTimeout (test/test.js:205:11)
> at listOnTimeout (internal/timers.js:557:17)
> at processTimers (internal/timers.js:500:7)
>
>
>
> 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-connect-timeout_1.9.0-5_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