Skip to content

Instantly share code, notes, and snippets.

@mauilion
Created Jul 31, 2019
Embed
What would you like to do?
12:16 $ kind build node-image --loglevel=debug
INFO[12:16:37] Starting to build Kubernetes
DEBU[12:16:37] Running: build/run.sh [build/run.sh make all WHAT=cmd/kubeadm cmd/kubectl cmd/kubelet KUBE_BUILD_PLATFORMS=linux/amd64 KUBE_VERBOSE=0]
+++ [0731 12:16:37] Verifying Prerequisites....
+++ [0731 12:16:37] Building Docker image kube-build:build-aebf82a796-5-v1.12.7-1
+++ [0731 12:16:39] Keeping container kube-build-data-aebf82a796-5-v1.12.7-1
+++ [0731 12:16:39] Keeping container kube-build-data-93593ef122-5-v1.12.5-1
+++ [0731 12:16:39] Keeping container kube-build-data-aebf82a796-5-v1.12.7-1
+++ [0731 12:16:39] Keeping container kube-build-data-93593ef122-5-v1.12.5-1
+++ [0731 12:16:39] Keeping container kube-build-data-aebf82a796-5-v1.12.7-1
+++ [0731 12:16:39] Keeping container kube-build-data-93593ef122-5-v1.12.5-1
+++ [0731 12:16:39] Keeping image kube-build:build-aebf82a796-5-v1.12.7-1
+++ [0731 12:16:39] Keeping image kube-build:build-93593ef122-5-v1.12.5-1
+++ [0731 12:16:39] Syncing sources to container
+++ [0731 12:16:39] Stopping any currently running rsyncd container
+++ [0731 12:16:39] Starting rsyncd container
+++ [0731 12:16:40] Running rsync
+++ [0731 12:16:41] Stopping any currently running rsyncd container
+++ [0731 12:16:41] Output from this container will be rsynced out upon completion. Set KUBE_RUN_COPY_OUTPUT=n to disable.
+++ [0731 12:16:41] Running build command...
+++ [0731 12:17:12] Building go targets for linux/amd64:
cmd/kubeadm
cmd/kubectl
cmd/kubelet
+++ [0731 12:17:39] Syncing out of container
+++ [0731 12:17:39] Stopping any currently running rsyncd container
+++ [0731 12:17:40] Starting rsyncd container
+++ [0731 12:17:41] Running rsync
+++ [0731 12:17:43] Stopping any currently running rsyncd container
DEBU[12:17:43] Running: /usr/bin/make [make quick-release-images KUBE_BUILD_HYPERKUBE=n KUBE_BUILD_CONFORMANCE=n KUBE_BUILD_PLATFORMS=linux/amd64]
+++ [0731 12:17:44] Verifying Prerequisites....
+++ [0731 12:17:44] Building Docker image kube-build:build-aebf82a796-5-v1.12.7-1
+++ [0731 12:17:46] Syncing sources to container
+++ [0731 12:17:48] Running build command...
+++ [0731 12:18:17] Building go targets for linux/amd64:
cmd/cloud-controller-manager
cmd/kube-apiserver
cmd/kube-controller-manager
cmd/kube-scheduler
cmd/kube-proxy
+++ [0731 12:18:48] Syncing out of container
+++ [0731 12:18:54] Building images: linux-amd64
+++ [0731 12:18:55] Starting docker build for image: cloud-controller-manager-amd64
+++ [0731 12:18:55] Starting docker build for image: kube-apiserver-amd64
+++ [0731 12:18:55] Starting docker build for image: kube-controller-manager-amd64
+++ [0731 12:18:55] Starting docker build for image: kube-scheduler-amd64
+++ [0731 12:18:55] Starting docker build for image: kube-proxy-amd64
+++ [0731 12:19:07] Deleting docker image k8s.gcr.io/kube-scheduler-amd64:v1.16.0-alpha.2.91_a9a68c5e443942
+++ [0731 12:19:07] Deleting docker image k8s.gcr.io/kube-proxy-amd64:v1.16.0-alpha.2.91_a9a68c5e443942
+++ [0731 12:19:08] Deleting docker image k8s.gcr.io/kube-controller-manager-amd64:v1.16.0-alpha.2.91_a9a68c5e443942
+++ [0731 12:19:08] Deleting docker image k8s.gcr.io/cloud-controller-manager-amd64:v1.16.0-alpha.2.91_a9a68c5e443942
+++ [0731 12:19:08] Deleting docker image k8s.gcr.io/kube-apiserver-amd64:v1.16.0-alpha.2.91_a9a68c5e443942
+++ [0731 12:19:08] Docker builds done
DEBU[12:19:08] Running: hack/print-workspace-status.sh [hack/print-workspace-status.sh]
INFO[12:19:08] Finished building Kubernetes
INFO[12:19:08] Building node image in: /tmp/kind-node-image836304298
INFO[12:19:10] Starting image build ...
DEBU[12:19:10] Running: /usr/bin/docker [docker inspect --type=image kindest/base:v20190708-022110d@sha256:8acfd3b9b8a3a42385a761f8c6aa3bdad4241cac220c12d3309f1b7a6d70af24]
INFO[12:19:10] Image: kindest/base:v20190708-022110d@sha256:8acfd3b9b8a3a42385a761f8c6aa3bdad4241cac220c12d3309f1b7a6d70af24 present locally
DEBU[12:19:10] Running: /usr/bin/docker [docker run -d --label io.k8s.sigs.kind.build=2019-07-31T12:19:10.670073358-07:00 -v /tmp/kind-node-image836304298:/build --entrypoint=sleep --name=kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 kindest/base:v20190708-022110d@sha256:8acfd3b9b8a3a42385a761f8c6aa3bdad4241cac220c12d3309f1b7a6d70af24 infinity]
INFO[12:19:15] Building in kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261
DEBU[12:19:15] Running: /usr/bin/docker [docker exec --privileged kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 mkdir /kind/]
DEBU[12:19:15] Running: /usr/bin/docker [docker exec --privileged kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 rsync -r /build/bits/ /kind/]
DEBU[12:19:16] Running: /usr/bin/docker [docker exec kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 ln -s /kind/bin/kubeadm /usr/bin/kubeadm]
DEBU[12:19:16] Running: /usr/bin/docker [docker exec kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 ln -s /kind/bin/kubelet /usr/bin/kubelet]
DEBU[12:19:16] Running: /usr/bin/docker [docker exec kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 ln -s /kind/bin/kubectl /usr/bin/kubectl]
DEBU[12:19:16] Running: /usr/bin/docker [docker exec --privileged kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 mkdir -p /kind/systemd]
DEBU[12:19:17] Running: /usr/bin/docker [docker exec --privileged -i kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 cp /dev/stdin /kind/systemd/kubelet.service]
DEBU[12:19:17] Running: /usr/bin/docker [docker exec --privileged kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 systemctl enable /kind/systemd/kubelet.service]
DEBU[12:19:17] Running: /usr/bin/docker [docker exec --privileged kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 mkdir -p /etc/systemd/system/kubelet.service.d]
DEBU[12:19:18] Running: /usr/bin/docker [docker exec --privileged -i kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 cp /dev/stdin /etc/systemd/system/kubelet.service.d/10-kubeadm.conf]
DEBU[12:19:18] Running: /usr/bin/docker [docker exec --privileged kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 /bin/sh -c echo "KUBELET_EXTRA_ARGS=--fail-swap-on=false" >> /etc/default/kubelet]
DEBU[12:19:18] Running: /usr/bin/docker [docker exec --privileged kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 cat /kind/version]
fixed: k8s.gcr.io/kube-apiserver-amd64 -> k8s.gcr.io/kube-apiserver
fixed: k8s.gcr.io/kube-controller-manager-amd64 -> k8s.gcr.io/kube-controller-manager
fixed: k8s.gcr.io/kube-proxy-amd64 -> k8s.gcr.io/kube-proxy
fixed: k8s.gcr.io/kube-scheduler-amd64 -> k8s.gcr.io/kube-scheduler
built images
k8s.gcr.io/kube-apiserver:v1.16.0-alpha.2.91_a9a68c5e443942, k8s.gcr.io/kube-controller-manager:v1.16.0-alpha.2.91_a9a68c5e443942, k8s.gcr.io/kube-proxy:v1.16.0-alpha.2.91_a9a68c5e443942, k8s.gcr.io/kube-scheduler:v1.16.0-alpha.2.91_a9a68c5e443942
DEBU[12:19:18] Running: /usr/bin/docker [docker exec --privileged kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 mkdir -p /kind/manifests]
DEBU[12:19:19] Running: /usr/bin/docker [docker exec --privileged -i kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 cp /dev/stdin /kind/manifests/default-cni.yaml]
DEBU[12:19:19] Running: /usr/bin/docker [docker exec --privileged kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 kubeadm config images list --kubernetes-version v1.16.0-alpha.2.91+a9a68c5e443942]
Pulling: k8s.gcr.io/pause:3.1
Pulling: kindest/kindnetd:0.5.0
Pulling: k8s.gcr.io/etcd:3.3.10
Pulling: k8s.gcr.io/coredns:1.3.1
INFO[12:19:19] Pulling image: kindest/kindnetd:0.5.0 ...
INFO[12:19:19] Pulling image: k8s.gcr.io/coredns:1.3.1 ...
DEBU[12:19:19] Running: /usr/bin/docker [docker pull kindest/kindnetd:0.5.0]
DEBU[12:19:19] Running: /usr/bin/docker [docker pull k8s.gcr.io/coredns:1.3.1]
INFO[12:19:19] Pulling image: k8s.gcr.io/etcd:3.3.10 ...
DEBU[12:19:19] Running: /usr/bin/docker [docker pull k8s.gcr.io/etcd:3.3.10]
INFO[12:19:19] Pulling image: k8s.gcr.io/pause:3.1 ...
DEBU[12:19:19] Running: /usr/bin/docker [docker pull k8s.gcr.io/pause:3.1]
DEBU[12:19:20] Running: /usr/bin/docker [docker save -o /tmp/kind-node-image836304298/bits/images/6.tar k8s.gcr.io/coredns:1.3.1]
DEBU[12:19:20] Running: /usr/bin/docker [docker save -o /tmp/kind-node-image836304298/bits/images/4.tar k8s.gcr.io/pause:3.1]
DEBU[12:19:20] Running: /usr/bin/docker [docker save -o /tmp/kind-node-image836304298/bits/images/5.tar k8s.gcr.io/etcd:3.3.10]
DEBU[12:19:21] Running: /usr/bin/docker [docker save -o /tmp/kind-node-image836304298/bits/images/7.tar kindest/kindnetd:0.5.0]
DEBU[12:19:24] Running: /usr/bin/docker [docker exec --privileged kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 bash -c nohup containerd > /dev/null 2>&1 &]
DEBU[12:19:24] Running: /usr/bin/docker [docker exec --privileged -i kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 ctr --namespace=k8s.io images import --no-unpack -]
DEBU[12:19:24] Running: /usr/bin/docker [docker exec --privileged -i kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 ctr --namespace=k8s.io images import --no-unpack -]
DEBU[12:19:24] Running: /usr/bin/docker [docker exec --privileged -i kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 ctr --namespace=k8s.io images import --no-unpack -]
DEBU[12:19:24] Running: /usr/bin/docker [docker exec --privileged -i kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 ctr --namespace=k8s.io images import --no-unpack -]
DEBU[12:19:24] Running: /usr/bin/docker [docker exec --privileged -i kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 ctr --namespace=k8s.io images import --no-unpack -]
DEBU[12:19:24] Running: /usr/bin/docker [docker exec --privileged -i kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 ctr --namespace=k8s.io images import --no-unpack -]
DEBU[12:19:24] Running: /usr/bin/docker [docker exec --privileged -i kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 ctr --namespace=k8s.io images import --no-unpack -]
DEBU[12:19:24] Running: /usr/bin/docker [docker exec --privileged -i kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 ctr --namespace=k8s.io images import --no-unpack -]
fixed: k8s.gcr.io/kube-scheduler-amd64 -> k8s.gcr.io/kube-scheduler
fixed: k8s.gcr.io/kube-scheduler-amd64 -> k8s.gcr.io/kube-scheduler
fixed: k8s.gcr.io/kube-controller-manager-amd64 -> k8s.gcr.io/kube-controller-manager
fixed: k8s.gcr.io/kube-controller-manager-amd64 -> k8s.gcr.io/kube-controller-manager
fixed: k8s.gcr.io/kube-proxy-amd64 -> k8s.gcr.io/kube-proxy
fixed: k8s.gcr.io/kube-proxy-amd64 -> k8s.gcr.io/kube-proxy
fixed: k8s.gcr.io/kube-apiserver-amd64 -> k8s.gcr.io/kube-apiserver
fixed: k8s.gcr.io/kube-apiserver-amd64 -> k8s.gcr.io/kube-apiserver
DEBU[12:19:50] Running: /usr/bin/docker [docker exec --privileged kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 pkill containerd]
DEBU[12:19:50] Running: /usr/bin/docker [docker commit --change VOLUME [ "/var/lib/containerd" ] --change ENTRYPOINT [ "/usr/local/bin/entrypoint", "/sbin/init" ] kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261 kindest/node:latest]
sha256:1c0367137028e2d62b804c1b1acc85b66cb3ee83fd9b68283cc7312f82f0d926
INFO[12:19:55] Image build completed.
DEBU[12:19:55] Running: /usr/bin/docker [docker rm -f -v kind-build-c2e05b2d-f1b3-4736-9c30-962b56dde261]
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/dcooley/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/dcooley/go"
GOPROXY=""
GORACE=""
GOROOT="/home/dcooley/.gimme/versions/go1.12.5.linux.amd64"
GOTMPDIR=""
GOTOOLDIR="/home/dcooley/.gimme/versions/go1.12.5.linux.amd64/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build644424504=/tmp/go-build -gno-record-gcc-switches"
[dcooley@lynx: ~/go/src/k8s.io/kubernetes] [master|✔ ] ✔
12:22 $ git rev-parse HEAD
a9a68c5e4439423617722cae33da20204f186df4
[dcooley@lynx: ~/go/src/k8s.io/kubernetes] [master|✔ ] ✔
12:22 $ pwd
/home/dcooley/go/src/k8s.io/kubernetes
12:22 $ git rev-parse HEAD
2555d8e09d5a77ee718414cec9f6083dfa028dc5
[dcooley@lynx: ~/go/src/sigs.k8s.io/kind] [master|✔ ] ✔
12:22 $ pwd
/home/dcooley/go/src/sigs.k8s.io/kind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment