autopkgtest failure due to timeout on rollup-plugin-node-polyfills

Bug #1938948 reported by Bryce Harrington
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
node-rollup-plugin-node-polyfills (Ubuntu)
New
Undecided
Unassigned
ts-node (Ubuntu)
New
Undecided
Unassigned

Bug Description

https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/armhf/n/node-rollup-plugin-node-polyfills/20210803_074214_72ce1@/log.gz

  12 passing (8s)
  1 failing

  1) rollup-plugin-node-polyfills
       works with zlib.js:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/tmp/autopkgtest.aow0wC/autopkgtest_tmp/smokexHbT2p/test/index.js)
      at Test.Runnable._timeoutError (/usr/share/nodejs/mocha/lib/runnable.js:432:10)
      at done (/usr/share/nodejs/mocha/lib/runnable.js:306:18)
      at /usr/share/nodejs/mocha/lib/runnable.js:412:7
      at next (evalmachine.<anonymous>:11134:5)
      at evalmachine.<anonymous>:11125:3
      at Script.runInContext (vm.js:130:18)
      at /tmp/autopkgtest.aow0wC/autopkgtest_tmp/smokexHbT2p/test/index.js:47:16

From the test history, 9.1.1-4 hit similar timeout-driven test failures and it appears a subsequent re-run of the test with the same trigger passed. Perhaps the timeout is too tight and could be loosened from 2000ms to, say 10000ms?

Looking at debian's test history, it appears to me to also have failures that resolve on a simple rerun, although can't be certain as there are not links to logs:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ts-node.html

For now, I'm going to try a couple more re-triggers, but if it continues failing this way in the future, this may be worth adjusting timeouts and/or notifying Debian.

Revision history for this message
Bryce Harrington (bryce) wrote :

ts-node looks like it's the same situation.

https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/amd64/t/ts-node/20210803_074041_23cbc@/log.gz

  46 passing (4m)
  1 failing

  1) ts-node
       cli
         should preserve `ts-node` context with child process:
     Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/tmp/autopkgtest.yuHBLE/autopkgtest_tmp/smokedrMHvY/dist/index.spec.js)
      at Test.Runnable._timeoutError (/usr/share/nodejs/mocha/lib/runnable.js:432:10)
      at Timeout.<anonymous> (/usr/share/nodejs/mocha/lib/runnable.js:244:24)
      at listOnTimeout (internal/timers.js:554:17)
      at processTimers (internal/timers.js:497:7)

Also of note that these two packages pass their tests on all other architectures, so this seems more likely to be a flaky test situation rather than an actual defect.

Revision history for this message
Brian Murray (brian-murray) wrote :

In Jammy node-rollup-plugin-node-polyfills is now failing on multiple architectures, additionally running it on a system with more memory does not help.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.