[Pkg-javascript-devel] Bug#978317: node-json-stringify-safe: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 18

Lucas Nussbaum lucas at debian.org
Sat Dec 26 21:54:42 GMT 2020


Source: node-json-stringify-safe
Version: 5.0.1+repack-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 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-json-stringify-safe
> dpkg-buildpackage: info: source version 5.0.1+repack-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Nilesh Patra <npatra974 at gmail.com>
>  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
> 	rm -rf egal/node_modules/.cache
> 	rm -rf kindof/node_modules/.cache
> 	rm -rf must/node_modules/.cache
> 	rm -rf oolong/node_modules/.cache
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-json-stringify-safe using existing ./node-json-stringify-safe_5.0.1+repack.orig-egal.tar.gz
> dpkg-source: info: building node-json-stringify-safe using existing ./node-json-stringify-safe_5.0.1+repack.orig-kindof.tar.gz
> dpkg-source: info: building node-json-stringify-safe using existing ./node-json-stringify-safe_5.0.1+repack.orig-must.tar.gz
> dpkg-source: info: building node-json-stringify-safe using existing ./node-json-stringify-safe_5.0.1+repack.orig-oolong.tar.gz
> dpkg-source: info: building node-json-stringify-safe using existing ./node-json-stringify-safe_5.0.1+repack.orig.tar.gz
> dpkg-source: info: building node-json-stringify-safe in node-json-stringify-safe_5.0.1+repack-2.debian.tar.xz
> dpkg-source: info: building node-json-stringify-safe in node-json-stringify-safe_5.0.1+repack-2.dsc
>  debian/rules binary
> dh binary --with nodejs
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
> 	mkdir node_modules
> 	ln -s ../egal node_modules/egal
> 	ln -s ../kindof node_modules/kindof
> 	ln -s ../must node_modules/must
> 	ln -s ../oolong node_modules/oolong
>    dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../. node_modules/json-stringify-safe
> 	/bin/sh -ex debian/tests/pkg-js/test
> + set -e
> + ln -s .. node_modules/json-stringify-safe
> ln: failed to create symbolic link 'node_modules/json-stringify-safe/..': File exists
> + true
> + mocha -R spec
> 
> 
>   Stringify
>     1) must stringify circular objects
>     2) must stringify circular objects with intermediaries
>     3) must stringify circular objects deeper
>     4) must stringify circular objects deeper with intermediaries
>     5) must stringify circular objects in an array
>     6) must stringify circular objects deeper in an array
>     7) must stringify circular arrays
>     8) must stringify circular arrays with intermediaries
>     9) must stringify repeated objects in objects
>     10) must stringify repeated objects in arrays
>     11) must call given decycler and use its output
>     12) must call replacer and use its output
>     13) must call replacer after describing circular references
>     14) must call given decycler and use its output for nested objects
>     15) must use decycler's output when it returned null
>     16) must use decycler's output when it returned undefined
>     17) must throw given a decycler that returns a cycle
>     .getSerialize
>       18) must stringify circular objects
>       - must return a function that could be called twice
> 
> 
>   0 passing (14ms)
>   1 pending
>   18 failing
> 
>   1) Stringify
>        must stringify circular objects:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:10:15)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   2) Stringify
>        must stringify circular objects with intermediaries:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:17:15)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   3) Stringify
>        must stringify circular objects deeper:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:24:33)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   4) Stringify
>        must stringify circular objects deeper with intermediaries:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:34:33)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   5) Stringify
>        must stringify circular objects in an array:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:44:33)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   6) Stringify
>        must stringify circular objects deeper in an array:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:54:33)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   7) Stringify
>        must stringify circular arrays:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:68:15)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   8) Stringify
>        must stringify circular arrays with intermediaries:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:76:33)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   9) Stringify
>        must stringify repeated objects in objects:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:88:33)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   10) Stringify
>        must stringify repeated objects in arrays:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:98:15)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   11) Stringify
>        must call given decycler and use its output:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:108:15)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   12) Stringify
>        must call replacer and use its output:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:124:15)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   13) Stringify
>        must call replacer after describing circular references:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:146:15)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   14) Stringify
>        must call given decycler and use its output for nested objects:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:167:15)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   15) Stringify
>        must use decycler's output when it returned null:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:182:42)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   16) Stringify
>        must use decycler's output when it returned undefined:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:195:42)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   17) Stringify
>        must throw given a decycler that returns a cycle:
>      TypeError: Cannot read property 'be' of undefined
>       at Context.<anonymous> (test/stringify_test.js:207:14)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
>   18) Stringify
>        .getSerialize
>          must stringify circular objects:
>      TypeError: Cannot read property 'eql' of undefined
>       at Context.<anonymous> (test/stringify_test.js:217:17)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:364:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:352:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:594:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:604:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:572:5)
>       at processImmediate (internal/timers.js:461:21)
> 
> 
> 
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 18

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/node-json-stringify-safe_5.0.1+repack-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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

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