🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#488
From: Santiago Vila
Date: Sun, 11 Oct 2026 14:00
173 lines
8909 bytes
Package: src:go-containerregistry
Version: 0.20.7+ds1-4
Severity: serious
Tags: ftbfs forky sid

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
--------------------------------------------------------------------------------
Technical Details
Message-ID: <NN2fL-4Tpz-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150625: go-containerregistry: FTBFS: --- FAIL: TestPingHttpFallback (0.01s)
Date: Sun, 11 Oct 2026 16:00:01 +0200
Message-ID: <NN2fL-4Tpz-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 11 13:53:12 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1150625@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sanvila@debian.org, team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: report 1150625
X-Debian-Pr-Package: src:go-containerregistry
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: go-containerregistry
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996240
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 173
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 11 Oct 2026 13:51:59 +0000
X-Original-Message-ID: <E1xFty3-002dJR-25@paradis.debian.org>