#1150625 go-containerregistry: FTBFS: --- FAIL: TestPingHttpFallback (0.01s)

#1150625#5
Date:
2026-10-11 13:51:59 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:go-containerregistry, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
--- PASS: TestPingMultipleNotSupportedChallenges (0.00s)
=== RUN   TestUnsupportedStatus
--- PASS: TestUnsupportedStatus (0.00s)
=== RUN   TestPingHttpFallback
    ping_test.go:229: got "Get \"https://gcr.io/v2/\": read tcp 127.0.0.1:42070->127.0.0.1:33623: read: connection reset by peer" want "Get \"https://gcr.io/v2/\": http: server gave HTTP response to HTTPS client"
--- FAIL: TestPingHttpFallback (0.01s)
=== RUN   TestRetryTransport
--- PASS: TestRetryTransport (0.00s)
=== RUN   TestRetryDefaults
--- PASS: TestRetryDefaults (0.00s)
=== RUN   TestTimeoutContext
--- PASS: TestTimeoutContext (0.02s)
=== RUN   TestTransportNoActionIfTransportIsAlreadyWrapper
--- PASS: TestTransportNoActionIfTransportIsAlreadyWrapper (0.00s)
=== RUN   TestTransportSelectionAnonymous
--- PASS: TestTransportSelectionAnonymous (0.00s)
=== RUN   TestTransportSelectionBasic
--- PASS: TestTransportSelectionBasic (0.00s)
=== RUN   TestTransportBadAuth
--- PASS: TestTransportBadAuth (0.00s)
=== RUN   TestTransportSelectionBearer
--- PASS: TestTransportSelectionBearer (0.00s)
=== RUN   TestTransportSelectionBearerMissingRealm
--- PASS: TestTransportSelectionBearerMissingRealm (0.00s)
=== RUN   TestTransportSelectionBearerAuthError
--- PASS: TestTransportSelectionBearerAuthError (0.00s)
=== RUN   TestTransportAlwaysTriesHttps
--- PASS: TestTransportAlwaysTriesHttps (0.00s)
FAIL
FAIL	github.com/google/go-containerregistry/pkg/v1/remote/transport	0.047s
=== RUN   TestNewLayer
--- PASS: TestNewLayer (0.00s)
PASS
ok  	github.com/google/go-containerregistry/pkg/v1/static	0.003s
=== RUN   TestStreamVsBuffer
--- PASS: TestStreamVsBuffer (0.00s)
=== RUN   TestLargeStream
--- PASS: TestLargeStream (0.03s)
=== RUN   TestStreamableLayerFromTarball
--- PASS: TestStreamableLayerFromTarball (0.01s)
=== RUN   TestNotComputed
--- PASS: TestNotComputed (0.00s)
=== RUN   TestConsumed
--- PASS: TestConsumed (0.00s)
=== RUN   TestCloseTextStreamBeforeConsume
--- PASS: TestCloseTextStreamBeforeConsume (0.00s)
=== RUN   TestCloseTarStreamBeforeConsume
--- PASS: TestCloseTarStreamBeforeConsume (0.00s)
=== RUN   TestMediaType
--- PASS: TestMediaType (0.00s)
=== RUN   TestMediaTypeOption
--- PASS: TestMediaTypeOption (0.00s)
PASS
ok  	github.com/google/go-containerregistry/pkg/v1/stream	0.037s
=== RUN   TestManifestAndConfig
--- PASS: TestManifestAndConfig (0.00s)
=== RUN   TestNullManifest
--- PASS: TestNullManifest (0.00s)
=== RUN   TestNoManifest
--- PASS: TestNoManifest (0.00s)
=== RUN   TestBundleSingle
--- PASS: TestBundleSingle (0.00s)
=== RUN   TestDocker25
--- PASS: TestDocker25 (0.00s)
=== RUN   TestBundleMultiple
=== RUN   TestBundleMultiple/test_image_1
=== RUN   TestBundleMultiple/test_image_2
=== RUN   TestBundleMultiple/test_image_1:latest
=== RUN   TestBundleMultiple/test_image_2:latest
=== RUN   TestBundleMultiple/index.docker.io/library/test_image_1:latest
--- PASS: TestBundleMultiple (0.00s)
    --- PASS: TestBundleMultiple/test_image_1 (0.00s)
    --- PASS: TestBundleMultiple/test_image_2 (0.00s)
    --- PASS: TestBundleMultiple/test_image_1:latest (0.00s)
    --- PASS: TestBundleMultiple/test_image_2:latest (0.00s)
    --- PASS: TestBundleMultiple/index.docker.io/library/test_image_1:latest (0.00s)
=== RUN   TestLayerLink
--- PASS: TestLayerLink (0.00s)
=== RUN   TestLoadManifest
--- PASS: TestLoadManifest (0.00s)
=== RUN   TestLayerFromFile
--- PASS: TestLayerFromFile (0.00s)
=== RUN   TestLayerFromFileEstargz
--- PASS: TestLayerFromFileEstargz (0.01s)
=== RUN   TestLayerFromOpenerReader
--- PASS: TestLayerFromOpenerReader (0.00s)
=== RUN   TestWithMediaType
--- PASS: TestWithMediaType (0.00s)
=== RUN   TestLayerFromReader
--- PASS: TestLayerFromReader (0.00s)
=== RUN   TestWrite
    write_test.go:44: /tmp/3265038613
--- PASS: TestWrite (0.01s)
=== RUN   TestMultiWriteSameImage
    write_test.go:94: /tmp/2732308980
--- PASS: TestMultiWriteSameImage (0.01s)
=== RUN   TestMultiWriteDifferentImages
    write_test.go:153: /tmp/2930898270
--- PASS: TestMultiWriteDifferentImages (0.02s)
=== RUN   TestWriteForeignLayers
    write_test.go:224: /tmp/1076842338
--- PASS: TestWriteForeignLayers (0.00s)
=== RUN   TestWriteSharedLayers
    write_test.go:282: /tmp/491801308
--- PASS: TestWriteSharedLayers (0.01s)
=== RUN   TestComputeManifest
--- PASS: TestComputeManifest (0.00s)
=== RUN   TestComputeManifest_FailsOnNoRefs
--- PASS: TestComputeManifest_FailsOnNoRefs (0.00s)
=== RUN   ExampleWithProgress
receive update: v1.Update{Total:4096, Complete:0, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:0, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:512, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:842, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:1024, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:1024, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:1536, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:1702, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:2048, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:2048, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:2560, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:2747, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:3072, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:3584, Error:error(nil)}
receive update: v1.Update{Total:4096, Complete:4096, Error:error(nil)}
receive error message: <nil>
--- PASS: ExampleWithProgress (0.00s)
PASS
ok  	github.com/google/go-containerregistry/pkg/v1/tarball	0.100s
=== RUN   TestIsDistributable
--- PASS: TestIsDistributable (0.00s)
=== RUN   TestIsImage
--- PASS: TestIsImage (0.00s)
=== RUN   TestIsIndex
--- PASS: TestIsIndex (0.00s)
PASS
ok  	github.com/google/go-containerregistry/pkg/v1/types	0.002s
?   	github.com/google/go-containerregistry/pkg/v1/validate	[no test files]
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 g [too-long-redacted] 1/validate returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1150625#8
Date:
2026-10-12 21:58:54 UTC
From:
To:
Hello,

Bug #1150625 in go-containerregistry 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/go-team/packages/go-containerregistry/-/commit/4e2942e94830b5f4aa1407c60dad93380d1e8fb3
------------------------------------------------------------------------
debian/patches: skip flaky TestPingHttpFallback (Closes: #1150625)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1150625

#1150625#13
Date:
2026-10-12 23:47:06 UTC
From:
To:
Hello,

Bug #1150625 in go-containerregistry 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/go-team/packages/go-containerregistry/-/commit/4e2942e94830b5f4aa1407c60dad93380d1e8fb3
------------------------------------------------------------------------
debian/patches: skip flaky TestPingHttpFallback (Closes: #1150625)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1150625

#1150625#18
Date:
2026-10-13 00:05:18 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
go-containerregistry, 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 1150625@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reinhard Tartler <siretart@tauware.de> (supplier of updated go-containerregistry 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: Mon, 12 Oct 2026 19:47:15 -0400
Source: go-containerregistry
Architecture: source
Version: 0.20.7+ds1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Reinhard Tartler <siretart@tauware.de>
Closes: 1150625
Changes:
 go-containerregistry (0.20.7+ds1-5) unstable; urgency=medium
 .
   * debian/patches: skip flaky TestPingHttpFallback (Closes: #1150625)
Checksums-Sha1:
 f5be48d2d9c4a650d9cad65422849085006d3301 3055 go-containerregistry_0.20.7+ds1-5.dsc
 bf878cfffc6d083c9221126b2aec238bbc1aaad2 10264 go-containerregistry_0.20.7+ds1-5.debian.tar.xz
 591259dd5371ea80e5c14eca8299468e86a9db54 6665852 go-containerregistry_0.20.7+ds1-5.git.tar.xz
 7dccd8d11d09d15cbd1d6b03c09bc43277e7115e 17796 go-containerregistry_0.20.7+ds1-5_source.buildinfo
Checksums-Sha256:
 e32254782979480175731430b63b46ed72c78fd2512b6ddcc727f178dfa11b3e 3055 go-containerregistry_0.20.7+ds1-5.dsc
 bbb64063f280d04b7db356398f6452af121d3a80203adfa559fb2370f8b8e2f9 10264 go-containerregistry_0.20.7+ds1-5.debian.tar.xz
 c9a4da0257961483cf51a2a98a5677652302a75bbd80b228cad8754ba00d8f12 6665852 go-containerregistry_0.20.7+ds1-5.git.tar.xz
 baf4deb5d5d3bddc96c06945c1117b18bb87fbfad95a2ff52556de30be139dae 17796 go-containerregistry_0.20.7+ds1-5_source.buildinfo
Files:
 8f76694f22615d161dc45ae24cc14368 3055 golang optional go-containerregistry_0.20.7+ds1-5.dsc
 5650fc222bb12e1eeb42de0e5e1390dc 10264 golang optional go-containerregistry_0.20.7+ds1-5.debian.tar.xz
 4e5a5a90dbe0a3facaed044ef2e6ed4e 6665852 golang optional go-containerregistry_0.20.7+ds1-5.git.tar.xz
 d6808abcaf9d689ac6e7a4080a93e39e 17796 golang optional go-containerregistry_0.20.7+ds1-5_source.buildinfo
Git-Tag-Info: tag=3f4ce9b40085514906d07b873e5b0e014b7da8c6 fp=30de7d1763ab9452c7e0825049a76977942826cb
Git-Tag-Tagger: Reinhard Tartler <siretart@tauware.de>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrNcfAACgkQYG0ITkaD
wHlTxA//Yg6/GbGv+mtogwNX5X4+zABv4RoiL2cO+VE5IK8ZN+GPWmJe9bFZxGQc
DEcioEcYteCtTObbexrq4JzjPxK8zxMOX5Rs/7bDa+9zqukrBNoHW9FQAJL2shrF
Ow0q1/lpExHdQeqtSlcviRTQrFubALSZkOkXy1lmWDdT7vyEW5ISKv+QxU+Mt5n5
DCfzzDc7ogyWXPrD0jZAkiAJipuZNzgg/zB+v/wY9vWM2Pc7Q5UmVe/2w/FBLwRM
i7cq20iXSKopGQxtCHp+qZ7D5vk+5ebu3k/hRmUdlt81ckUDyEotoMauUzA8TAfr
uFKn9UPtmt9zTbqsoti+zh3CvoE4rkyADlzlYH4Z9SgjrUDyJqR6/FzQtQXe+9Ue
mJ1GmO4Xk2cByPAmlafQ4OKoqOW/4cBoROJp1lWq/66G/aAkEvEER54UJIe3XovY
RwJuz6WAZIxl+zqumdwChPT0yrNtReQ137VIKsg/hS5lTBBCf8MOjBkFLvWb4d5J
YLlytLOXq0qC+MhlO+SN+60aYNwAcDZ9O1p9iCrGV6WDR1zRSjYJxBhbwoDAAozQ
NGwJiRjuRfwcRXOJNtA+12zEyZa+F8FfAO/6TqjBaUQG3l5YEhufs16eV1tqzBja
fC1pj7SgOykzTEGEtQ5kFOoMhmExmscXLdFQAWWjBb7cwHp8oI0=
=w0/g
-----END PGP SIGNATURE-----