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

Action docker/setup-buildx-action stucks at Booting builder step #68

Open
aweris opened this issue Jun 22, 2023 · 1 comment
Open

Action docker/setup-buildx-action stucks at Booting builder step #68

aweris opened this issue Jun 22, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@aweris
Copy link
Owner

aweris commented Jun 22, 2023

The action is stuck at the Booting builder step.

Probably some docker config or socket etc is missing in the dagger container.

Related call: https://github.com/docker/setup-buildx-action/blob/ecf95283f03858871ff00b787d79c419715afc34/src/main.ts#L104C1-L107

Logs:

│ ┃ Run docker/setup-buildx-action@4b4e9c3e2d4531116a6f8ba8e71fc6e2cb6e6c8c
│ ┃ ┏
│ ┃ ┃ Docker info
│ ┃ ┃ ┏
│ ┃ ┃ ┃ [command]/usr/bin/docker version
│ ┃ ┃ ┃ Client:
│ ┃ ┃ ┃  Version:           20.10.25+azure-1
│ ┃ ┃ ┃  API version:       1.41
│ ┃ ┃ ┃  Go version:        go1.19.9
│ ┃ ┃ ┃  Git commit:        b82b9f3a0e763304a250531cb9350aa6d93723c9
│ ┃ ┃ ┃  Built:             Thu Apr  6 10:55:17 UTC 2023
│ ┃ ┃ ┃  OS/Arch:           linux/arm64
│ ┃ ┃ ┃  Context:           default
│ ┃ ┃ ┃  Experimental:      true
│ ┃ ┃ ┃
│ ┃ ┃ ┃ Server: Docker Desktop 4.20.1 (110738)
│ ┃ ┃ ┃  Engine:
│ ┃ ┃ ┃   Version:          24.0.2
│ ┃ ┃ ┃   API version:      1.43 (minimum version 1.12)
│ ┃ ┃ ┃   Go version:       go1.20.4
│ ┃ ┃ ┃   Git commit:       659604f
│ ┃ ┃ ┃   Built:            Thu May 25 21:50:59 2023
│ ┃ ┃ ┃   OS/Arch:          linux/arm64
│ ┃ ┃ ┃   Experimental:     false
│ ┃ ┃ ┃  containerd:
│ ┃ ┃ ┃   Version:          1.6.21
│ ┃ ┃ ┃   GitCommit:        3dce8eb055cbb6872793272b4f20ed16117344f8
│ ┃ ┃ ┃  runc:
│ ┃ ┃ ┃   Version:          1.1.7
│ ┃ ┃ ┃   GitCommit:        v1.1.7-0-g860f061
│ ┃ ┃ ┃  docker-init:
│ ┃ ┃ ┃   Version:          0.19.0
│ ┃ ┃ ┃   GitCommit:        de40ad0
│ ┃ ┃ ┃ [command]/usr/bin/docker info
│ ┃ ┃ ┃ Client:
│ ┃ ┃ ┃  Context:    default
│ ┃ ┃ ┃  Debug Mode: false
│ ┃ ┃ ┃  Plugins:
│ ┃ ┃ ┃   buildx: Docker Buildx (Docker Inc., 0.10.4+azure-1)
│ ┃ ┃ ┃   compose: Docker Compose (Docker Inc., 2.18.0+azure-1)
│ ┃ ┃ ┃
│ ┃ ┃ ┃ Server:
│ ┃ ┃ ┃  Containers: 37
│ ┃ ┃ ┃   Running: 37
│ ┃ ┃ ┃   Paused: 0
│ ┃ ┃ ┃   Stopped: 0
│ ┃ ┃ ┃  Images: 16
│ ┃ ┃ ┃  Server Version: 24.0.2
│ ┃ ┃ ┃  Storage Driver: overlay2
│ ┃ ┃ ┃   Backing Filesystem: extfs
│ ┃ ┃ ┃   Supports d_type: true
│ ┃ ┃ ┃   Using metacopy: false
│ ┃ ┃ ┃   Native Overlay Diff: true
│ ┃ ┃ ┃   userxattr: false
│ ┃ ┃ ┃  Logging Driver: json-file
│ ┃ ┃ ┃  Cgroup Driver: cgroupfs
│ ┃ ┃ ┃  Cgroup Version: 2
│ ┃ ┃ ┃  Plugins:
│ ┃ ┃ ┃   Volume: local
│ ┃ ┃ ┃   Network: bridge host ipvlan macvlan null overlay
│ ┃ ┃ ┃   Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
│ ┃ ┃ ┃  Swarm: inactive
│ ┃ ┃ ┃  Runtimes: io.containerd.runc.v2 runc
│ ┃ ┃ ┃  Default Runtime: runc
│ ┃ ┃ ┃  Init Binary: docker-init
│ ┃ ┃ ┃  containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
│ ┃ ┃ ┃  runc version: v1.1.7-0-g860f061
│ ┃ ┃ ┃  init version: de40ad0
│ ┃ ┃ ┃  Security Options:
│ ┃ ┃ ┃   seccomp
│ ┃ ┃ ┃    Profile: builtin
│ ┃ ┃ ┃   cgroupns
│ ┃ ┃ ┃  Kernel Version: 5.15.49-linuxkit-pr
│ ┃ ┃ ┃  Operating System: Docker Desktop
│ ┃ ┃ ┃  OSType: linux
│ ┃ ┃ ┃  Architecture: aarch64
│ ┃ ┃ ┃  CPUs: 8
│ ┃ ┃ ┃  Total Memory: 31.31GiB
│ ┃ ┃ ┃  Name: docker-desktop
│ ┃ ┃ ┃  ID: 9ed3f7ec-31c8-425d-9048-71adad2c1592
│ ┃ ┃ ┃  Docker Root Dir: /var/lib/docker
│ ┃ ┃ ┃  Debug Mode: false
│ ┃ ┃ ┃  HTTP Proxy: http.docker.internal:3128
│ ┃ ┃ ┃  HTTPS Proxy: http.docker.internal:3128
│ ┃ ┃ ┃  No Proxy: hubproxy.docker.internal
│ ┃ ┃ ┃  Registry: https://index.docker.io/v1/
│ ┃ ┃ ┃  Labels:
│ ┃ ┃ ┃  Experimental: false
│ ┃ ┃ ┃  Insecure Registries:
│ ┃ ┃ ┃   hubproxy.docker.internal:5555
│ ┃ ┃ ┃   127.0.0.0/8
│ ┃ ┃ ┃  Live Restore Enabled: false
│ ┃ ┃ ┃
│ ┃ ┃ ┗
│ ┃ ┃ Buildx version
│ ┃ ┃ ┏
│ ┃ ┃ ┃ [command]/usr/bin/docker buildx version
│ ┃ ┃ ┃ github.com/docker/buildx 0.10.4+azure-1 c513d34049e499c53468deac6c4267ee72948f02
│ ┃ ┃ ┗
│ ┃ ┃
│ ┃ ┃ Creating a new builder instance
│ ┃ ┃ ┏
│ ┃ ┃ ┃ [command]/usr/bin/docker buildx create --name builder-a2fbf9e8-eee7-4386-81e1-0801660d85f1 --driver docker-container --buildkitd-flags --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host --use
│ ┃ ┃ ┃ builder-a2fbf9e8-eee7-4386-81e1-0801660d85f1
│ ┃ ┃ ┗
│ ┃ ┃ Booting builder
│ ┃ ┃ ┏
│ ┃ ┃ ┃ [command]/usr/bin/docker buildx inspect --bootstrap --builder builder-a2fbf9e8-eee7-4386-81e1-0801660d85f1
│ ┃ ┃ ┃ aweris/ghx#1 [internal] booting buildkit
│ ┃ ┃ ┃ aweris/ghx#1 pulling image moby/buildkit:buildx-stable-1
│ ┃ ┃ ┃ aweris/ghx#1 pulling image moby/buildkit:buildx-stable-1 3.7s done
│ ┃ ┃ ┃ aweris/ghx#1 creating container buildx_buildkit_builder-a2fbf9e8-eee7-4386-81e1-0801660d85f10
│ ┻
@aweris aweris added the bug Something isn't working label Jun 22, 2023
@aweris
Copy link
Owner Author

aweris commented Jun 22, 2023

logs for container:

> docker logs buildx_buildkit_builder-a2fbf9e8-eee7-4386-81e1-0801660d85f10

time="2023-06-22T09:40:56Z" level=info msg="auto snapshotter: using overlayfs"
time="2023-06-22T09:40:56Z" level=warning msg="using host network as the default"
time="2023-06-22T09:40:56Z" level=info msg="found worker \"zjyp0lu9ez9xgfsoxvuu0b9by\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:98f80909b8e3 org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:overlayfs], platforms=[linux/arm64 linux/amd64 linux/amd64/v2 linux/riscv64 linux/ppc64le linux/s390x linux/386 linux/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
time="2023-06-22T09:40:56Z" level=warning msg="skipping containerd worker, as \"/run/containerd/containerd.sock\" does not exist"
time="2023-06-22T09:40:56Z" level=info msg="found 1 workers, default=\"zjyp0lu9ez9xgfsoxvuu0b9by\""
time="2023-06-22T09:40:56Z" level=warning msg="currently, only the default worker can be used."
time="2023-06-22T09:40:56Z" level=info msg="running server on /run/buildkit/buildkitd.sock"

@aweris aweris transferred this issue from aweris/ghx Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant