Source: node-mqtt-connection Version: 4.1.0-3 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: [email protected] Usertags: ftbfs-20211220 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary > dh_update_autotools_config > dh_autoreconf > dh_auto_configure --buildsystem=nodejs > dh_auto_build --buildsystem=nodejs > No build command found, searching known files > dh_auto_test --buildsystem=nodejs > mkdir -p node_modules > ln -s ../. node_modules/mqtt-connection > /bin/sh -ex debian/tests/pkg-js/test > + mocha test/ > > > Connection-v5 > undefined should start piping in the next tick > transmission-v5 > #subscribe-5.0 > undefined should send a 5.0 subscribe packet (single) > > Connection > undefined should start piping in the next tick > parsing > connect > undefined should fire a connect event (minimal) > undefined should fire a connect event (maximal) > parse errors > undefined should say protocol not parseable > connack > undefined should fire a connack event (rc = 0) > undefined should fire a connack event (rc = 5) > publish > undefined should fire a publish event (minimal) > undefined should fire a publish event with 2KB payload > undefined should fire a publish event with 2MB payload > undefined should fire a publish event (maximal) > undefined should fire an empty publish > undefined should parse a splitted publish > puback > undefined should fire a puback event > pubrec > undefined should fire a pubrec event > pubrel > 1) should fire a pubrel event > pubcomp > undefined should fire a pubcomp event > subscribe > undefined should fire a subscribe event (1 topic) > undefined should fire a subscribe event (3 topic) > suback > 2) should fire a suback event > unsubscribe > undefined should fire an unsubscribe event > unsuback > undefined should fire a unsuback event > pingreq > undefined should fire a pingreq event > pingresp > undefined should fire a pingresp event > disconnect > undefined should fire a disconnect event > reserverd (15) > undefined should emit an error > reserverd (0) > undefined should emit an error > transmission > #connect > undefined should send a connect packet (minimal) > undefined should send a connect packet (maximal) > undefined should send a connect packet with binary username/password > undefined should send a connect packet with binary will payload > undefined should send a connect packet with unicode will payload > invalid options > protocol id > undefined should reject non-string > protocol version > undefined should reject non-number > undefined should reject >255 > undefined should reject <0 > client id > undefined should reject non-present > undefined should reject empty > undefined should reject non-string > keepalive > undefined should reject non-number > undefined should reject < 0 > undefined should reject > 65535 > will > undefined should reject non-object > undefined should reject will without valid topic > undefined should reject will without valid payload > - should reject will with invalid qos > username > undefined should reject invalid username > password > undefined should reject invalid password > #connack > undefined should send a connack packet (rc = 0) > undefined should send a connack packet (rc = 4) > undefined should reject invalid rc > #publish > undefined should send a publish packet (minimal) > undefined should send a publish packet (maximal) > undefined should send a publish packet (empty) > undefined should send a publish packet (buffer) > undefined should send a publish packet of 2KB > undefined should send a publish packet of 2MB > undefined should reject invalid topic > - should reject invalid payloads, maybe > undefined should reject invalid mid > #puback > undefined should send a puback packet > undefined should reject invalid mid > #pubrec > undefined should send a pubrec packet > - should reject invalid mid > #pubrel > undefined should send a pubrel packet > - should reject invalid mid > #pubcomp > undefined should send a pubcomp packet > - should reject invalid mid > #subscribe > undefined should send a subscribe packet (single) > undefined should send a subscribe packet (multiple) > undefined should reject invalid subscriptions > - should reject invalid subscription objects > undefined should reject invalid mid > #suback > undefined should send a suback packet > - should reject invalid mid > undefined should reject invalid qos vector > #unsubscribe > undefined should send an unsubscribe packet > undefined should reject invalid unsubs > - should reject invalid mids > #unsuback > undefined should send a unsuback packet > - should reject invalid mid > #pingreq > undefined should send a pingreq packet > #pingresp > undefined should send a pingresp packet > #disconnect > undefined should send a disconnect packet > undefined should send a null disconnect packet > > > 75 passing (125ms) > 9 pending > 2 failing > > 1) Connection > parsing > pubrel > should fire a pubrel event: > Uncaught Error: Invalid header flag bits, must be 0x2 for pubrel packet > at Parser._parseHeader (/usr/share/nodejs/mqtt-packet/parser.js:63:30) > at Parser.parse (/usr/share/nodejs/mqtt-packet/parser.js:43:45) > at Transform.process [as _transform] (lib/parseStream.js:14:17) > at Transform._read > (/usr/share/nodejs/readable-stream/lib/_stream_transform.js:177:10) > at Transform._write > (/usr/share/nodejs/readable-stream/lib/_stream_transform.js:164:83) > at doWrite > (/usr/share/nodejs/readable-stream/lib/_stream_writable.js:409:139) > at writeOrBuffer > (/usr/share/nodejs/readable-stream/lib/_stream_writable.js:398:5) > at Transform.Writable.write > (/usr/share/nodejs/readable-stream/lib/_stream_writable.js:307:11) > at Transform.ondata > (/usr/share/nodejs/readable-stream/lib/_stream_readable.js:681:20) > at addChunk > (/usr/share/nodejs/readable-stream/lib/_stream_readable.js:298:12) > at readableAddChunk > (/usr/share/nodejs/readable-stream/lib/_stream_readable.js:280:11) > at Transform.Readable.push > (/usr/share/nodejs/readable-stream/lib/_stream_readable.js:241:10) > at Transform.push > (/usr/share/nodejs/readable-stream/lib/_stream_transform.js:139:32) > at Immediate.<anonymous> (test/util.js:13:12) > at processImmediate (internal/timers.js:461:21) > > 2) Connection > parsing > suback > should fire a suback event: > Uncaught Error: Invalid suback QoS, must be <= 2 > at Parser._parseSuback (/usr/share/nodejs/mqtt-packet/parser.js:427:34) > at Parser._parsePayload (/usr/share/nodejs/mqtt-packet/parser.js:119:16) > at Parser.parse (/usr/share/nodejs/mqtt-packet/parser.js:43:45) > at Transform.process [as _transform] (lib/parseStream.js:14:17) > at Transform._read > (/usr/share/nodejs/readable-stream/lib/_stream_transform.js:177:10) > at Transform._write > (/usr/share/nodejs/readable-stream/lib/_stream_transform.js:164:83) > at doWrite > (/usr/share/nodejs/readable-stream/lib/_stream_writable.js:409:139) > at writeOrBuffer > (/usr/share/nodejs/readable-stream/lib/_stream_writable.js:398:5) > at Transform.Writable.write > (/usr/share/nodejs/readable-stream/lib/_stream_writable.js:307:11) > at Transform.ondata > (/usr/share/nodejs/readable-stream/lib/_stream_readable.js:681:20) > at addChunk > (/usr/share/nodejs/readable-stream/lib/_stream_readable.js:298:12) > at readableAddChunk > (/usr/share/nodejs/readable-stream/lib/_stream_readable.js:280:11) > at Transform.Readable.push > (/usr/share/nodejs/readable-stream/lib/_stream_readable.js:241:10) > at Transform.push > (/usr/share/nodejs/readable-stream/lib/_stream_transform.js:139:32) > at Immediate.<anonymous> (test/util.js:13:12) > at processImmediate (internal/timers.js:461:21) > > > > dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 2 The full build log is available from: http://qa-logs.debian.net/2021/12/20/node-mqtt-connection_4.1.0-3_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime. -- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
