[Pkg-javascript-devel] Bug#952212: node-vhost: FTBFS: dh_auto_test: error: /bin/sh -e debian/tests/pkg-js/test returned exit code 7

Lucas Nussbaum lucas at debian.org
Sun Feb 23 13:10:58 GMT 2020


Source: node-vhost
Version: 3.0.2-3
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-vhost
> dpkg-buildpackage: info: source version 3.0.2-3
> 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
> dpkg-source: warning: unknown information field 'Multi-Arch' in input data in general section of control info file
>  debian/rules clean
> dh clean --with nodejs
>    dh_auto_clean --buildsystem=nodejs
> 	rm -rf ./node_modules/.cache
>    dh_clean
>  dpkg-source -b .
> dpkg-source: warning: unknown information field 'Multi-Arch' in input data in general section of control info file
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-vhost using existing ./node-vhost_3.0.2.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building node-vhost in node-vhost_3.0.2-3.debian.tar.xz
> dpkg-source: info: building node-vhost in node-vhost_3.0.2-3.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
> 
> 
>   vhost(hostname, server)
>     ✓ should route by Host
>     ✓ should ignore port in Host
>     ✓ should support IPv6 literal in Host
>     ✓ should 404 unless matched
>     ✓ should 404 without Host header
>     arguments
>       hostname
>         ✓ should be required
>         ✓ should accept string
>         ✓ should accept RegExp
>       handle
>         ✓ should be required
>         ✓ should accept function
>         ✓ should reject plain object
>     with string hostname
>       ✓ should support wildcards
>       ✓ should restrict wildcards to single part
>       ✓ should treat dot as a dot
>       ✓ should match entire string
>       ✓ should populate req.vhost
>     with RegExp hostname
>       ✓ should match using RegExp
>       ✓ should match entire hostname
>       ✓ should populate req.vhost
> 
> 
>   19 passing (49ms)
> 
> /usr/share/nodejs/mocha/lib/runner.js:872
>   throw err;
>   ^
> 
> TypeError: this._emitCloseIfDrained is not a function
>     at Timeout.Server.close [as _onTimeout] (net.js:1595:10)
>     at ontimeout (timers.js:436:11)
>     at tryOnTimeout (timers.js:300:5)
>     at listOnTimeout (timers.js:263:5)
>     at Timer.processTimers (timers.js:223:10)
> dh_auto_test: error: /bin/sh -e debian/tests/pkg-js/test returned exit code 7

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/node-vhost_3.0.2-3_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