[Pkg-javascript-devel] Bug#872533: node-chai FTBFS with nodejs 6.11.2

Adrian Bunk bunk at debian.org
Fri Aug 18 07:50:44 UTC 2017


Source: node-chai
Version: 3.5.0+dfsg-1
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-chai.html

...
   dh_auto_test
	make -j1 test
make[1]: Entering directory '/build/1st/node-chai-3.5.0+dfsg'
==> [Test :: Node.js]

  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․

  209 passing (438ms)
  4 failing

  1) expect throw:

      AssertionError: expected 'expected [Function: goodFn] to throw an error' to equal 'expected [Function] to throw an error'
      + expected - actual

      -"expected [Function: goodFn] to throw an error"
      +"expected [Function] to throw an error"
      
      at global.err (/build/1st/node-chai-3.5.0+dfsg/test/bootstrap/index.js:17:35)
      at Context.<anonymous> (/build/1st/node-chai-3.5.0+dfsg/test/expect.js:921:5)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:451:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:308:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
      at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
      at runCallback (timers.js:672:20)
      at tryOnImmediate (timers.js:645:5)
      at processImmediate [as _immediateCallback] (timers.js:617:5)

  2) expect satisfy:

      expected 'blah
      + expected - actual

      -"blah: expected 2 to satisfy [Function: matcher]"
      +"blah: expected 2 to satisfy [Function]"
      
      at global.err (/build/1st/node-chai-3.5.0+dfsg/test/bootstrap/index.js:17:35)
      at Context.<anonymous> (/build/1st/node-chai-3.5.0+dfsg/test/expect.js:1025:5)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:451:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:308:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
      at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
      at runCallback (timers.js:672:20)
      at tryOnImmediate (timers.js:645:5)
      at processImmediate [as _immediateCallback] (timers.js:617:5)

  3) should throw:

      AssertionError: expected 'expected [Function: goodFn] to throw an error' to equal 'expected [Function] to throw an error'
      + expected - actual

      -"expected [Function: goodFn] to throw an error"
      +"expected [Function] to throw an error"
      
      at global.err (/build/1st/node-chai-3.5.0+dfsg/test/bootstrap/index.js:17:35)
      at Context.<anonymous> (/build/1st/node-chai-3.5.0+dfsg/test/should.js:747:5)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:451:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:308:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
      at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
      at runCallback (timers.js:672:20)
      at tryOnImmediate (timers.js:645:5)
      at processImmediate [as _immediateCallback] (timers.js:617:5)

  4) should satisfy:

      expected 'blah
      + expected - actual

      -"blah: expected 2 to satisfy [Function: matcher]"
      +"blah: expected 2 to satisfy [Function]"
      
      at global.err (/build/1st/node-chai-3.5.0+dfsg/test/bootstrap/index.js:17:35)
      at Context.<anonymous> (/build/1st/node-chai-3.5.0+dfsg/test/should.js:867:5)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:451:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:308:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
      at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
      at runCallback (timers.js:672:20)
      at tryOnImmediate (timers.js:645:5)
      at processImmediate [as _immediateCallback] (timers.js:617:5)



Makefile:53: recipe for target 'test-node' failed
make[1]: *** [test-node] Error 4
make[1]: Leaving directory '/build/1st/node-chai-3.5.0+dfsg'
dh_auto_test: make -j1 test returned exit code 2
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2


More information about the Pkg-javascript-devel mailing list