Hi,
I have a problem with regularly restating supervisor during the image download.
OS: Balena OS 2.43.0, supervisor 10.2.2, RPI 3b
I created brand new app, freshed SD flashed with Etcher. I pushed and successfully built the image. However the download of the image restarts every now and then randomly due to supervisor container being restarted. Logs follow
Please advice - could it be a bad connection? (I tried at home, at work - same result). Could it be bad SD card? (I tried 2 of them - Kingston, A-Data, where speed shouldnāt be a problem).
Iām really stuck here. Donāt know, why the balena engine thinks itās necessary to restart the supervisor.
Thanks,
Jiri
Log 1
Oct 29 15:01:49 03a14ed resin-supervisor[3433]: [event] Event: Docker image download {āimageā:{ānameā:āregistry2.balena-cloud.com/v2/cc890989d5a02f97b8a3114f5c128862@sha256:851f1ec0d4ba1964b2b2fe692e9aac309ce062eb2167eb7c95bdcaa9dfce1455",āappIdā:1535704,āserviceIdā:349980,āserviceNameā:āmainā,āimageIdā:1634391,āreleaseIdā:1126541,ādependentā:0,"dockerImageIdā:null}}
Oct 29 15:05:46 03a14ed resin-supervisor[3433]: [api] GET /v1/healthy 200 - 53.443 ms
Oct 29 15:10:54 03a14ed resin-supervisor[3433]: [debug] Attempting container log timestamp flushā¦
Oct 29 15:10:54 03a14ed resin-supervisor[3433]: [debug] Container log timestamp flush complete
Oct 29 15:11:02 03a14ed resin-supervisor[3433]: [api] GET /v1/healthy 200 - 13.342 ms
Oct 29 15:12:29 03a14ed resin-supervisor[3433]: time=ā2019-10-29T15:12:29.787033389Zā level=error msg=āerror waiting for container: unexpected EOFā
Oct 29 15:12:29 03a14ed systemd[1]: resin-supervisor.service: Main process exited, code=exited, status=125/n/a
Oct 29 15:12:29 03a14ed systemd[1]: resin-supervisor.service: Failed with result āexit-codeā.
Oct 29 15:12:39 03a14ed systemd[1]: resin-supervisor.service: Service RestartSec=10s expired, scheduling restart.
Oct 29 15:12:39 03a14ed systemd[1]: resin-supervisor.service: Scheduled restart job, restart counter is at 2.
Oct 29 15:12:40 03a14ed systemd[1]: Stopped Resin supervisor.
Oct 29 15:13:49 03a14ed systemd[1]: Starting Resin supervisorā¦
Oct 29 15:13:50 03a14ed resin-supervisor[4504]: resin_supervisor
Oct 29 15:13:50 03a14ed resin-supervisor[4512]: active
Oct 29 15:13:50 03a14ed systemd[1]: Started Resin supervisor.
Log 2
Oct 28 16:47:25 eef28c0 systemd[1]: resin-supervisor.service: Watchdog timeout (limit 3min)!
Oct 28 16:47:25 eef28c0 systemd[1]: resin-supervisor.service: Killing process 31996 (start-resin-sup) with signal SIGABRT.