[Pkg-javascript-devel] Bug#892662: uglifyjs FTBFS:

Adrian Bunk bunk at debian.org
Sun Mar 11 20:45:04 UTC 2018


Source: uglifyjs
Version: 2.8.29-3
Severity: serious
Control: fixed -1 3.3.10-1
Control: close -1

https://tests.reproducible-builds.org/debian/history/uglifyjs.html
https://tests.reproducible-builds.org/debian/rb-pkg/experimental/i386/uglifyjs.html

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

...
  7 passing (3m)
  103 failing

  1) Accessor tokens
       Should fill the token information for accessors (issue #1492):
     Error: Timeout of 0ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at done (/usr/lib/nodejs/mocha/lib/runnable.js:298:13)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:372:7)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:560:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:366:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
      at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)

  2) arguments
       Should recognize when a function uses arguments:
     Error: Timeout of 0ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at done (/usr/lib/nodejs/mocha/lib/runnable.js:298:13)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:372:7)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:560:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:366:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
      at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)

  3) bin/uglifyjs
       should produce a functional build when using --self:
     Error: Timeout of 15000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at Timeout.<anonymous> (/usr/lib/nodejs/mocha/lib/runnable.js:238:19)

  4) bin/uglifyjs
       Should be able to filter comments correctly with `--comment all`:
     Error: Timeout of 0ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at done (/usr/lib/nodejs/mocha/lib/runnable.js:298:13)
      at /usr/lib/nodejs/mocha/lib/runnable.js:392:7
      at test/mocha/cli.js:30:13
      at ChildProcess.exithandler (child_process.js:267:7)
      at maybeClose (internal/child_process.js:925:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

  5) bin/uglifyjs
       Should be able to filter comments correctly with `--comment <RegExp>`:
     Error: Timeout of 0ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at done (/usr/lib/nodejs/mocha/lib/runnable.js:298:13)
      at /usr/lib/nodejs/mocha/lib/runnable.js:392:7
      at test/mocha/cli.js:40:13
      at ChildProcess.exithandler (child_process.js:267:7)
      at maybeClose (internal/child_process.js:925:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

  6) bin/uglifyjs
       Should be able to filter comments correctly with just `--comment`:
     Error: Timeout of 0ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at done (/usr/lib/nodejs/mocha/lib/runnable.js:298:13)
      at /usr/lib/nodejs/mocha/lib/runnable.js:392:7
      at test/mocha/cli.js:50:13
      at ChildProcess.exithandler (child_process.js:267:7)
      at maybeClose (internal/child_process.js:925:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

  7) bin/uglifyjs
       Should append source map to output when using --source-map-inline:
     Error: Timeout of 0ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at done (/usr/lib/nodejs/mocha/lib/runnable.js:298:13)
      at /usr/lib/nodejs/mocha/lib/runnable.js:392:7
      at test/mocha/cli.js:61:13
      at ChildProcess.exithandler (child_process.js:267:7)
      at maybeClose (internal/child_process.js:925:16)
      at Socket.stream.socket.on (internal/child_process.js:346:11)

  8) bin/uglifyjs
       should not append source map to output when not using --source-map-inline:
     Error: Timeout of 0ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at done (/usr/lib/nodejs/mocha/lib/runnable.js:298:13)
      at /usr/lib/nodejs/mocha/lib/runnable.js:392:7
      at test/mocha/cli.js:71:13
      at ChildProcess.exithandler (child_process.js:267:7)
      at maybeClose (internal/child_process.js:925:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

  9) bin/uglifyjs
       Should work with --keep-fnames (mangle only):
     Error: Timeout of 0ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at done (/usr/lib/nodejs/mocha/lib/runnable.js:298:13)
      at /usr/lib/nodejs/mocha/lib/runnable.js:392:7
      at test/mocha/cli.js:81:13
      at ChildProcess.exithandler (child_process.js:267:7)
      at maybeClose (internal/child_process.js:925:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

  10) bin/uglifyjs
       Should work with --keep-fnames (mangle & compress):
     Error: Timeout of 0ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
      at done (/usr/lib/nodejs/mocha/lib/runnable.js:298:13)
      at /usr/lib/nodejs/mocha/lib/runnable.js:392:7
      at test/mocha/cli.js:91:13
      at ChildProcess.exithandler (child_process.js:267:7)
      at maybeClose (internal/child_process.js:925:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
...



nodejs 8.9.3 might (or might not) be what is causing these.

Seems already fixed in the version in experimental.



More information about the Pkg-javascript-devel mailing list