For additional context, the build log
https://people.debian.org/~sanvila/build-logs/202412/golang-golang-x-net_0.27.0-1_amd64-20241206T201010.312Z
contains the error (which was missing from this bug report):
...
--- PASS: TestNodeLabel (0.00s)
=== RUN TestFind
--- PASS: TestFind (0.00s)
=== RUN TestICANN
--- PASS: TestICANN (0.00s)
=== RUN TestPublicSuffix
--- PASS: TestPublicSuffix (0.00s)
=== RUN TestSlowPublicSuffix
--- PASS: TestSlowPublicSuffix (0.06s)
=== RUN TestNumICANNRules
list_test.go:328: first Private rule: got "co.krd", wawnt "cc.ua"
--- FAIL: TestNumICANNRules (0.00s)
=== RUN TestEffectiveTLDPlusOne
--- PASS: TestEffectiveTLDPlusOne (0.00s)
=== RUN ExamplePublicSuffix_manager
--- PASS: ExamplePublicSuffix_manager (0.00s)
FAIL
FAIL golang.org/x/net/publicsuffix 0.063s
=== RUN TestAckDelayFromDuration
--- PASS: TestAckDelayFromDuration (0.00s)
=== RUN TestAckDelayToDuration
--- PASS: TestAckDelayToDuration (0.00s)
=== RUN TestAcksDisallowDuplicate
--- PASS: TestAcksDisallowDuplicate (0.00s)
=== RUN TestAcksDisallowDiscardedAckRanges
--- PASS: TestAcksDisallowDiscardedAckRanges (0.00s)
...
I triggered a CI run of debian/1%0.27.0-1 at
https://salsa.debian.org/go-team/packages/golang-golang-x-net/-/jobs/6868425
to see if this failure can be reproduced, but this test_the_archive
test in Go team does not actually test the build..
This has not been reported upstream yet AFAIK, nor do we have
confirmation if this is already fixed upstream in latest upstream
0.33.0.
Right now the assumption is that disabling tests as done in
https://salsa.debian.org/go-team/packages/golang-golang-x-net/-/commit/10ea21eac6329abc14362e97d0deba4b32040391
is the required fix.