[Pkg-javascript-devel] Bug#978988: node-mqtt: autopkgtest regression in testing: Error: Timeout of 2000ms exceeded

Paul Gevers elbrus at debian.org
Fri Jan 1 18:36:37 GMT 2021


Source: node-mqtt
Version: 4.2.6-1
X-Debbugs-CC: debian-ci at lists.debian.org
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent change in testing the autopkgtest of your package started
to fail. I copied some of the output at the bottom of this report. Can
you please investigate the situation and fix it?

Does your mocha-test connect to the internet by the way? In that case,
please also add a needs-internet restriction.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

https://ci.debian.net/data/autopkgtest/testing/amd64/n/node-mqtt/9241724/log.gz

  594 passing (1m)
  4 pending
  4 failing

  1) MqttClient
       pinging
         should reconnect if pingresp is not sent:
     Error: Timeout of 2000ms exceeded. For async tests and hooks,
ensure "done()" is called; if returning a Promise, ensure it resolves.
(/tmp/autopkgtest-lxc._v6d6q9e/downtmp/build.S1A/src/test/client.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)

  2) MQTT 5.0
       pinging
         should reconnect if pingresp is not sent:
     Error: Timeout of 2000ms exceeded. For async tests and hooks,
ensure "done()" is called; if returning a Promise, ensure it resolves.
(/tmp/autopkgtest-lxc._v6d6q9e/downtmp/build.S1A/src/test/client_mqtt5.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)

  3) MqttSecureClient
       pinging
         should reconnect if pingresp is not sent:
     Error: Timeout of 2000ms exceeded. For async tests and hooks,
ensure "done()" is called; if returning a Promise, ensure it resolves.
(/tmp/autopkgtest-lxc._v6d6q9e/downtmp/build.S1A/src/test/secure_client.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)

  4) Websocket Client
       pinging
         should reconnect if pingresp is not sent:
     Error: Timeout of 2000ms exceeded. For async tests and hooks,
ensure "done()" is called; if returning a Promise, ensure it resolves.
(/tmp/autopkgtest-lxc._v6d6q9e/downtmp/build.S1A/src/test/websocket_client.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)



/usr/share/nodejs/mocha/lib/runner.js:962
    throw err;
    ^

NodeError: write after end
    at writeAfterEnd
(/usr/share/nodejs/readable-stream/lib/_stream_writable.js:257:12)
    at Connection.Writable.write
(/usr/share/nodejs/readable-stream/lib/_stream_writable.js:301:21)
    at Connection.<computed> [as pingresp]
(/usr/share/nodejs/mqtt-connection/connection.js:83:10)
    at Connection.<anonymous>
(/tmp/autopkgtest-lxc._v6d6q9e/downtmp/build.S1A/src/test/server_helpers_for_client_tests.js:86:20)
    at Connection.emit (events.js:314:20)
    at Connection.emitPacket
(/usr/share/nodejs/mqtt-connection/connection.js:10:8)
    at Connection.emit (events.js:314:20)
    at addChunk
(/usr/share/nodejs/readable-stream/lib/_stream_readable.js:297:12)
    at readableAddChunk
(/usr/share/nodejs/readable-stream/lib/_stream_readable.js:279:11)
    at Connection.Readable.push
(/usr/share/nodejs/readable-stream/lib/_stream_readable.js:240:10)
    at Connection.Duplexify._forward
(/usr/share/nodejs/duplexify/index.js:172:26)
    at Transform.onreadable (/usr/share/nodejs/duplexify/index.js:136:10)
    at Transform.emit (events.js:314:20)
    at emitReadable_
(/usr/share/nodejs/readable-stream/lib/_stream_readable.js:520:12)
    at processTicksAndRejections (internal/process/task_queues.js:83:21)
Emitted 'error' event on Connection instance at:
    at writeAfterEnd
(/usr/share/nodejs/readable-stream/lib/_stream_writable.js:259:10)
    at Connection.Writable.write
(/usr/share/nodejs/readable-stream/lib/_stream_writable.js:301:21)
    [... lines matching original stack trace ...]
    at processTicksAndRejections (internal/process/task_queues.js:83:21)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210101/d6be6643/attachment.sig>


More information about the Pkg-javascript-devel mailing list