[Pkg-javascript-devel] Bug#1142353: Bug#1142353: nodejs: FTBFS in trixie: Failed tests: test/parallel/test-tls-alert-handling.js and test/parallel/test-tls-junk-server.js
Jérémy Lal
kapouer at melix.org
Sat Jul 18 13:42:21 BST 2026
Thanks.
I will soon deal with the latest CVE on nodejs in trixie, this will be the
opportunity to fix those tests too.
Le sam. 18 juil. 2026 à 14:41, Santiago Vila <sanvila at debian.org> a écrit :
> Package: src:nodejs
> Version: 20.19.2+dfsg-1+deb13u2
> Severity: serious
> Control: fixed -1 24.18.0+dfsg+~cs24.13.2-1
> Tags: ftbfs trixie
>
> Dear maintainer:
>
> During a rebuild of all packages in trixie, this package failed to build.
>
> [ Note: The bug is marked as fixed with the version in forky/sid, but
> packages in trixie must still build in trixie ].
>
> Note: I tried a lot of times and it always fails, this did not happen
> on Debian 13.5.
>
> Below you will find the last part of the build log (probably the most
> relevant part, but not necessarily). If required, the full build log
> is available here:
>
> https://people.debian.org/~sanvila/build-logs/trixie/
>
> About the archive rebuild: The build was made on virtual machines from AWS,
> using sbuild and a reduced chroot with only build-essential packages.
>
> If you cannot reproduce the bug please contact me privately, as I
> am willing to provide ssh access to a virtual machine where the bug is
> fully reproducible.
>
> If this is really a bug in one of the build-depends, please use
> reassign and add an affects on src:nodejs, so that this is still
> visible in the BTS web page for this package.
>
> Thanks.
>
>
> --------------------------------------------------------------------------------
> [...]
>
> not ok 2798 parallel/test-tls-alert-handling
> ---
> duration_ms: 211.41000
> severity: fail
> exitcode: 1
> stack: |-
> node:assert:90
> throw new AssertionError(obj);
> ^
>
> AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
> + actual - expected
>
> + 'ERR_SSL_BAD_RECORD_TYPE'
> - 'ERR_SSL_PACKET_LENGTH_TOO_LONG'
> ^
> at TLSSocket.<anonymous>
> (/<<PKGBUILDDIR>>/test/parallel/test-tls-alert-handling.js:41:10)
> at TLSSocket.<anonymous>
> (/<<PKGBUILDDIR>>/test/common/index.js:473:15)
> at TLSSocket.emit (node:events:536:35)
> at TLSSocket._emitTLSError (node:_tls_wrap:1053:10)
> at TLSWrap.onerror (node:_tls_wrap:494:11) {
> generatedMessage: true,
> code: 'ERR_ASSERTION',
> actual: 'ERR_SSL_BAD_RECORD_TYPE',
> expected: 'ERR_SSL_PACKET_LENGTH_TOO_LONG',
> operator: 'strictEqual'
> }
>
> Node.js v20.19.2
> ...
>
> [...]
>
> not ok 2893 parallel/test-tls-junk-server
> ---
> duration_ms: 209.59400
> severity: fail
> exitcode: 1
> stack: |-
> node:internal/assert/utils:281
> throw err;
> ^
>
> AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy
> value:
>
> assert(expectedErrorMessage.test(err.message))
>
> at ClientRequest.<anonymous>
> (/<<PKGBUILDDIR>>/test/parallel/test-tls-junk-server.js:28:5)
> at ClientRequest.<anonymous>
> (/<<PKGBUILDDIR>>/test/common/index.js:473:15)
> at Object.onceWrapper (node:events:639:26)
> at ClientRequest.emit (node:events:524:28)
> at emitErrorEvent (node:_http_client:101:11)
> at TLSSocket.socketErrorListener (node:_http_client:504:5)
> at TLSSocket.emit (node:events:524:28)
> at emitErrorNT (node:internal/streams/destroy:169:8)
> at emitErrorCloseNT (node:internal/streams/destroy:128:3)
> at process.processTicksAndRejections
> (node:internal/process/task_queues:82:21) {
> generatedMessage: true,
> code: 'ERR_ASSERTION',
> actual: false,
> expected: true,
> operator: '=='
> }
>
> Node.js v20.19.2
> ...
>
> [...]
>
> Failed tests:
> out/Release/node /<<PKGBUILDDIR>>/test/parallel/test-tls-alert-handling.js
> out/Release/node /<<PKGBUILDDIR>>/test/parallel/test-tls-junk-server.js
> make[2]: *** [Makefile:552: test-ci-js] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [debian/rules:357: override_dh_auto_test-arch] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:287: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit
> status 2
>
> --------------------------------------------------------------------------------
>
> --
> Pkg-javascript-devel mailing list
> Pkg-javascript-devel at alioth-lists.debian.net
>
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20260718/4f4cebd9/attachment.htm>
More information about the Pkg-javascript-devel
mailing list