[Pkg-javascript-devel] Bug#872613: node-mocha FTBFS with nodejs 6.11.2: test failures

Adrian Bunk bunk at debian.org
Sat Aug 19 11:10:53 UTC 2017


Source: node-mocha
Version: 1.20.1-7
Severity: serious
Tags: buster sid

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

...
[31m  4 failing

  1) Suite .beforeAll() wraps the passed in function in a Hook adds it to _beforeAll:

      AssertionError: expected '"before all" hook: fn' to be '"before all" hook'
      + expected - actual

      -"\"before all\" hook: fn"
      +"\"before all\" hook"
      
    at Assertion.fail (/usr/lib/nodejs/should/lib/assertion.js:92:17)
    at Assertion.value (/usr/lib/nodejs/should/lib/assertion.js:164:19)
    at Context.<anonymous> (/build/1st/node-mocha-1.20.1/test/suite.js:140:36)
    at callFn (/build/1st/node-mocha-1.20.1/lib/runnable.js:223:21)
    at Test.Runnable.run (/build/1st/node-mocha-1.20.1/lib/runnable.js:216:7)
    at Runner.runTest (/build/1st/node-mocha-1.20.1/lib/runner.js:373:10)
    at /build/1st/node-mocha-1.20.1/lib/runner.js:451:12
    at next (/build/1st/node-mocha-1.20.1/lib/runner.js:298:14)
    at /build/1st/node-mocha-1.20.1/lib/runner.js:308:7
    at next (/build/1st/node-mocha-1.20.1/lib/runner.js:246:23)
    at Immediate.<anonymous> (/build/1st/node-mocha-1.20.1/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) Suite .afterAll() wraps the passed in function in a Hook adds it to _afterAll:

      AssertionError: expected '"after all" hook: fn' to be '"after all" hook'
      + expected - actual

      -"\"after all\" hook: fn"
      +"\"after all\" hook"
      
    at Assertion.fail (/usr/lib/nodejs/should/lib/assertion.js:92:17)
    at Assertion.value (/usr/lib/nodejs/should/lib/assertion.js:164:19)
    at Context.<anonymous> (/build/1st/node-mocha-1.20.1/test/suite.js:175:35)
    at callFn (/build/1st/node-mocha-1.20.1/lib/runnable.js:223:21)
    at Test.Runnable.run (/build/1st/node-mocha-1.20.1/lib/runnable.js:216:7)
    at Runner.runTest (/build/1st/node-mocha-1.20.1/lib/runner.js:373:10)
    at /build/1st/node-mocha-1.20.1/lib/runner.js:451:12
    at next (/build/1st/node-mocha-1.20.1/lib/runner.js:298:14)
    at /build/1st/node-mocha-1.20.1/lib/runner.js:308:7
    at next (/build/1st/node-mocha-1.20.1/lib/runner.js:246:23)
    at Immediate.<anonymous> (/build/1st/node-mocha-1.20.1/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) Suite .beforeEach() wraps the passed in function in a Hook adds it to _beforeEach:

      AssertionError: expected '"before each" hook: fn' to be '"before each" hook'
      + expected - actual

      -"\"before each\" hook: fn"
      +"\"before each\" hook"
      
    at Assertion.fail (/usr/lib/nodejs/should/lib/assertion.js:92:17)
    at Assertion.value (/usr/lib/nodejs/should/lib/assertion.js:164:19)
    at Context.<anonymous> (/build/1st/node-mocha-1.20.1/test/suite.js:209:37)
    at callFn (/build/1st/node-mocha-1.20.1/lib/runnable.js:223:21)
    at Test.Runnable.run (/build/1st/node-mocha-1.20.1/lib/runnable.js:216:7)
    at Runner.runTest (/build/1st/node-mocha-1.20.1/lib/runner.js:373:10)
    at /build/1st/node-mocha-1.20.1/lib/runner.js:451:12
    at next (/build/1st/node-mocha-1.20.1/lib/runner.js:298:14)
    at /build/1st/node-mocha-1.20.1/lib/runner.js:308:7
    at next (/build/1st/node-mocha-1.20.1/lib/runner.js:246:23)
    at Immediate.<anonymous> (/build/1st/node-mocha-1.20.1/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) Suite .afterEach() wraps the passed in function in a Hook adds it to _afterEach:

      AssertionError: expected '"after each" hook: fn' to be '"after each" hook'
      + expected - actual

      -"\"after each\" hook: fn"
      +"\"after each\" hook"
      
    at Assertion.fail (/usr/lib/nodejs/should/lib/assertion.js:92:17)
    at Assertion.value (/usr/lib/nodejs/should/lib/assertion.js:164:19)
    at Context.<anonymous> (/build/1st/node-mocha-1.20.1/test/suite.js:244:36)
    at callFn (/build/1st/node-mocha-1.20.1/lib/runnable.js:223:21)
    at Test.Runnable.run (/build/1st/node-mocha-1.20.1/lib/runnable.js:216:7)
    at Runner.runTest (/build/1st/node-mocha-1.20.1/lib/runner.js:373:10)
    at /build/1st/node-mocha-1.20.1/lib/runner.js:451:12
    at next (/build/1st/node-mocha-1.20.1/lib/runner.js:298:14)
    at /build/1st/node-mocha-1.20.1/lib/runner.js:308:7
    at next (/build/1st/node-mocha-1.20.1/lib/runner.js:246:23)
    at Immediate.<anonymous> (/build/1st/node-mocha-1.20.1/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)
  



NET 7717: _read
NET 7717: Socket._read readStart
NET 7717: _read
NET 7717: Socket._read readStart
NET 7717: _read
NET 7717: Socket._read readStart
Makefile:41: recipe for target 'test-unit' failed
make[2]: *** [test-unit] Error 4
make[2]: Leaving directory '/build/1st/node-mocha-1.20.1'
debian/rules:19: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2



More information about the Pkg-javascript-devel mailing list