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

Attempting to get distribution list via the api crashes the engine #271

Open
toochevere opened this issue Sep 9, 2021 · 0 comments
Open

Comments

@toochevere
Copy link

Description

Balena-engine-daemon crashes when attempting to get a distribution list via the socket api.

Steps to reproduce the issue:

  1. Run sudo balena-engine-daemon in a bash console.
  2. Run sudo curl --unix-socket /var/run/balena-engine.sock http://localhost/version to verify communication with the daemon. It should succeed.
  3. Run sudo curl --unix-socket /var/run/balena-engine.sock http://localhost/v1.35/distribution/library/busybox/json. It fails with curl: (52) Empty reply from server

Describe the results you received:

sudo curl --unix-socket /var/run/balena-engine.sock http://localhost/v1.35/distribution/library/busybox/json. It fails with curl: (52) Empty reply from server. balena-engine-daemon meanwhile crashes with a stack dump. (see attached)

Describe the results you expected:

The curl command should return the same thing as Docker does with sudo curl --unix-socket /run/docker.sock http:/v1.35/distribution/library/busybox/json

Result from docker

{"Descriptor":{"mediaType":"application/vnd.docker.distribution.manifest.list.v2+json","digest":"sha256:b37dd066f59a4961024cf4bed74cae5e68ac26b48807292bd12198afa3ecb778","size":2295},"Platforms":[{"architecture":"amd64","os":"linux"},{"architecture":"arm","os":"linux","variant":"v5"},{"architecture":"arm","os":"linux","variant":"v6"},{"architecture":"arm","os":"linux","variant":"v7"},{"architecture":"arm64","os":"linux","variant":"v8"},{"architecture":"386","os":"linux"},{"architecture":"mips64le","os":"linux"},{"architecture":"ppc64le","os":"linux"},{"architecture":"riscv64","os":"linux"},{"architecture":"s390x","os":"linux"}]}

Additional information you deem important (e.g. issue happens only occasionally):

none

Output of balena-engine version:

Client:
 Version:	v17.12.0
 API version:	1.35
 Go version:	go1.10.4
 Git commit:	3fdfd0d
 Built:	Wed Oct 17 15:42:29 2018
 OS/Arch:	linux/amd64
 Experimental:	false
 Orchestrator:	swarm

Server:
 Engine:
  Version:	v17.12.0
  API version:	1.35 (minimum version 1.12)
  Go version:	go1.10.4
  Git commit:	3fdfd0d
  Built:	Wed Oct 17 15:42:29 2018
  OS/Arch:	linux/amd64
  Experimental:	false

Output of balena-engine info:

Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: v17.12.0
Storage Driver: btrfs
 Build Version: Btrfs v3.17
 Library Version: 101
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host null
 Log: journald json-file
Swarm: 
 NodeID: 
 Is Manager: false
 Node Address: 
Runtimes: bare runc
Default Runtime: runc
Init Binary: balena-engine-init
containerd version: 
runc version: 13e66eedaddfbfeda2a73d23701000e4e63b5471
init version: N/A (expected: )
Security Options:
 apparmor
Kernel Version: 5.12.14-051214-generic
Operating System: Ubuntu 20.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 39.03GiB
Name: balena
ID: YTYM:STR4:DAGK:WXSM:PUPO:VNVS:6FD7:6URW:VF4L:GPTW:YH6L:LEB5
Docker Root Dir: /var/lib/balena-engine
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

Additional environment details (device type, OS, etc.):

Stack track from balena-engine-daemon

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x63 pc=0x7f2ba40405ca]

runtime stack:
runtime.throw(0x174a29a, 0x2a)
	/usr/local/go/src/runtime/panic.go:616 +0x81
runtime.sigpanic()
	/usr/local/go/src/runtime/signal_unix.go:372 +0x28e

goroutine 214 [syscall]:
runtime.cgocall(0x12bb480, 0xc420ab05f8, 0x29)
	/usr/local/go/src/runtime/cgocall.go:128 +0x64 fp=0xc420ab05b8 sp=0xc420ab0580 pc=0x4035e4
net._C2func_getaddrinfo(0xc420dd14a0, 0x0, 0xc420912870, 0xc4202081e0, 0x0, 0x0, 0x0)
	_cgo_gotypes.go:92 +0x55 fp=0xc420ab05f8 sp=0xc420ab05b8 pc=0x57fd15
net.cgoLookupIPCNAME.func1(0xc420dd14a0, 0x0, 0xc420912870, 0xc4202081e0, 0xf, 0xf, 0xc420534000)
	/usr/local/go/src/net/cgo_unix.go:149 +0x13b fp=0xc420ab0640 sp=0xc420ab05f8 pc=0x586a7b
net.cgoLookupIPCNAME(0xc421367200, 0xe, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/cgo_unix.go:149 +0x174 fp=0xc420ab0738 sp=0xc420ab0640 pc=0x581384
net.cgoIPLookup(0xc42096d200, 0xc421367200, 0xe)
	/usr/local/go/src/net/cgo_unix.go:201 +0x4d fp=0xc420ab07c8 sp=0xc420ab0738 pc=0x581a4d
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc420ab07d0 sp=0xc420ab07c8 pc=0x45cc01
created by net.cgoLookupIP
	/usr/local/go/src/net/cgo_unix.go:211 +0xaf

goroutine 1 [chan receive]:
github.com/docker/docker/cmd/dockerd.(*DaemonCli).start(0xc42045c780, 0xc420246000, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/cmd/dockerd/daemon.go:270 +0x1605
github.com/docker/docker/cmd/dockerd.runDaemon(0xc420246000, 0xc4202361e0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/cmd/dockerd/docker.go:78 +0x68
github.com/docker/docker/cmd/dockerd.newDaemonCommand.func1(0xc42042c000, 0x232e208, 0x0, 0x0, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/cmd/dockerd/docker.go:29 +0x5b
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).execute(0xc42042c000, 0xc42003a1b0, 0x0, 0x0, 0xc42042c000, 0xc42003a1b0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:700 +0x46d
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc42042c000, 0xc4202361e0, 0xc420280000, 0xc42042c000)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:785 +0x2e4
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).Execute(0xc42042c000, 0xc42000e020, 0x15de301)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:738 +0x2b
github.com/docker/docker/cmd/dockerd.Main()
	/balena-engine/.gopath/src/github.com/docker/docker/cmd/dockerd/docker.go:106 +0xa0
main.main()
	/balena-engine/.gopath/src/github.com/docker/docker/cmd/balena-engine/main.go:29 +0xf9

goroutine 22 [syscall]:
os/signal.signal_recv(0x4353c8)
	/usr/local/go/src/runtime/sigqueue.go:139 +0xa6
os/signal.loop()
	/usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
	/usr/local/go/src/os/signal/signal_unix.go:28 +0x41

goroutine 53 [syscall]:
syscall.Syscall6(0xf7, 0x1, 0xeac02, 0xc4204afdc8, 0x1000004, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/syscall/asm_linux_amd64.s:44 +0x5
os.(*Process).blockUntilWaitable(0xc420308270, 0x0, 0x0, 0x0)
	/usr/local/go/src/os/wait_waitid.go:31 +0x98
os.(*Process).wait(0xc420308270, 0x0, 0x0, 0x0)
	/usr/local/go/src/os/exec_unix.go:22 +0x3c
os.(*Process).Wait(0xc420308270, 0x0, 0x0, 0x0)
	/usr/local/go/src/os/exec.go:123 +0x2b
os/exec.(*Cmd).Wait(0xc4200f0160, 0x0, 0x0)
	/usr/local/go/src/os/exec/exec.go:461 +0x5c
github.com/docker/docker/libcontainerd.(*remote).startContainerd.func1(0xc4200f0160, 0xc42021c340)
	/balena-engine/.gopath/src/github.com/docker/docker/libcontainerd/remote_daemon.go:243 +0x2f
created by github.com/docker/docker/libcontainerd.(*remote).startContainerd
	/balena-engine/.gopath/src/github.com/docker/docker/libcontainerd/remote_daemon.go:241 +0x3d9

goroutine 16 [chan receive]:
github.com/docker/docker/libcontainerd.(*remote).monitorConnection(0xc42021c340, 0xc420532c40)
	/balena-engine/.gopath/src/github.com/docker/docker/libcontainerd/remote_daemon.go:270 +0x9c
created by github.com/docker/docker/libcontainerd.New
	/balena-engine/.gopath/src/github.com/docker/docker/libcontainerd/remote_daemon.go:116 +0x58c

goroutine 27 [IO wait]:
internal/poll.runtime_pollWait(0x7f2ba42f9d60, 0x72, 0xc42007bb88)
	/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420542898, 0x72, 0xffffffffffffff00, 0x18621c0, 0x22afee8)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420542898, 0xc420088000, 0x8000, 0x8000)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420542880, 0xc420088000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc420542880, 0xc420088000, 0x8000, 0x8000, 0x10, 0xc42003bd50, 0x0)
	/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc4205300d0, 0xc420088000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/net.go:176 +0x6a
bufio.(*Reader).Read(0xc42052c8a0, 0xc4200ee038, 0x9, 0x9, 0xc42007bd38, 0xc42007bd98, 0x881bb6)
	/usr/local/go/src/bufio/bufio.go:216 +0x238
io.ReadAtLeast(0x185c500, 0xc42052c8a0, 0xc4200ee038, 0x9, 0x9, 0x9, 0xc42007bdd8, 0x20, 0xc4200a5200)
	/usr/local/go/src/io/io.go:309 +0x86
io.ReadFull(0x185c500, 0xc42052c8a0, 0xc4200ee038, 0x9, 0x9, 0xc42007be19, 0xc4208c2cf0, 0xc42035c7e0)
	/usr/local/go/src/io/io.go:327 +0x58
github.com/docker/docker/vendor/golang.org/x/net/http2.readFrameHeader(0xc4200ee038, 0x9, 0x9, 0x185c500, 0xc42052c8a0, 0x0, 0x0, 0xc4208c2cc0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/golang.org/x/net/http2/frame.go:237 +0x7b
github.com/docker/docker/vendor/golang.org/x/net/http2.(*Framer).ReadFrame(0xc4200ee000, 0xc, 0x0, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/golang.org/x/net/http2/frame.go:492 +0xa4
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*framer).readFrame(0xc420516db0, 0xc4208c2cf0, 0xc4208c2cf0, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http_util.go:544 +0x2f
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*http2Client).reader(0xc420502600)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http2_client.go:1057 +0xc0
created by github.com/docker/docker/vendor/google.golang.org/grpc/transport.newHTTP2Client
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http2_client.go:250 +0xb21

goroutine 28 [select]:
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*http2Client).controller(0xc420502600)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http2_client.go:1130 +0x122
created by github.com/docker/docker/vendor/google.golang.org/grpc/transport.newHTTP2Client
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http2_client.go:280 +0xea2

goroutine 29 [select]:
github.com/docker/docker/vendor/google.golang.org/grpc.(*addrConn).transportMonitor(0xc42021c820)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/clientconn.go:891 +0x1c0
created by github.com/docker/docker/vendor/google.golang.org/grpc.(*ClientConn).resetAddrConn
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/clientconn.go:608 +0x68b

goroutine 66 [select, locked to thread]:
runtime.gopark(0x178f390, 0x0, 0x17065e3, 0x6, 0x18, 0x1)
	/usr/local/go/src/runtime/proc.go:291 +0x11a
runtime.selectgo(0xc4202dff50, 0xc4200b03c0)
	/usr/local/go/src/runtime/select.go:392 +0xe50
runtime.ensureSigM.func1()
	/usr/local/go/src/runtime/signal_unix.go:549 +0x1f4
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:2361 +0x1

goroutine 31 [chan receive]:
github.com/docker/docker/pkg/signal.Trap.func1(0xc420382300, 0x185e500, 0xc4200c0140, 0xc42032ae20)
	/balena-engine/.gopath/src/github.com/docker/docker/pkg/signal/trap.go:38 +0x5b
created by github.com/docker/docker/pkg/signal.Trap
	/balena-engine/.gopath/src/github.com/docker/docker/pkg/signal/trap.go:36 +0x11e

goroutine 57 [chan receive]:
github.com/docker/docker/daemon.(*Daemon).setupDumpStackTrap.func1(0xc42052cb40, 0x171f363, 0x16)
	/balena-engine/.gopath/src/github.com/docker/docker/daemon/debugtrap_unix.go:18 +0x44
created by github.com/docker/docker/daemon.(*Daemon).setupDumpStackTrap
	/balena-engine/.gopath/src/github.com/docker/docker/daemon/debugtrap_unix.go:17 +0xbf

goroutine 62 [IO wait]:
internal/poll.runtime_pollWait(0x7f2ba42f9c90, 0x72, 0x0)
	/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4200f8798, 0x72, 0xc420534b00, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4200f8798, 0xffffffffffffff00, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc4200f8780, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc4200f8780, 0xc42044fe58, 0x412f08, 0x30)
	/usr/local/go/src/net/fd_unix.go:238 +0x42
net.(*UnixListener).accept(0xc42051a570, 0x532b5a, 0x1628600, 0xc420517470)
	/usr/local/go/src/net/unixsock_posix.go:162 +0x32
net.(*UnixListener).Accept(0xc42051a570, 0xc420042088, 0x14d3660, 0x227c1a0, 0x16da7a0)
	/usr/local/go/src/net/unixsock.go:253 +0x49
net/http.(*Server).Serve(0xc4204821a0, 0x1873f20, 0xc42051a570, 0x0, 0x0)
	/usr/local/go/src/net/http/server.go:2773 +0x1a5
net/http.Serve(0x1873f20, 0xc42051a570, 0x185eee0, 0xc42051a5a0, 0x4353c8, 0x178f220)
	/usr/local/go/src/net/http/server.go:2392 +0x73
github.com/docker/docker/daemon.(*Daemon).listenMetricsSock.func1(0x1873f20, 0xc42051a570, 0xc42051a5a0)
	/balena-engine/.gopath/src/github.com/docker/docker/daemon/metrics_unix.go:31 +0x4b
created by github.com/docker/docker/daemon.(*Daemon).listenMetricsSock
	/balena-engine/.gopath/src/github.com/docker/docker/daemon/metrics_unix.go:30 +0x193

goroutine 84 [select]:
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*recvBufferReader).Read(0xc420048f40, 0xc42032af30, 0x5, 0x5, 0x0, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/transport.go:144 +0x2ba
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*Stream).Read(0xc4201a0240, 0xc42032af30, 0x5, 0x5, 0xc42030d9e8, 0x88143c, 0xc42030d9e8)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/transport.go:332 +0x5c
io.ReadAtLeast(0x185e9e0, 0xc4201a0240, 0xc42032af30, 0x5, 0x5, 0x5, 0x0, 0x0, 0x0)
	/usr/local/go/src/io/io.go:309 +0x86
io.ReadFull(0x185e9e0, 0xc4201a0240, 0xc42032af30, 0x5, 0x5, 0x10000c42022bbc0, 0xc4205185b0, 0x0)
	/usr/local/go/src/io/io.go:327 +0x58
github.com/docker/docker/vendor/google.golang.org/grpc.(*parser).recvMsg(0xc42032af20, 0x7fffffff, 0x10000000000002e, 0x3, 0xc42004a070, 0xc42004a000, 0xc420489218, 0xc420489220)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/rpc_util.go:218 +0x69
github.com/docker/docker/vendor/google.golang.org/grpc.recv(0xc42032af20, 0x1875560, 0x232e208, 0xc4201a0240, 0x0, 0x0, 0x1626060, 0xc420048f80, 0x7fffffff, 0x0, ...)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/rpc_util.go:314 +0x4d
github.com/docker/docker/vendor/google.golang.org/grpc.(*clientStream).RecvMsg(0xc420238f20, 0x1626060, 0xc420048f80, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/stream.go:376 +0xcd
github.com/docker/docker/vendor/github.com/containerd/containerd/api/services/events/v1.(*eventsSubscribeClient).Recv(0xc42003bbd0, 0x7f2ba4081140, 0xc420489240, 0xc42032ae60)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/containerd/containerd/api/services/events/v1/events.pb.go:213 +0x62
github.com/docker/docker/libcontainerd.(*client).processEventStream(0xc420246460, 0x18760a0, 0xc420489240)
	/balena-engine/.gopath/src/github.com/docker/docker/libcontainerd/client_daemon.go:728 +0x393
created by github.com/docker/docker/libcontainerd.(*remote).NewClient
	/balena-engine/.gopath/src/github.com/docker/docker/libcontainerd/remote_daemon.go:136 +0x249

goroutine 65 [IO wait]:
internal/poll.runtime_pollWait(0x7f2ba42f9bc0, 0x72, 0xc420253b88)
	/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4200f8a98, 0x72, 0xffffffffffffff00, 0x18621c0, 0x22afee8)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4200f8a98, 0xc4203d6000, 0x8000, 0x8000)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc4200f8a80, 0xc4203d6000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc4200f8a80, 0xc4203d6000, 0x8000, 0x8000, 0x9, 0x0, 0x0)
	/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e198, 0xc4203d6000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/net.go:176 +0x6a
bufio.(*Reader).Read(0xc420226f00, 0xc4203e6038, 0x9, 0x9, 0x30, 0x28, 0x160a8e0)
	/usr/local/go/src/bufio/bufio.go:216 +0x238
io.ReadAtLeast(0x185c500, 0xc420226f00, 0xc4203e6038, 0x9, 0x9, 0x9, 0xc420253dc0, 0x40219e, 0xc420253e6f)
	/usr/local/go/src/io/io.go:309 +0x86
io.ReadFull(0x185c500, 0xc420226f00, 0xc4203e6038, 0x9, 0x9, 0x84c534, 0xc4205174d0, 0xc420510004)
	/usr/local/go/src/io/io.go:327 +0x58
github.com/docker/docker/vendor/golang.org/x/net/http2.readFrameHeader(0xc4203e6038, 0x9, 0x9, 0x185c500, 0xc420226f00, 0x0, 0x0, 0xc4205174d0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/golang.org/x/net/http2/frame.go:237 +0x7b
github.com/docker/docker/vendor/golang.org/x/net/http2.(*Framer).ReadFrame(0xc4203e6000, 0x1866560, 0xc4205174d0, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/golang.org/x/net/http2/frame.go:492 +0xa4
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*framer).readFrame(0xc420498720, 0xc4205174d0, 0xc4205174d0, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http_util.go:544 +0x2f
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*http2Client).reader(0xc4200a5800)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http2_client.go:1057 +0xc0
created by github.com/docker/docker/vendor/google.golang.org/grpc/transport.newHTTP2Client
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http2_client.go:250 +0xb21

goroutine 82 [select]:
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*http2Client).controller(0xc4200a5800)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http2_client.go:1130 +0x122
created by github.com/docker/docker/vendor/google.golang.org/grpc/transport.newHTTP2Client
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http2_client.go:280 +0xea2

goroutine 83 [select]:
github.com/docker/docker/vendor/google.golang.org/grpc.(*addrConn).transportMonitor(0xc42021cd00)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/clientconn.go:891 +0x1c0
created by github.com/docker/docker/vendor/google.golang.org/grpc.(*ClientConn).resetAddrConn
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/clientconn.go:608 +0x68b

goroutine 68 [select]:
github.com/docker/docker/vendor/google.golang.org/grpc.newClientStream.func3(0x1883de0, 0xc4200a5800, 0xc42021cb60, 0xc420238f20, 0xc4201a0240)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/stream.go:241 +0x19b
created by github.com/docker/docker/vendor/google.golang.org/grpc.newClientStream
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/stream.go:240 +0xb8a

goroutine 85 [chan receive]:
github.com/docker/docker/daemon/stats.(*Collector).Run(0xc420380200)
	/balena-engine/.gopath/src/github.com/docker/docker/daemon/stats/collector.go:60 +0x1ce
created by github.com/docker/docker/daemon.(*Daemon).newStatsCollector
	/balena-engine/.gopath/src/github.com/docker/docker/daemon/stats_collector.go:24 +0x7f

goroutine 86 [chan receive]:
github.com/docker/docker/daemon.(*Daemon).execCommandGC(0xc42047a000)
	/balena-engine/.gopath/src/github.com/docker/docker/daemon/exec.go:281 +0x14e
created by github.com/docker/docker/daemon.NewDaemon
	/balena-engine/.gopath/src/github.com/docker/docker/daemon/daemon.go:935 +0x2637

goroutine 92 [select]:
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*recvBufferReader).Read(0xc420534d40, 0xc420532eb0, 0x5, 0x5, 0x0, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/transport.go:144 +0x2ba
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*Stream).Read(0xc42003c5a0, 0xc420532eb0, 0x5, 0x5, 0xc4203119e8, 0x88143c, 0xc4203119e8)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/transport.go:332 +0x5c
io.ReadAtLeast(0x185e9e0, 0xc42003c5a0, 0xc420532eb0, 0x5, 0x5, 0x5, 0x0, 0x0, 0x0)
	/usr/local/go/src/io/io.go:309 +0x86
io.ReadFull(0x185e9e0, 0xc42003c5a0, 0xc420532eb0, 0x5, 0x5, 0x10000c42052a1e0, 0xc4200bcea0, 0x0)
	/usr/local/go/src/io/io.go:327 +0x58
github.com/docker/docker/vendor/google.golang.org/grpc.(*parser).recvMsg(0xc420532ea0, 0x7fffffff, 0x100000000000026, 0x3, 0xc42004c570, 0xc42004c500, 0xc420534cd8, 0xc420534ce0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/rpc_util.go:218 +0x69
github.com/docker/docker/vendor/google.golang.org/grpc.recv(0xc420532ea0, 0x1875560, 0x232e208, 0xc42003c5a0, 0x0, 0x0, 0x1626060, 0xc420534dc0, 0x7fffffff, 0x0, ...)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/rpc_util.go:314 +0x4d
github.com/docker/docker/vendor/google.golang.org/grpc.(*clientStream).RecvMsg(0xc4203a6580, 0x1626060, 0xc420534dc0, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/stream.go:376 +0xcd
github.com/docker/docker/vendor/github.com/containerd/containerd/api/services/events/v1.(*eventsSubscribeClient).Recv(0xc42051f1b0, 0x7f2ba4081140, 0xc420489240, 0xc420532e00)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/containerd/containerd/api/services/events/v1/events.pb.go:213 +0x62
github.com/docker/docker/libcontainerd.(*client).processEventStream(0xc420246a10, 0x18760a0, 0xc420489240)
	/balena-engine/.gopath/src/github.com/docker/docker/libcontainerd/client_daemon.go:728 +0x393
created by github.com/docker/docker/libcontainerd.(*remote).NewClient
	/balena-engine/.gopath/src/github.com/docker/docker/libcontainerd/remote_daemon.go:136 +0x249

goroutine 89 [IO wait]:
internal/poll.runtime_pollWait(0x7f2ba42f9af0, 0x72, 0xc420448b88)
	/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4200f9018, 0x72, 0xffffffffffffff00, 0x18621c0, 0x22afee8)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4200f9018, 0xc420336000, 0x8000, 0x8000)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc4200f9000, 0xc420336000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc4200f9000, 0xc420336000, 0x8000, 0x8000, 0xc420448cf0, 0x405b67, 0xc420333920)
	/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e290, 0xc420336000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/net.go:176 +0x6a
bufio.(*Reader).Read(0xc420227500, 0xc4203e6498, 0x9, 0x9, 0xc420448d38, 0xc420448d98, 0x881c7e)
	/usr/local/go/src/bufio/bufio.go:216 +0x238
io.ReadAtLeast(0x185c500, 0xc420227500, 0xc4203e6498, 0x9, 0x9, 0x9, 0xc420448dd8, 0x20, 0xc4204ac600)
	/usr/local/go/src/io/io.go:309 +0x86
io.ReadFull(0x185c500, 0xc420227500, 0xc4203e6498, 0x9, 0x9, 0xc420448e19, 0xc4208dbf50, 0xc42095c240)
	/usr/local/go/src/io/io.go:327 +0x58
github.com/docker/docker/vendor/golang.org/x/net/http2.readFrameHeader(0xc4203e6498, 0x9, 0x9, 0x185c500, 0xc420227500, 0x0, 0x0, 0xc4208dbf20, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/golang.org/x/net/http2/frame.go:237 +0x7b
github.com/docker/docker/vendor/golang.org/x/net/http2.(*Framer).ReadFrame(0xc4203e6460, 0xc, 0x0, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/golang.org/x/net/http2/frame.go:492 +0xa4
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*framer).readFrame(0xc420377170, 0xc4208dbf50, 0xc4208dbf50, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http_util.go:544 +0x2f
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*http2Client).reader(0xc4204ac780)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http2_client.go:1057 +0xc0
created by github.com/docker/docker/vendor/google.golang.org/grpc/transport.newHTTP2Client
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http2_client.go:250 +0xb21

goroutine 90 [select]:
github.com/docker/docker/vendor/google.golang.org/grpc/transport.(*http2Client).controller(0xc4204ac780)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http2_client.go:1130 +0x122
created by github.com/docker/docker/vendor/google.golang.org/grpc/transport.newHTTP2Client
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/transport/http2_client.go:280 +0xea2

goroutine 91 [select]:
github.com/docker/docker/vendor/google.golang.org/grpc.(*addrConn).transportMonitor(0xc42021d040)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/clientconn.go:891 +0x1c0
created by github.com/docker/docker/vendor/google.golang.org/grpc.(*ClientConn).resetAddrConn
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/clientconn.go:608 +0x68b

goroutine 33 [select]:
github.com/docker/docker/vendor/google.golang.org/grpc.newClientStream.func3(0x1883de0, 0xc4204ac780, 0xc42021cea0, 0xc4203a6580, 0xc42003c5a0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/stream.go:241 +0x19b
created by github.com/docker/docker/vendor/google.golang.org/grpc.newClientStream
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/google.golang.org/grpc/stream.go:240 +0xb8a

goroutine 93 [select]:
github.com/docker/docker/vendor/github.com/docker/libnetwork.(*controller).watchLoop(0xc4201bcd00)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/store.go:446 +0xf9
created by github.com/docker/docker/vendor/github.com/docker/libnetwork.(*controller).startWatch
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/store.go:463 +0xe3

goroutine 100 [IO wait]:
internal/poll.runtime_pollWait(0x7f2ba42f97b0, 0x72, 0xc420289dc0)
	/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420234298, 0x72, 0xffffffffffffff00, 0x18621c0, 0x22afee8)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420234298, 0xc420377300, 0x1, 0x1)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420234280, 0xc420377361, 0x1, 0x1, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc420234280, 0xc420377361, 0x1, 0x1, 0x4139ec, 0xc4201f4c90, 0xc420289fb0)
	/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc420530000, 0xc420377361, 0x1, 0x1, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/net.go:176 +0x6a
github.com/docker/docker/cmd/dockerd/hack.(*MalformedHostHeaderOverrideConn).Read(0xc42000c180, 0xc420377361, 0x1, 0x1, 0x544629, 0xc4202276e0, 0xc420289fb0)
	/balena-engine/.gopath/src/github.com/docker/docker/cmd/dockerd/hack/malformed_host_override.go:110 +0x84
net/http.(*connReader).backgroundRead(0xc420377350)
	/usr/local/go/src/net/http/server.go:668 +0x5a
created by net/http.(*connReader).startBackgroundRead
	/usr/local/go/src/net/http/server.go:664 +0xce

goroutine 71 [IO wait]:
internal/poll.runtime_pollWait(0x7f2ba42f9a20, 0x72, 0x0)
	/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4200f8018, 0x72, 0xc420380500, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4200f8018, 0xffffffffffffff00, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc4200f8000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc4200f8000, 0x14d4980, 0xc420016f58, 0x405b0b)
	/usr/local/go/src/net/fd_unix.go:238 +0x42
net.(*UnixListener).accept(0xc420881980, 0x0, 0xc420016f30, 0x0)
	/usr/local/go/src/net/unixsock_posix.go:162 +0x32
net.(*UnixListener).Accept(0xc420881980, 0xc420227e58, 0x0, 0x0, 0xc420016f90)
	/usr/local/go/src/net/unixsock.go:253 +0x49
github.com/docker/docker/vendor/github.com/docker/libnetwork.(*controller).acceptClientConnections(0xc4201bcd00, 0xc420210780, 0x5c, 0x1873f20, 0xc420881980)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/sandbox_externalkey_unix.go:127 +0x3b
created by github.com/docker/docker/vendor/github.com/docker/libnetwork.(*controller).startExternalKeyListener
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/sandbox_externalkey_unix.go:121 +0x1e4

goroutine 99 [select]:
net/http.(*Transport).getConn(0xc4202365a0, 0xc420912720, 0x0, 0xc4213671e0, 0x5, 0xc421367200, 0x12, 0x0, 0x0, 0x150)
	/usr/local/go/src/net/http/transport.go:962 +0x558
net/http.(*Transport).RoundTrip(0xc4202365a0, 0xc4201bd700, 0xc4201bd700, 0x0, 0xc420d3e240)
	/usr/local/go/src/net/http/transport.go:409 +0x632
github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/transport.(*transport).RoundTrip(0xc42020e300, 0xc4201bd600, 0xc42020e300, 0xc04671d4276e63ce, 0x778a56b5f)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/transport/transport.go:62 +0x11a
net/http.send(0xc4201bd500, 0x185da80, 0xc42020e300, 0xc04671d4276e63ce, 0x778a56b5f, 0x23096c0, 0xc4202081c8, 0xc04671d4276e63ce, 0xc4213c8500, 0x1)
	/usr/local/go/src/net/http/client.go:252 +0x185
net/http.(*Client).send(0xc420912600, 0xc4201bd500, 0xc04671d4276e63ce, 0x778a56b5f, 0x23096c0, 0xc4202081c8, 0x0, 0x1, 0xc4200d8910)
	/usr/local/go/src/net/http/client.go:176 +0xfa
net/http.(*Client).Do(0xc420912600, 0xc4201bd500, 0x46, 0x0, 0x0)
	/usr/local/go/src/net/http/client.go:615 +0x28d
github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/auth.(*tokenHandler).fetchTokenWithBasicAuth(0xc4209f0b40, 0xc420542800, 0xc420221c9f, 0x12, 0xc420e14780, 0x1, 0x1, 0x0, 0x0, 0x0, ...)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/auth/session.go:406 +0x385
github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/auth.(*tokenHandler).fetchToken(0xc4209f0b40, 0xc420971500, 0xc420e14780, 0x1, 0x1, 0x0, 0x16a2301, 0x1, 0xc420912540, 0xc4213c8908, ...)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/auth/session.go:477 +0x2ca
github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/auth.(*tokenHandler).getToken(0xc4209f0b40, 0xc420971500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/auth/session.go:273 +0x403
github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/auth.(*tokenHandler).AuthorizeRequest(0xc4209f0b40, 0xc4201bd400, 0xc420971500, 0x1, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/auth/session.go:248 +0x92
github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/auth.(*endpointAuthorizer).ModifyRequest(0xc4205340c0, 0xc4201bd400, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/auth/session.go:102 +0x2af
github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/transport.(*transport).RoundTrip(0xc420534100, 0xc4201bd300, 0xc420534100, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/transport/transport.go:56 +0x9d
net/http.send(0xc4201bd300, 0x185da80, 0xc420534100, 0x0, 0x0, 0x0, 0xc4202081a8, 0x150, 0xc4213c8e18, 0x1)
	/usr/local/go/src/net/http/client.go:252 +0x185
net/http.(*Client).send(0xc420912270, 0xc4201bd300, 0x0, 0x0, 0x0, 0xc4202081a8, 0x0, 0x1, 0x7f2ba63571e8)
	/usr/local/go/src/net/http/client.go:176 +0xfa
net/http.(*Client).Do(0xc420912270, 0xc4201bd300, 0x6, 0x175ce0f, 0x34)
	/usr/local/go/src/net/http/client.go:615 +0x28d
github.com/docker/docker/vendor/github.com/docker/distribution/registry/client.(*tags).Get.func1(0x1702cfa, 0x4, 0xc42089f140, 0xc42026ed00, 0x40)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/repository.go:313 +0x10f
github.com/docker/docker/vendor/github.com/docker/distribution/registry/client.(*tags).Get(0xc4209123f0, 0x7f2b9c4a2000, 0xc4208da060, 0x1706019, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/docker/distribution/registry/client/repository.go:317 +0x19d
github.com/docker/docker/api/server/router/distribution.(*distributionRouter).getDistributionInfo(0xc42096b380, 0x7f2ba42bd570, 0xc4208da060, 0x18741a0, 0xc4203e61c0, 0xc4201bc200, 0xc420029aa0, 0x170448d, 0x5)
	/balena-engine/.gopath/src/github.com/docker/docker/api/server/router/distribution/distribution_routes.go:72 +0xeb6
github.com/docker/docker/api/server/router/distribution.(*distributionRouter).(github.com/docker/docker/api/server/router/distribution.getDistributionInfo)-fm(0x7f2ba42bd570, 0xc4208da060, 0x18741a0, 0xc4203e61c0, 0xc4201bc200, 0xc420029aa0, 0x7f2ba42bd570, 0xc4208da060)
	/balena-engine/.gopath/src/github.com/docker/docker/api/server/router/distribution/distribution.go:29 +0x69
github.com/docker/docker/api/server/middleware.ExperimentalMiddleware.WrapHandler.func1(0x7f2ba42bd570, 0xc4208da060, 0x18741a0, 0xc4203e61c0, 0xc4201bc200, 0xc420029aa0, 0x7f2ba42bd570, 0xc4208da060)
	/balena-engine/.gopath/src/github.com/docker/docker/api/server/middleware/experimental.go:27 +0xd8
github.com/docker/docker/api/server/middleware.VersionMiddleware.WrapHandler.func1(0x7f2ba42bd570, 0xc4208da030, 0x18741a0, 0xc4203e61c0, 0xc4201bc200, 0xc420029aa0, 0x7f2ba6356b20, 0xc42007aa50)
	/balena-engine/.gopath/src/github.com/docker/docker/api/server/middleware/version.go:62 +0x3ff
github.com/docker/docker/pkg/authorization.(*Middleware).WrapHandler.func1(0x7f2ba42bd570, 0xc4208da030, 0x18741a0, 0xc4203e61c0, 0xc4201bc200, 0xc420029aa0, 0x7f2ba42bd570, 0xc4208da030)
	/balena-engine/.gopath/src/github.com/docker/docker/pkg/authorization/middleware.go:59 +0x7a9
github.com/docker/docker/api/server.(*Server).makeHTTPHandler.func1(0x18741a0, 0xc4203e61c0, 0xc4201bc200)
	/balena-engine/.gopath/src/github.com/docker/docker/api/server/server.go:137 +0x1c6
net/http.HandlerFunc.ServeHTTP(0xc420a24ea0, 0x18741a0, 0xc4203e61c0, 0xc4201bc200)
	/usr/local/go/src/net/http/server.go:1947 +0x44
github.com/docker/docker/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc420536f50, 0x18741a0, 0xc4203e61c0, 0xc4201bc200)
	/balena-engine/.gopath/src/github.com/docker/docker/vendor/github.com/gorilla/mux/mux.go:103 +0x226
github.com/docker/docker/api/server.(*routerSwapper).ServeHTTP(0xc420a5ce50, 0x18741a0, 0xc4203e61c0, 0xc4201bc200)
	/balena-engine/.gopath/src/github.com/docker/docker/api/server/router_swapper.go:29 +0x70
net/http.serverHandler.ServeHTTP(0xc42051d110, 0x18741a0, 0xc4203e61c0, 0xc4201bc200)
	/usr/local/go/src/net/http/server.go:2697 +0xbc
net/http.(*conn).serve(0xc4200e00a0, 0x18760a0, 0xc42020e080)
	/usr/local/go/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2798 +0x27b

goroutine 184 [chan receive]:
github.com/docker/docker/cmd/dockerd.(*DaemonCli).setupConfigReloadTrap.func1(0xc420a880c0, 0xc42045c780)
	/balena-engine/.gopath/src/github.com/docker/docker/cmd/dockerd/daemon_unix.go:66 +0x55
created by github.com/docker/docker/cmd/dockerd.(*DaemonCli).setupConfigReloadTrap
	/balena-engine/.gopath/src/github.com/docker/docker/cmd/dockerd/daemon_unix.go:65 +0xb5

goroutine 185 [chan receive]:
github.com/docker/docker/api/server.(*Server).serveAPI(0xc4202261e0, 0x0, 0x0)
	/balena-engine/.gopath/src/github.com/docker/docker/api/server/server.go:94 +0x131
github.com/docker/docker/api/server.(*Server).Wait(0xc4202261e0, 0xc4200b1560)
	/balena-engine/.gopath/src/github.com/docker/docker/api/server/server.go:199 +0x2f
created by github.com/docker/docker/cmd/dockerd.(*DaemonCli).start
	/balena-engine/.gopath/src/github.com/docker/docker/cmd/dockerd/daemon.go:263 +0x15d7

goroutine 187 [IO wait]:
internal/poll.runtime_pollWait(0x7f2ba42f9e30, 0x72, 0x0)
	/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4200f8098, 0x72, 0xc42020e100, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4200f8098, 0xffffffffffffff00, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc4200f8080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc4200f8080, 0xc420251e08, 0xc420251e08, 0x40317c)
	/usr/local/go/src/net/fd_unix.go:238 +0x42
net.(*UnixListener).accept(0xc42045cb10, 0x14c1120, 0x14c1120, 0xc420251e38)
	/usr/local/go/src/net/unixsock_posix.go:162 +0x32
net.(*UnixListener).Accept(0xc42045cb10, 0xc420251e40, 0x4592a0, 0xc420251e80, 0xc420251e88)
	/usr/local/go/src/net/unixsock.go:253 +0x49
github.com/docker/docker/cmd/dockerd/hack.(*MalformedHostHeaderOverride).Accept(0xc4202e64f0, 0x178ecc0, 0xc4200e00a0, 0x1876160, 0xc420a842a0)
	/balena-engine/.gopath/src/github.com/docker/docker/cmd/dockerd/hack/malformed_host_override.go:116 +0x37
net/http.(*Server).Serve(0xc42051d110, 0x186d9e0, 0xc4202e64f0, 0x0, 0x0)
	/usr/local/go/src/net/http/server.go:2773 +0x1a5
github.com/docker/docker/api/server.(*HTTPServer).Serve(0xc42020a360, 0x10, 0xc420906fb0)
	/balena-engine/.gopath/src/github.com/docker/docker/api/server/server.go:112 +0x40
github.com/docker/docker/api/server.(*Server).serveAPI.func1(0xc420a88120, 0xc42020a360)
	/balena-engine/.gopath/src/github.com/docker/docker/api/server/server.go:86 +0xa0
created by github.com/docker/docker/api/server.(*Server).serveAPI
	/balena-engine/.gopath/src/github.com/docker/docker/api/server/server.go:83 +0x86

goroutine 211 [select]:
net/http.setRequestCancel.func3(0x0, 0xc4209126c0, 0xc4213685a0, 0xc420dd148c, 0xc420d3e240)
	/usr/local/go/src/net/http/client.go:323 +0xfa
created by net/http.setRequestCancel
	/usr/local/go/src/net/http/client.go:322 +0x2ac

goroutine 212 [select]:
net.(*Resolver).LookupIPAddr(0x2307a00, 0x1876120, 0xc42096cfc0, 0xc421367200, 0xe, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/lookup.go:212 +0x50d
net.(*Resolver).internetAddrList(0x2307a00, 0x1876120, 0xc42096cfc0, 0x170294f, 0x3, 0xc421367200, 0x12, 0x0, 0x0, 0x0, ...)
	/usr/local/go/src/net/ipsock.go:293 +0x5c4
net.(*Resolver).resolveAddrList(0x2307a00, 0x1876120, 0xc42096cfc0, 0x1703156, 0x4, 0x170294f, 0x3, 0xc421367200, 0x12, 0x0, ...)
	/usr/local/go/src/net/dial.go:193 +0x50c
net.(*Dialer).DialContext(0xc420098420, 0x18760e0, 0xc420042088, 0x170294f, 0x3, 0xc421367200, 0x12, 0x0, 0x0, 0x0, ...)
	/usr/local/go/src/net/dial.go:375 +0x22b
net.(*Dialer).Dial(0xc420098420, 0x170294f, 0x3, 0xc421367200, 0x12, 0x60, 0x110, 0x110, 0xc42091a360)
	/usr/local/go/src/net/dial.go:320 +0x75
github.com/docker/docker/vendor/golang.org/x/net/proxy.(Dialer).Dial-fm(0x170294f, 0x3, 0xc421367200, 0x12, 0xc42096cf60, 0xc42024cae8, 0x405456, 0x79b0e9)
	/balena-engine/.gopath/src/github.com/docker/docker/registry/registry.go:188 +0x5b
net/http.(*Transport).dial(0xc4202365a0, 0x18760e0, 0xc420042088, 0x170294f, 0x3, 0xc421367200, 0x12, 0x0, 0x0, 0x0, ...)
	/usr/local/go/src/net/http/transport.go:901 +0x78
net/http.(*Transport).dialConn(0xc4202365a0, 0x18760e0, 0xc420042088, 0x0, 0xc4213671e0, 0x5, 0xc421367200, 0x12, 0x0, 0x0, ...)
	/usr/local/go/src/net/http/transport.go:1143 +0x317
net/http.(*Transport).getConn.func4(0xc4202365a0, 0x18760e0, 0xc420042088, 0xc420912750, 0xc420d3e2a0)
	/usr/local/go/src/net/http/transport.go:957 +0x78
created by net/http.(*Transport).getConn
	/usr/local/go/src/net/http/transport.go:956 +0x363

goroutine 213 [select]:
net.cgoLookupIP(0x18760a0, 0xc420535280, 0xc421367200, 0xe, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/cgo_unix.go:212 +0x19f
net.(*Resolver).lookupIP(0x2307a00, 0x18760a0, 0xc420535280, 0xc421367200, 0xe, 0x0, 0xc420a6f680, 0xc420534000, 0x0, 0x0)
	/usr/local/go/src/net/lookup_unix.go:95 +0x12d
net.(*Resolver).(net.lookupIP)-fm(0x18760a0, 0xc420535280, 0xc421367200, 0xe, 0x42bdf9, 0x8, 0xc420534000, 0x0, 0xc420ab06a0)
	/usr/local/go/src/net/lookup.go:192 +0x56
net.glob..func10(0x18760a0, 0xc420535280, 0xc420e148b0, 0xc421367200, 0xe, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/hook.go:19 +0x52
net.(*Resolver).LookupIPAddr.func1(0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/net/lookup.go:206 +0xd8
internal/singleflight.(*Group).doCall(0x23079f0, 0xc421368640, 0xc421367200, 0xe, 0xc4209127e0)
	/usr/local/go/src/internal/singleflight/singleflight.go:95 +0x2e
created by internal/singleflight.(*Group).DoChan
	/usr/local/go/src/internal/singleflight/singleflight.go:88 +0x2d0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant