[Pkg-javascript-devel] Bug#973170: 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
Tue Oct 27 17:07:20 GMT 2020
Source: node-formidable
Version: 1.2.1+20200129git8231ea6-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_clean
> rm -rf test/tmp
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> 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+20200129git8231ea6.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building node-formidable in node-formidable_1.2.1+20200129git8231ea6-1.debian.tar.xz
> dpkg-source: info: building node-formidable in node-formidable_1.2.1+20200129git8231ea6-1.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
> ln -s ../. node_modules/formidable
> /bin/sh -ex debian/tests/pkg-js/test
> + mkdir -p test/tmp
> + node -e require("urun")(__dirname+"/test", {reporter: "BashTapReporter",include:/test-.+\.js$/});
> 1..11
> 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
> ok 5 test/standalone/test-content-transfer-encoding.js
> not ok 6 test/standalone/test-issue-46.js
> Server up and running at: http://localhost:13532
> /<<PKGBUILDDIR>>/test/standalone/test-issue-46.js:46
> fetch(url, {method: 'POST', body: form}).then((res) => res.json()).then((obj) => {
> ^
>
> TypeError: fetch is not a function
> at Server.<anonymous> (/<<PKGBUILDDIR>>/test/standalone/test-issue-46.js:46:3)
> at Object.onceWrapper (events.js:420:28)
> at Server.emit (events.js:314:20)
> at emitListeningNT (net.js:1345:10)
> at processTicksAndRejections (internal/process/task_queues.js:83:21)
>
> ok 7 test/standalone/test-keep-alive-error.js
> ok 8 test/unit/test-file.js
> ok 9 test/unit/test-incoming-form.js
> ok 10 test/unit/test-multipart-parser.js
> ok 11 test/unit/test-querystring-parser.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/10/27/node-formidable_1.2.1+20200129git8231ea6-1_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