improbable-eng / etcd-cluster-operator

A controller to deploy and manage etcd clusters inside of Kubernetes
MIT License
128 stars 35 forks source link

WIP: Google Cloud Build using Kaniko #179

Closed wallrj closed 4 years ago

wallrj commented 4 years ago

Kaniko doesn't work either. It crashed first time round:

Step #0: INFO[0430] Pushing layer gcr.io/jetstack-richard/etcd-cluster-operator-cache:7b956134c3d534c2869abfac2dc982ce9d93dbdf3ae7bffc253f9aebc1f64020 to cache now 
Step #0:                        Ultimate Packer for eXecutables
Step #0:                           Copyright (C) 1996 - 2018
Step #0: UPX 3.95        Markus Oberhumer, Laszlo Molnar & John Reiser   Aug 26th 2018
Step #0: 
Step #0:         File size         Ratio      Format      Name
Step #0:    --------------------   ------   -----------   -----------
Step #0:   52794748 ->  22344052   42.32%   linux/amd64   manager
Step #0:   36098048 ->  10657644   29.52%   linux/amd64   proxy
Step #0:   31092736 ->   9324280   29.99%   linux/amd64   backup-agent
Step #0:   32878592 ->   9958264   30.29%   linux/amd64   restore-agent
Step #0:    --------------------   ------   -----------   -----------
Step #0:  152864124 ->  52284240   34.20%                 [ 4 files ]
Step #0: 
Step #0: Packed 4 files.
Step #0: INFO[0456] Taking snapshot of full filesystem...        
Step #0: INFO[0463] No files were changed, appending empty layer to config. No layer added to image. 
Step #0: INFO[0463] Pushing layer gcr.io/jetstack-richard/etcd-cluster-operator-cache:7b8db83be77ace70a1302d569b3ae65328406b2eed3b7f8f3a790a97f47093fb to cache now 
Step #0: fatal error: runtime: out of memory
Step #0: 
Step #0: runtime stack:
Step #0: runtime.throw(0x1c6f774, 0x16)
Step #0:    /usr/local/go/src/runtime/panic.go:617 +0x72
Step #0: runtime.sysMap(0xc0d4000000, 0x60000000, 0x30e2198)
Step #0:    /usr/local/go/src/runtime/mem_linux.go:170 +0xc7
Step #0: runtime.(*mheap).sysAlloc(0x30c8f40, 0x5e7ee000, 0x30c8f50, 0x2f3f7)
Step #0:    /usr/local/go/src/runtime/malloc.go:633 +0x1cd
Step #0: runtime.(*mheap).grow(0x30c8f40, 0x2f3f7, 0x0)
Step #0:    /usr/local/go/src/runtime/mheap.go:1222 +0x42
Step #0: runtime.(*mheap).allocSpanLocked(0x30c8f40, 0x2f3f7, 0x30e21a8, 0x0)
Step #0:    /usr/local/go/src/runtime/mheap.go:1150 +0x37f
Step #0: runtime.(*mheap).alloc_m(0x30c8f40, 0x2f3f7, 0x101, 0x0)
Step #0:    /usr/local/go/src/runtime/mheap.go:977 +0xc2
Step #0: runtime.(*mheap).alloc.func1()
Step #0:    /usr/local/go/src/runtime/mheap.go:1048 +0x4c
Step #0: runtime.(*mheap).alloc(0x30c8f40, 0x2f3f7, 0xc000010101, 0x4267f0)
Step #0:    /usr/local/go/src/runtime/mheap.go:1047 +0x8a
Step #0: runtime.largeAlloc(0x5e7ec898, 0x450101, 0xc08a59e000)
Step #0:    /usr/local/go/src/runtime/malloc.go:1055 +0x99
Step #0: runtime.mallocgc.func1()
Step #0:    /usr/local/go/src/runtime/malloc.go:950 +0x46
Step #0: runtime.systemstack(0x0)
Step #0:    /usr/local/go/src/runtime/asm_amd64.s:351 +0x66
Step #0: runtime.mstart()
Step #0:    /usr/local/go/src/runtime/proc.go:1153
Step #0: 
Step #0: goroutine 1 [running]:
Step #0: runtime.systemstack_switch()
Step #0:    /usr/local/go/src/runtime/asm_amd64.s:311 fp=0xc0359a5108 sp=0xc0359a5100 pc=0x457800
Step #0: runtime.mallocgc(0x5e7ec898, 0x19511c0, 0xc08a5ae001, 0xc0359a51e0)
Step #0:    /usr/local/go/src/runtime/malloc.go:949 +0x872 fp=0xc0359a51a8 sp=0xc0359a5108 pc=0x40c002
Step #0: runtime.makeslice(0x19511c0, 0x5e7ec898, 0x5e7ec898, 0xc001d77038)
Step #0:    /usr/local/go/src/runtime/slice.go:49 +0x6c fp=0xc0359a51d8 sp=0xc0359a51a8 pc=0x44249c
Step #0: bytes.makeSlice(0x5e7ec898, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/bytes/buffer.go:232 +0x6d fp=0xc0359a5208 sp=0xc0359a51d8 pc=0x502fad
Step #0: bytes.(*Buffer).grow(0xc0002ba660, 0x8000, 0xc0359a52c8)
Step #0:    /usr/local/go/src/bytes/buffer.go:145 +0x16f fp=0xc0359a5258 sp=0xc0359a5208 pc=0x5028ef
Step #0: bytes.(*Buffer).Write(0xc0002ba660, 0xc08a5ae000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/bytes/buffer.go:175 +0xe6 fp=0xc0359a5288 sp=0xc0359a5258 pc=0x502bf6
Step #0: archive/tar.(*regFileWriter).Write(0xc01f1c2ee0, 0xc08a5ae000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
Step #0:    /usr/local/go/src/archive/tar/writer.go:497 +0xe5 fp=0xc0359a52d8 sp=0xc0359a5288 pc=0x7ff325
Step #0: archive/tar.(*Writer).Write(0xc0043f8380, 0xc08a5ae000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
Step #0:    /usr/local/go/src/archive/tar/writer.go:435 +0x6d fp=0xc0359a5338 sp=0xc0359a52d8 pc=0x7fefcd
Step #0: io.copyBuffer(0x2010980, 0xc0043f8380, 0x2010960, 0xc004d87d40, 0xc08a5ae000, 0x8000, 0x8000, 0x4bbd8, 0x0, 0x0)
Step #0:    /usr/local/go/src/io/io.go:404 +0x1fb fp=0xc0359a53b0 sp=0xc0359a5338 pc=0x46429b
Step #0: io.Copy(...)
Step #0:    /usr/local/go/src/io/io.go:364
Step #0: github.com/google/go-containerregistry/pkg/v1/mutate.layerTime(0x206dba0, 0xc0007fa360, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/vendor/github.com/google/go-containerregistry/pkg/v1/mutate/mutate.go:320 +0x443 fp=0xc0359a5530 sp=0xc0359a53b0 pc=0x1516263
Step #0: github.com/google/go-containerregistry/pkg/v1/mutate.Time(0x20889c0, 0xc001752480, 0x0, 0x0, 0x0, 0x20889c0, 0xc001752480, 0x0, 0x0)
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/vendor/github.com/google/go-containerregistry/pkg/v1/mutate/mutate.go:258 +0x1fa fp=0xc0359a56e8 sp=0xc0359a5530 pc=0x15156ea
Step #0: github.com/google/go-containerregistry/pkg/v1/mutate.Canonical(0x20889c0, 0xc001752480, 0xbf900fa62da03e41, 0x6c5fefa870, 0x30c20a0, 0x20889c0)
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/vendor/github.com/google/go-containerregistry/pkg/v1/mutate/mutate.go:348 +0x4a fp=0xc0359a5750 sp=0xc0359a56e8 pc=0x151693a
Step #0: github.com/GoogleContainerTools/kaniko/pkg/executor.DoBuild(0x30c2640, 0x1, 0x0, 0x0, 0xc000469b80)
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/pkg/executor/build.go:549 +0x10ca fp=0xc0359a5cb0 sp=0xc0359a5750 pc=0x1808a5a
Step #0: github.com/GoogleContainerTools/kaniko/cmd/executor/cmd.glob..func2(0x30b13c0, 0xc0005273b0, 0x0, 0x7)
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/cmd/executor/cmd/root.go:98 +0x11b fp=0xc0359a5da8 sp=0xc0359a5cb0 pc=0x182255b
Step #0: github.com/spf13/cobra.(*Command).execute(0x30b13c0, 0xc00003a190, 0x7, 0x7, 0x30b13c0, 0xc00003a190)
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/vendor/github.com/spf13/cobra/command.go:830 +0x2ae fp=0xc0359a5e90 sp=0xc0359a5da8 pc=0x18150fe
Step #0: github.com/spf13/cobra.(*Command).ExecuteC(0x30b13c0, 0x1822bad, 0xc00054bf88, 0xc0000400b8)
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/vendor/github.com/spf13/cobra/command.go:914 +0x2fc fp=0xc0359a5f68 sp=0xc0359a5e90 pc=0x1815d5c
Step #0: github.com/spf13/cobra.(*Command).Execute(...)
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/vendor/github.com/spf13/cobra/command.go:864
Step #0: main.main()
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/cmd/executor/main.go:26 +0x2e fp=0xc0359a5f98 sp=0xc0359a5f68 pc=0x1822bfe
Step #0: runtime.main()
Step #0:    /usr/local/go/src/runtime/proc.go:200 +0x20c fp=0xc0359a5fe0 sp=0xc0359a5f98 pc=0x42e45c
Step #0: runtime.goexit()
Step #0:    /usr/local/go/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc0359a5fe8 sp=0xc0359a5fe0 pc=0x459751
Step #0: 
Step #0: goroutine 17 [select]:
Step #0: go.opencensus.io/stats/view.(*worker).start(0xc0002aea00)
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/vendor/go.opencensus.io/stats/view/worker.go:146 +0xdd
Step #0: created by go.opencensus.io/stats/view.init.0
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/vendor/go.opencensus.io/stats/view/worker.go:29 +0x57
Step #0: 
Step #0: goroutine 6 [chan receive]:
Step #0: github.com/golang/glog.(*loggingT).flushDaemon(0x30c2460)
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/vendor/github.com/golang/glog/glog.go:882 +0x8b
Step #0: created by github.com/golang/glog.init.0
Step #0:    /go/src/github.com/GoogleContainerTools/kaniko/vendor/github.com/golang/glog/glog.go:410 +0x272
Step #0: 
Step #0: goroutine 14 [IO wait, 8 minutes]:
Step #0: internal/poll.runtime_pollWait(0x7fb8444baf08, 0x72, 0xffffffffffffffff)
Step #0:    /usr/local/go/src/runtime/netpoll.go:182 +0x56
Step #0: internal/poll.(*pollDesc).wait(0xc0001e1a18, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
Step #0:    /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x9b
Step #0: internal/poll.(*pollDesc).waitRead(...)
Step #0:    /usr/local/go/src/internal/poll/fd_poll_runtime.go:92
Step #0: internal/poll.(*FD).Read(0xc0001e1a00, 0xc0001ad000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
Step #0: net.(*netFD).Read(0xc0001e1a00, 0xc0001ad000, 0x1000, 0x1000, 0x1, 0x42e90c, 0xc000096b88)
Step #0:    /usr/local/go/src/net/fd_unix.go:202 +0x4f
Step #0: net.(*conn).Read(0xc00000e670, 0xc0001ad000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/net/net.go:177 +0x69
Step #0: net/http.(*persistConn).Read(0xc000206b40, 0xc0001ad000, 0x1000, 0x1000, 0xc000096c88, 0x404fa5, 0xc000040de0)
Step #0:    /usr/local/go/src/net/http/transport.go:1527 +0x7b
Step #0: bufio.(*Reader).fill(0xc0002b87e0)
Step #0:    /usr/local/go/src/bufio/bufio.go:100 +0x10f
Step #0: bufio.(*Reader).Peek(0xc0002b87e0, 0x1, 0x0, 0x0, 0x1, 0xc000040f00, 0x0)
Step #0:    /usr/local/go/src/bufio/bufio.go:138 +0x4f
Step #0: net/http.(*persistConn).readLoop(0xc000206b40)
Step #0:    /usr/local/go/src/net/http/transport.go:1680 +0x1a3
Step #0: created by net/http.(*Transport).dialConn
Step #0:    /usr/local/go/src/net/http/transport.go:1360 +0xaf8
Step #0: 
Step #0: goroutine 15 [select, 8 minutes]:
Step #0: net/http.(*persistConn).writeLoop(0xc000206b40)
Step #0:    /usr/local/go/src/net/http/transport.go:1979 +0x113
Step #0: created by net/http.(*Transport).dialConn
Step #0:    /usr/local/go/src/net/http/transport.go:1361 +0xb1d
Step #0: 
Step #0: goroutine 18 [syscall, 8 minutes]:
Step #0: os/signal.signal_recv(0xc0002b8360)
Step #0:    /usr/local/go/src/runtime/sigqueue.go:139 +0x9c
Step #0: os/signal.loop()
Step #0:    /usr/local/go/src/os/signal/signal_unix.go:23 +0x22
Step #0: created by os/signal.init.0
Step #0:    /usr/local/go/src/os/signal/signal_unix.go:29 +0x41
Step #0: 
Step #0: goroutine 461 [select, 1 minutes]:
Step #0: net/http.(*persistConn).writeLoop(0xc0006b9b00)
Step #0:    /usr/local/go/src/net/http/transport.go:1979 +0x113
Step #0: created by net/http.(*Transport).dialConn
Step #0:    /usr/local/go/src/net/http/transport.go:1361 +0xb1d
Step #0: 
Step #0: goroutine 476 [IO wait]:
Step #0: internal/poll.runtime_pollWait(0x7fb8444bad68, 0x72, 0xffffffffffffffff)
Step #0:    /usr/local/go/src/runtime/netpoll.go:182 +0x56
Step #0: internal/poll.(*pollDesc).wait(0xc0001e0998, 0x72, 0x1700, 0x1746, 0xffffffffffffffff)
Step #0:    /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x9b
Step #0: internal/poll.(*pollDesc).waitRead(...)
Step #0:    /usr/local/go/src/internal/poll/fd_poll_runtime.go:92
Step #0: internal/poll.(*FD).Read(0xc0001e0980, 0xc000eda800, 0x1746, 0x1746, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
Step #0: net.(*netFD).Read(0xc0001e0980, 0xc000eda800, 0x1746, 0x1746, 0x203007, 0x0, 0x30)
Step #0:    /usr/local/go/src/net/fd_unix.go:202 +0x4f
Step #0: net.(*conn).Read(0xc00000ec80, 0xc000eda800, 0x1746, 0x1746, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/net/net.go:177 +0x69
Step #0: crypto/tls.(*atLeastReader).Read(0xc01c73eee0, 0xc000eda800, 0x1746, 0x1746, 0x1, 0xa, 0xc001aa3938)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:761 +0x60
Step #0: bytes.(*Buffer).ReadFrom(0xc0008fd058, 0x2010c60, 0xc01c73eee0, 0x409b85, 0x1a27260, 0x1bef8e0)
Step #0:    /usr/local/go/src/bytes/buffer.go:207 +0xbd
Step #0: crypto/tls.(*Conn).readFromUntil(0xc0008fce00, 0x2014280, 0xc00000ec80, 0x5, 0xc00000ec80, 0x20300a)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:783 +0xf8
Step #0: crypto/tls.(*Conn).readRecordOrCCS(0xc0008fce00, 0x1d12800, 0xc0008fcf38, 0xc001aa3dd0)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:590 +0x125
Step #0: crypto/tls.(*Conn).readRecord(...)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:558
Step #0: crypto/tls.(*Conn).Read(0xc0008fce00, 0xc000a4b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:1236 +0x137
Step #0: net/http.(*persistConn).Read(0xc0005465a0, 0xc000a4b000, 0x1000, 0x1000, 0x456cb0, 0xc001aa3e88, 0x2)
Step #0:    /usr/local/go/src/net/http/transport.go:1527 +0x7b
Step #0: bufio.(*Reader).fill(0xc001d77b00)
Step #0:    /usr/local/go/src/bufio/bufio.go:100 +0x10f
Step #0: bufio.(*Reader).Peek(0xc001d77b00, 0x1, 0x2, 0x0, 0x0, 0xc001c04000, 0x0)
Step #0:    /usr/local/go/src/bufio/bufio.go:138 +0x4f
Step #0: net/http.(*persistConn).readLoop(0xc0005465a0)
Step #0:    /usr/local/go/src/net/http/transport.go:1680 +0x1a3
Step #0: created by net/http.(*Transport).dialConn
Step #0:    /usr/local/go/src/net/http/transport.go:1360 +0xaf8
Step #0: 
Step #0: goroutine 460 [select, 1 minutes]:
Step #0: net/http.(*persistConn).readLoop(0xc0006b9b00)
Step #0:    /usr/local/go/src/net/http/transport.go:1801 +0x95a
Step #0: created by net/http.(*Transport).dialConn
Step #0:    /usr/local/go/src/net/http/transport.go:1360 +0xaf8
Step #0: 
Step #0: goroutine 485 [IO wait]:
Step #0: internal/poll.runtime_pollWait(0x7fb8444bae38, 0x72, 0xffffffffffffffff)
Step #0:    /usr/local/go/src/runtime/netpoll.go:182 +0x56
Step #0: internal/poll.(*pollDesc).wait(0xc0001e1718, 0x72, 0x12400, 0x12492, 0xffffffffffffffff)
Step #0:    /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x9b
Step #0: internal/poll.(*pollDesc).waitRead(...)
Step #0:    /usr/local/go/src/internal/poll/fd_poll_runtime.go:92
Step #0: internal/poll.(*FD).Read(0xc0001e1700, 0xc001b54000, 0x12492, 0x12492, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
Step #0: net.(*netFD).Read(0xc0001e1700, 0xc001b54000, 0x12492, 0x12492, 0x203007, 0x0, 0x12260)
Step #0:    /usr/local/go/src/net/fd_unix.go:202 +0x4f
Step #0: net.(*conn).Read(0xc00000ecf8, 0xc001b54000, 0x12492, 0x12492, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/net/net.go:177 +0x69
Step #0: crypto/tls.(*atLeastReader).Read(0xc01c73f020, 0xc001b54000, 0x12492, 0x12492, 0xa29504dc773395aa, 0xc001aa5a30, 0xc001aa59e0)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:761 +0x60
Step #0: bytes.(*Buffer).ReadFrom(0xc0008fd758, 0x2010c60, 0xc01c73f020, 0x409b85, 0x1a27260, 0x1bef8e0)
Step #0:    /usr/local/go/src/bytes/buffer.go:207 +0xbd
Step #0: crypto/tls.(*Conn).readFromUntil(0xc0008fd500, 0x2014280, 0xc00000ecf8, 0x5, 0xc00000ecf8, 0x9)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:783 +0xf8
Step #0: crypto/tls.(*Conn).readRecordOrCCS(0xc0008fd500, 0x1d12800, 0xc0008fd638, 0xc001aa5d58)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:590 +0x125
Step #0: crypto/tls.(*Conn).readRecord(...)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:558
Step #0: crypto/tls.(*Conn).Read(0xc0008fd500, 0xc000d80000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:1236 +0x137
Step #0: bufio.(*Reader).Read(0xc00135cd20, 0xc000432658, 0x9, 0x9, 0x4063f4, 0xc001d76ae0, 0xc001aa5d58)
Step #0:    /usr/local/go/src/bufio/bufio.go:223 +0x23e
Step #0: io.ReadAtLeast(0x2010a20, 0xc00135cd20, 0xc000432658, 0x9, 0x9, 0x9, 0x2010ee0, 0xc01fffe3a0, 0xc00006a040)
Step #0:    /usr/local/go/src/io/io.go:310 +0x88
Step #0: io.ReadFull(...)
Step #0:    /usr/local/go/src/io/io.go:329
Step #0: net/http.http2readFrameHeader(0xc000432658, 0x9, 0x9, 0x2010a20, 0xc00135cd20, 0x0, 0x0, 0xc02bff0cc0, 0x0)
Step #0:    /usr/local/go/src/net/http/h2_bundle.go:1476 +0x88
Step #0: net/http.(*http2Framer).ReadFrame(0xc000432620, 0xc02bff0cc0, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/net/http/h2_bundle.go:1734 +0xa1
Step #0: net/http.(*http2clientConnReadLoop).run(0xc001aa5fb8, 0x1d12218, 0xc0060d37b8)
Step #0:    /usr/local/go/src/net/http/h2_bundle.go:8132 +0x8f
Step #0: net/http.(*http2ClientConn).readLoop(0xc00099a780)
Step #0:    /usr/local/go/src/net/http/h2_bundle.go:8060 +0x76
Step #0: created by net/http.(*http2Transport).newClientConn
Step #0:    /usr/local/go/src/net/http/h2_bundle.go:7123 +0x637
Step #0: 
Step #0: goroutine 345 [IO wait, 1 minutes]:
Step #0: internal/poll.runtime_pollWait(0x7fb8444bac98, 0x72, 0xffffffffffffffff)
Step #0:    /usr/local/go/src/runtime/netpoll.go:182 +0x56
Step #0: internal/poll.(*pollDesc).wait(0xc0001e0c18, 0x72, 0xd00, 0xd8a, 0xffffffffffffffff)
Step #0:    /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x9b
Step #0: internal/poll.(*pollDesc).waitRead(...)
Step #0:    /usr/local/go/src/internal/poll/fd_poll_runtime.go:92
Step #0: internal/poll.(*FD).Read(0xc0001e0c00, 0xc000816000, 0xd8a, 0xd8a, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
Step #0: net.(*netFD).Read(0xc0001e0c00, 0xc000816000, 0xd8a, 0xd8a, 0x203000, 0x21, 0xedd)
Step #0:    /usr/local/go/src/net/fd_unix.go:202 +0x4f
Step #0: net.(*conn).Read(0xc000ce20c8, 0xc000816000, 0xd8a, 0xd8a, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/net/net.go:177 +0x69
Step #0: crypto/tls.(*atLeastReader).Read(0xc00044a860, 0xc000816000, 0xd8a, 0xd8a, 0xc0001ba000, 0x3, 0xc0000929e0)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:761 +0x60
Step #0: bytes.(*Buffer).ReadFrom(0xc000058cd8, 0x2010c60, 0xc00044a860, 0x409b85, 0x1a27260, 0x1bef8e0)
Step #0:    /usr/local/go/src/bytes/buffer.go:207 +0xbd
Step #0: crypto/tls.(*Conn).readFromUntil(0xc000058a80, 0x2014280, 0xc000ce20c8, 0x5, 0xc000ce20c8, 0x0)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:783 +0xf8
Step #0: crypto/tls.(*Conn).readRecordOrCCS(0xc000058a80, 0x1d12800, 0xc000058bb8, 0xc000092c68)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:590 +0x125
Step #0: crypto/tls.(*Conn).readRecord(...)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:558
Step #0: crypto/tls.(*Conn).Read(0xc000058a80, 0xc000385000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/crypto/tls/conn.go:1236 +0x137
Step #0: bufio.(*Reader).Read(0xc001443800, 0xc0001a4c78, 0x9, 0x9, 0xc000058a80, 0xc000384000, 0x11)
Step #0:    /usr/local/go/src/bufio/bufio.go:223 +0x23e
Step #0: io.ReadAtLeast(0x2010a20, 0xc001443800, 0xc0001a4c78, 0x9, 0x9, 0x9, 0x1000, 0x3, 0xc000042070)
Step #0:    /usr/local/go/src/io/io.go:310 +0x88
Step #0: io.ReadFull(...)
Step #0:    /usr/local/go/src/io/io.go:329
Step #0: net/http.http2readFrameHeader(0xc0001a4c78, 0x9, 0x9, 0x2010a20, 0xc001443800, 0x0, 0x0, 0xc001438420, 0xc000092dd0)
Step #0:    /usr/local/go/src/net/http/h2_bundle.go:1476 +0x88
Step #0: net/http.(*http2Framer).ReadFrame(0xc0001a4c40, 0xc001438420, 0x0, 0x0, 0x0)
Step #0:    /usr/local/go/src/net/http/h2_bundle.go:1734 +0xa1
Step #0: net/http.(*http2clientConnReadLoop).run(0xc000092fb8, 0x1d12218, 0xc0060d37b8)
Step #0:    /usr/local/go/src/net/http/h2_bundle.go:8132 +0x8f
Step #0: net/http.(*http2ClientConn).readLoop(0xc0001ba180)
Step #0:    /usr/local/go/src/net/http/h2_bundle.go:8060 +0x76
Step #0: created by net/http.(*http2Transport).newClientConn
Step #0:    /usr/local/go/src/net/http/h2_bundle.go:7123 +0x637
Step #0: 
Step #0: goroutine 477 [select]:
Step #0: net/http.(*persistConn).writeLoop(0xc0005465a0)
Step #0:    /usr/local/go/src/net/http/transport.go:1979 +0x113
Step #0: created by net/http.(*Transport).dialConn
Step #0:    /usr/local/go/src/net/http/transport.go:1361 +0xb1d
Finished Step #0
ERROR
ERROR: build step 0 "gcr.io/kaniko-project/executor:latest" failed: step exited with non-zero status: 2
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ERROR: (gcloud.builds.submit) build 85e907d6-7b74-47a6-b0e9-de2981580ea1 completed with status "FAILURE"
make: *** [Makefile:184: google-cloud-build] Error 1

And now fails every time with:

Step #1: INFO[0027] Found cached layer, extracting to filesystem 
Step #1: error building image: error building stage: failed to execute command: extracting fs from image: removing whiteout .wh.workspace: unlinkat //workspace: device or resource busy
Finished Step #1
ERROR
ERROR: build step 1 "gcr.io/kaniko-project/executor:latest" failed: step exited with non-zero status: 1
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ERROR: (gcloud.builds.submit) build b39ee65b-e374-4ebc-be2b-b75a29aeb5fe completed with status "FAILURE"
make: *** [Makefile:184: google-cloud-build] Error 1

Which may be https://github.com/GoogleContainerTools/kaniko/issues/1076