moby / buildkit-bench

Set of benchmarks for BuildKit
https://moby.github.io/buildkit-bench/
Apache License 2.0
0 stars 2 forks source link

testutil: registry mirror #57

Closed crazy-max closed 1 week ago

crazy-max commented 1 week ago

relates to https://github.com/moby/buildkit-bench/actions/runs/10772149233/job/29869989965#step:7:5897

build_test.go:36: 
            Error Trace:    /src/test/build_test.go:36
                                        /src/util/testutil/run.go:115
                                        /src/util/testutil/run.go:211
                                        /src/util/testutil/run.go:229
                                        /usr/local/go/src/testing/benchmark.go:193
                                        /usr/local/go/src/testing/benchmark.go:316
                                        /usr/local/go/src/runtime/asm_amd64.s:1695
            Error:          Received unexpected error:
                            exit status 1
            Test:           BenchmarkBuild/BenchmarkBuildLocal/ref=2024-09-05/run=4
            Messages:       time="2024-09-09T11:41:57Z" level=debug msg="serving grpc connection"
                            #1 [internal] load build definition from Dockerfile
                            #1 transferring dockerfile: 154B done
                            #1 DONE 0.0s

                            #2 [internal] load metadata for docker.io/library/busybox:latest
                            #2 ERROR: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/busybox/manifests/sha256:1f3c4ec00c804f65805bd22b358c8fbba6b0ab4e32171adba33058cf635923aa: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
                            time="2024-09-09T11:41:57Z" level=debug msg="stopping session"
                            ------
                             > [internal] load metadata for docker.io/library/busybox:latest:
                            ------
                            Dockerfile:2
                            --------------------
                               1 |     
                               2 | >>> FROM busybox:latest AS base
                               3 |     COPY foo /etc/foo
                               4 |     RUN cp /etc/foo /etc/bar
                            --------------------
                            error: failed to solve: busybox:latest: failed to resolve source metadata for docker.io/library/busybox:latest: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/busybox/manifests/sha256:1f3c4ec00c804f65805bd22b358c8fbba6b0ab4e32171adba33058cf635923aa: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
                            9161 3a9ce1d /buildkit-binaries/2024-09-05/buildkitd --oci-worker=true --oci-worker-binary=/buildkit-binaries/2024-09-05/buildkit-runc --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bkbench_config3700076397/buildkitd.toml --root /tmp/bkbench_buildkitd2452924004 --addr unix:///tmp/bkbench_buildkitd2452924004/buildkitd.sock --debug --debugaddr 127.0.0.1:36695
                            github.com/moby/buildkit/frontend/gateway.(*llbBridgeForwarder).Return
                                /src/frontend/gateway/gateway.go:1020
                            github.com/moby/buildkit/control/gateway.(*GatewayForwarder).Return
                                /src/control/gateway/gateway.go:146
                            github.com/moby/buildkit/frontend/gateway/pb._LLBBridge_Return_Handler.func1
                                /src/frontend/gateway/pb/gateway.pb.go:3441
                            google.golang.org/grpc.getChainUnaryHandler.func1
                                /src/vendor/google.golang.org/grpc/server.go:1192
                            main.unaryInterceptor
                                /src/cmd/buildkitd/main.go:709
                            google.golang.org/grpc.chainUnaryInterceptors.func1
                                /src/vendor/google.golang.org/grpc/server.go:1183
                            github.com/moby/buildkit/frontend/gateway/pb._LLBBridge_Return_Handler
                                /src/frontend/gateway/pb/gateway.pb.go:3443
                            google.golang.org/grpc.(*Server).processUnaryRPC
                                /src/vendor/google.golang.org/grpc/server.go:1372
                            google.golang.org/grpc.(*Server).handleStream
                                /src/vendor/google.golang.org/grpc/server.go:1783
                            google.golang.org/grpc.(*Server).serveStreams.func2.1
                                /src/vendor/google.golang.org/grpc/server.go:1016
                            runtime.goexit
                                /usr/local/go/src/runtime/asm_amd64.s:1695