[Pkg-javascript-devel] Bug#952186: node-glob-stream: 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:29 GMT 2020


Source: node-glob-stream
Version: 6.1.0-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-glob-stream
> dpkg-buildpackage: info: source version 6.1.0-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-glob-stream using existing ./node-glob-stream_6.1.0.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building node-glob-stream in node-glob-stream_6.1.0-2.debian.tar.xz
> dpkg-source: info: building node-glob-stream in node-glob-stream_6.1.0-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
> 
> 
>   glob-stream
>     ✓ streams a single object when given a directory path
>     ✓ streams a single object when given a file path
>     ✓ streams only objects with directory paths when given a directory glob
>     ✓ streams only objects with file paths from a non-directory glob
>     ✓ properly handles ( ) in cwd path
>     ✓ sets the correct base when ( ) in glob
>     ✓ finds files in paths that contain ( ) when they match the glob
>     ✓ respects backpressure and stream state (1003ms)
>     ✓ properly orders objects when given multiple paths and specified base
>     ✓ properly orders objects when given multiple paths and cwdbase
>     ✓ properly orders objects when given multiple globs with globstars
>     ✓ properly orders objects when given multiple absolute paths and no cwd
>     ✓ removes duplicate objects from the stream using default (path) filter
>     ✓ removes duplicate objects from the stream using custom string filter
>     ✓ removes duplicate objects from the stream using custom function filter
>     ✓ ignores dotfiles without dot option
>     ✓ finds dotfiles with dot option
>     ✓ removes dotfiles that match negative globs with dot option
>     ✓ respects pause/resume
>     ✓ works with direct paths and no cwd
>     ✓ supports negative globs
>     ✓ supports negative file paths
>     ✓ does not error when a negative glob removes all matches from a positive glob
>     ✓ respects order of negative globs
>     ✓ ignores leading negative globs
>     ✓ throws on invalid glob argument
>     ✓ throws on missing positive glob
>     ✓ emits an error when file not found on singular path
>     ✓ does not emit an error when file not found on glob containing {}
>     ✓ does not emit an error on singular path when allowEmpty is true
>     ✓ emits an error when a singular path in multiple paths not found
>     ✓ emits an error when a singular path in multiple paths/globs not found
>     ✓ resolves absolute paths when root option is given
> 
>   options
>     ✓ avoids mutation of options
>     silent
>       ✓ accepts a boolean
>     nonull
>       ✓ accepts a boolean
>       ✓ does not have any effect on our results
>     ignore
>       ✓ accepts a string (in addition to array)
>       ✓ supports the ignore option instead of negation
>       ✓ supports the ignore option with dot option
>       ✓ merges ignore option and negative globs
> 
>   readable stream
>     ✓ emits an error if there are no matches
>     ✓ throws an error if you try to write to it
>     1) throws an error if you try to write to it
> 
> 
>   43 passing (1s)
>   1 failing
> 
>   1) readable stream
>        throws an error if you try to write to it:
>      Uncaught Error: File not found with singular glob: /<<PKGBUILDDIR>>/test/notfound (if this was purposeful, use `allowEmpty` option)
>       at Glob.<anonymous> (readable.js:84:17)
>       at Glob._finish (/usr/share/nodejs/glob/glob.js:197:8)
>       at done (/usr/share/nodejs/glob/glob.js:182:14)
>       at Glob._processSimple2 (/usr/share/nodejs/glob/glob.js:688:12)
>       at /usr/share/nodejs/glob/glob.js:676:10
>       at Glob._stat2 (/usr/share/nodejs/glob/glob.js:772:12)
>       at lstatcb_ (/usr/share/nodejs/glob/glob.js:764:12)
>       at RES (/usr/lib/nodejs/inflight/inflight.js:31:16)
>       at f (/usr/lib/nodejs/once/once.js:25:25)
>       at FSReqWrap.oncomplete (fs.js:153:21)
> 
> 
> 
> 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-glob-stream_6.1.0-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