Skip to content

Instantly share code, notes, and snippets.

@RobertKielty
Created July 14, 2020 16:18
Show Gist options
  • Save RobertKielty/6454d6c611f97553b4d43acad22db875 to your computer and use it in GitHub Desktop.
Save RobertKielty/6454d6c611f97553b4d43acad22db875 to your computer and use it in GitHub Desktop.
sudo kind -v10 build node-image
Starting to build Kubernetes
+++ [0714 17:13:20] Verifying Prerequisites....
+++ [0714 17:13:21] Building Docker image kube-build:build-1f03c03652-5-v1.14.4-2
^[+++ [0714 17:13:48] Syncing sources to container
+++ [0714 17:13:50] Output from this container will be rsynced out upon completion. Set KUBE_RUN_COPY_OUTPUT=n to disable.
+++ [0714 17:13:50] Running build command...
stat /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/bazel-bin: no such file or directory
+++ [0714 17:14:24] Building go targets for linux/amd64:
cmd/kubeadm
cmd/kubectl
cmd/kubelet
+++ [0714 17:14:38] Syncing out of container
+++ [0714 17:14:41] Verifying Prerequisites....
+++ [0714 17:14:41] Building Docker image kube-build:build-1f03c03652-5-v1.14.4-2
+++ [0714 17:15:09] Syncing sources to container
+++ [0714 17:15:11] Running build command...
stat /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/bazel-bin: no such file or directory
+++ [0714 17:15:44] Building go targets for linux/amd64:
cmd/kube-apiserver
cmd/kube-controller-manager
cmd/kube-scheduler
cmd/kube-proxy
+++ [0714 17:15:53] Syncing out of container
+++ [0714 17:15:56] Building images: linux-amd64
+++ [0714 17:15:57] Starting docker build for image: kube-apiserver-amd64
+++ [0714 17:15:57] Starting docker build for image: kube-controller-manager-amd64
+++ [0714 17:15:57] Starting docker build for image: kube-scheduler-amd64
+++ [0714 17:15:57] Starting docker build for image: kube-proxy-amd64
double free or corruption (out)
SIGABRT: abort
PC=0x7efe470d8f47 m=0 sigcode=18446744073709551610
signal arrived during cgo execution
goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4afd50, 0xc420077cc0, 0xc420077ce8)
/usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc420077c90 sp=0xc420077c50
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0x2483920)
github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc420077cc0 sp=0xc420077c90
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0x2483920)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x60 fp=0xc420077cf8 sp=0xc420077cc0
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc42009c2c0)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x217 fp=0xc420077da0 sp=0xc420077cf8
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0xc420077e88, 0x410022, 0xc42009c220)
<autogenerated>:4 +0x46 fp=0xc420077de0 sp=0xc420077da0
github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc4200c0008, 0x0, 0x10)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:145 +0x3e fp=0xc420077e68 sp=0xc420077de0
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7fffae91815f, 0x4, 0x7560a0, 0xc4200c0000, 0x7560e0, 0xc4200c0008, 0x40e398, 0x4d35c0)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:60 +0x16d fp=0xc420077ed8 sp=0xc420077e68
github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:41 +0x1cb fp=0xc420077f58 sp=0xc420077ed8
main.main()
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc420077f88 sp=0xc420077f58
runtime.main()
/usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc420077fe0 sp=0xc420077f88
runtime.goexit()
/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420077fe8 sp=0xc420077fe0
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1
rax 0x0
rbx 0x7fffae915e70
rcx 0x7efe470d8f47
rdx 0x0
rdi 0x2
rsi 0x7fffae915c00
rbp 0x7fffae915f70
rsp 0x7fffae915c00
r8 0x0
r9 0x7fffae915c00
r10 0x8
r11 0x246
r12 0x7fffae915e70
r13 0x1000
r14 0x0
r15 0x30
rip 0x7efe470d8f47
rflags 0x246
cs 0x33
fs 0x0
gs 0x0
double free or corruption (out)
SIGABRT: abort
PC=0x7fe09953ff47 m=0 sigcode=18446744073709551610
signal arrived during cgo execution
goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4afd50, 0xc420077cc0, 0xc420077ce8)
/usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc420077c90 sp=0xc420077c50
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0x1ba8920)
github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc420077cc0 sp=0xc420077c90
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0x1ba8920)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x60 fp=0xc420077cf8 sp=0xc420077cc0
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc420018420)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x217 fp=0xc420077da0 sp=0xc420077cf8
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0x3f, 0xc420077e48, 0x40fa92)
<autogenerated>:4 +0x46 fp=0xc420077de0 sp=0xc420077da0
github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc42000e018, 0x0, 0x10)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:145 +0x3e fp=0xc420077e68 sp=0xc420077de0
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7ffffa01815f, 0x4, 0x7560a0, 0xc42000e010, 0x7560e0, 0xc42000e018, 0x40e398, 0x4d35c0)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:60 +0x16d fp=0xc420077ed8 sp=0xc420077e68
github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:41 +0x1cb fp=0xc420077f58 sp=0xc420077ed8
main.main()
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc420077f88 sp=0xc420077f58
runtime.main()
/usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc420077fe0 sp=0xc420077f88
runtime.goexit()
/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420077fe8 sp=0xc420077fe0
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1
rax 0x0
rbx 0x7ffffa016f00
rcx 0x7fe09953ff47
rdx 0x0
rdi 0x2
rsi 0x7ffffa016c90
rbp 0x7ffffa017000
rsp 0x7ffffa016c90
r8 0x0
r9 0x7ffffa016c90
r10 0x8
r11 0x246
r12 0x7ffffa016f00
r13 0x1000
r14 0x0
r15 0x30
rip 0x7fe09953ff47
rflags 0x246
cs 0x33
fs 0x0
gs 0x0
double free or corruption (out)
double free or corruption (out)
SIGABRT: abort
PC=0x7fe827413f47 m=0 sigcode=18446744073709551610
signal arrived during cgo execution
goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4afd50, 0xc420077cc0, 0xc420077ce8)
/usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc420077c90 sp=0xc420077c50
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0x1670920)
github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc420077cc0 sp=0xc420077c90
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0x1670920)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x60 fp=0xc420077cf8 sp=0xc420077cc0
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc420018420)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x217 fp=0xc420077da0 sp=0xc420077cf8
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0x3f, 0xc420077e48, 0x40fa92)
<autogenerated>:4 +0x46 fp=0xc420077de0 sp=0xc420077da0
github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc42000e018, 0x0, 0x10)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:145 +0x3e fp=0xc420077e68 sp=0xc420077de0
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7ffd9a63115f, 0x4, 0x7560a0, 0xc42000e010, 0x7560e0, 0xc42000e018, 0x40e398, 0x4d35c0)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:60 +0x16d fp=0xc420077ed8 sp=0xc420077e68
github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:41 +0x1cb fp=0xc420077f58 sp=0xc420077ed8
main.main()
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc420077f88 sp=0xc420077f58
runtime.main()
/usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc420077fe0 sp=0xc420077f88
runtime.goexit()
/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420077fe8 sp=0xc420077fe0
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1
rax 0x0
rbx 0x7ffd9a62f240
rcx 0x7fe827413f47
rdx 0x0
rdi 0x2
rsi 0x7ffd9a62efd0
rbp 0x7ffd9a62f340
rsp 0x7ffd9a62efd0
r8 0x0
r9 0x7ffd9a62efd0
r10 0x8
r11 0x246
r12 0x7ffd9a62f240
r13 0x1000
r14 0x0
r15 0x30
rip 0x7fe827413f47
rflags 0x246
cs 0x33
fs 0x0
gs 0x0
SIGABRT: abort
PC=0x7f07fc37af47 m=0 sigcode=18446744073709551610
signal arrived during cgo execution
goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4afd50, 0xc420077cc0, 0xc420077ce8)
/usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc420077c90 sp=0xc420077c50
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0x18af920)
github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc420077cc0 sp=0xc420077c90
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0x18af920)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x60 fp=0xc420077cf8 sp=0xc420077cc0
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc4200b0000)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x217 fp=0xc420077da0 sp=0xc420077cf8
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0x3f, 0xc420077e48, 0x40fa92)
<autogenerated>:4 +0x46 fp=0xc420077de0 sp=0xc420077da0
github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc42000e018, 0x0, 0x10)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:145 +0x3e fp=0xc420077e68 sp=0xc420077de0
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7fff2326f15f, 0x4, 0x7560a0, 0xc42000e010, 0x7560e0, 0xc42000e018, 0x40e398, 0x4d35c0)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:60 +0x16d fp=0xc420077ed8 sp=0xc420077e68
github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:41 +0x1cb fp=0xc420077f58 sp=0xc420077ed8
main.main()
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc420077f88 sp=0xc420077f58
runtime.main()
/usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc420077fe0 sp=0xc420077f88
runtime.goexit()
/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420077fe8 sp=0xc420077fe0
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1
rax 0x0
rbx 0x7fff2326cf10
rcx 0x7f07fc37af47
rdx 0x0
rdi 0x2
rsi 0x7fff2326cca0
rbp 0x7fff2326d010
rsp 0x7fff2326cca0
r8 0x0
r9 0x7fff2326cca0
r10 0x8
r11 0x246
r12 0x7fff2326cf10
r13 0x1000
r14 0x0
r15 0x30
rip 0x7f07fc37af47
rflags 0x246
cs 0x33
fs 0x0
gs 0x0
+++ [0714 17:16:24] Deleting docker image k8s.gcr.io/kube-scheduler-amd64:v1.19.0-rc.0.163_b4651b2960379c
+++ [0714 17:16:25] Deleting docker image k8s.gcr.io/kube-proxy-amd64:v1.19.0-rc.0.163_b4651b2960379c
+++ [0714 17:16:25] Deleting docker image k8s.gcr.io/kube-controller-manager-amd64:v1.19.0-rc.0.163_b4651b2960379c
+++ [0714 17:16:25] Deleting docker image k8s.gcr.io/kube-apiserver-amd64:v1.19.0-rc.0.163_b4651b2960379c
+++ [0714 17:16:25] Docker builds done
Finished building Kubernetes
Building node image in: /tmp/kind-node-image125254632
Starting image build ...
DEBUG: docker/pull.go:35] Image: kindest/base:v20200430-2c0eee40 present locally
Building in kind-build-1594743386-1916426904
rsync: change_dir "/build/bits" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
Image build Failed! Failed to sync bits: command "docker exec --privileged kind-build-1594743386-1916426904 rsync -r /build/bits/ /kind/" failed with error: exit status 23
ERROR: error building node image: command "docker exec --privileged kind-build-1594743386-1916426904 rsync -r /build/bits/ /kind/" failed with error: exit status 23
Command Output: rsync: change_dir "/build/bits" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
Stack Trace:
sigs.k8s.io/kind/pkg/errors.WithStack
/src/pkg/errors/errors.go:51
sigs.k8s.io/kind/pkg/exec.(*LocalCmd).Run
/src/pkg/exec/local.go:124
sigs.k8s.io/kind/pkg/build/nodeimage/internal/container/docker.(*containerCmd).Run
/src/pkg/build/nodeimage/internal/container/docker/exec.go:111
sigs.k8s.io/kind/pkg/build/nodeimage.(*buildContext).buildImage.func2
/src/pkg/build/nodeimage/build_impl.go:126
sigs.k8s.io/kind/pkg/build/nodeimage.(*buildContext).buildImage
/src/pkg/build/nodeimage/build_impl.go:136
sigs.k8s.io/kind/pkg/build/nodeimage.(*buildContext).Build
/src/pkg/build/nodeimage/build_impl.go:63
sigs.k8s.io/kind/pkg/build/nodeimage.Build
/src/pkg/build/nodeimage/build.go:68
sigs.k8s.io/kind/pkg/cmd/kind/build/nodeimage.runE
/src/pkg/cmd/kind/build/nodeimage/nodeimage.go:72
sigs.k8s.io/kind/pkg/cmd/kind/build/nodeimage.NewCommand.func1
/src/pkg/cmd/kind/build/nodeimage/nodeimage.go:46
github.com/spf13/cobra.(*Command).execute
/go/pkg/mod/github.com/spf13/[email protected]/command.go:842
github.com/spf13/cobra.(*Command).ExecuteC
/go/pkg/mod/github.com/spf13/[email protected]/command.go:950
github.com/spf13/cobra.(*Command).Execute
/go/pkg/mod/github.com/spf13/[email protected]/command.go:887
sigs.k8s.io/kind/cmd/kind/app.Run
/src/cmd/kind/app/main.go:53
sigs.k8s.io/kind/cmd/kind/app.Main
/src/cmd/kind/app/main.go:35
main.main
/src/main.go:25
runtime.main
/usr/local/go/src/runtime/proc.go:203
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1373
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment