[Pkg-javascript-devel] Bug#954557: node-run-sequence: FTBFS: dh_auto_test: error: /bin/sh -e debian/tests/pkg-js/test returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Mar 22 08:21:40 GMT 2020


Source: node-run-sequence
Version: 2.2.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200321 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-run-sequence
> dpkg-buildpackage: info: source version 2.2.1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Pirate Praveen <praveen 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-run-sequence using existing ./node-run-sequence_2.2.1.orig.tar.gz
> dpkg-source: info: building node-run-sequence in node-run-sequence_2.2.1-1.debian.tar.xz
> dpkg-source: info: building node-run-sequence in node-run-sequence_2.2.1-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
> 	/bin/sh -e debian/tests/pkg-js/test
> /usr/share/nodejs/yargs/yargs.js:1233
>       else throw err
>            ^
> 
> AssertionError [ERR_ASSERTION]: Task function must be specified
>     at Gulp.set [as _setTask] (/usr/share/nodejs/gulp/node_modules/undertaker/lib/set-task.js:10:3)
>     at Gulp.task (/usr/share/nodejs/gulp/node_modules/undertaker/lib/task.js:13:8)
>     at Suite.<anonymous> (/<<PKGBUILDDIR>>/test/main.js:29:7)
>     at Object.create (/usr/share/nodejs/mocha/lib/interfaces/common.js:140:19)
>     at context.describe.context.context (/usr/share/nodejs/mocha/lib/interfaces/bdd.js:42:27)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/test/main.js:20:1)
>     at Module._compile (internal/modules/cjs/loader.js:778:30)
>     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
>     at Module.load (internal/modules/cjs/loader.js:653:32)
>     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
>     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
>     at Module.require (internal/modules/cjs/loader.js:692:17)
>     at require (internal/modules/cjs/helpers.js:25:18)
>     at /usr/share/nodejs/mocha/lib/mocha.js:311:36
>     at Array.forEach (<anonymous>)
>     at Mocha.loadFiles (/usr/share/nodejs/mocha/lib/mocha.js:308:14)
>     at Mocha.run (/usr/share/nodejs/mocha/lib/mocha.js:849:10)
>     at Object.exports.singleRun (/usr/share/nodejs/mocha/lib/cli/run-helpers.js:108:16)
>     at exports.runMocha (/usr/share/nodejs/mocha/lib/cli/run-helpers.js:143:13)
>     at Object.exports.handler.argv [as handler] (/usr/share/nodejs/mocha/lib/cli/run.js:305:3)
>     at Object.runCommand (/usr/share/nodejs/yargs/lib/command.js:240:40)
>     at Object.parseArgs [as _parseArgs] (/usr/share/nodejs/yargs/yargs.js:1173:35)
>     at Object.parse (/usr/share/nodejs/yargs/yargs.js:618:25)
>     at Object.exports.main (/usr/share/nodejs/mocha/lib/cli/cli.js:68:6)
>     at Object.<anonymous> (/usr/share/nodejs/mocha/bin/mocha:133:29)
>     at Module._compile (internal/modules/cjs/loader.js:778:30)
>     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
>     at Module.load (internal/modules/cjs/loader.js:653:32)
>     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
>     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
>     at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
>     at startup (internal/bootstrap/node.js:283:19)
>     at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
> dh_auto_test: error: /bin/sh -e debian/tests/pkg-js/test returned exit code 1

The full build log is available from:
   http://qa-logs.debian.net/2020/03/21/node-run-sequence_2.2.1-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