balena-os / balena-iot2000

Balena support for the Siemens IOT2000 family
Apache License 2.0
3 stars 3 forks source link

supervisor keeps restarting #25

Open federico-d opened 5 years ago

federico-d commented 5 years ago

supervisor keeps restarting on Siemens iot2040 (every 15/20 minutes)

root@e572295:~# uname -a Linux e572295 4.4.126-cip22 #2 PREEMPT Thu Mar 14 16:13:56 UTC 2019 i586 i586 i386 GNU/Linux

root@e572295:~# cat /mnt/boot/os-release ID="balena-os" NAME="balenaOS" VERSION="2.31.0+rev1" VERSION_ID="2.31.0" PRETTY_NAME="balenaOS 2.31.0+rev1" MACHINE="iot2000" VARIANT="Development" VARIANT_ID="dev"

supervisor: balena/i386-nlp-supervisor:v9.9.0

LOG:

Mar 26 09:59:47 e572295 balenad[29459]: Starting system message bus: dbus. Mar 26 09:59:47 e572295 resin-supervisor[31040]: Starting system message bus: dbus. Mar 26 09:59:47 e572295 balenad[29459]: Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon Mar 26 09:59:47 e572295 resin-supervisor[31040]: Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon Mar 26 09:59:47 e572295 balenad[29459]: ...done. Mar 26 09:59:47 e572295 resin-supervisor[31040]: ...done. Mar 26 10:00:52 e572295 balenad[29459]: [2019-03-26T10:00:52.913Z] Event: Supervisor start {} Mar 26 10:00:52 e572295 resin-supervisor[31040]: [2019-03-26T10:00:52.913Z] Event: Supervisor start {} Mar 26 10:00:57 e572295 balenad[29459]: [2019-03-26T10:00:57.477Z] Event: Service already running {"service":{"appId":4,"serviceId":9,"serviceName":"main","releaseId":11}} Mar 26 10:00:57 e572295 resin-supervisor[31040]: [2019-03-26T10:00:57.477Z] Event: Service already running {"service":{"appId":4,"serviceId":9,"serviceName":"main","releaseId":11}} Mar 26 10:00:57 e572295 balenad[29459]: [2019-03-26T10:00:57.885Z] Connectivity check enabled: true Mar 26 10:00:57 e572295 resin-supervisor[31040]: [2019-03-26T10:00:57.885Z] Connectivity check enabled: true Mar 26 10:00:57 e572295 balenad[29459]: [2019-03-26T10:00:57.906Z] Starting periodic check for IP addresses Mar 26 10:00:57 e572295 resin-supervisor[31040]: [2019-03-26T10:00:57.906Z] Starting periodic check for IP addresses Mar 26 10:00:57 e572295 balenad[29459]: [2019-03-26T10:00:57.994Z] Reporting initial state, supervisor version and API info Mar 26 10:00:58 e572295 resin-supervisor[31040]: [2019-03-26T10:00:57.994Z] Reporting initial state, supervisor version and API info Mar 26 10:00:58 e572295 balenad[29459]: [2019-03-26T10:00:58.120Z] VPN status path exists. Mar 26 10:00:58 e572295 resin-supervisor[31040]: [2019-03-26T10:00:58.120Z] VPN status path exists. Mar 26 10:00:58 e572295 balenad[29459]: [2019-03-26T10:00:58.397Z] Waiting for connectivity... Mar 26 10:00:58 e572295 resin-supervisor[31040]: [2019-03-26T10:00:58.397Z] Waiting for connectivity... Mar 26 10:01:00 e572295 balenad[29459]: [2019-03-26T10:01:00.045Z] Skipping preloading Mar 26 10:01:00 e572295 resin-supervisor[31040]: [2019-03-26T10:01:00.045Z] Skipping preloading Mar 26 10:01:00 e572295 balenad[29459]: [2019-03-26T10:01:00.432Z] Starting API server Mar 26 10:01:00 e572295 resin-supervisor[31040]: [2019-03-26T10:01:00.432Z] Starting API server Mar 26 10:01:00 e572295 balenad[29459]: [2019-03-26T10:01:00.675Z] Applying target state Mar 26 10:01:00 e572295 resin-supervisor[31040]: [2019-03-26T10:01:00.675Z] Applying target state Mar 26 10:01:00 e572295 balenad[29459]: [2019-03-26T10:01:00.876Z] Ensuring device is provisioned Mar 26 10:01:00 e572295 resin-supervisor[31040]: [2019-03-26T10:01:00.876Z] Ensuring device is provisioned Mar 26 10:01:06 e572295 balenad[29459]: [2019-03-26T10:01:06.075Z] Starting current state report Mar 26 10:01:06 e572295 resin-supervisor[31040]: [2019-03-26T10:01:06.075Z] Starting current state report Mar 26 10:01:06 e572295 balenad[29459]: [2019-03-26T10:01:06.576Z] Starting target state poll Mar 26 10:01:06 e572295 resin-supervisor[31040]: [2019-03-26T10:01:06.576Z] Starting target state poll Mar 26 10:01:08 e572295 balenad[29459]: [2019-03-26T10:01:08.557Z] Internet Connectivity: OK Mar 26 10:01:08 e572295 resin-supervisor[31040]: [2019-03-26T10:01:08.557Z] Internet Connectivity: OK Mar 26 10:01:09 e572295 balenad[29459]: [2019-03-26T10:01:09.992Z] Supervisor API listening on allowed interfaces only Mar 26 10:01:10 e572295 resin-supervisor[31040]: [2019-03-26T10:01:09.992Z] Supervisor API listening on allowed interfaces only Mar 26 10:01:13 e572295 balenad[29459]: [2019-03-26T10:01:13.518Z] Finished applying target state Mar 26 10:01:13 e572295 resin-supervisor[31040]: [2019-03-26T10:01:13.518Z] Finished applying target state Mar 26 10:01:13 e572295 balenad[29459]: [2019-03-26T10:01:13.539Z] Applying target state Mar 26 10:01:13 e572295 resin-supervisor[31040]: [2019-03-26T10:01:13.539Z] Applying target state Mar 26 10:01:13 e572295 balenad[29459]: [2019-03-26T10:01:13.556Z] Apply success! Mar 26 10:01:13 e572295 resin-supervisor[31040]: [2019-03-26T10:01:13.556Z] Apply success! Mar 26 10:01:16 e572295 balenad[29459]: [2019-03-26T10:01:16.900Z] Finished applying target state Mar 26 10:01:16 e572295 resin-supervisor[31040]: [2019-03-26T10:01:16.900Z] Finished applying target state Mar 26 10:01:16 e572295 resin-supervisor[31040]: [2019-03-26T10:01:16.917Z] Apply success! Mar 26 10:01:16 e572295 balenad[29459]: [2019-03-26T10:01:16.917Z] Apply success! Mar 26 10:01:48 e572295 balenad[29459]: [2019-03-26T10:01:48.435Z] LogBackend: server responded with status code: 504 Mar 26 10:01:48 e572295 resin-supervisor[31040]: [2019-03-26T10:01:48.435Z] LogBackend: server responded with status code: 504 Mar 26 10:04:55 e572295 balenad[29459]: time="2019-03-26T10:04:55.587821478Z" level=warning msg="unknown container" container=b8a0bd32e998e3132e71d28cb5e39642db583988807a859ff8002b97fc02ecf0 module=libcontainerd namespace=plugins.moby Mar 26 10:04:58 e572295 balenad[29459]: time="2019-03-26T10:04:58.564193274Z" level=warning msg="Health check for container b8a0bd32e998e3132e71d28cb5e39642db583988807a859ff8002b97fc02ecf0 error: ttrpc: client shutting down: EOF: unknown" Mar 26 10:04:58 e572295 balenad[29459]: time="2019-03-26T10:04:58Z" level=info msg="shim reaped" id=b8a0bd32e998e3132e71d28cb5e39642db583988807a859ff8002b97fc02ecf0 module=containerd/tasks Mar 26 10:05:00 e572295 balenad[29459]: time="2019-03-26T10:05:00Z" level=warning msg="cleaning up after killed shim" id=b8a0bd32e998e3132e71d28cb5e39642db583988807a859ff8002b97fc02ecf0 module=containerd/tasks namespace=moby Mar 26 10:05:02 e572295 balenad[29459]: time="2019-03-26T10:05:02.204212085Z" level=warning msg="unknown container" container=b8a0bd32e998e3132e71d28cb5e39642db583988807a859ff8002b97fc02ecf0 module=libcontainerd namespace=plugins.moby Mar 26 10:05:02 e572295 balenad[29459]: panic: sync: negative WaitGroup counter Mar 26 10:05:02 e572295 balenad[29459]: goroutine 1250 [running]: Mar 26 10:05:02 e572295 balenad[29459]: sync.(WaitGroup).Add(0x1a50b590, 0xffffffff) Mar 26 10:05:02 e572295 balenad[29459]: /usr/lib/go/src/sync/waitgroup.go:75 +0x124 Mar 26 10:05:02 e572295 balenad[29459]: sync.(WaitGroup).Done(0x1a50b590) Mar 26 10:05:02 e572295 balenad[29459]: /usr/lib/go/src/sync/waitgroup.go:100 +0x29 Mar 26 10:05:02 e572295 balenad[29459]: github.com/docker/docker/container/stream.(Config).CopyStreams.func2(0x8fdff66, 0x6, 0x98c2f30, 0x1a03d1e0, 0x98c8db0, 0x1a847c20) Mar 26 10:05:02 e572295 balenad[29459]: /work/balena-iot2000/build/tmp/work/i586-nlp-32-poky-linux/balena/17.12.0-dev+gitfe78e2c9a69313007c53c83fff4b5525fbc2ba45-r0/git/src/import/.gopath/src/github.com/docker/docker/container/stream/attach.go:133 +0x29b Mar 26 10:05:02 e572295 balenad[29459]: created by github.com/docker/docker/container/stream.(Config).CopyStreams Mar 26 10:05:02 e572295 balenad[29459]: /work/balena-iot2000/build/tmp/work/i586-nlp-32-poky-linux/balena/17.12.0-dev+gitfe78e2c9a69313007c53c83fff4b5525fbc2ba45-r0/git/src/import/.gopath/src/github.com/docker/docker/container/stream/attach.go:137 +0x170 Mar 26 10:05:02 e572295 resin-supervisor[31040]: time="2019-03-26T10:05:02Z" level=error msg="error waiting for container: unexpected EOF" Mar 26 10:05:02 e572295 systemd[1]: balena.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Mar 26 10:05:02 e572295 systemd[1]: resin-supervisor.service: Main process exited, code=exited, status=125/n/a Mar 26 10:05:02 e572295 systemd[1]: resin-supervisor.service: Unit entered failed state. Mar 26 10:05:02 e572295 systemd[1]: resin-supervisor.service: Failed with result 'exit-code'. Mar 26 10:05:03 e572295 systemd[1]: balena.service: Unit entered failed state. Mar 26 10:05:03 e572295 systemd[1]: balena.service: Failed with result 'exit-code'. Mar 26 10:05:03 e572295 systemd[1]: balena.service: Service hold-off time over, scheduling restart.

balena-ci commented 5 years ago

[shaunmulligan] This issue has attached support thread https://jel.ly.fish/#/support-thread~640a995f-647c-4e2d-a783-720be576997f

federico-d commented 5 years ago

any news on this issue?

floion commented 5 years ago

Hi @federico-d unfortunately no news yet. We'll note the progress we make in this issue once we do some progress.

floion commented 4 years ago

Hi, we decided to discontinue this board so it will no longer receive maintenance unfortunately.