[Pkg-javascript-devel] Bug#952183: node-serve-static: FTBFS: dh_auto_test: error: /bin/sh -e debian/tests/pkg-js/test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Sun Feb 23 13:10:46 GMT 2020
Source: node-serve-static
Version: 1.14.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 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-serve-static
> dpkg-buildpackage: info: source version 1.14.1-2
> 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-serve-static using existing ./node-serve-static_1.14.1.orig.tar.gz
> dpkg-source: info: building node-serve-static in node-serve-static_1.14.1-2.debian.tar.xz
> dpkg-source: info: building node-serve-static in node-serve-static_1.14.1-2.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
> mocha inspect [spec..]
>
> Run tests with Mocha
>
> Rules & Behavior
> --allow-uncaught Allow uncaught errors to propagate [boolean]
> --async-only, -A Require all tests to use a callback (async) or
> return a Promise [boolean]
> --bail, -b Abort ("bail") after first test failure [boolean]
> --check-leaks Check for global variable leaks [boolean]
> --delay Delay initial execution of root suite [boolean]
> --exit Force Mocha to quit after tests complete [boolean]
> --forbid-only Fail if exclusive test(s) encountered [boolean]
> --forbid-pending Fail if pending test(s) encountered [boolean]
> --global, --globals List of allowed global variables [array]
> --retries Retry failed tests this many times [number]
> --slow, -s Specify "slow" test threshold (in milliseconds)
> [string] [default: 75]
> --timeout, -t, --timeouts Specify test timeout threshold (in milliseconds)
> [string] [default: 2000]
> --ui, -u Specify user interface [string] [default: "bdd"]
>
> Reporting & Output
> --color, -c, --colors Force-enable color output [boolean]
> --diff Show diff on failure
> [boolean] [default: true]
> --full-trace Display full stack traces [boolean]
> --growl, -G Enable Growl notifications [boolean]
> --inline-diffs Display actual/expected differences
> inline within each string [boolean]
> --reporter, -R Specify reporter to use
> [string] [default: "spec"]
> --reporter-option, --reporter-options, Reporter-specific options
> -O (<k=v,[k1=v1,..]>) [array]
>
> Configuration
> --config Path to config file [string] [default: (nearest rc file)]
> --opts Path to `mocha.opts` (DEPRECATED)
> [string] [default: "./test/mocha.opts"]
> --package Path to package.json for config [string]
>
> File Handling
> --extension File extension(s) to load [array] [default: js]
> --file Specify file(s) to be loaded prior to root suite
> execution [array] [default: (none)]
> --ignore, --exclude Ignore file(s) or glob pattern(s)
> [array] [default: (none)]
> --recursive Look for tests in subdirectories [boolean]
> --require, -r Require module [array] [default: (none)]
> --sort, -S Sort test files [boolean]
> --watch, -w Watch files in the current working directory for changes
> [boolean]
> --watch-files List of paths or globs to watch [array]
> --watch-ignore List of paths or globs to exclude from watching
> [array] [default: ["node_modules",".git"]]
>
> Test Filters
> --fgrep, -f Only run tests containing this string [string]
> --grep, -g Only run tests matching this string or regexp [string]
> --invert, -i Inverts --grep and --fgrep matches [boolean]
>
> Positional Arguments
> spec One or more files, directories, or globs to test
> [array] [default: ["test"]]
>
> Other Options
> --help, -h Show usage information & exit [boolean]
> --version, -V Show version number & exit [boolean]
> --list-interfaces List built-in user interfaces & exit [boolean]
> --list-reporters List built-in reporters & exit [boolean]
>
> ✖ [31mERROR:[39m Cannot find module '/<<PKGBUILDDIR>>/test'
> 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/02/22/node-serve-static_1.14.1-2_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