[Pkg-javascript-devel] Bug#1009585: node-fd-slicer: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 3

Lucas Nussbaum lucas at debian.org
Tue Apr 12 20:22:02 BST 2022


Source: node-fd-slicer
Version: 1.1.0+repack1-1
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/stream-equal node_modules/stream-equal
> 	ln -s ../debian/tests/test_modules/streamsink node_modules/streamsink
> 	ln -s ../. node_modules/fd-slicer
> 	/bin/sh -ex debian/tests/pkg-js/test
> + mocha --check-leaks --timeout 10000
> 
> 
>   FdSlicer
> (node:3356748) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
> (Use `node --trace-deprecation ...` to show where the warning was created)
>     undefined reads a 20MB file (autoClose on) (253ms)
>     undefined reads 4 chunks simultaneously (216ms)
>     undefined writes a 20MB file (autoClose on) (143ms)
>     undefined writes 4 chunks simultaneously (128ms)
>     undefined throws on invalid ref
>     1) write stream emits error when max size exceeded
>     undefined write stream does not emit error when max size not exceeded
>     2) write stream start and end work together
>     undefined write stream emits progress events
>     undefined write stream unrefs when destroyed
>     undefined read stream unrefs when destroyed
>     undefined fdSlicer.read
>     undefined fdSlicer.write
> 
>   BufferSlicer
>     undefined invalid ref
>     undefined read and write
>     undefined createReadStream
>     3) createWriteStream exceed buffer size
>     undefined createWriteStream ok
> 
> 
>   15 passing (31s)
>   3 failing
> 
>   1) FdSlicer
>        write stream emits error when max size exceeded:
>      Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/<<PKGBUILDDIR>>/test/test.js)
>       at createTimeoutError (/usr/share/nodejs/mocha/lib/errors.js:498:15)
>       at Test.Runnable._timeoutError (/usr/share/nodejs/mocha/lib/runnable.js:431:10)
>       at Timeout.<anonymous> (/usr/share/nodejs/mocha/lib/runnable.js:246:24)
>       at listOnTimeout (internal/timers.js:557:17)
>       at processTimers (internal/timers.js:500:7)
> 
>   2) FdSlicer
>        write stream start and end work together:
>      Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/<<PKGBUILDDIR>>/test/test.js)
>       at createTimeoutError (/usr/share/nodejs/mocha/lib/errors.js:498:15)
>       at Test.Runnable._timeoutError (/usr/share/nodejs/mocha/lib/runnable.js:431:10)
>       at Timeout.<anonymous> (/usr/share/nodejs/mocha/lib/runnable.js:246:24)
>       at listOnTimeout (internal/timers.js:557:17)
>       at processTimers (internal/timers.js:500:7)
> 
>   3) BufferSlicer
>        createWriteStream exceed buffer size:
>      Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/<<PKGBUILDDIR>>/test/test.js)
>       at createTimeoutError (/usr/share/nodejs/mocha/lib/errors.js:498:15)
>       at Test.Runnable._timeoutError (/usr/share/nodejs/mocha/lib/runnable.js:431:10)
>       at Timeout.<anonymous> (/usr/share/nodejs/mocha/lib/runnable.js:246:24)
>       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 3


The full build log is available from:
http://qa-logs.debian.net/2022/04/12/node-fd-slicer_1.1.0+repack1-1_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