Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] Timeout waiting for file exist, upgrade to MacOS latest, hack/local-up-karmada.sh failed #5702

Open
samzong opened this issue Oct 17, 2024 · 3 comments
Labels
kind/question Indicates an issue that is a support question.

Comments

@samzong
Copy link
Member

samzong commented Oct 17, 2024

Please provide an in-depth description of the question you have:

What do you think about this question?:

Environment: macos 15.1 beta

  • Karmada version: use hack/local-up-karmada.sh
  • Kubernetes version:
  • Others:
    • kind version: 0.24.0
    • docker engine: orbstack 1.7.5
bash-5.2$ bash hack/local-up-karmada.sh
Preparing: 'kind' existence check - passed
Preparing: 'kubectl' existence check - passed

 Detected that you are installing Karmada on macOS 

It needs a Macintosh IP address to bind Karmada API Server(port 5443),
so that member clusters can access it from docker containers, please
input an available IP, default IP will be en0 inet addr if exists
[Enter for default 10.64.0.36]:
Using IP address: 10.64.0.36
Preparing kindClusterConfig in path: /var/folders/6c/ncl43pr571z87n9sqh66lqm40000gn/T/tmp.nwwKmC8Fr4
Deleted all necessary clusters and the log file is in /tmp/karmada/delete-necessary-resources.log
Creating cluster karmada-host and the log file is in /tmp/karmada/karmada-host.log
Creating cluster member1 and the log file is in /tmp/karmada/member1.log
Creating cluster member2 and the log file is in /tmp/karmada/member2.log
Creating cluster member3 and the log file is in /tmp/karmada/member3.log
set -e;\
	target=$(echo karmada-aggregated-apiserver);\
	make $target GOOS=linux;\
	VERSION=latest REGISTRY=docker.io/karmada BUILD_PLATFORMS=linux/arm64 hack/docker.sh $target
BUILD_PLATFORMS=linux/arm64 hack/build.sh karmada-aggregated-apiserver
!!! Building karmada-aggregated-apiserver for linux/arm64:
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=arm64
+ go build -ldflags '-X github.com/karmada-io/karmada/pkg/version.gitVersion=v1.4.0-2633-gc230b1482 -X github.com/karmada-io/karmada/pkg/version.gitCommit=c230b14827d01c09db98b9531e4224d93429ee67 -X github.com/karmada-io/karmada/pkg/version.gitTreeState=clean -X github.com/karmada-io/karmada/pkg/version.buildDate=2024-10-17T02:00:39Z ' -o _output/bin/linux/arm64/karmada-aggregated-apiserver github.com/karmada-io/karmada/cmd/aggregated-apiserver
+ set +x
Building image for linux/arm64: docker.io/karmada/karmada-aggregated-apiserver:latest
+ docker build --build-arg BINARY=karmada-aggregated-apiserver --label=image.karmada.io=May_be_pruned_in_local-up-karmada.sh --tag docker.io/karmada/karmada-aggregated-apiserver:latest --file hack/../cluster/images/Dockerfile hack/../_output/bin/linux/arm64
[+] Building 4.5s (9/9) FINISHED                                                                                                                                                                                              docker:orbstack
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 835B                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/alpine:3.20.3                                                                                                                                                                         3.5s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.1s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [1/4] FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                                                                        0.3s
 => => transferring context: 88.03MB                                                                                                                                                                                                     0.3s
 => CACHED [2/4] RUN apk add --no-cache ca-certificates                                                                                                                                                                                  0.0s
 => CACHED [3/4] RUN apk add --no-cache tzdata                                                                                                                                                                                           0.0s
 => [4/4] COPY karmada-aggregated-apiserver /bin/karmada-aggregated-apiserver                                                                                                                                                            0.3s
 => exporting to image                                                                                                                                                                                                                   0.2s
 => => exporting layers                                                                                                                                                                                                                  0.1s
 => => writing image sha256:ff92f9f779f0328e9a55813d6568acf64c0a8a6a8d15629741f9a8f1f7feac37                                                                                                                                             0.0s
 => => naming to docker.io/karmada/karmada-aggregated-apiserver:latest                                                                                                                                                                   0.0s
+ set +x
set -e;\
	target=$(echo karmada-controller-manager);\
	make $target GOOS=linux;\
	VERSION=latest REGISTRY=docker.io/karmada BUILD_PLATFORMS=linux/arm64 hack/docker.sh $target
BUILD_PLATFORMS=linux/arm64 hack/build.sh karmada-controller-manager
!!! Building karmada-controller-manager for linux/arm64:
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=arm64
+ go build -ldflags '-X github.com/karmada-io/karmada/pkg/version.gitVersion=v1.4.0-2633-gc230b1482 -X github.com/karmada-io/karmada/pkg/version.gitCommit=c230b14827d01c09db98b9531e4224d93429ee67 -X github.com/karmada-io/karmada/pkg/version.gitTreeState=clean -X github.com/karmada-io/karmada/pkg/version.buildDate=2024-10-17T02:00:49Z ' -o _output/bin/linux/arm64/karmada-controller-manager github.com/karmada-io/karmada/cmd/controller-manager
+ set +x
Building image for linux/arm64: docker.io/karmada/karmada-controller-manager:latest
+ docker build --build-arg BINARY=karmada-controller-manager --label=image.karmada.io=May_be_pruned_in_local-up-karmada.sh --tag docker.io/karmada/karmada-controller-manager:latest --file hack/../cluster/images/Dockerfile hack/../_output/bin/linux/arm64
[+] Building 1.5s (9/9) FINISHED                                                                                                                                                                                              docker:orbstack
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 835B                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/alpine:3.20.3                                                                                                                                                                         0.6s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [1/4] FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                                                                        0.4s
 => => transferring context: 95.34MB                                                                                                                                                                                                     0.4s
 => CACHED [2/4] RUN apk add --no-cache ca-certificates                                                                                                                                                                                  0.0s
 => CACHED [3/4] RUN apk add --no-cache tzdata                                                                                                                                                                                           0.0s
 => [4/4] COPY karmada-controller-manager /bin/karmada-controller-manager                                                                                                                                                                0.2s
 => exporting to image                                                                                                                                                                                                                   0.2s
 => => exporting layers                                                                                                                                                                                                                  0.2s
 => => writing image sha256:550fd156729d577505f7a2a25244562cf4b547b8fffb9df6f5f7fd997119715e                                                                                                                                             0.0s
 => => naming to docker.io/karmada/karmada-controller-manager:latest                                                                                                                                                                     0.0s
+ set +x
set -e;\
	target=$(echo karmada-scheduler);\
	make $target GOOS=linux;\
	VERSION=latest REGISTRY=docker.io/karmada BUILD_PLATFORMS=linux/arm64 hack/docker.sh $target
BUILD_PLATFORMS=linux/arm64 hack/build.sh karmada-scheduler
!!! Building karmada-scheduler for linux/arm64:
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=arm64
+ go build -ldflags '-X github.com/karmada-io/karmada/pkg/version.gitVersion=v1.4.0-2633-gc230b1482 -X github.com/karmada-io/karmada/pkg/version.gitCommit=c230b14827d01c09db98b9531e4224d93429ee67 -X github.com/karmada-io/karmada/pkg/version.gitTreeState=clean -X github.com/karmada-io/karmada/pkg/version.buildDate=2024-10-17T02:00:54Z ' -o _output/bin/linux/arm64/karmada-scheduler github.com/karmada-io/karmada/cmd/scheduler
+ set +x
Building image for linux/arm64: docker.io/karmada/karmada-scheduler:latest
+ docker build --build-arg BINARY=karmada-scheduler --label=image.karmada.io=May_be_pruned_in_local-up-karmada.sh --tag docker.io/karmada/karmada-scheduler:latest --file hack/../cluster/images/Dockerfile hack/../_output/bin/linux/arm64
[+] Building 1.3s (9/9) FINISHED                                                                                                                                                                                              docker:orbstack
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 835B                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/alpine:3.20.3                                                                                                                                                                         0.5s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.1s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [1/4] FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                                                                        0.4s
 => => transferring context: 64.80MB                                                                                                                                                                                                     0.3s
 => CACHED [2/4] RUN apk add --no-cache ca-certificates                                                                                                                                                                                  0.0s
 => CACHED [3/4] RUN apk add --no-cache tzdata                                                                                                                                                                                           0.0s
 => [4/4] COPY karmada-scheduler /bin/karmada-scheduler                                                                                                                                                                                  0.1s
 => exporting to image                                                                                                                                                                                                                   0.1s
 => => exporting layers                                                                                                                                                                                                                  0.1s
 => => writing image sha256:17ac2e84dae1d4c8090aa342a4ca646bac24734611a46c0eabedf768f8f3b216                                                                                                                                             0.0s
 => => naming to docker.io/karmada/karmada-scheduler:latest                                                                                                                                                                              0.0s
+ set +x
set -e;\
	target=$(echo karmada-descheduler);\
	make $target GOOS=linux;\
	VERSION=latest REGISTRY=docker.io/karmada BUILD_PLATFORMS=linux/arm64 hack/docker.sh $target
BUILD_PLATFORMS=linux/arm64 hack/build.sh karmada-descheduler
!!! Building karmada-descheduler for linux/arm64:
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=arm64
+ go build -ldflags '-X github.com/karmada-io/karmada/pkg/version.gitVersion=v1.4.0-2633-gc230b1482 -X github.com/karmada-io/karmada/pkg/version.gitCommit=c230b14827d01c09db98b9531e4224d93429ee67 -X github.com/karmada-io/karmada/pkg/version.gitTreeState=clean -X github.com/karmada-io/karmada/pkg/version.buildDate=2024-10-17T02:00:58Z ' -o _output/bin/linux/arm64/karmada-descheduler github.com/karmada-io/karmada/cmd/descheduler
+ set +x
Building image for linux/arm64: docker.io/karmada/karmada-descheduler:latest
+ docker build --build-arg BINARY=karmada-descheduler --label=image.karmada.io=May_be_pruned_in_local-up-karmada.sh --tag docker.io/karmada/karmada-descheduler:latest --file hack/../cluster/images/Dockerfile hack/../_output/bin/linux/arm64
[+] Building 1.3s (9/9) FINISHED                                                                                                                                                                                              docker:orbstack
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 835B                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/alpine:3.20.3                                                                                                                                                                         0.7s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [1/4] FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                                                                        0.3s
 => => transferring context: 64.05MB                                                                                                                                                                                                     0.2s
 => CACHED [2/4] RUN apk add --no-cache ca-certificates                                                                                                                                                                                  0.0s
 => CACHED [3/4] RUN apk add --no-cache tzdata                                                                                                                                                                                           0.0s
 => [4/4] COPY karmada-descheduler /bin/karmada-descheduler                                                                                                                                                                              0.1s
 => exporting to image                                                                                                                                                                                                                   0.1s
 => => exporting layers                                                                                                                                                                                                                  0.1s
 => => writing image sha256:b5dfb0b7b930c40d5b8c20940e7368dc3d3dc496411ef22b4f152388035027e1                                                                                                                                             0.0s
 => => naming to docker.io/karmada/karmada-descheduler:latest                                                                                                                                                                            0.0s
+ set +x
set -e;\
	target=$(echo karmada-webhook);\
	make $target GOOS=linux;\
	VERSION=latest REGISTRY=docker.io/karmada BUILD_PLATFORMS=linux/arm64 hack/docker.sh $target
BUILD_PLATFORMS=linux/arm64 hack/build.sh karmada-webhook
!!! Building karmada-webhook for linux/arm64:
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=arm64
+ go build -ldflags '-X github.com/karmada-io/karmada/pkg/version.gitVersion=v1.4.0-2633-gc230b1482 -X github.com/karmada-io/karmada/pkg/version.gitCommit=c230b14827d01c09db98b9531e4224d93429ee67 -X github.com/karmada-io/karmada/pkg/version.gitTreeState=clean -X github.com/karmada-io/karmada/pkg/version.buildDate=2024-10-17T02:01:02Z ' -o _output/bin/linux/arm64/karmada-webhook github.com/karmada-io/karmada/cmd/webhook
+ set +x
Building image for linux/arm64: docker.io/karmada/karmada-webhook:latest
+ docker build --build-arg BINARY=karmada-webhook --label=image.karmada.io=May_be_pruned_in_local-up-karmada.sh --tag docker.io/karmada/karmada-webhook:latest --file hack/../cluster/images/Dockerfile hack/../_output/bin/linux/arm64
[+] Building 1.3s (9/9) FINISHED                                                                                                                                                                                              docker:orbstack
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 835B                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/alpine:3.20.3                                                                                                                                                                         0.6s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [1/4] FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                                                                        0.3s
 => => transferring context: 66.98MB                                                                                                                                                                                                     0.3s
 => CACHED [2/4] RUN apk add --no-cache ca-certificates                                                                                                                                                                                  0.0s
 => CACHED [3/4] RUN apk add --no-cache tzdata                                                                                                                                                                                           0.0s
 => [4/4] COPY karmada-webhook /bin/karmada-webhook                                                                                                                                                                                      0.1s
 => exporting to image                                                                                                                                                                                                                   0.1s
 => => exporting layers                                                                                                                                                                                                                  0.1s
 => => writing image sha256:1c18152c03d1ef11255eebc32262256f635c8e1056648be4e4d129443cb0a4b6                                                                                                                                             0.0s
 => => naming to docker.io/karmada/karmada-webhook:latest                                                                                                                                                                                0.0s
+ set +x
set -e;\
	target=$(echo karmada-agent);\
	make $target GOOS=linux;\
	VERSION=latest REGISTRY=docker.io/karmada BUILD_PLATFORMS=linux/arm64 hack/docker.sh $target
BUILD_PLATFORMS=linux/arm64 hack/build.sh karmada-agent
!!! Building karmada-agent for linux/arm64:
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=arm64
+ go build -ldflags '-X github.com/karmada-io/karmada/pkg/version.gitVersion=v1.4.0-2633-gc230b1482 -X github.com/karmada-io/karmada/pkg/version.gitCommit=c230b14827d01c09db98b9531e4224d93429ee67 -X github.com/karmada-io/karmada/pkg/version.gitTreeState=clean -X github.com/karmada-io/karmada/pkg/version.buildDate=2024-10-17T02:01:05Z ' -o _output/bin/linux/arm64/karmada-agent github.com/karmada-io/karmada/cmd/agent
+ set +x
Building image for linux/arm64: docker.io/karmada/karmada-agent:latest
+ docker build --build-arg BINARY=karmada-agent --label=image.karmada.io=May_be_pruned_in_local-up-karmada.sh --tag docker.io/karmada/karmada-agent:latest --file hack/../cluster/images/Dockerfile hack/../_output/bin/linux/arm64
[+] Building 1.4s (9/9) FINISHED                                                                                                                                                                                              docker:orbstack
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 835B                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/alpine:3.20.3                                                                                                                                                                         0.5s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.1s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [1/4] FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                                                                        0.4s
 => => transferring context: 85.20MB                                                                                                                                                                                                     0.4s
 => CACHED [2/4] RUN apk add --no-cache ca-certificates                                                                                                                                                                                  0.0s
 => CACHED [3/4] RUN apk add --no-cache tzdata                                                                                                                                                                                           0.0s
 => [4/4] COPY karmada-agent /bin/karmada-agent                                                                                                                                                                                          0.2s
 => exporting to image                                                                                                                                                                                                                   0.2s
 => => exporting layers                                                                                                                                                                                                                  0.1s
 => => writing image sha256:04f1ae1a5d55325b50bfedf363cae5305c544f836bae696f4fd3ddebc4db84fd                                                                                                                                             0.0s
 => => naming to docker.io/karmada/karmada-agent:latest                                                                                                                                                                                  0.0s
+ set +x
set -e;\
	target=$(echo karmada-scheduler-estimator);\
	make $target GOOS=linux;\
	VERSION=latest REGISTRY=docker.io/karmada BUILD_PLATFORMS=linux/arm64 hack/docker.sh $target
BUILD_PLATFORMS=linux/arm64 hack/build.sh karmada-scheduler-estimator
!!! Building karmada-scheduler-estimator for linux/arm64:
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=arm64
+ go build -ldflags '-X github.com/karmada-io/karmada/pkg/version.gitVersion=v1.4.0-2633-gc230b1482 -X github.com/karmada-io/karmada/pkg/version.gitCommit=c230b14827d01c09db98b9531e4224d93429ee67 -X github.com/karmada-io/karmada/pkg/version.gitTreeState=clean -X github.com/karmada-io/karmada/pkg/version.buildDate=2024-10-17T02:01:10Z ' -o _output/bin/linux/arm64/karmada-scheduler-estimator github.com/karmada-io/karmada/cmd/scheduler-estimator
+ set +x
Building image for linux/arm64: docker.io/karmada/karmada-scheduler-estimator:latest
+ docker build --build-arg BINARY=karmada-scheduler-estimator --label=image.karmada.io=May_be_pruned_in_local-up-karmada.sh --tag docker.io/karmada/karmada-scheduler-estimator:latest --file hack/../cluster/images/Dockerfile hack/../_output/bin/linux/arm64
[+] Building 1.3s (9/9) FINISHED                                                                                                                                                                                              docker:orbstack
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 835B                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/alpine:3.20.3                                                                                                                                                                         0.6s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [1/4] FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                                                                        0.3s
 => => transferring context: 65.90MB                                                                                                                                                                                                     0.3s
 => CACHED [2/4] RUN apk add --no-cache ca-certificates                                                                                                                                                                                  0.0s
 => CACHED [3/4] RUN apk add --no-cache tzdata                                                                                                                                                                                           0.0s
 => [4/4] COPY karmada-scheduler-estimator /bin/karmada-scheduler-estimator                                                                                                                                                              0.2s
 => exporting to image                                                                                                                                                                                                                   0.1s
 => => exporting layers                                                                                                                                                                                                                  0.1s
 => => writing image sha256:bb6483d5fc7d5a2a32a677932f6554b0eb0adb323e4f0b8c0af89c65d24e870e                                                                                                                                             0.0s
 => => naming to docker.io/karmada/karmada-scheduler-estimator:latest                                                                                                                                                                    0.0s
+ set +x
set -e;\
	target=$(echo karmada-interpreter-webhook-example);\
	make $target GOOS=linux;\
	VERSION=latest REGISTRY=docker.io/karmada BUILD_PLATFORMS=linux/arm64 hack/docker.sh $target
BUILD_PLATFORMS=linux/arm64 hack/build.sh karmada-interpreter-webhook-example
!!! Building karmada-interpreter-webhook-example for linux/arm64:
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=arm64
+ go build -ldflags '-X github.com/karmada-io/karmada/pkg/version.gitVersion=v1.4.0-2633-gc230b1482 -X github.com/karmada-io/karmada/pkg/version.gitCommit=c230b14827d01c09db98b9531e4224d93429ee67 -X github.com/karmada-io/karmada/pkg/version.gitTreeState=clean -X github.com/karmada-io/karmada/pkg/version.buildDate=2024-10-17T02:01:13Z ' -o _output/bin/linux/arm64/karmada-interpreter-webhook-example github.com/karmada-io/karmada/examples/customresourceinterpreter/webhook
+ set +x
Building image for linux/arm64: docker.io/karmada/karmada-interpreter-webhook-example:latest
+ docker build --build-arg BINARY=karmada-interpreter-webhook-example --label=image.karmada.io=May_be_pruned_in_local-up-karmada.sh --tag docker.io/karmada/karmada-interpreter-webhook-example:latest --file hack/../cluster/images/Dockerfile hack/../_output/bin/linux/arm64
[+] Building 1.0s (9/9) FINISHED                                                                                                                                                                                              docker:orbstack
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 835B                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/alpine:3.20.3                                                                                                                                                                         0.4s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [1/4] FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                                                                        0.2s
 => => transferring context: 56.66MB                                                                                                                                                                                                     0.2s
 => CACHED [2/4] RUN apk add --no-cache ca-certificates                                                                                                                                                                                  0.0s
 => CACHED [3/4] RUN apk add --no-cache tzdata                                                                                                                                                                                           0.0s
 => [4/4] COPY karmada-interpreter-webhook-example /bin/karmada-interpreter-webhook-example                                                                                                                                              0.1s
 => exporting to image                                                                                                                                                                                                                   0.1s
 => => exporting layers                                                                                                                                                                                                                  0.1s
 => => writing image sha256:70115d46ac3d31e9789fb6fb6ef34dc9af0a776a379c745314b7e1db76caba46                                                                                                                                             0.0s
 => => naming to docker.io/karmada/karmada-interpreter-webhook-example:latest                                                                                                                                                            0.0s
+ set +x
set -e;\
	target=$(echo karmada-search);\
	make $target GOOS=linux;\
	VERSION=latest REGISTRY=docker.io/karmada BUILD_PLATFORMS=linux/arm64 hack/docker.sh $target
BUILD_PLATFORMS=linux/arm64 hack/build.sh karmada-search
!!! Building karmada-search for linux/arm64:
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=arm64
+ go build -ldflags '-X github.com/karmada-io/karmada/pkg/version.gitVersion=v1.4.0-2633-gc230b1482 -X github.com/karmada-io/karmada/pkg/version.gitCommit=c230b14827d01c09db98b9531e4224d93429ee67 -X github.com/karmada-io/karmada/pkg/version.gitTreeState=clean -X github.com/karmada-io/karmada/pkg/version.buildDate=2024-10-17T02:01:16Z ' -o _output/bin/linux/arm64/karmada-search github.com/karmada-io/karmada/cmd/karmada-search
+ set +x
Building image for linux/arm64: docker.io/karmada/karmada-search:latest
+ docker build --build-arg BINARY=karmada-search --label=image.karmada.io=May_be_pruned_in_local-up-karmada.sh --tag docker.io/karmada/karmada-search:latest --file hack/../cluster/images/Dockerfile hack/../_output/bin/linux/arm64
[+] Building 1.5s (9/9) FINISHED                                                                                                                                                                                              docker:orbstack
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 835B                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/alpine:3.20.3                                                                                                                                                                         0.6s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [1/4] FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                                                                        0.4s
 => => transferring context: 97.06MB                                                                                                                                                                                                     0.4s
 => CACHED [2/4] RUN apk add --no-cache ca-certificates                                                                                                                                                                                  0.0s
 => CACHED [3/4] RUN apk add --no-cache tzdata                                                                                                                                                                                           0.0s
 => [4/4] COPY karmada-search /bin/karmada-search                                                                                                                                                                                        0.2s
 => exporting to image                                                                                                                                                                                                                   0.2s
 => => exporting layers                                                                                                                                                                                                                  0.1s
 => => writing image sha256:d928b52f44805298ac8c925229b63eb820dcfd2d37b959abdc8473a57a080b94                                                                                                                                             0.0s
 => => naming to docker.io/karmada/karmada-search:latest                                                                                                                                                                                 0.0s
+ set +x
set -e;\
	target=$(echo karmada-operator);\
	make $target GOOS=linux;\
	VERSION=latest REGISTRY=docker.io/karmada BUILD_PLATFORMS=linux/arm64 hack/docker.sh $target
BUILD_PLATFORMS=linux/arm64 hack/build.sh karmada-operator
!!! Building karmada-operator for linux/arm64:
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=arm64
+ go build -ldflags '-X github.com/karmada-io/karmada/pkg/version.gitVersion=v1.4.0-2633-gc230b1482 -X github.com/karmada-io/karmada/pkg/version.gitCommit=c230b14827d01c09db98b9531e4224d93429ee67 -X github.com/karmada-io/karmada/pkg/version.gitTreeState=clean -X github.com/karmada-io/karmada/pkg/version.buildDate=2024-10-17T02:01:21Z ' -o _output/bin/linux/arm64/karmada-operator github.com/karmada-io/karmada/operator/cmd/operator
+ set +x
Building image for linux/arm64: docker.io/karmada/karmada-operator:latest
+ docker build --build-arg BINARY=karmada-operator --label=image.karmada.io=May_be_pruned_in_local-up-karmada.sh --tag docker.io/karmada/karmada-operator:latest --file hack/../cluster/images/Dockerfile hack/../_output/bin/linux/arm64
[+] Building 1.3s (9/9) FINISHED                                                                                                                                                                                              docker:orbstack
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 835B                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/alpine:3.20.3                                                                                                                                                                         0.6s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [1/4] FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                                                                        0.3s
 => => transferring context: 64.03MB                                                                                                                                                                                                     0.3s
 => CACHED [2/4] RUN apk add --no-cache ca-certificates                                                                                                                                                                                  0.0s
 => CACHED [3/4] RUN apk add --no-cache tzdata                                                                                                                                                                                           0.0s
 => [4/4] COPY karmada-operator /bin/karmada-operator                                                                                                                                                                                    0.1s
 => exporting to image                                                                                                                                                                                                                   0.1s
 => => exporting layers                                                                                                                                                                                                                  0.1s
 => => writing image sha256:3f959a9c8718cd25861d2f33053a47f439b1e8b78c8395a78021bd46a500572f                                                                                                                                             0.0s
 => => naming to docker.io/karmada/karmada-operator:latest                                                                                                                                                                               0.0s
+ set +x
set -e;\
	target=$(echo karmada-metrics-adapter);\
	make $target GOOS=linux;\
	VERSION=latest REGISTRY=docker.io/karmada BUILD_PLATFORMS=linux/arm64 hack/docker.sh $target
BUILD_PLATFORMS=linux/arm64 hack/build.sh karmada-metrics-adapter
!!! Building karmada-metrics-adapter for linux/arm64:
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=arm64
+ go build -ldflags '-X github.com/karmada-io/karmada/pkg/version.gitVersion=v1.4.0-2633-gc230b1482 -X github.com/karmada-io/karmada/pkg/version.gitCommit=c230b14827d01c09db98b9531e4224d93429ee67 -X github.com/karmada-io/karmada/pkg/version.gitTreeState=clean -X github.com/karmada-io/karmada/pkg/version.buildDate=2024-10-17T02:01:24Z ' -o _output/bin/linux/arm64/karmada-metrics-adapter github.com/karmada-io/karmada/cmd/metrics-adapter
+ set +x
Building image for linux/arm64: docker.io/karmada/karmada-metrics-adapter:latest
+ docker build --build-arg BINARY=karmada-metrics-adapter --label=image.karmada.io=May_be_pruned_in_local-up-karmada.sh --tag docker.io/karmada/karmada-metrics-adapter:latest --file hack/../cluster/images/Dockerfile hack/../_output/bin/linux/arm64
[+] Building 1.4s (9/9) FINISHED                                                                                                                                                                                              docker:orbstack
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.1s
 => => transferring dockerfile: 835B                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/alpine:3.20.3                                                                                                                                                                         0.5s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [1/4] FROM docker.io/library/alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                                                                        0.4s
 => => transferring context: 90.13MB                                                                                                                                                                                                     0.4s
 => CACHED [2/4] RUN apk add --no-cache ca-certificates                                                                                                                                                                                  0.0s
 => CACHED [3/4] RUN apk add --no-cache tzdata                                                                                                                                                                                           0.0s
 => [4/4] COPY karmada-metrics-adapter /bin/karmada-metrics-adapter                                                                                                                                                                      0.2s
 => exporting to image                                                                                                                                                                                                                   0.2s
 => => exporting layers                                                                                                                                                                                                                  0.1s
 => => writing image sha256:bef6a989458ad7bb67251e8d8878b40268017b3556500a0e2311816fd29085f4                                                                                                                                             0.0s
 => => naming to docker.io/karmada/karmada-metrics-adapter:latest                                                                                                                                                                        0.0s
+ set +x
Deleted Images:
deleted: sha256:71052050db5cb26cd6094ca6ee12fb5f9825f1c95045087121ed187911d351bf
deleted: sha256:fa36c55655fcc777a8497466eeeee3eca947ecd870122b8b9e91137a6901f365
deleted: sha256:f6f8ffe4b653ad924c047a1133527d4dda07a162be8fba1e2fe2db5dad861096
deleted: sha256:bc35395f432f99df7418bbfa85eedb489f9d38b02b7786b04892cf843f93739d
deleted: sha256:92325e04648448c5c47da5b60346ca5a4cfa95c684cca7043352d5444efbf72c
deleted: sha256:0238b330f86fa98952cf5d04ff3f32c6e9f7dbc946c3f4fe70cc64fcbe73e8a1
deleted: sha256:c9a8f69561450fb3b91a379134aa60752ba9a5c099f0abfa329a3398b1a204ed
deleted: sha256:19b3c66bad9b54c5b456dad8eec1b4103ceecdd49014f9e433a2fbeb5563a69c
deleted: sha256:c19fefc027cd6cd0d9ef82ac270b6a740c3a25e867418d9a40653bcc240b37c1
deleted: sha256:be1e2eac6a10e4dc83bd23db80e013075b2a5fcde8234052918a971466138a2a
deleted: sha256:a33107f4670a3f040a65e5cc95554efe3c4e75bcea6c9bac3d7dad15282c04e7

Total reclaimed space: 0B
Waiting for the host clusters to be ready...
Waiting for kubeconfig file /Users/samzonglu/.kube/karmada.config and clusters karmada-host to be ready...

[ERROR] Timeout waiting for file exist

until timeout.

@samzong samzong added the kind/question Indicates an issue that is a support question. label Oct 17, 2024
@Monokaix
Copy link

I encountered the same problem but kubectl command returned ok.

@Monokaix
Copy link

I think maybe it's caused by http_proxy set.

@samzong
Copy link
Member Author

samzong commented Oct 21, 2024

I think maybe it's caused by http_proxy set.

thanks, I will try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Indicates an issue that is a support question.
Projects
None yet
Development

No branches or pull requests

2 participants