vmware-tanzu / velero

Backup and migrate Kubernetes applications and their persistent volumes
https://velero.io
Apache License 2.0
8.81k stars 1.41k forks source link

make `all-containers` do not work #5938

Closed kaovilai closed 1 year ago

kaovilai commented 1 year ago

What steps did you take and what happened:

$ go version
go version go1.19.5 linux/amd64

REGISTRY=ttl.sh VERSION=f187088-demo make all-containers
make[1]: Entering directory '/workspace/demo-oadp/velero'
[+] Building 77.1s (14/16)                                                                                            
 => [internal] load build definition from Dockerfile                                                             0.0s
 => => transferring dockerfile: 2.28kB                                                                           0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 60B                                                                                 0.0s
 => [internal] load metadata for gcr.io/distroless/base-debian11@sha256:99133cb0878bb1f84d1753957c6fd4b84f006f2  1.0s
 => [internal] load metadata for docker.io/library/golang:1.19-bullseye                                          0.9s
 => [internal] load metadata for docker.io/library/golang:1.18-bullseye                                          0.9s
 => [restic-builder 1/3] FROM docker.io/library/golang:1.19-bullseye@sha256:c2b97f31364310a9bfdc3fdd44414a5db97  0.1s
 => => resolve docker.io/library/golang:1.19-bullseye@sha256:c2b97f31364310a9bfdc3fdd44414a5db9703e5bcd640d6e39  0.0s
 => [velero-builder 1/4] FROM docker.io/library/golang:1.18-bullseye@sha256:2cf761b45e5e3f150e332e60275cd092fb  60.7s
 => => resolve docker.io/library/golang:1.18-bullseye@sha256:2cf761b45e5e3f150e332e60275cd092fb50b05fff4feec0a2  0.0s
 => => sha256:c37a56a6d65476eabfb50e74421f16f415093e2d1bdd7f83e8bbb4b1a3eb2109 7.12kB / 7.12kB                   0.0s
 => => sha256:2cf761b45e5e3f150e332e60275cd092fb50b05fff4feec0a2856a09f9fe6b2b 1.86kB / 1.86kB                   0.0s
 => => sha256:740324e52de766f230ad7113fac9028399d6e03af34883de625dc2230ef7927e 1.80kB / 1.80kB                   0.0s
 => => sha256:bbeef03cda1f5d6c9e20c310c1c91382a6b0a1a2501c3436b28152f13896f082 55.03MB / 55.03MB                 0.7s
 => => sha256:f049f75f014ee8fec2d4728b203c9cbee0502ce142aec030f874aa28359e25f1 5.16MB / 5.16MB                   0.5s
 => => sha256:56261d0e6b05ece42650b14830960db5b42a9f23479d868256f91d96869ac0c2 10.88MB / 10.88MB                 0.5s
 => => sha256:9bd150679dbdb02d9d4df4457d54211d6ee719ca7bc77747a7be4cd99ae03988 54.58MB / 54.58MB                 1.4s
 => => sha256:bfcb68b5bd105d3f88a2c15354cff6c253bedc41d83c1da28b3d686c37cd9103 85.98MB / 85.98MB                 2.2s
 => => sha256:06d0c5d18ef41fa1c2382bd2afd189a01ebfff4910b868879b6dcfeef46bc003 141.98MB / 141.98MB               2.4s
 => => extracting sha256:bbeef03cda1f5d6c9e20c310c1c91382a6b0a1a2501c3436b28152f13896f082                        4.4s
 => => sha256:cc7973a07a5b4a44399c5d36fa142f37bb343bb123a3736357365fd9040ca38a 156B / 156B                       2.5s
 => => extracting sha256:f049f75f014ee8fec2d4728b203c9cbee0502ce142aec030f874aa28359e25f1                        0.8s
 => => extracting sha256:56261d0e6b05ece42650b14830960db5b42a9f23479d868256f91d96869ac0c2                        1.4s
 => => extracting sha256:9bd150679dbdb02d9d4df4457d54211d6ee719ca7bc77747a7be4cd99ae03988                        7.8s
 => => extracting sha256:bfcb68b5bd105d3f88a2c15354cff6c253bedc41d83c1da28b3d686c37cd9103                        5.4s
 => => extracting sha256:06d0c5d18ef41fa1c2382bd2afd189a01ebfff4910b868879b6dcfeef46bc003                       35.4s
 => => extracting sha256:cc7973a07a5b4a44399c5d36fa142f37bb343bb123a3736357365fd9040ca38a                        0.0s
 => [stage-2 1/3] FROM gcr.io/distroless/base-debian11@sha256:99133cb0878bb1f84d1753957c6fd4b84f006f2798535de22  2.5s
 => => resolve gcr.io/distroless/base-debian11@sha256:99133cb0878bb1f84d1753957c6fd4b84f006f2798535de22ebf7ba17  0.0s
 => => sha256:fda4ba87f6fbeebb651625814b981d4100a98c224fef80d562fb33853500f40e 8.00MB / 8.00MB                   0.2s
 => => sha256:99133cb0878bb1f84d1753957c6fd4b84f006f2798535de22ebf7ba170bbf434 1.67kB / 1.67kB                   0.0s
 => => sha256:62206c24e71be910e21b63903c19ccf01a1496b7755536dbb0ddea5d244bd7a8 590B / 590B                       0.0s
 => => sha256:1ee0af1fcd35232365cb3c48234220f4d1410ab14e16e3407010b866b0caea48 635B / 635B                       0.0s
 => => sha256:fbad7aa519f7da86dde82ab83e3130d8024e9ffebc315cead1fecb230e208340 799.93kB / 799.93kB               0.3s
 => => extracting sha256:fbad7aa519f7da86dde82ab83e3130d8024e9ffebc315cead1fecb230e208340                        0.3s
 => => extracting sha256:fda4ba87f6fbeebb651625814b981d4100a98c224fef80d562fb33853500f40e                        0.6s
 => [internal] load build context                                                                                0.2s
 => => transferring context: 11.36MB                                                                             0.2s
 => [restic-builder 2/3] COPY . /go/src/github.com/vmware-tanzu/velero                                           0.3s
 => [restic-builder 3/3] RUN mkdir -p /output/usr/bin &&     export GOARM=$(echo "" | cut -c2-) &&     /go/src  67.6s
 => [velero-builder 2/4] WORKDIR /go/src/github.com/vmware-tanzu/velero                                          0.0s
 => [velero-builder 3/4] COPY . /go/src/github.com/vmware-tanzu/velero                                           0.4s
 => ERROR [velero-builder 4/4] RUN mkdir -p /output/usr/bin &&     export GOARM=$( echo "" | cut -c2-) &&       14.9s
------
 > [velero-builder 4/4] RUN mkdir -p /output/usr/bin &&     export GOARM=$( echo "" | cut -c2-) &&     go build -o /output/velero     -ldflags "-X github.com/vmware-tanzu/velero/pkg/buildinfo.Version=f187088-demo -X github.com/vmware-tanzu/velero/pkg/buildinfo.GitSHA=4e437a645fb59cd91d51a42e2485b050133ba300 -X github.com/vmware-tanzu/velero/pkg/buildinfo.GitTreeState=clean -X github.com/vmware-tanzu/velero/pkg/buildinfo.ImageRegistry=ttl.sh" github.com/vmware-tanzu/velero/cmd/velero:
#0 0.637 go: downloading k8s.io/klog/v2 v2.70.1
#0 0.637 go: downloading github.com/fatih/color v1.13.0
#0 0.638 go: downloading k8s.io/apimachinery v0.25.6
#0 0.638 go: downloading sigs.k8s.io/controller-runtime v0.12.2
#0 0.638 go: downloading github.com/spf13/cobra v1.4.0
#0 0.638 go: downloading github.com/spf13/pflag v1.0.5
#0 0.639 go: downloading github.com/pkg/errors v0.9.1
#0 0.640 go: downloading github.com/sirupsen/logrus v1.8.1
#0 0.640 go: downloading github.com/vmware-tanzu/crash-diagnostics v0.3.7
#0 0.641 go: downloading k8s.io/client-go v0.25.6
#0 0.642 go: downloading k8s.io/apiextensions-apiserver v0.24.2
#0 1.009 go: downloading github.com/evanphx/json-patch v5.6.0+incompatible
#0 1.009 go: downloading k8s.io/api v0.25.6
#0 1.013 go: downloading golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4
#0 1.014 go: downloading github.com/bombsimon/logrusr/v3 v3.0.0
#0 1.017 go: downloading github.com/kubernetes-csi/external-snapshotter/client/v4 v4.2.0
#0 1.041 go: downloading github.com/prometheus/client_golang v1.12.2
#0 1.101 go: downloading k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed
#0 1.108 go: downloading k8s.io/cli-runtime v0.24.0
#0 1.223 go: downloading github.com/mattn/go-colorable v0.1.12
#0 1.228 go: downloading github.com/mattn/go-isatty v0.0.14
#0 1.239 go: downloading golang.org/x/sys v0.5.0
#0 1.531 go: downloading github.com/go-logr/logr v1.2.3
#0 1.533 go: downloading github.com/gogo/protobuf v1.3.2
#0 1.534 go: downloading github.com/google/gofuzz v1.2.0
#0 1.535 go: downloading github.com/google/uuid v1.3.0
#0 1.536 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.2.3
#0 1.537 go: downloading github.com/golang/protobuf v1.5.2
#0 1.537 go: downloading google.golang.org/grpc v1.45.0
#0 1.550 go: downloading k8s.io/kube-aggregator v0.19.12
#0 1.598 go: downloading github.com/hashicorp/go-plugin v1.4.3
#0 1.605 go: downloading golang.org/x/net v0.7.0
#0 1.693 go: downloading github.com/hashicorp/go-hclog v0.14.1
#0 1.702 go: downloading github.com/gobwas/glob v0.2.3
#0 1.708 go: downloading github.com/kopia/kopia v0.10.7
#0 1.714 go: downloading github.com/robfig/cron v1.1.0
#0 1.723 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
#0 1.798 go: downloading sigs.k8s.io/yaml v1.3.0
#0 1.802 go: downloading github.com/go-logr/zapr v1.2.0
#0 1.802 go: downloading go.uber.org/zap v1.21.0
#0 1.918 go: downloading github.com/prometheus/client_model v0.2.0
#0 1.919 go: downloading github.com/prometheus/common v0.34.0
#0 1.920 go: downloading github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de
#0 1.926 go: downloading golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb
#0 2.215 go: downloading github.com/Azure/go-autorest/autorest v0.11.27
#0 2.216 go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.20
#0 2.217 go: downloading golang.org/x/time v0.0.0-20220609170525-579cf78fd858
#0 2.218 go: downloading github.com/google/gnostic v0.6.9
#0 2.219 go: downloading github.com/imdario/mergo v0.3.13
#0 2.219 go: downloading golang.org/x/term v0.5.0
#0 2.220 go: downloading k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1
#0 2.299 go: downloading sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2
#0 2.299 go: downloading gopkg.in/inf.v0 v0.9.1
#0 2.306 go: downloading github.com/vladimirvivien/gexe v0.1.1
#0 2.308 go: downloading go.starlark.net v0.0.0-20201006213952-227f4aabceb5
#0 2.309 go: downloading github.com/Azure/go-autorest v14.2.0+incompatible
#0 2.310 go: downloading google.golang.org/protobuf v1.28.0
#0 2.593 go: downloading github.com/beorn7/perks v1.0.1
#0 2.598 go: downloading github.com/cespare/xxhash/v2 v2.1.2
#0 2.607 go: downloading github.com/prometheus/procfs v0.7.3
#0 2.636 go: downloading github.com/json-iterator/go v1.1.12
#0 2.637 go: downloading gopkg.in/yaml.v2 v2.4.0
#0 2.704 go: downloading github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb
#0 2.713 go: downloading github.com/mitchellh/go-testing-interface v1.0.0
#0 2.718 go: downloading github.com/oklog/run v1.0.0
#0 2.719 go: downloading github.com/Azure/azure-sdk-for-go v67.2.0+incompatible
#0 2.719 go: downloading github.com/Azure/go-autorest/autorest/azure/auth v0.5.8
#0 2.732 go: downloading github.com/aws/aws-sdk-go v1.43.31
#0 2.813 go: downloading github.com/joho/godotenv v1.3.0
#0 2.816 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
#0 2.816 go: downloading k8s.io/component-base v0.24.2
#0 2.817 go: downloading gomodules.xyz/jsonpatch/v2 v2.2.0
#0 2.817 go: downloading go.uber.org/atomic v1.9.0
#0 2.818 go: downloading go.uber.org/multierr v1.8.0
#0 2.818 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369
#0 2.818 go: downloading cloud.google.com/go/compute v1.5.0
#0 2.832 go: downloading github.com/davecgh/go-spew v1.1.1
#0 2.833 go: downloading github.com/google/go-cmp v0.5.8
#0 2.834 go: downloading github.com/Azure/go-autorest/logger v0.2.1
#0 2.836 go: downloading github.com/Azure/go-autorest/tracing v0.6.0
#0 2.836 go: downloading github.com/Azure/go-autorest/autorest/date v0.3.0
#0 2.837 go: downloading github.com/golang-jwt/jwt/v4 v4.4.1
#0 2.837 go: downloading golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd
#0 2.841 go: downloading google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb
#0 2.895 go: downloading gopkg.in/yaml.v3 v3.0.1
#0 2.896 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
#0 2.896 go: downloading github.com/modern-go/reflect2 v1.0.2
#0 2.902 go: downloading github.com/Azure/go-autorest/autorest/azure/cli v0.4.2
#0 2.902 go: downloading github.com/dimchansky/utfbom v1.1.1
#0 2.913 go: downloading github.com/fsnotify/fsnotify v1.5.4
#0 2.914 go: downloading golang.org/x/text v0.7.0
#0 2.918 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
#0 2.928 go: downloading github.com/moby/spdystream v0.2.0
#0 2.934 go: downloading golang.org/x/exp v0.0.0-20210916165020-5cb4fee858ee
#0 2.937 go: downloading github.com/mitchellh/go-homedir v1.1.0
#0 2.941 go: downloading github.com/emicklei/go-restful/v3 v3.8.0
#0 3.001 go: downloading github.com/go-openapi/swag v0.21.1
#0 3.013 go: downloading github.com/go-openapi/jsonreference v0.20.0
#0 3.016 go: downloading github.com/klauspost/compress v1.15.1
#0 3.024 go: downloading cloud.google.com/go v0.100.2
#0 3.158 go: downloading github.com/klauspost/pgzip v1.2.5
#0 3.193 go: downloading github.com/pierrec/lz4 v2.6.1+incompatible
#0 3.194 go: downloading github.com/gofrs/flock v0.8.1
#0 3.200 go: downloading github.com/natefinch/atomic v1.0.1
#0 3.206 go: downloading github.com/hashicorp/golang-lru v0.5.4
#0 3.212 go: downloading github.com/chmduquesne/rollinghash v4.0.0+incompatible
#0 3.214 go: downloading github.com/zeebo/blake3 v0.2.3
#0 3.228 go: downloading github.com/mailru/easyjson v0.7.7
#0 3.242 go: downloading github.com/go-openapi/jsonpointer v0.19.5
#0 3.243 go: downloading github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0
#0 3.296 go: downloading cloud.google.com/go/storage v1.21.0
#0 3.335 go: downloading google.golang.org/api v0.74.0
#0 4.128 go: downloading github.com/minio/minio-go/v7 v7.0.23
#0 4.304 go: downloading github.com/josharian/intern v1.0.0
#0 4.305 go: downloading cloud.google.com/go/iam v0.1.1
#0 4.310 go: downloading github.com/googleapis/gax-go/v2 v2.2.0
#0 4.321 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
#0 6.511 go: downloading github.com/minio/sha256-simd v1.0.0
#0 6.523 go: downloading gopkg.in/ini.v1 v1.66.2
#0 6.543 go: downloading github.com/minio/md5-simd v1.1.2
#0 6.557 go: downloading github.com/klauspost/cpuid/v2 v2.0.12
#0 6.612 go: downloading go.opencensus.io v0.23.0
#0 7.018 go: downloading github.com/rs/xid v1.3.0
#0 7.843 go: downloading github.com/jmespath/go-jmespath v0.4.0
#0 13.34 go: downloading github.com/Azure/go-autorest/autorest/validation v0.2.0
#0 13.34 go: downloading github.com/Azure/go-autorest/autorest/to v0.3.0
#0 13.34 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1
#0 13.34 go: downloading github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3
#0 13.92 error obtaining VCS status: exit status 128
#0 13.92        Use -buildvcs=false to disable VCS stamping.
------
error: failed to solve: executor failed running [/bin/sh -c mkdir -p /output/usr/bin &&     export GOARM=$( echo "${GOARM}" | cut -c2-) &&     go build -o /output/${BIN}     -ldflags "${LDFLAGS}" ${PKG}/cmd/${BIN}]: exit code: 1
make[2]: *** [Makefile:185: container] Error 1
make[1]: *** [Makefile:124: all-containers] Error 2

What did you expect to happen:

The following information will help us better understand what's going on:

If you are using velero v1.7.0+:
Please use velero debug --backup <backupname> --restore <restorename> to generate the support bundle, and attach to this issue, more options please refer to velero debug --help

If you are using earlier versions:
Please provide the output of the following commands (Pasting long output into a GitHub gist or other pastebin is fine.)

Anything else you would like to add:

Environment:

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

blackpiglet commented 1 year ago

I couldn't reproduce this issue with Golang version v1.19.6.

root@jxun-jumpserver:~/Downloads# go version
go version go1.19.6 linux/amd64
root@jxun-jumpserver:~/Downloads# v
root@jxun-jumpserver:~/go/src/github.com/blackpiglet/velero# REGISTRY=blackpiglet VERSION=5938 make all-containers
[+] Building 567.3s (18/18) FINISHED                                                                                                    
 => [internal] load build definition from Dockerfile                                                                               8.9s
 => => transferring dockerfile: 32B                                                                                                8.7s
 => [internal] load .dockerignore                                                                                                  8.7s
 => => transferring context: 34B                                                                                                   8.7s
 => [internal] load metadata for docker.io/library/golang:1.18-bullseye                                                            0.4s
 => [internal] load metadata for docker.io/library/golang:1.19-bullseye                                                            0.4s
 => [internal] load metadata for gcr.io/distroless/base-nossl-debian11:nonroot                                                     0.1s
 => [auth] library/golang:pull token for registry-1.docker.io                                                                      0.0s
 => [velero-builder 1/4] FROM docker.io/library/golang:1.18-bullseye@sha256:2cf761b45e5e3f150e332e60275cd092fb50b05fff4feec0a2856  0.0s
 => [restic-builder 1/3] FROM docker.io/library/golang:1.19-bullseye@sha256:8b7e5c2310aa5c29fefc174bd4368b9cf88565db5be1bba46c96a  0.0s
 => CACHED [stage-2 1/3] FROM gcr.io/distroless/base-nossl-debian11:nonroot@sha256:78d2ac043ae89e4ecdf969959ec299d0f7dc0d28f14944  0.0s
 => [internal] load build context                                                                                                  0.3s
 => => transferring context: 171.00kB                                                                                              0.2s
 => CACHED [restic-builder 2/3] COPY . /go/src/github.com/vmware-tanzu/velero                                                      0.0s
 => [restic-builder 3/3] RUN mkdir -p /output/usr/bin &&     export GOARM=$(echo "" | cut -c2-) &&     /go/src/github.com/vmwar  307.8s
 => CACHED [velero-builder 2/4] WORKDIR /go/src/github.com/vmware-tanzu/velero                                                     0.0s
 => CACHED [velero-builder 3/4] COPY . /go/src/github.com/vmware-tanzu/velero                                                      0.0s
 => [velero-builder 4/4] RUN mkdir -p /output/usr/bin &&     export GOARM=$( echo "" | cut -c2-) &&     go build -o /output/vel  545.1s
 => [stage-2 2/3] COPY --from=velero-builder /output /                                                                             0.7s 
 => [stage-2 3/3] COPY --from=restic-builder /output /                                                                             0.5s 
 => exporting to image                                                                                                             0.6s 
 => => exporting layers                                                                                                            0.6s 
 => => writing image sha256:fc391770f370dd3b85596550bde015384c88cc400aae21fabadfc132871f3dd0                                       0.0s 
 => => naming to docker.io/blackpiglet/velero:5938                                                                                 0.0s 
container: blackpiglet/velero:5938                                                                                                      
[+] Building 12.9s (18/18) FINISHED                                                                                                     
 => [internal] load build definition from Dockerfile                                                                               7.6s 
 => => transferring dockerfile: 32B                                                                                                7.5s 
 => [internal] load .dockerignore                                                                                                  7.6s 
 => => transferring context: 34B                                                                                                   7.4s 
 => [internal] load metadata for docker.io/library/golang:1.18-bullseye                                                            0.4s
 => [internal] load metadata for gcr.io/distroless/base-nossl-debian11:nonroot                                                     0.1s
 => [internal] load metadata for docker.io/library/golang:1.19-bullseye                                                            0.4s
 => [auth] library/golang:pull token for registry-1.docker.io                                                                      0.0s
 => [velero-builder 1/4] FROM docker.io/library/golang:1.18-bullseye@sha256:2cf761b45e5e3f150e332e60275cd092fb50b05fff4feec0a2856  0.0s
 => [restic-builder 1/3] FROM docker.io/library/golang:1.19-bullseye@sha256:8b7e5c2310aa5c29fefc174bd4368b9cf88565db5be1bba46c96a  0.0s
 => CACHED [stage-2 1/3] FROM gcr.io/distroless/base-nossl-debian11:nonroot@sha256:78d2ac043ae89e4ecdf969959ec299d0f7dc0d28f14944  0.0s
 => [internal] load build context                                                                                                  0.4s
 => => transferring context: 171.00kB                                                                                              0.3s
 => CACHED [velero-builder 2/4] WORKDIR /go/src/github.com/vmware-tanzu/velero                                                     0.0s
 => CACHED [velero-builder 3/4] COPY . /go/src/github.com/vmware-tanzu/velero                                                      0.0s
 => CACHED [restic-builder 2/3] COPY . /go/src/github.com/vmware-tanzu/velero                                                      0.0s
 => [restic-builder 3/3] RUN mkdir -p /output/usr/bin &&     export GOARM=$(echo "" | cut -c2-) &&     /go/src/github.com/vmware-  1.1s
 => [velero-builder 4/4] RUN mkdir -p /output/usr/bin &&     export GOARM=$( echo "" | cut -c2-) &&     go build -o /output/veler  2.5s
 => [stage-2 2/3] COPY --from=velero-builder /output /                                                                             0.2s
 => [stage-2 3/3] COPY --from=restic-builder /output /                                                                             0.1s
 => exporting to image                                                                                                             0.1s
 => => exporting layers                                                                                                            0.1s
 => => writing image sha256:3f4d1af3826d8e3bfa2c746d98d3560ac93efbed27b11c90230324be6fbd4c8c                                       0.0s
 => => naming to docker.io/blackpiglet/velero-restore-helper:5938                                                                  0.0s
container: blackpiglet/velero-restore-helper:5938
root@jxun-jumpserver:~/go/src/github.com/blackpiglet/velero# docker images
REPOSITORY                          TAG             IMAGE ID       CREATED         SIZE
blackpiglet/velero-restore-helper   5938            3f4d1af3826d   6 minutes ago   17.1MB
blackpiglet/velero                  5938            fc391770f370   6 minutes ago   122MB                                              

And I saw your comment in Golang issue https://github.com/golang/go/issues/53532#issuecomment-1450708681.

Is this issue specific to your project's build environment?