[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#978988: node-mqtt: autopkgtest regression in testing: Error: Timeout of 2000ms exceeded



Source: node-mqtt
Version: 4.2.6-1
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@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)

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: