🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6735

Bug#1155631: Please don't just skip failing tests (was: golang-github-zitadel-oidc: armhf/i386: FAIL: TestJsonWebKeySet_Unmarsha...

#6735
From: Mathias Gibbens
Date: Sun, 29 Nov 2026 16:10
71 lines
5255 bytes
--=-L8PhONIu3jUmAMNYaBjU
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi all,

  I wanted to bring up a minor concern of mine that I've seen becoming
more frequent in Go Team-maintained packages over the past few months.
It seems that we are pretty quick to just disable a failing test,
rather than trying to actually fix it and, once disabled, there's not
much (if any) context given to help future uploaders decide if the test
should remain disabled or not. Just papering over failing tests is a
disservice as the action may be hiding legitimate issues that could
affect users.

  As a specific example, a new version of golang-github-zitadel-oidc
was recently uploaded which disabled a test. (I happened to notice this
since it's on my QA page. Simon, I'm not directing criticism
specifically at you, this just happened to bring my concern to front of
mind again. Thanks for the continued cleanup you've been doing of Go
Team packages.)

  When I look at the debci logs for this package for
testing/{armhf,i386}[0,1], it's been consistently passing until the
recent upload of golang-github-go-jose-go-jose. The specific test that
fails ("TestJsonWebKeySet_UnmarshalJSON") points to exercising
functionality that the go-jose library provides.

  Because of this, my initial thought is that there's some issue with
the latest release of golang-github-go-jose-go-jose on 32bit
architectures. Maybe the affected code isn't exercised in that
library's tests, so autopkgtests didn't catch it. But just disabling
the newly-failing test in golang-github-zitadel-oidc may be sweeping a
legitimate issue under the rug, and who knows where else this issue may
then crop up for users once forky is released?

  In an i386 Incus container, I've verified that golang-github-zitadel-
oidc's tests in v3.53.0 pass just fine with with golang-github-go-jose-
go-jose v4.1.6, but v4.1.7 and later cause that test to fail. So, it's
pretty clear there's an actual issue in go-jose.

Mathias

[0] -- https://ci.debian.net/packages/g/golang-github-zitadel-oidc/testing/=
armhf/
[1] -- https://ci.debian.net/packages/g/golang-github-zitadel-oidc/testing/=
i386/

--=-L8PhONIu3jUmAMNYaBjU
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE1Bp60H32xfynSJ8cKe7i1uz0QvkFAmsMTY0ACgkQKe7i1uz0
QvmTrA/+M5Ev+rwy8JjrV0l1zeUBRMJo0b+bOPs+ECvX0rqT4hAcCaE+SpIJIeu3
8Ib10dPFJfD7p13hL72mvqLBAGyU/HadLuw06mUn8dgi3ZyEr6mYien17dMe4fdj
jwh8WT1cS6MlTo5yI5qDBqqY7nlmmGHVZHBmJRtaFLWkLHReA4AQtaSpeHZdftKn
01XRPgOVl0d6TGyuImF0HwRAPup1kn8ATiGAExn3ULCLc/15jdT68V5etqKRG7HJ
rnnDrIV4QtElx0UstB9uxeRhl8UQ9Epa09hnmkQLGMOYwphA2pLEeEi9rCVi1HW3
3U9ZYPnMXK5ivCj6T5DW5WteXTLTR5MzAJBaU8T0kH8AwF6JX986usI0T43BKFG9
heGHnDqmw2RE1dAPKAz48mf0pgKaOUYTRIntBOXt2992jW5llWlLlCcuskMixkzo
YTj9Qd4uT+6seWxy84miA/JIT2IBvP3q3HgGIXqACtTlq8u3PEWc/aIRoj6Vzg5K
dUZm9gtI/5IA2UFZ9tXZ9ydv61V/BfZNj37m4TfJKVM0A0cbDNT1Vfem7b6v1gY+
4VhlSRUfuFnUo0jTlnsAtgfvk7eAH3jE6O4W/OewsF9/0gBZs+XHD05ix0Rhps76
bGBU7yLpws3fY6W18P115U4whqTRKG23lXpMIOM36NiMMETeT48=
=/fwl
-----END PGP SIGNATURE-----

--=-L8PhONIu3jUmAMNYaBjU--
Technical Details
Message-ID: <O4PDr-eUPx-31@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O4lYJ-eDGU-5@gated-at.bofh.it> <O4lYJ-eDGU-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Mathias Gibbens <gibmat@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155631: Please don't just skip failing tests (was: golang-github-zitadel-oidc: armhf/i386: FAIL: TestJsonWebKeySet_UnmarshalJSON: oidc: failed to unmarshal key 0 from set: go-jose/go-jose: invalid RSA key, bad e value)
Date: Sun, 29 Nov 2026 17:10:01 +0100
Message-ID: <O4PDr-eUPx-31@gated-at.bofh.it>
References: <O4lYJ-eDGU-5@gated-at.bofh.it> <O4lYJ-eDGU-5@gated-at.bofh.it>
X-Original-To: debian-go@lists.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 29 16:07:15 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Mathias Gibbens <gibmat@debian.org>, 1155631@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: followup 1155631
X-Debian-Pr-Package: golang-github-zitadel-oidc
X-Debian-Pr-Source: golang-github-zitadel-oidc
Content-Type: multipart/signed; micalg="pgp-sha512";
	protocol="application/pgp-signature"; boundary="=-L8PhONIu3jUmAMNYaBjU"
User-Agent: Evolution 3.56.2-0+deb13u1 
MIME-Version: 1.0
X-Debian-User: gibmat
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005884
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 71
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1155631@bugs.debian.org
X-Original-Date: Sun, 29 Nov 2026 16:06:37 +0000
X-Original-Message-ID: <a4453b28020b2689e4daff1b1bca759d4bc9dac7.camel@debian.org>
X-Original-References: <878q2dqs44.fsf@josefsson.org> <878q2dqs44.fsf@josefsson.org>