[Pkg-javascript-devel] Bug#1108816: node-supertest: autopkgtest regression: expected '' to be 'ECONNREFUSED: Connection refused'

Paul Gevers elbrus at debian.org
Sat Jul 5 14:02:23 BST 2025


Source: node-supertest
Version: 7.0.0+~6.0.2-1
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails since June 
2024. Can you please investigate the situation and fix it? I copied some 
of the output at the bottom of this report.

The release team has announced [1] that failing autopkgtest on amd64 and 
arm64 are considered RC in testing.

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

With my Release Team member hat on I allow you to tag this bug as 
trixie-ignore if this is nearly completely a test issue as it's so late 
in the freeze and it's not worth removing the package from trixie 
because of a failing test at this moment unless it exposes a much bigger 
issue. Having said that, if this is a test only issue and a fix is 
possible without fully removing the autopkgtest and without making the 
test superficial, it's still welcome, but it would need to happen soon.

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

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

111s   83 passing (364ms)
111s   1 failing
111s
111s   1) request(app)
111s        .expect(status)
111s          should handle connection error:
111s
111s       Uncaught AssertionError: expected '' to be 'ECONNREFUSED: 
Connection refused'
111s       + expected - actual
111s
111s       +ECONNREFUSED: Connection refused
111s
111s       at Assertion.fail (/usr/share/nodejs/should/cjs/should.js:275:17)
111s       at Assertion.value 
(/usr/share/nodejs/should/cjs/should.js:356:19)
111s       at Test.<anonymous> (test/supertest.js:390:30)
111s       at Test.assert (/usr/share/nodejs/supertest/lib/test.js:172:8)
111s       at localAssert (/usr/share/nodejs/supertest/lib/test.js:120:14)
111s       at /usr/share/nodejs/supertest/lib/test.js:125:7
111s       at Request.callback 
(/usr/share/nodejs/superagent/lib/node/index.js:869:3)
111s       at ClientRequest.<anonymous> 
(/usr/share/nodejs/superagent/lib/node/index.js:791:10)
111s       at ClientRequest.emit (node:events:524:28)
111s       at emitErrorEvent (node:_http_client:101:11)
111s       at Socket.socketErrorListener (node:_http_client:504:5)
111s       at Socket.emit (node:events:524:28)
111s       at emitErrorNT (node:internal/streams/destroy:169:8)
111s       at emitErrorCloseNT (node:internal/streams/destroy:128:3)
111s       at process.processTicksAndRejections 
(node:internal/process/task_queues:82:21)
111s
111s
111s
112s autopkgtest [00:34:35]: test pkg-js-autopkgtest: 
-----------------------]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 585 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20250705/f3650431/attachment.sig>


More information about the Pkg-javascript-devel mailing list