[Pkg-javascript-devel] Bug#1016305: Bug#1016305: nodejs: FTBFS: make[2]: *** [Makefile:504: test-ci-js] Error 1

Jérémy Lal kapouer at melix.org
Fri Jul 29 19:51:44 BST 2022


Le ven. 29 juil. 2022 à 20:27, Lucas Nussbaum <lucas at debian.org> a écrit :

> Source: nodejs
> Version: 18.6.0+dfsg-3
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lucas at debian.org
> Usertags: ftbfs-20220728 ftbfs-bookworm
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
>
> Relevant part (hopefully):
> > not ok 1778 parallel/test-net-socket-connect-without-cb
> >   ---
> >   duration_ms: 0.261
> >   severity: fail
> >   exitcode: 1
> >   stack: |-
> >     node:events:491
> >           throw er; // Unhandled 'error' event
> >           ^
> >
> >     Error: getaddrinfo EAI_AGAIN localhost
> >         at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:26)
> >     Emitted 'error' event on Socket instance at:
> >         at emitErrorNT (node:internal/streams/destroy:151:8)
> >         at emitErrorCloseNT (node:internal/streams/destroy:116:3)
> >         at process.processTicksAndRejections
> (node:internal/process/task_queues:82:21) {
> >       errno: -3001,
> >       code: 'EAI_AGAIN',
> >       syscall: 'getaddrinfo',
> >       hostname: 'localhost'
> >     }
> >
> >     Node.js v18.6.0
> >   ...
>
>
Those
Error: getaddrinfo EAI_AGAIN localhost
are really painful.
Some build environments have localhost -> 127.0.0.1 and some have localhost
-> ::1.
Some can't even resolve "localhost" !



> > not ok 2130 parallel/test-socket-write-after-fin-error
> >   ---
> >   duration_ms: 0.327
> >   severity: fail
> >   exitcode: 1
> >   stack: |-
> >     node:assert:400
> >         throw err;
> >         ^
> >
> >     AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy
> value:
> >
> >       assert(gotServerError)
> >
> >         at process.<anonymous>
> (/<<PKGBUILDDIR>>/test/parallel/test-socket-write-after-fin-error.js:52:5)
> >         at process.emit (node:events:525:35) {
> >       generatedMessage: true,
> >       code: 'ERR_ASSERTION',
> >       actual: false,
> >       expected: true,
> >       operator: '=='
> >     }
> >
> >     Node.js v18.6.0
> >   ...
> [...]
> > not ok 2576 parallel/test-tls-streamwrap-buffersize
> >   ---
> >   duration_ms: 0.326
> >   severity: fail
> >   exitcode: 1
> >   stack: |-
> >     Mismatched <anonymous> function calls. Expected exactly 1, actual 0.
> >         at Proxy.mustCall (/<<PKGBUILDDIR>>/test/common/index.js:392:10)
> >         at TLSSocket.<anonymous>
> (/<<PKGBUILDDIR>>/test/parallel/test-tls-streamwrap-buffersize.js:63:35)
> >         at TLSSocket.<anonymous>
> (/<<PKGBUILDDIR>>/test/common/index.js:434:15)
> >         at Object.onceWrapper (node:events:627:28)
> >         at TLSSocket.emit (node:events:513:28)
> >         at TLSSocket.onConnectSecure (node:_tls_wrap:1567:10)
> >         at TLSSocket.emit (node:events:513:28)
> >         at TLSSocket._finishInit (node:_tls_wrap:948:8)
> >         at ssl.onhandshakedone (node:_tls_wrap:729:12)
> >   ...
>
>

I suspect those issues come from untimely upload of libuv1 1.44.2 :(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220729/da11ed0c/attachment.htm>


More information about the Pkg-javascript-devel mailing list