Thread View: linux.debian.bugs.dist
4 messages
4 total messages
Started by Simon Josefsson
Sat, 28 Nov 2026 08:30
Bug#1155631: golang-github-zitadel-oidc: armhf/i386: FAIL: TestJsonWebKeySet_UnmarshalJSON: oidc: failed to unmarshal key 0 from...
Author: Simon Josefsson
Date: Sat, 28 Nov 2026 08:30
Date: Sat, 28 Nov 2026 08:30
94 lines
6246 bytes
6246 bytes
--=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Package: golang-github-zitadel-oidc Version: 3.51.14-1 This package has what appears to be a armhf/i386-specific test failure, triggering a FTBFS situation and testing migration blocking. https://ci.debian.net/data/autopkgtest/testing/armhf/g/golang-github-zitade= l-oidc/78478287/log.gz https://ci.debian.net/data/autopkgtest/testing/i386/g/golang-github-zitadel= -oidc/78477498/log.gz The error is the same, see below. I will try to make a team upload of this package to the latest version to see if that resolve the problem. /Simon 253s =3D=3D=3D RUN TestJsonWebKeySet_UnmarshalJSON 253s =3D=3D=3D RUN TestJsonWebKeySet_UnmarshalJSON/valid_key_set 253s jwks_test.go:79:=20 253s Error Trace: /var/tmp/autopkgtest_tmp.NggSdd/_build/src/githu= b.com/zitadel/oidc/pkg/client/rp/jwks_test.go:79 253s Error: Received unexpected error: 253s oidc: failed to unmarshal key 0 from set: go-jos= e/go-jose: invalid RSA key, bad e value 253s Test: TestJsonWebKeySet_UnmarshalJSON/valid_key_set 253s jwks_test.go:80:=20 253s Error Trace: /var/tmp/autopkgtest_tmp.NggSdd/_build/src/githu= b.com/zitadel/oidc/pkg/client/rp/jwks_test.go:80 253s Error: "[]" should have 1 item(s), but has 0 253s Test: TestJsonWebKeySet_UnmarshalJSON/valid_key_set 253s =3D=3D=3D RUN TestJsonWebKeySet_UnmarshalJSON/empty_key_set 253s =3D=3D=3D RUN TestJsonWebKeySet_UnmarshalJSON/unknown_key_type 253s =3D=3D=3D RUN TestJsonWebKeySet_UnmarshalJSON/mixed_valid_and_unknow= n_key_types 253s jwks_test.go:79:=20 253s Error Trace: /var/tmp/autopkgtest_tmp.NggSdd/_build/src/githu= b.com/zitadel/oidc/pkg/client/rp/jwks_test.go:79 253s Error: Received unexpected error: 253s oidc: failed to unmarshal key 0 from set: go-jos= e/go-jose: invalid RSA key, bad e value 253s Test: TestJsonWebKeySet_UnmarshalJSON/mixed_valid_and_= unknown_key_types 253s jwks_test.go:80:=20 253s Error Trace: /var/tmp/autopkgtest_tmp.NggSdd/_build/src/githu= b.com/zitadel/oidc/pkg/client/rp/jwks_test.go:80 253s Error: "[]" should have 1 item(s), but has 0 253s Test: TestJsonWebKeySet_UnmarshalJSON/mixed_valid_and_= unknown_key_types 253s =3D=3D=3D RUN TestJsonWebKeySet_UnmarshalJSON/invalid_json 253s =3D=3D=3D RUN TestJsonWebKeySet_UnmarshalJSON/other_error_during_key= _unmarshal 253s --- FAIL: TestJsonWebKeySet_UnmarshalJSON (0.00s) 253s --- FAIL: TestJsonWebKeySet_UnmarshalJSON/valid_key_set (0.00s) 253s --- PASS: TestJsonWebKeySet_UnmarshalJSON/empty_key_set (0.00s) 253s --- PASS: TestJsonWebKeySet_UnmarshalJSON/unknown_key_type (0.00s) 253s --- FAIL: TestJsonWebKeySet_UnmarshalJSON/mixed_valid_and_unknown_= key_types (0.00s) 253s --- PASS: TestJsonWebKeySet_UnmarshalJSON/invalid_json (0.00s) 253s --- PASS: TestJsonWebKeySet_UnmarshalJSON/other_error_during_key_u= nmarshal (0.00s) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQOEBAEWCgMsFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmsKkCsbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwyFBxzaW1vbkBqb3NlZnNzb24ub3JnwhwmAJgzBFyS zrQWCSsGAQQB2kcPAQEHQAiHK2SL4a8QwZCvX1fkJU5l8aNp2jmw7hrcOfGGsZTr tCVTaW1vbiBKb3NlZnNzb24gPHNpbW9uQGpvc2Vmc3Nvbi5vcmc+iJYEExYIAD4C GwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AWIQSx0r0Tdb7LeEz0+MTXPPY4xTwG vgUCatfMtwUJD2HCAwAKCRDXPPY4xTwGvue9AP40ROc4bUzq1zxU43T76rWP+6jv mKO/CaPer1S2fZMOtQEAuMKQ3X/qP75LtsbJG82TaaIkg2UM5Mw+pp0UOfPJ6Aq4 OARcks9qEgorBgEEAZdVAQUBAQdAMZUbpg1up2WOwPlQn3pPVaRMejyZnScmD7d5 TRzHehwDAQgHiH4EGBYIACYCGwwWIQSx0r0Tdb7LeEz0+MTXPPY4xTwGvgUCatfL twUJD2HATQAKCRDXPPY4xTwGvocHAP9g1zG1w10/lhb7ksrN9T8xnHTOZNibd27d k+X+leRCkQD+OWllYuM1N1ZA/a5Qjyv7pnq+hrxeqSg+cnm4ArlDQwa4MwRcks+B FgkrBgEEAdpHDwEBB0DsUwiDmnlwMSNoSF+ByvW0E6TVXou9PKDa9SpZvKghioj1 BBgWCAAmAhsCFiEEsdK9E3W+y3hM9PjE1zz2OMU8Br4FAmrXy7oFCQ9hwDYAgXYg BBkWCAAdFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAlySz4EACgkQUXIrCP5HRaKn TAEAoB+OWrHmYCK8Cjr1DgPUH7JnhPBmR2DbhR5jPRREEugA+gOMeWmL6GOpaPfK YLcNhzw4ZnAlxSLY1wq1eANBpiQOCRDXPPY4xTwGvjf7AP9MpnBFLDHomavCkXzR aJEaYqYigvHl7W7qWuswi2FgTQEAg7xKIF4THHLZj4f48rwFG7VW2ts8o/SaYpJM ogWJlwYACgkQUXIrCP5HRaLE5wEAq6svt+Aa8YEVmZkBTM9gP370Gf5GLNCQ5+Da VIyeWRcA/1d/pmlaQXtLMxjcUpTi6BBPNji4cVmtx9IbxTHoKbUD =p+2h -----END PGP SIGNATURE----- --=-=-=--
Bug#1155631: golang-github-go-jose-go-jose: Recent upload causes regression in golang-github-zitadel-oidc tests on armhf,i386
Author: Mathias Gibbens
Date: Sun, 29 Nov 2026 16:10
Date: Sun, 29 Nov 2026 16:10
40 lines
3538 bytes
3538 bytes
--=-IClien/0kLlQdBT2TpPn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable control: reopen -1 control: reassign -1 golang-github-go-jose-go-jose 4.1.9-1 control: retitle -1 golang-github-go-jose-go-jose: Recent upload causes reg= ression in golang-github-zitadel-oidc tests on armhf,i386 control: severity -1 serious As outlined in my prior message, this bug really should be filed against golang-github-go-jose-go-jose as versions >=3D 4.1.7 are causing a test failure regression in golang-github-zitadel-oidc on 32bit architectures. Mathias --=-IClien/0kLlQdBT2TpPn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE1Bp60H32xfynSJ8cKe7i1uz0QvkFAmsMTd4ACgkQKe7i1uz0 Qvmfbw/8DJzL+1MkEsrKOayMh6+EBu4kyynlg3mpcm3GD6/1qkBNKv7ZEfiJS9o9 9p0mp1QXobnnCRZMfUqdxq5jaBhwkScr49yhTkywsGrpJvlo+7pFu9uuEY7jv7vW lzSRcxDgst74N4vNH5EozoBbHsnf1bTBfD8+cSbK+tQVlNe8Hh2jYtfEBHfmDEg1 4Ph9SMwOVZYyZQ3tqHFPX3+cR66Gppy/wsl7S9hXKhgzM67HbTW0uDIpP/RhMz2m 46iZtQgy/vDtNCOukDNQrELRK9EaxQ4n8JJrrW/qlbh13Vn03Ftpo7YC7CL3YF+a X6fSNbIPaw5wxiharpfU2/VyFkojCuWETkeQ2EqiTtKlTICdwMKFKN+QMnsJu/C1 fob9C4F48rgSeDKes23mpBhXb4o3tmc4MwvO5nVERH5C6M3S9pMM1J+xBwDTSzdF bdT58q3U3h7V2usmbanO741gak5vWe7dCut8j+IVPffRbtMuiLtL4sIwpZHntJX1 RiFtYjeKg1At07nMM/MlL2GYPZYn4No0T5IesiEoJWcPdr75fYe1jf89dXDvYRsx bPCXCeW2XQB1D4TTRgd/7KjY8VxB/PeWOmbgrmThXGyIMxCKrEu3MHSsC9SXQG+M hP+4Lt1qCYbbeQOx1Fim7ZB1oA2K+H9sVTmRTN74YY8oV015KlI= =XAlA -----END PGP SIGNATURE----- --=-IClien/0kLlQdBT2TpPn--
Bug#1155631: Please don't just skip failing tests (was: golang-github-zitadel-oidc: armhf/i386: FAIL: TestJsonWebKeySet_Unmarsha...
Author: Mathias Gibbens
Date: Sun, 29 Nov 2026 16:10
Date: Sun, 29 Nov 2026 16:10
71 lines
5255 bytes
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--
Bug#1155631: Please don't just skip failing tests
Author: Simon Josefsson
Date: Wed, 02 Dec 2026 10:00
Date: Wed, 02 Dec 2026 10:00
146 lines
9079 bytes
9079 bytes
--=-=-=
Content-Type: text/plain
Mathias Gibbens <gibmat@debian.org> writes:
> 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
It would be great to have some wider discussion around this, at is a
complex issue even if on the surface it looks simple.
The efforts to try to fix an self-test failure issue may not immediately
be visible in the debian packaging fix that disable the test. There may
be an upstream bug report filed. There may be local analysis that the
self-tests is buggy.
There may be a deliberate subjective decision that the cost of debugging
a spurious failure in a unimportant self-test is not worth the cost of
blocking multiple CVE's in a security-critical update of another
package. Disabling such tests allows progress.
There is the dynamic of unstable -> testing migrations. Debian's
infrastructure promotes packages which have reliable self-tests. If we
let packages sit in unstable for weeks or months while we debug a
self-test failure, there is a systemtic cost that we migrate new code
more slowly, and thus have less time to test the more modern code that
we would like to ship. I also recall that packages sitting in unstable
without migrating to testing for some period of time will lead to a RC
buggy from the release team. Therefor, I think we need to make sure
packages migrate quickly.
> there's not much (if any) context given to help future uploaders
> decide if the test should remain disabled or not.
I'm using the following idiom in several packages:
SKIP="TestNewOfflineClientFail|etc..."
override_dh_auto_test:
-dh_auto_test $(DH_BUILD_OPTS) -- -run=$(SKIP)
dh_auto_test $(DH_BUILD_OPTS) -- -skip=$(SKIP)
This means the failing test that I disable will be invoked so that the
debug logs are still visible in the build output, only that a failure
for the "skipped" tests are ignored.
This makes it possible to do continous upstream discussion pointing to
our build logs on some architecture for a failure. It also allows us to
compare build failures in different build systems: Salsa, buildd,
reproducible-builds.org, reproduce.debian.net, debci incus/lxc, etc.
I've received criticism about use of this idiom, it seems some people
dislike the approach because it pollute the build logs with FAILs.
There could be other rationale, I may have misunderstood the criticism.
There is another aspect for flaky self-tests. Flaky test failures is
harmful for our build systems, as it may involved multiple re-tries
before a build succeeds. And worse, multiple debci/autopkgtest re-tries
before testing migration works.
Flaky tests are horrible when doing golang-*-x-* uploads that have say
hundreds of reverse build dependencies: if 1% of packages have a flaky
tests that FAILs 1% of the time, it pretty much means that new uploads
of a low-level package will migrate slower because of testing migration
blocking.
> Just papering over failing tests is a disservice as the action may be
> hiding legitimate issues that could affect users.
Agreed. Still, I think there is a balance here: NOT disabling failing
spurious tests can also be a disservice to our users, if the self-tests
block deployment of new releases that fix bugs or security issues.
> 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.
The problem was a bug in the zitadel self-tests:
https://github.com/zitadel/oidc/issues/1063
I didn't notice the problem when doing the reverse builds of the go-jose
update because it works fine on amd64.
You may disagree, but I think this is a situation where disabling the
buggy self-test in zitadel/oidc was warranted because it block testing
migration of the go-jose upload that fix multiple security problems.
But I do agree with you generally that this is not an uncomplicated
issue, and we need to find a suitable balance. And sometimes make
mistakes and be on the wrong side of the right balance.
/Simon
--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQOEBAEWCgMsFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmsP6jkbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyFBxzaW1vb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2P2pSGc4dOw
DFaouM4A/0wNSZWGO96RjxZexMSKZN98/1uNtlTFMT0gVVkfwn8G
=uCQV
-----END PGP SIGNATURE-----
--=-=-=--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads