[Pkg-javascript-devel] Bug#880904: node-cliui FTBFS: test failure

Adrian Bunk bunk at debian.org
Sun Nov 5 14:29:04 UTC 2017


Source: node-cliui
Version: 3.2.0-2
Severity: serious
Tags: buster sid

Some recent change in unstable makes node-cliui FTBFS:

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

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/node-cliui-3.2.0'
mocha

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

  23 passing (97ms)
  1 failing

  1) cliui layoutDSL ignores ansi escape codes when measuring padding:

      AssertionError: expected [ Array(5) ] to deeply equal [ Array(5) ]
      + expected - actual

         "  |",
         "  __|   __|  |   |   _ \\",
         "  |    |     |   |   __/",
         " \\__| _|    \\__,_| \\___|",
      -  ""
      +  "                         "
       ]
      
      at Context.<anonymous> (/build/1st/node-cliui-3.2.0/test/cliui.js:443:17)
      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)



debian/rules:13: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1


More information about the Pkg-javascript-devel mailing list