#1151152 node-openid-client: FTBFS: Rejected promise returned by test. Reason:

#1151152#5
Date:
2026-10-17 13:38:23 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

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/202610/

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:node-openid-client, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
  ✔ retry-after › pollDeviceAuthorizationGrant - throws on invalid retry-after header when status is 503 (5s)
  ─

  issue-707 › 30x on discoveries and jwks_uri can be worked around

  Rejected promise returned by test. Reason:

  TypeError {
    message: 'fetch failed',
  }

  › Object.processResponse (/usr/share/nodejs/undici/lib/web/fetch/index.js:272:16)
  › /usr/share/nodejs/undici/lib/web/fetch/index.js:1117:19
  › /usr/share/nodejs/undici/index.js:159:7
  › async performDiscovery (file:///<<BUILDDIR>>/node-openid-client-6.8.7+ds+%7Ecs9.10.17/src/index.ts:1422:14)
  › async Module.discovery (file:///<<BUILDDIR>>/node-openid-client-6.8.7+ds+%7Ecs9.10.17/src/index.ts:1339:14)
  › async file:///<<BUILDDIR>>/node-openid-client-6.8.7+ds+%7Ecs9.10.17/test/issue-707.test.ts:122:18

  ─

  1 test failed
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1151152#10
Date:
2026-10-18 06:52:52 UTC
From:
To:
this failure is not a node-openid-client bug but a regression in undici
introduced in 8.11.1 (upstream #5850, "fix hang on 3xx response with
large body").

#1151152#27
Date:
2026-10-18 09:04:55 UTC
From:
To:
Hello,

Bug #1151152 in node-undici reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-undici/-/commit/240e2c53d7d5b12c090bafe0f5326bfd3b498cd3
------------------------------------------------------------------------
Fix MockAgent redirects in fetch

Closes: #1151152
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1151152

#1151152#34
Date:
2026-10-18 09:19:01 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-undici, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1151152@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-undici package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 18 Oct 2026 11:03:16 +0200
Source: node-undici
Architecture: source
Version: 8.12.2+dfsg+~cs3.2.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1151152
Changes:
 node-undici (8.12.2+dfsg+~cs3.2.3-2) unstable; urgency=medium
 .
   * Fix MockAgent redirects in fetch: expose aborted on the mock
     dispatch controller (Closes: #1151152)
Checksums-Sha1:
 edd12e2a525528e6d2fbb33af2ca4e01161508f4 2675 node-undici_8.12.2+dfsg+~cs3.2.3-2.dsc
 c6e997d41dbcd8f660e9b4935112e07591f083ed 216876 node-undici_8.12.2+dfsg+~cs3.2.3-2.debian.tar.xz
Checksums-Sha256:
 ee016077cb010562d23f9ba0cad4daed6f6ba086720cd16de345c60538afb4dc 2675 node-undici_8.12.2+dfsg+~cs3.2.3-2.dsc
 9afd241ffee9a5720c323b852513dae2c3c8bb9e24166d2b4bc520fb73d3450c 216876 node-undici_8.12.2+dfsg+~cs3.2.3-2.debian.tar.xz
Files:
 86595ee6c97da038e2a5203e4220667d 2675 javascript optional node-undici_8.12.2+dfsg+~cs3.2.3-2.dsc
 fa16ab092eb0e508e137e6a8fe51c60d 216876 javascript optional node-undici_8.12.2+dfsg+~cs3.2.3-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmrUi50ACgkQ9tdMp8mZ
7ulwEw/+LoblnSlR8WL/g185gh8EhOBpD8LyqP5sOWwz9uN2oEo5K29MfggJPIfK
lUk5Qqe2tZ10QVSxJMzKwtD6vi2Td9ezI3Eiyh3TEo6hT7KKqV2ZpAkgZ7DbQ5l7
POWyqJlHK6yUG0Il5wb507xrnmYlfXrnrujpcG5UXGkcBarOqOzD0+Ja5J3k+ws8
RWP0IzR5Ymma41im/zIRO6D2HVm5hElrKOaBUARxWa12QgFDDfLusBhD6WlYsp1/
eDSZYaWRyjdvk9SxLRuNw7g2TBe1FQZfb7bYZZI1Pqd38xEEy5FSxfC0vV/eeFue
mDoue6zPSZ1QX93xR7TuAuhXxShYKJCweQ7mt3j32kCwL9v6sFt8YJHsCARPNtSv
XYBYFsAv9Px0cBgSbBx3FVfb7OpiFqLNxJvVQTc85F8fx3ZKKTUlU9aLZvnmoVJo
dPr1rtimo6jinYkBbXtmY396YGGdsPBYiHkPx4ztUa9zEvsk94oEAQGTKhTQw7wG
Ex/Rr3HdtYS/z0EOafo6e65sNW3q6JUFUlZt38OdpUc0OLpb5AtOQJa3ESFRlfHv
I3D2ghFyLRAMAcSpGw91DST7eAPbkHQFGdkwZMQ91YxIwxWW7sbyQ+NWGqh9CJDi
Ydl8wIaGHZKwnwZ58B7fefNRnzwgz7Y5+kgy8ZFsWt1r93blIiM=
=Kbg0
-----END PGP SIGNATURE-----