Repository navigation
|
Environmental Info: Node(s) CPU architecture, OS, and Version: Cluster Configuration: Describe the bug: Steps To Reproduce: Expected behavior: Actual behavior: ./.dapper download
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile.dapper239031112&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=k3s%3Amaster&target=&ulimits=null&version=1": dial unix /var/run/docker.sock: connect: permission denied
FATA[0000] exit status 1
make: *** [Makefile:11: download] Error 1Second try with sudo: FATA[0000] Failed to stat input path 'build/static': lstat build/static: no such file or directory
exit status 1
main.go:3: running "go": exit status 1
FATA[0376] exit status 1
make: *** [Makefile:11: generate] Error 1Additional context / logs: more logsubuntu@ubuntu:~/k3s$ mkdir -p build/data && sudo make download && sudo make generate
./.dapper download
Sending build context to Docker daemon 3.287MB
Step 1/26 : ARG GOLANG=golang:1.19.2-alpine3.16
Step 2/26 : FROM ${GOLANG}
---> f9a40cb7e8ec
Step 3/26 : ARG http_proxy=$http_proxy
---> Using cache
---> c956f5b660a4
Step 4/26 : ARG https_proxy=$https_proxy
---> Using cache
---> 423b1eb08ae1
Step 5/26 : ARG no_proxy=$no_proxy
---> Using cache
---> 9328993929ca
Step 6/26 : ENV http_proxy=$http_proxy
---> Using cache
---> 284c3418c999
Step 7/26 : ENV https_proxy=$https_proxy
---> Using cache
---> 600c178578c9
Step 8/26 : ENV no_proxy=$no_proxy
---> Using cache
---> b99feea98e89
Step 9/26 : RUN apk -U --no-cache add bash git gcc musl-dev docker vim less file curl wget ca-certificates jq linux-headers zlib-dev tar zip squashfs-tools npm coreutils python3 openssl-dev libffi-dev libseccomp libseccomp-dev libseccomp-static make libuv-static sqlite-dev sqlite-static libselinux libselinux-dev zlib-dev zlib-static zstd pigz alpine-sdk binutils-gold btrfs-progs-dev btrfs-progs-static gawk yq && if [ "$(go env GOARCH)" = "amd64" ]; then apk -U --no-cache add mingw-w64-gcc; fi
---> Using cache
---> 3cf59e15ba86
Step 10/26 : RUN if [ "$(go env GOARCH)" = "arm64" ]; then wget https://github.com/aquasecurity/trivy/releases/download/v0.25.3/trivy_0.25.3_Linux-ARM64.tar.gz && tar -zxvf trivy_0.25.3_Linux-ARM64.tar.gz && mv trivy /usr/local/bin; elif [ "$(go env GOARCH)" = "arm" ]; then wget https://github.com/aquasecurity/trivy/releases/download/v0.25.3/trivy_0.25.3_Linux-ARM.tar.gz && tar -zxvf trivy_0.25.3_Linux-ARM.tar.gz && mv trivy /usr/local/bin; elif [ "$(go env GOARCH)" = "amd64" ]; then wget https://github.com/aquasecurity/trivy/releases/download/v0.25.3/trivy_0.25.3_Linux-64bit.tar.gz && tar -zxvf trivy_0.25.3_Linux-64bit.tar.gz && mv trivy /usr/local/bin; fi
---> Using cache
---> 0062ec65c652
Step 11/26 : RUN GOPROXY=direct go install golang.org/x/tools/cmd/goimports@gopls/v0.8.2
---> Using cache
---> f036e965f84e
Step 12/26 : RUN rm -rf /go/src /go/pkg
---> Using cache
---> cd6570296d5e
Step 13/26 : RUN if [ "$(go env GOARCH)" = "amd64" ]; then curl -sL https://raw.githubusercontent.com/golangci/golangci-lint/v1.45.2/install.sh | sh -s; fi
---> Using cache
---> d42010de08cc
Step 14/26 : ARG SELINUX=true
---> Using cache
---> a9d489231dd5
Step 15/26 : ENV SELINUX $SELINUX
---> Using cache
---> dd293dcf8919
Step 16/26 : ENV DAPPER_RUN_ARGS --privileged -v k3s-cache:/go/src/github.com/k3s-io/k3s/.cache -v trivy-cache:/root/.cache/trivy
---> Using cache
---> 7d5d2fb42ad9
Step 17/26 : ENV DAPPER_ENV REPO TAG DRONE_TAG IMAGE_NAME SKIP_VALIDATE SKIP_AIRGAP GCLOUD_AUTH GITHUB_TOKEN GOLANG DEBUG
---> Using cache
---> 38fceaa74a48
Step 18/26 : ENV DAPPER_SOURCE /go/src/github.com/k3s-io/k3s/
---> Using cache
---> f927eb590fee
Step 19/26 : ENV DAPPER_OUTPUT ./bin ./dist ./build/out ./build/static ./pkg/static ./pkg/deploy
---> Using cache
---> fe696b5bcdb1
Step 20/26 : ENV DAPPER_DOCKER_SOCKET true
---> Using cache
---> 5e15ff20e9c2
Step 21/26 : ENV HOME ${DAPPER_SOURCE}
---> Using cache
---> eb3cbaff8df7
Step 22/26 : ENV CROSS true
---> Using cache
---> a17d06c37160
Step 23/26 : ENV STATIC_BUILD true
---> Using cache
---> 7dc0a12f4a81
Step 24/26 : WORKDIR ${DAPPER_SOURCE}
---> Using cache
---> bbfb8b4106c8
Step 25/26 : ENTRYPOINT ["./scripts/entry.sh"]
---> Using cache
---> 23764cfff872
Step 26/26 : CMD ["ci"]
---> Using cache
---> 2c9d4526c1de
Successfully built 2c9d4526c1de
Successfully tagged k3s:master
Sending build context to Docker daemon 3.288MB
Step 1/2 : FROM k3s:master
---> 2c9d4526c1de
Step 2/2 : COPY . /go/src/github.com/k3s-io/k3s/
---> 12ca4d0cd58a
Successfully built 12ca4d0cd58a
Successfully tagged k3s:master
Cloning into 'build/src/github.com/opencontainers/runc'...
remote: Enumerating objects: 1347, done.
remote: Counting objects: 100% (1347/1347), done.
remote: Compressing objects: 100% (1093/1093), done.
remote: Total 1347 (delta 231), reused 720 (delta 188), pack-reused 0
Receiving objects: 100% (1347/1347), 2.24 MiB | 2.14 MiB/s, done.
Resolving deltas: 100% (231/231), done.
Note: switching to '5fd4c4d144137e991c4acebb2146ab1483a97925'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Cloning into 'build/src/github.com/containerd/containerd'...
remote: Enumerating objects: 7214, done.
remote: Counting objects: 100% (7214/7214), done.
remote: Compressing objects: 100% (5179/5179), done.
remote: Total 7214 (delta 2101), reused 4402 (delta 1592), pack-reused 0
Receiving objects: 100% (7214/7214), 10.25 MiB | 2.47 MiB/s, done.
Resolving deltas: 100% (2101/2101), done.
Note: switching to 'd55db719497a2cb86cfcfc15ceb60f0df683ec6d'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Updating files: 100% (6127/6127), done.
Downloading Traefik Helm chart from https://helm.traefik.io/traefik/traefik-18.0.0.tgz
Uncompress build/static/charts/tmp.woOeh04935/traefik-18.0.000.tgz
Prepare traefik CRD
Processing CRD at build/static/charts/tmp.woOeh04935/traefik/crds/ingressroute.yaml
Found CRD with GVK traefik.containo.us/v1alpha1/IngressRoute
Processing CRD at build/static/charts/tmp.woOeh04935/traefik/crds/ingressroutetcp.yaml
Found CRD with GVK traefik.containo.us/v1alpha1/IngressRouteTCP
Processing CRD at build/static/charts/tmp.woOeh04935/traefik/crds/ingressrouteudp.yaml
Found CRD with GVK traefik.containo.us/v1alpha1/IngressRouteUDP
Processing CRD at build/static/charts/tmp.woOeh04935/traefik/crds/middlewares.yaml
Found CRD with GVK traefik.containo.us/v1alpha1/Middleware
Processing CRD at build/static/charts/tmp.woOeh04935/traefik/crds/middlewarestcp.yaml
Found CRD with GVK traefik.containo.us/v1alpha1/MiddlewareTCP
Processing CRD at build/static/charts/tmp.woOeh04935/traefik/crds/serverstransports.yaml
Found CRD with GVK traefik.containo.us/v1alpha1/ServersTransport
Processing CRD at build/static/charts/tmp.woOeh04935/traefik/crds/tlsoptions.yaml
Found CRD with GVK traefik.containo.us/v1alpha1/TLSOption
Processing CRD at build/static/charts/tmp.woOeh04935/traefik/crds/tlsstores.yaml
Found CRD with GVK traefik.containo.us/v1alpha1/TLSStore
Processing CRD at build/static/charts/tmp.woOeh04935/traefik/crds/traefikservices.yaml
Found CRD with GVK traefik.containo.us/v1alpha1/TraefikService
Templating build/static/charts/tmp.woOeh04935/traefik-crd/Chart.yaml
Templating build/static/charts/tmp.woOeh04935/traefik-crd/README.md
Templating build/static/charts/tmp.woOeh04935/traefik-crd/overlay-upstream/templates/_registry.tpl
Templating build/static/charts/tmp.woOeh04935/traefik-crd/overlay-upstream/templates/validate-install-crd.yaml
c14816fe5ef78e25c78a6c6a7542b2ec8f44273971bd54640f472bcf9dfd8bcb build/static/charts/traefik-18.0.000.tgz
File: build/static/charts/traefik-18.0.000.tgz
Size: 46798 Blocks: 96 IO Block: 4096 regular file
Device: 0,50 Inode: 1044775 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2022-11-01 15:38:20.613047543 +0000
Modify: 2022-11-01 15:38:20.581047342 +0000
Change: 2022-11-01 15:38:20.581047342 +0000
Birth: -
drwxr-xr-x 0/0 0 2021-01-01 00:00 traefik/
-rw-r--r-- 0/0 31 2021-01-01 00:00 traefik/.helmignore
-rw-r--r-- 0/0 165614 2021-01-01 00:00 traefik/Changelog.md
-rw-r--r-- 0/0 927 2021-01-01 00:00 traefik/Chart.yaml
-rw-r--r-- 0/0 3065 2021-01-01 00:00 traefik/Guidelines.md
-rw-r--r-- 0/0 11371 2021-01-01 00:00 traefik/LICENSE
-rw-r--r-- 0/0 3006 2021-01-01 00:00 traefik/README.md
drwxr-xr-x 0/0 0 2021-01-01 00:00 traefik/templates/
-rw-r--r-- 0/0 3420 2021-01-01 00:00 traefik/templates/_helpers.tpl
-rw-r--r-- 0/0 22569 2021-01-01 00:00 traefik/templates/_podtemplate.tpl
-rw-r--r-- 0/0 233 2021-01-01 00:00 traefik/templates/_registry.tpl
-rw-r--r-- 0/0 1704 2021-01-01 00:00 traefik/templates/_service.tpl
-rw-r--r-- 0/0 1621 2021-01-01 00:00 traefik/templates/daemonset.yaml
-rw-r--r-- 0/0 879 2021-01-01 00:00 traefik/templates/dashboard-hook-ingressroute.yaml
-rw-r--r-- 0/0 1505 2021-01-01 00:00 traefik/templates/deployment.yaml
-rw-r--r-- 0/0 109 2021-01-01 00:00 traefik/templates/extra-objects.yaml
-rw-r--r-- 0/0 914 2021-01-01 00:00 traefik/templates/gateway.yaml
-rw-r--r-- 0/0 218 2021-01-01 00:00 traefik/templates/gatewayclass.yaml
-rw-r--r-- 0/0 1209 2021-01-01 00:00 traefik/templates/hpa.yaml
-rw-r--r-- 0/0 834 2021-01-01 00:00 traefik/templates/ingressclass.yaml
-rw-r--r-- 0/0 701 2021-01-01 00:00 traefik/templates/poddisruptionbudget.yaml
-rw-r--r-- 0/0 967 2021-01-01 00:00 traefik/templates/prometheusrules.yaml
-rw-r--r-- 0/0 668 2021-01-01 00:00 traefik/templates/pvc.yaml
drwxr-xr-x 0/0 0 2021-01-01 00:00 traefik/templates/rbac/
-rw-r--r-- 0/0 2133 2021-01-01 00:00 traefik/templates/rbac/clusterrole.yaml
-rw-r--r-- 0/0 483 2021-01-01 00:00 traefik/templates/rbac/clusterrolebinding.yaml
-rw-r--r-- 0/0 1435 2021-01-01 00:00 traefik/templates/rbac/podsecuritypolicy.yaml
-rw-r--r-- 0/0 1312 2021-01-01 00:00 traefik/templates/rbac/role.yaml
-rw-r--r-- 0/0 478 2021-01-01 00:00 traefik/templates/rbac/rolebinding.yaml
-rw-r--r-- 0/0 320 2021-01-01 00:00 traefik/templates/rbac/serviceaccount.yaml
-rw-r--r-- 0/0 1853 2021-01-01 00:00 traefik/templates/service.yaml
-rw-r--r-- 0/0 1819 2021-01-01 00:00 traefik/templates/servicemonitor.yaml
-rw-r--r-- 0/0 255 2021-01-01 00:00 traefik/templates/tlsoption.yaml
-rw-r--r-- 0/0 252 2021-01-01 00:00 traefik/templates/tlsstore.yaml
-rw-r--r-- 0/0 1131 2021-01-01 00:00 traefik/templates/validate-install-crd.yaml
-rw-r--r-- 0/0 22048 2021-01-01 00:00 traefik/values.yaml
2f3c4ca53ba0c2669564cfb6d156bcec31a9ed6121a582edccaf8b8f26f3e1ad build/static/charts/traefik-crd-18.0.000.tgz
File: build/static/charts/traefik-crd-18.0.000.tgz
Size: 16305 Blocks: 32 IO Block: 4096 regular file
Device: 0,50 Inode: 1044791 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2022-11-01 15:38:20.689048023 +0000
Modify: 2022-11-01 15:38:20.609047518 +0000
Change: 2022-11-01 15:38:20.609047518 +0000
Birth: -
drwxr-xr-x 0/0 0 2021-01-01 00:00 traefik-crd/
-rw-r--r-- 0/0 159 2021-01-01 00:00 traefik-crd/Chart.yaml
-rw-r--r-- 0/0 140 2021-01-01 00:00 traefik-crd/README.md
drwxr-xr-x 0/0 0 2021-01-01 00:00 traefik-crd/templates/
-rw-r--r-- 0/0 14004 2021-01-01 00:00 traefik-crd/templates/ingressroute.yaml
-rw-r--r-- 0/0 10062 2021-01-01 00:00 traefik-crd/templates/ingressroutetcp.yaml
-rw-r--r-- 0/0 3975 2021-01-01 00:00 traefik-crd/templates/ingressrouteudp.yaml
-rw-r--r-- 0/0 50574 2021-01-01 00:00 traefik-crd/templates/middlewares.yaml
-rw-r--r-- 0/0 2772 2021-01-01 00:00 traefik-crd/templates/middlewarestcp.yaml
-rw-r--r-- 0/0 5535 2021-01-01 00:00 traefik-crd/templates/serverstransports.yaml
-rw-r--r-- 0/0 4953 2021-01-01 00:00 traefik-crd/templates/tlsoptions.yaml
-rw-r--r-- 0/0 4057 2021-01-01 00:00 traefik-crd/templates/tlsstores.yaml
-rw-r--r-- 0/0 20868 2021-01-01 00:00 traefik-crd/templates/traefikservices.yaml
INFO[0039] docker cp /go/src/github.com/k3s-io/k3s/bin .
mkdir /home/ubuntu/k3s/bin: permission denied
INFO[0039] docker cp /go/src/github.com/k3s-io/k3s/dist .
mkdir /home/ubuntu/k3s/dist: permission denied
INFO[0040] docker cp /go/src/github.com/k3s-io/k3s/build/out build
Error: No such container:path: k3s-qTPlrkH:/go/src/github.com/k3s-io/k3s/build/out
INFO[0040] docker cp /go/src/github.com/k3s-io/k3s/build/static build
mkdir /home/ubuntu/k3s/build/static: permission denied
INFO[0040] docker cp /go/src/github.com/k3s-io/k3s/pkg/static pkg
chmod /home/ubuntu/k3s/pkg/static: permission denied
INFO[0041] docker cp /go/src/github.com/k3s-io/k3s/pkg/deploy pkg
chmod /home/ubuntu/k3s/pkg/deploy: permission denied
./.dapper generate
Sending build context to Docker daemon 3.287MB
Step 1/26 : ARG GOLANG=golang:1.19.2-alpine3.16
Step 2/26 : FROM ${GOLANG}
---> f9a40cb7e8ec
Step 3/26 : ARG http_proxy=$http_proxy
---> Using cache
---> c956f5b660a4
Step 4/26 : ARG https_proxy=$https_proxy
---> Using cache
---> 423b1eb08ae1
Step 5/26 : ARG no_proxy=$no_proxy
---> Using cache
---> 9328993929ca
Step 6/26 : ENV http_proxy=$http_proxy
---> Using cache
---> 284c3418c999
Step 7/26 : ENV https_proxy=$https_proxy
---> Using cache
---> 600c178578c9
Step 8/26 : ENV no_proxy=$no_proxy
---> Using cache
---> b99feea98e89
Step 9/26 : RUN apk -U --no-cache add bash git gcc musl-dev docker vim less file curl wget ca-certificates jq linux-headers zlib-dev tar zip squashfs-tools npm coreutils python3 openssl-dev libffi-dev libseccomp libseccomp-dev libseccomp-static make libuv-static sqlite-dev sqlite-static libselinux libselinux-dev zlib-dev zlib-static zstd pigz alpine-sdk binutils-gold btrfs-progs-dev btrfs-progs-static gawk yq && if [ "$(go env GOARCH)" = "amd64" ]; then apk -U --no-cache add mingw-w64-gcc; fi
---> Using cache
---> 3cf59e15ba86
Step 10/26 : RUN if [ "$(go env GOARCH)" = "arm64" ]; then wget https://github.com/aquasecurity/trivy/releases/download/v0.25.3/trivy_0.25.3_Linux-ARM64.tar.gz && tar -zxvf trivy_0.25.3_Linux-ARM64.tar.gz && mv trivy /usr/local/bin; elif [ "$(go env GOARCH)" = "arm" ]; then wget https://github.com/aquasecurity/trivy/releases/download/v0.25.3/trivy_0.25.3_Linux-ARM.tar.gz && tar -zxvf trivy_0.25.3_Linux-ARM.tar.gz && mv trivy /usr/local/bin; elif [ "$(go env GOARCH)" = "amd64" ]; then wget https://github.com/aquasecurity/trivy/releases/download/v0.25.3/trivy_0.25.3_Linux-64bit.tar.gz && tar -zxvf trivy_0.25.3_Linux-64bit.tar.gz && mv trivy /usr/local/bin; fi
---> Using cache
---> 0062ec65c652
Step 11/26 : RUN GOPROXY=direct go install golang.org/x/tools/cmd/goimports@gopls/v0.8.2
---> Using cache
---> f036e965f84e
Step 12/26 : RUN rm -rf /go/src /go/pkg
---> Using cache
---> cd6570296d5e
Step 13/26 : RUN if [ "$(go env GOARCH)" = "amd64" ]; then curl -sL https://raw.githubusercontent.com/golangci/golangci-lint/v1.45.2/install.sh | sh -s; fi
---> Using cache
---> d42010de08cc
Step 14/26 : ARG SELINUX=true
---> Using cache
---> a9d489231dd5
Step 15/26 : ENV SELINUX $SELINUX
---> Using cache
---> dd293dcf8919
Step 16/26 : ENV DAPPER_RUN_ARGS --privileged -v k3s-cache:/go/src/github.com/k3s-io/k3s/.cache -v trivy-cache:/root/.cache/trivy
---> Using cache
---> 7d5d2fb42ad9
Step 17/26 : ENV DAPPER_ENV REPO TAG DRONE_TAG IMAGE_NAME SKIP_VALIDATE SKIP_AIRGAP GCLOUD_AUTH GITHUB_TOKEN GOLANG DEBUG
---> Using cache
---> 38fceaa74a48
Step 18/26 : ENV DAPPER_SOURCE /go/src/github.com/k3s-io/k3s/
---> Using cache
---> f927eb590fee
Step 19/26 : ENV DAPPER_OUTPUT ./bin ./dist ./build/out ./build/static ./pkg/static ./pkg/deploy
---> Using cache
---> fe696b5bcdb1
Step 20/26 : ENV DAPPER_DOCKER_SOCKET true
---> Using cache
---> 5e15ff20e9c2
Step 21/26 : ENV HOME ${DAPPER_SOURCE}
---> Using cache
---> eb3cbaff8df7
Step 22/26 : ENV CROSS true
---> Using cache
---> a17d06c37160
Step 23/26 : ENV STATIC_BUILD true
---> Using cache
---> 7dc0a12f4a81
Step 24/26 : WORKDIR ${DAPPER_SOURCE}
---> Using cache
---> bbfb8b4106c8
Step 25/26 : ENTRYPOINT ["./scripts/entry.sh"]
---> Using cache
---> 23764cfff872
Step 26/26 : CMD ["ci"]
---> Using cache
---> 2c9d4526c1de
Successfully built 2c9d4526c1de
Successfully tagged k3s:master
Sending build context to Docker daemon 3.288MB
Step 1/2 : FROM k3s:master
---> 2c9d4526c1de
Step 2/2 : COPY . /go/src/github.com/k3s-io/k3s/
---> 60ede409f517
Successfully built 60ede409f517
Successfully tagged k3s:master
Running: go generate
go: downloading github.com/sirupsen/logrus v1.9.0
go: downloading github.com/urfave/cli v1.22.9
go: downloading github.com/erikdubbelboer/gspt v0.0.0-20190125194910-e68493906b83
go: downloading github.com/rancher/wrangler v1.0.1-0.20220901190859-45a179631861
go: downloading github.com/otiai10/copy v1.7.0
go: downloading github.com/k3s-io/containerd v1.5.13-k3s2
go: downloading github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
go: downloading github.com/natefinch/lumberjack v2.0.0+incompatible
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/rootless-containers/rootlesskit v1.0.1
go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158
go: downloading github.com/k3s-io/cri-tools v1.25.0-k3s1
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading k8s.io/utils v0.0.0-20221011040102-427025108f67
go: downloading github.com/go-sql-driver/mysql v1.6.0
go: downloading github.com/lib/pq v1.10.2
go: downloading github.com/mattn/go-sqlite3 v1.14.15
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/apimachinery v1.25.3-k3s1
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/component-base v1.25.3-k3s1
go: downloading github.com/k3s-io/kubernetes v1.25.3-k3s1
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.2
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/api v1.25.3-k3s1
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/client-go v1.25.3-k3s1
go: downloading github.com/k3s-io/kine v0.9.6
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/apiserver v1.25.3-k3s1
go: downloading github.com/rancher/dynamiclistener v0.3.5
go: downloading github.com/gorilla/mux v1.8.0
go: downloading github.com/k3s-io/helm-controller v0.13.0
go: downloading github.com/moby/sys/mountinfo v0.6.1
go: downloading github.com/docker/docker v20.10.12+incompatible
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/opencontainers/go-digest v1.0.0
go: downloading github.com/urfave/cli/v2 v2.11.2
go: downloading go.opentelemetry.io/otel/trace v0.20.0
go: downloading go.opentelemetry.io/otel v0.20.0
go: downloading golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/cri-api v1.25.3-k3s1
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/kubectl v1.25.3-k3s1
go: downloading sigs.k8s.io/yaml v1.3.0
go: downloading golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd
go: downloading github.com/google/uuid v1.3.0
go: downloading github.com/minio/minio-go/v7 v7.0.33
go: downloading github.com/robfig/cron/v3 v3.0.1
go: downloading github.com/k3s-io/etcd/api/v3 v3.5.3-k3s1
go: downloading github.com/k3s-io/etcd/client/pkg/v3 v3.5.3-k3s1
go: downloading github.com/k3s-io/etcd/client/v3 v3.5.3-k3s1
go: downloading github.com/k3s-io/etcd/etcdutl/v3 v3.5.3-k3s1
go: downloading go.uber.org/zap v1.19.0
go: downloading golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
go: downloading inet.af/tcpproxy v0.0.0-20200125044825-b6bb9b5b8252
go: downloading github.com/opencontainers/runc v1.1.4
go: downloading github.com/k3s-io/klog/v2 v2.60.1-k3s1
go: downloading github.com/k3s-io/klog v1.0.0-k3s2
go: downloading github.com/spf13/cobra v1.4.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/component-helpers v1.25.3-k3s1
go: downloading github.com/russross/blackfriday/v2 v2.1.0
go: downloading github.com/russross/blackfriday v1.5.2
go: downloading github.com/opencontainers/selinux v1.10.1
go: downloading github.com/rancher/wharfie v0.5.1
go: downloading google.golang.org/grpc v1.40.0
go: downloading github.com/k3s-io/cri-dockerd v0.2.4-0.20220826195316-d6cb76f15a6a
go: downloading github.com/flannel-io/flannel v0.19.2
go: downloading github.com/k3s-io/kube-router v1.5.2-0.20221026101626-e01045262706
go: downloading github.com/coreos/go-iptables v0.6.0
go: downloading github.com/google/cadvisor v0.44.1
go: downloading github.com/gorilla/websocket v1.4.2
go: downloading github.com/rancher/remotedialer v0.2.6-0.20220624190122-ea57207bf2b8
go: downloading github.com/yl2chen/cidranger v1.0.2
go: downloading github.com/containerd/cgroups v1.0.1
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/cloud-provider v1.25.3-k3s1
go: downloading github.com/k3s-io/etcd/server/v3 v3.5.3-k3s1
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/google/gofuzz v1.2.0
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.2.3
go: downloading github.com/imdario/mergo v0.3.12
go: downloading golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-proxy v1.25.3-k3s1
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/mount-utils v1.25.3-k3s1
go: downloading github.com/prometheus/client_golang v1.12.2
go: downloading github.com/soheilhy/cmux v0.1.5
go: downloading github.com/rancher/lasso v0.0.0-20210616224652-fc3ebd901c08
go: downloading github.com/evanphx/json-patch v4.12.0+incompatible
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/apiextensions-apiserver v1.25.3-k3s1
go: downloading sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2
go: downloading github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6
go: downloading google.golang.org/protobuf v1.28.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673
go: downloading github.com/mitchellh/go-wordwrap v1.0.1
go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0
go: downloading go.opentelemetry.io/contrib v0.20.0
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/klauspost/compress v1.15.9
go: downloading github.com/minio/md5-simd v1.1.2
go: downloading github.com/minio/sha256-simd v1.0.0
go: downloading gopkg.in/ini.v1 v1.66.6
go: downloading google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368
go: downloading github.com/coreos/go-systemd/v22 v22.3.2
go: downloading go.etcd.io/bbolt v1.3.6
go: downloading go.etcd.io/etcd/raft/v3 v3.5.4
go: downloading go.uber.org/atomic v1.7.0
go: downloading go.uber.org/multierr v1.6.0
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/cli-runtime v1.25.3-k3s1
go: downloading github.com/cyphar/filepath-securejoin v0.2.3
go: downloading github.com/gofrs/flock v0.8.1
go: downloading github.com/go-logr/logr v1.2.3
go: downloading github.com/emicklei/go-restful/v3 v3.8.0
go: downloading github.com/emicklei/go-restful v2.9.5+incompatible
go: downloading k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1
go: downloading gopkg.in/square/go-jose.v2 v2.2.2
go: downloading github.com/containerd/fuse-overlayfs-snapshotter v1.0.4
go: downloading github.com/containerd/stargz-snapshotter v0.11.4
go: downloading github.com/containerd/fifo v1.0.0
go: downloading github.com/containerd/typeurl v1.0.2
go: downloading github.com/opencontainers/image-spec v1.0.2
go: downloading github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417
go: downloading github.com/containerd/ttrpc v1.1.0
go: downloading github.com/google/go-containerregistry v0.6.1-0.20211111182346-7a6ee45528a9
go: downloading github.com/pierrec/lz4 v2.6.0+incompatible
go: downloading github.com/docker/distribution v2.8.1+incompatible
go: downloading github.com/docker/go-connections v0.4.0
go: downloading github.com/vishvananda/netlink v1.2.1-beta.2
go: downloading github.com/bronze1man/goStrongswanVici v0.0.0-20201105010758-936f38b697fd
go: downloading github.com/containernetworking/plugins v1.1.1
go: downloading golang.zx2c4.com/wireguard/wgctrl v0.0.0-20211230205640-daad0b7ba671
go: downloading golang.zx2c4.com/wireguard v0.0.0-20220117163742-e0b8f11489c5
go: downloading github.com/containernetworking/cni v1.1.0
go: downloading github.com/godbus/dbus/v5 v5.0.6
go: downloading github.com/cilium/ebpf v0.7.0
go: downloading golang.org/x/time v0.0.0-20220210224613-90d013bbcef8
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/controller-manager v1.25.3-k3s1
go: downloading github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.16.0
go: downloading github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802
go: downloading go.etcd.io/etcd/pkg/v3 v3.5.4
go: downloading go.opentelemetry.io/otel/exporters/otlp v0.20.0
go: downloading go.opentelemetry.io/otel/sdk v0.20.0
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0
go: downloading github.com/coreos/go-semver v0.3.0
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-aggregator v1.25.3-k3s1
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/csi-translation-lib v1.25.3-k3s1
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/metrics v1.25.3-k3s1
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/kubelet v1.25.3-k3s1
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/google/gnostic v0.5.7-v3refs
go: downloading github.com/google/go-cmp v0.5.8
go: downloading github.com/blang/semver/v4 v4.0.0
go: downloading github.com/blang/semver v3.5.1+incompatible
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/prometheus/procfs v0.7.3
go: downloading github.com/lithammer/dedent v1.1.0
go: downloading github.com/moby/ipvs v1.0.1
go: downloading github.com/Rican7/retry v0.1.0
go: downloading github.com/nats-io/jsm.go v0.0.31-0.20220317133147-fe318f464eee
go: downloading github.com/nats-io/nats.go v1.17.1-0.20220923204156-36d2b654c70f
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.1.2
go: downloading github.com/prometheus/common v0.32.1
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
go: downloading github.com/moby/spdystream v0.2.0
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/klauspost/cpuid/v2 v2.1.0
go: downloading github.com/rs/xid v1.4.0
go: downloading github.com/jonboulle/clockwork v0.2.2
go: downloading github.com/daviddengcn/go-colortext v1.0.0
go: downloading github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de
go: downloading github.com/fvbommel/sortorder v1.0.1
go: downloading sigs.k8s.io/kustomize/kustomize/v4 v4.5.7
go: downloading sigs.k8s.io/kustomize/kyaml v0.13.9
go: downloading github.com/chai2010/gettext-go v1.0.2
go: downloading github.com/MakeNowJust/heredoc v1.0.0
go: downloading golang.org/x/text v0.3.8
go: downloading sigs.k8s.io/kustomize/api v0.12.1
go: downloading github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d
go: downloading sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.33
go: downloading github.com/NYTimes/gziphandler v1.1.1
go: downloading github.com/go-openapi/jsonreference v0.19.5
go: downloading github.com/go-openapi/swag v0.19.14
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/pod-security-admission v1.25.3-k3s1
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/cluster-bootstrap v1.25.3-k3s1
go: downloading github.com/containerd/continuity v0.3.0
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/gogo/googleapis v1.4.0
go: downloading github.com/moby/locker v1.0.1
go: downloading github.com/docker/cli v20.10.14+incompatible
go: downloading github.com/containerd/stargz-snapshotter/estargz v0.11.4
go: downloading github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e
go: downloading github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74
go: downloading github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible
go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
go: downloading go.opentelemetry.io/otel/metric v0.20.0
go: downloading go.opentelemetry.io/otel/sdk/export/metric v0.20.0
go: downloading go.opentelemetry.io/otel/sdk/metric v0.20.0
go: downloading go.opentelemetry.io/proto/otlp v0.7.0
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-controller-manager v1.25.3-k3s1
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/legacy-cloud-providers v1.25.3-k3s1
go: downloading gonum.org/v1/gonum v0.6.2
go: downloading github.com/Azure/azure-sdk-for-go v55.0.0+incompatible
go: downloading github.com/container-storage-interface/spec v1.6.0
go: downloading github.com/libopenstorage/openstorage v1.0.0
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-scheduler v1.25.3-k3s1
go: downloading github.com/aws/aws-sdk-go v1.44.24
go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.20
go: downloading github.com/Azure/go-autorest/autorest v0.11.27
go: downloading github.com/Azure/go-autorest v14.2.0+incompatible
go: downloading go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful v0.20.0
go: downloading github.com/shengdoushi/base58 v1.0.0
go: downloading github.com/nats-io/nkeys v0.3.0
go: downloading github.com/nats-io/nuid v1.0.1
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369
go: downloading github.com/felixge/httpsnoop v1.0.1
go: downloading github.com/form3tech-oss/jwt-go v3.2.3+incompatible
go: downloading go.etcd.io/etcd/client/v2 v2.305.4
go: downloading github.com/google/btree v1.0.1
go: downloading github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7
go: downloading github.com/peterbourgon/diskv v2.0.1+incompatible
go: downloading github.com/fatih/camelcase v1.0.0
go: downloading github.com/PuerkitoBio/purell v1.1.1
go: downloading github.com/go-openapi/jsonpointer v0.19.5
go: downloading github.com/mailru/easyjson v0.7.6
go: downloading github.com/coreos/go-oidc v2.1.0+incompatible
go: downloading github.com/docker/go-metrics v0.0.1
go: downloading github.com/hanwen/go-fuse/v2 v2.1.1-0.20220112183258-f57e95bda82d
go: downloading github.com/hashicorp/go-retryablehttp v0.7.0
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c
go: downloading github.com/vbatts/tar-split v0.11.2
go: downloading github.com/morikuni/aec v1.0.0
go: downloading github.com/mdlayher/genetlink v1.1.0
go: downloading github.com/mdlayher/netlink v1.4.2
go: downloading github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1
go: downloading github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
go: downloading github.com/mitchellh/mapstructure v1.4.1
go: downloading github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
go: downloading github.com/stretchr/testify v1.8.0
go: downloading gopkg.in/gcfg.v1 v1.2.0
go: downloading github.com/Azure/go-autorest/autorest/to v0.4.0
go: downloading github.com/golang/mock v1.6.0
go: downloading github.com/rubiojr/go-vhd v0.0.0-20200706105327-02e210299021
go: downloading cloud.google.com/go v0.97.0
go: downloading github.com/GoogleCloudPlatform/k8s-cloud-provider v1.18.1-0.20220218231025-f11817397a1b
go: downloading google.golang.org/api v0.60.0
go: downloading github.com/gophercloud/gophercloud v0.1.0
go: downloading github.com/vmware/govmomi v0.20.3
go: downloading github.com/Azure/go-autorest/autorest/date v0.3.0
go: downloading github.com/Azure/go-autorest/autorest/validation v0.3.1
go: downloading github.com/Azure/go-autorest/tracing v0.6.0
go: downloading github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
go: downloading github.com/karrick/godirwalk v1.16.1
go: downloading github.com/Azure/go-autorest/logger v0.2.1
go: downloading github.com/golang-jwt/jwt/v4 v4.2.0
go: downloading github.com/go-errors/errors v1.0.2-0.20180813162953-d98b870cc4e0
go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/pquerna/cachecontrol v0.1.0
go: downloading golang.org/x/tools v0.1.12
go: downloading github.com/pelletier/go-toml v1.9.4
go: downloading github.com/hashicorp/go-cleanhttp v0.5.2
go: downloading github.com/docker/docker-credential-helpers v0.6.4
go: downloading github.com/josharian/native v0.0.0-20200817173448-b6b71def0850
go: downloading github.com/mdlayher/socket v0.0.0-20211102153432-57e3fa563ecb
go: downloading github.com/google/cel-go v0.12.5
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/stretchr/objx v0.4.0
go: downloading gopkg.in/warnings.v0 v0.1.1
go: downloading github.com/gofrs/uuid v4.0.0+incompatible
go: downloading github.com/Azure/go-autorest/autorest/mocks v0.4.2
go: downloading github.com/mindprince/gonvml v0.0.0-20190828220739-9ebdce4bb989
go: downloading github.com/euank/go-kmsg-parser v2.0.0+incompatible
go: downloading github.com/jmespath/go-jmespath v0.4.0
go: downloading github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00
go: downloading github.com/xlab/treeprint v1.1.0
go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
go: downloading github.com/stoewer/go-strcase v1.2.0
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading go.opencensus.io v0.23.0
go: downloading github.com/checkpoint-restore/go-criu/v5 v5.3.0
go: downloading github.com/containerd/console v1.0.3
go: downloading github.com/mrunalp/fileutils v0.5.0
go: downloading github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20220418222510-f25a4f6275ed
go: downloading github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635
go: downloading go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5
./pkg/apis
pkg/apis/k3s.cattle.io
pkg/apis/k3s.cattle.io/v1
pkg/apis/k3s.cattle.io/v1/doc.go
pkg/apis/k3s.cattle.io/v1/types.go
pkg/apis/k3s.cattle.io/v1/zz_generated_deepcopy.go
Removing pkg/apis/k3s.cattle.io/v1/zz_generated_deepcopy.go
pkg/apis/k3s.cattle.io/v1/zz_generated_list_types.go
Removing pkg/apis/k3s.cattle.io/v1/zz_generated_list_types.go
pkg/apis/k3s.cattle.io/v1/zz_generated_register.go
Removing pkg/apis/k3s.cattle.io/v1/zz_generated_register.go
pkg/apis/k3s.cattle.io/zz_generated_register.go
Removing pkg/apis/k3s.cattle.io/zz_generated_register.go
go: downloading github.com/go-bindata/go-bindata v3.1.2+incompatible
go: downloading github.com/k3s-io/kubernetes/staging/src/k8s.io/code-generator v1.25.3-k3s1
go: downloading k8s.io/gengo v0.0.0-20211129171323-c02415ce4185
go: downloading golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4
FATA[0000] Failed to stat input path 'build/static': lstat build/static: no such file or directory
exit status 1
main.go:3: running "go": exit status 1
FATA[0376] exit status 1
make: *** [Makefile:11: generate] Error 1 |
Replies: 1 comment 1 reply
Have you ever used Docker on this host? Your user doesn't have permission to access the Docker socket. If you're not able to identify and resolve basic filesystem permissions problems, building K3s might be jumping in at the deep end. I would recommend that you:
|
Have you ever used Docker on this host? Your user doesn't have permission to access the Docker socket. If you're not able to identify and resolve basic filesystem permissions problems, building K3s might be jumping in at the deep end.
I would recommend that you: