[Pkg-javascript-devel] Bug#963405: node-gulp-util: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Jun 21 21:10:42 BST 2020


Source: node-gulp-util
Version: 3.0.8-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 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-gulp-util
> dpkg-buildpackage: info: source version 3.0.8-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Abraham Raji <avronr at tuta.io>
>  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-gulp-util using existing ./node-gulp-util_3.0.8.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building node-gulp-util in node-gulp-util_3.0.8-1.debian.tar.xz
> dpkg-source: info: building node-gulp-util in node-gulp-util_3.0.8-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/map-stream node_modules/map-stream
> 	ln -s ../debian/tests/test_modules/event-stream node_modules/event-stream
> 	ln -s ../debian/tests/test_modules/stream-combiner node_modules/stream-combiner
> 	ln -s ../debian/tests/test_modules/duplexer node_modules/duplexer
> 	ln -s ../debian/tests/test_modules/from node_modules/from
> 	ln -s ../debian/tests/test_modules/pause-stream node_modules/pause-stream
> 	/bin/sh -ex debian/tests/pkg-js/test
> + ls test/File.js test/PluginError.js test/beep.js test/buffer.js+  test/colors.js test/combine.js test/date.js test/env.js test/isBuffer.js test/isNull.js test/isStream.js test/linefeed.js test/log.js test/noop.js test/replaceExtension.js test/template.jsgrep
>  -v test/beep.js
> + NODE_PATH=debian/tests/test_modules mocha test/File.js test/PluginError.js test/buffer.js test/colors.js test/combine.js test/date.js test/env.js test/isBuffer.js test/isNull.js test/isStream.js test/linefeed.js test/log.js test/noop.js test/replaceExtension.js test/template.js
> 
> 
>   File()
>     ✓ should return a valid file
>     ✓ should return a valid file 2
> 
>   PluginError()
>     ✓ should default name to Error
>     ✓ should default name to Error, even when wrapped error has no name
>     ✓ should print the plugin name in toString
>     ✓ should not include the stack by default in toString
>     ✓ should include the stack when specified in toString
>     ✓ should take arguments as one object
>     ✓ should take arguments as plugin name and one object
>     ✓ should take arguments as plugin name and message
>     ✓ should take arguments as plugin name, message, and one object
>     ✓ should take arguments as plugin name, error, and one object
>     ✓ should take properties from error
>     ✓ should be configured to show properties by default
>     ✓ should not be configured to take option to show properties
>     ✓ should show properties
>     ✓ should show properties
>     ✓ should not show properties
>     ✓ should not show properties, but should show stack
>     ✓ should not show properties, but should show stack for real error
>     ✓ should not show properties, but should show stack for _stack
>     ✓ should show properties and stack
>     ✓ should show properties added after the error is created
>     ✓ should toString quickly
>     ✓ should toString quickly with original error
>     ✓ should not show "Details:" if there are no properties to show
> 
>   buffer()
>     ✓ should buffer stuff and return an array into the callback
>     ✓ should buffer stuff and emit it as a data event
>     ✓ should buffer stuff and return a stream with the buffered data
> 
>   colors
>     ✓ should be a chalk instance
> 
>   combine()
>     ✓ should return a function
>     ✓ should return a function that returns a stream combination
>     ✓ should return a function that returns a stream combination when given an array
> 
>   date
>     ✓ should be a date format instance
>     ✓ should return today's date
> 
>   env
>     ✓ should exist
> 
>   isBuffer()
>     ✓ should work on a buffer
> (node:11772) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
>     ✓ should not work on a stream
> 
>   isNull()
>     ✓ should work on a null
>     ✓ should not work on a stream
>     ✓ should not work on undefined
> 
>   isStream()
>     ✓ should work on a stream
>     ✓ should not work on a buffer
> 
>   log()
> 
>   noop()
>     ✓ should return a stream
>     ✓ should return a stream that passes through all data
> 
>   replaceExtension()
>     ✓ should return a valid replaced extension on nested
>     ✓ should return a valid replaced extension on flat
>     ✓ should not return a valid replaced extension on empty string
> 
>   template()
>     ✓ should work with just a template
>     ✓ should work with a template and data
>     ✓ should throw an error when no file object is passed
>     ✓ should ignore modified templateSettings
>     ✓ should allow ES6 delimiters
> 
> 
>   54 passing (51ms)
>   1 failing
> 
>   1) log()
>        should work i guess:
> 
>       AssertionError: expected '[07:29:22] 1 2 3 4 five\n' to equal '[07:29:22] 1 2 3 4 \'five\'\n'
>       + expected - actual
> 
>       -[07:29:22] 1 2 3 4 five
>       +[07:29:22] 1 2 3 4 'five'
>       
>       at Assertion.fail (/usr/share/nodejs/should/cjs/should.js:277:17)
>       at Assertion.value (/usr/share/nodejs/should/cjs/should.js:358:19)
>       at Context.<anonymous> (test/log.js:22:25)
>       at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:423:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:363:7)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:541:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:667:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:450:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:460:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:362:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:428:5)
>       at processImmediate (internal/timers.js:456:21)
> 
> 
> 
> 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/06/20/node-gulp-util_3.0.8-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