Skip to content

Dockerfile: update registry to v3.0.0#6659

Draft
thaJeztah wants to merge 1 commit into
moby:masterfrom
thaJeztah:bump_registry
Draft

Dockerfile: update registry to v3.0.0#6659
thaJeztah wants to merge 1 commit into
moby:masterfrom
thaJeztah:bump_registry

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

No description provided.

@thaJeztah

Copy link
Copy Markdown
Member Author

OK; same failures here as we saw on Moby; moby/moby#52320 (comment)

=== Failed
=== FAIL: frontend/dockerfile TestIntegration/slice=4-12/TestTarExporterBasic/worker=containerd/frontend=builtin (7.38s)
time="2026-04-07T08:16:42Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:65301"
    testing.go:1913: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test
    --- FAIL: TestIntegration/slice=4-12/TestTarExporterBasic/worker=containerd/frontend=builtin (7.38s)

=== FAIL: frontend/dockerfile TestIntegration (7.38s)
    run.go:412: 
        	Error Trace:	D:/a/buildkit/buildkit/util/testutil/integration/run.go:412
        	            				C:/hostedtoolcache/windows/go/1.26.1/x64/src/sync/once.go:78
        	            				C:/hostedtoolcache/windows/go/1.26.1/x64/src/sync/once.go:69
        	            				D:/a/buildkit/buildkit/util/testutil/integration/run.go:409
        	            				D:/a/buildkit/buildkit/util/testutil/integration/run.go:239
        	            				C:/hostedtoolcache/windows/go/1.26.1/x64/src/runtime/asm_amd64.s:1771
        	Error:      	Received unexpected error:
        	            	unexpected status from POST request to http://localhost:65301/v2/library/nanoserver/blobs/uploads/: 500 Internal Server Error
        	            	unknown: unknown error

@thaJeztah
thaJeztah force-pushed the bump_registry branch 2 times, most recently from ea02749 to a464f47 Compare April 7, 2026 10:42
@thaJeztah thaJeztah changed the title Dockerfile: update registry to v3.1.0 Dockerfile: update registry to v3.0.0 Apr 7, 2026
@thaJeztah

Copy link
Copy Markdown
Member Author

Downgraded to v3.0.0 for now; will open a follow-up to bump to v3.1.x

@thaJeztah

Copy link
Copy Markdown
Member Author

Still various failures; wondering if they're flakiness or legit issues;

    sandbox.go:205: time="2026-04-07T10:56:44Z" level=debug msg="unexpected response" error="unexpected status from PUT request to http://localhost:36987/v2/buildkit/testexport/manifests/latest: 400 Bad Request\nerrors:\nunknown: blob unknown to registry\nunknown: blob unknown to registry\nunknown: blob unknown to registry\n" spanID=414b492bd6d3ae34 traceID=d4c459f22493d20b9785dca5b2dfee26
    sandbox.go:205: time="2026-04-07T10:56:44Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: rpc error: code = Unknown desc = error writing manifest blob: failed commit on ref \"sha256:58c8232f82218e613d9b5615a392ce836e78fda3a3cb994d9df51b7a3b63f359\": unexpected status from PUT request to http://localhost:36987/v2/buildkit/testexport/manifests/latest: 400 Bad Request\nerrors:\nunknown: blob unknown to registry\nunknown: blob unknown to registry\nunknown: blob unknown to registry\n" spanID=414b492bd6d3ae34 traceID=d4c459f22493d20b9785dca5b2dfee26
    sandbox.go:205: error writing manifest blob: failed commit on ref "sha256:58c8232f82218e613d9b5615a392ce836e78fda3a3cb994d9df51b7a3b63f359": unexpected status from PUT request to http://localhost:36987/v2/buildkit/testexport/manifests/latest: 400 Bad Request
    sandbox.go:205: errors:
    sandbox.go:205: unknown: blob unknown to registry
    sandbox.go:205: unknown: blob unknown to registry
    sandbox.go:205: unknown: blob unknown to registry
    sandbox.go:205: 
    sandbox.go:205: 29026 d3b2be7 buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config447911213/buildkitd.toml --root /tmp/bktest_buildkitd2012389034 --addr unix:///tmp/bktest_buildkitd2012389034/buildkitd.sock --debug
    sandbox.go:205: github.com/moby/buildkit/cache/remotecache.(*contentCacheExporter).Finalize
    sandbox.go:205: 	/src/cache/remotecache/export.go:269
    sandbox.go:205: github.com/moby/buildkit/solver/llbsolver.runCacheExporters.func1.1
    sandbox.go:205: 	/src/solver/llbsolver/export.go:113
    sandbox.go:205: github.com/moby/buildkit/solver/llbsolver.inBuilderContext.func1
    sandbox.go:205: 	/src/solver/llbsolver/solver.go:449
    sandbox.go:205: github.com/moby/buildkit/solver.(*Job).InContext
    sandbox.go:205: 	/src/solver/jobs.go:869
    sandbox.go:205: github.com/moby/buildkit/solver/llbsolver.inBuilderContext
    sandbox.go:205: 	/src/solver/llbsolver/solver.go:445
    sandbox.go:205: github.com/moby/buildkit/solver/llbsolver.runCacheExporters.func1
    sandbox.go:205: 	/src/solver/llbsolver/export.go:92
    sandbox.go:205: golang.org/x/sync/errgroup.(*Group).Go.func1
    sandbox.go:205: 	/src/vendor/golang.org/x/sync/errgroup/errgroup.go:93
    sandbox.go:205: runtime.goexit

@thaJeztah thaJeztah changed the title Dockerfile: update registry to v3.0.0 Dockerfile: update registry to v3.1.1 May 5, 2026
@thaJeztah

thaJeztah commented May 5, 2026

Copy link
Copy Markdown
Member Author

No dice with v3.1.1;

=== RUN   TestIntegration/slice=1-4/TestCacheExportCacheKeyLoop/worker=containerd
time="2026-05-05T09:09:01Z" level=info msg="fetch failed after status: 404 Not Found" host="localhost:50706"
    run.go:412: 
        	Error Trace:	D:/a/buildkit/buildkit/util/testutil/integration/run.go:412
        	            				C:/hostedtoolcache/windows/go/1.26.2/x64/src/sync/once.go:78
        	            				C:/hostedtoolcache/windows/go/1.26.2/x64/src/sync/once.go:69
        	            				D:/a/buildkit/buildkit/util/testutil/integration/run.go:409
        	            				D:/a/buildkit/buildkit/util/testutil/integration/run.go:239
        	            				C:/hostedtoolcache/windows/go/1.26.2/x64/src/runtime/asm_amd64.s:1771
        	Error:      	Received unexpected error:
        	            	unexpected status from POST request to http://localhost:50706/v2/library/nanoserver/blobs/uploads/: 500 Internal Server Error
        	            	unknown: unknown error
        	            	github.com/moby/buildkit/util/contentutil.copyChain
        	            		D:/a/buildkit/buildkit/util/contentutil/copy.go:117
        	            	github.com/moby/buildkit/util/contentutil.CopyChain
        	            		D:/a/buildkit/buildkit/util/contentutil/copy.go:79
        	            	github.com/moby/buildkit/util/testutil/integration.copyImagesLocal
        	            		D:/a/buildkit/buildkit/util/testutil/integration/run.go:328
        	            	github.com/moby/buildkit/util/testutil/integration.(*Mirror).AddImages
        	            		D:/a/buildkit/buildkit/util/testutil/integration/run.go:458
        	            	github.com/moby/buildkit/util/testutil/integration.Run.lazyMirrorRunnerFunc.func3.1
        	            		D:/a/buildkit/buildkit/util/testutil/integration/run.go:412
        	            	sync.(*Once).doSlow
        	            		C:/hostedtoolcache/windows/go/1.26.2/x64/src/sync/once.go:78
        	            	sync.(*Once).Do
        	            		C:/hostedtoolcache/windows/go/1.26.2/x64/src/sync/once.go:69
        	            	github.com/moby/buildkit/util/testutil/integration.Run.lazyMirrorRunnerFunc.func3
        	            		D:/a/buildkit/buildkit/util/testutil/integration/run.go:409
        	            	github.com/moby/buildkit/util/testutil/integration.Run.Run.func2.func4
        	            		D:/a/buildkit/buildkit/util/testutil/integration/run.go:239
        	            	testing.tRunner
        	            		C:/hostedtoolcache/windows/go/1.26.2/x64/src/testing/testing.go:2036
        	            	runtime.goexit
        	            		C:/hostedtoolcache/windows/go/1.26.2/x64/src/runtime/asm_amd64.s:1771
        	Test:       	TestIntegration
    testing.go:1913: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test
--- FAIL: TestIntegration (7.99s)
    --- FAIL: TestIntegration/slice=1-4/TestCacheExportCacheKeyLoop/worker=containerd (7.99s)
FAIL
coverage: 0.3% of statements
FAIL	github.com/moby/buildkit/client	8.072s

@thaJeztah thaJeztah changed the title Dockerfile: update registry to v3.1.1 Dockerfile: update registry to v3.0.0 May 5, 2026
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant