[Pkg-javascript-devel] Bug#963358: node-formidable: 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:39 BST 2020


Source: node-formidable
Version: 1.2.1-4
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-formidable
> dpkg-buildpackage: info: source version 1.2.1-4
> 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-formidable using existing ./node-formidable_1.2.1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building node-formidable in node-formidable_1.2.1-4.debian.tar.xz
> dpkg-source: info: building node-formidable in node-formidable_1.2.1-4.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
> 	mkdir -p node_modules
> 	ln -s ../debian/tests/test_modules/urun node_modules/urun
> 	ln -s ../debian/tests/test_modules/utest node_modules/utest
> 	ln -s ../debian/tests/test_modules/chainsaw node_modules/chainsaw
> 	ln -s ../debian/tests/test_modules/findit node_modules/findit
> 	ln -s ../debian/tests/test_modules/seq node_modules/seq
> 	ln -s ../debian/tests/test_modules/gently node_modules/gently
> 	/bin/sh -ex debian/tests/pkg-js/test
> + node -e require("urun")(__dirname+"/test", {reporter: "BashTapReporter",include:/test-.+\.js$/});
> 1..14
> ok 1 test/integration/test-fixtures.js
> ok 2 test/integration/test-json.js
> ok 3 test/integration/test-octet-stream.js
> ok 4 test/standalone/test-connection-aborted.js
> not ok 5 test/standalone/test-content-transfer-encoding.js
>   (node:30242) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
>   events.js:292
>         throw er; // Unhandled 'error' event
>         ^
>   
>   Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
>       at WriteStream._write (internal/fs/streams.js:394:33)
>       at WriteStream.<anonymous> (internal/fs/streams.js:390:12)
>       at Object.onceWrapper (events.js:422:26)
>       at WriteStream.emit (events.js:327:22)
>       at internal/fs/streams.js:381:10
>       at FSReqCallback.oncomplete (fs.js:155:23)
>   Emitted 'error' event on WriteStream instance at:
>       at errorOrDestroy (internal/streams/destroy.js:108:12)
>       at onwriteError (_stream_writable.js:424:5)
>       at onwrite (_stream_writable.js:445:5)
>       at WriteStream._write (internal/fs/streams.js:394:30)
>       at WriteStream.<anonymous> (internal/fs/streams.js:390:12)
>       [... lines matching original stack trace ...]
>       at FSReqCallback.oncomplete (fs.js:155:23) {
>     code: 'ERR_STREAM_DESTROYED'
>   }
>   
> ok 6 test/standalone/test-keep-alive-error.js
> ok 7 test/unit/test-file.js
> ok 8 test/unit/test-incoming-form.js
> ok 9 test/legacy/integration/test-multipart-parser.js
> ok 10 test/legacy/simple/test-file.js
> ok 11 test/legacy/simple/test-incoming-form.js
> ok 12 test/legacy/simple/test-multipart-parser.js
> ok 13 test/legacy/simple/test-querystring-parser.js
> ok 14 test/legacy/system/test-multi-video-upload.js
> 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-formidable_1.2.1-4_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