[Apologies if you saw a half-done PR before...I obviously fat-fingered something, and had to come back and redo the edits I was trying the first time.]
This checks if balena engine is refusing connections. Specifically:
It also refactors check_container_engine() to be a "bag-of-holding" for engine tests, the way we do with check_networking() and check_localdisk().
It adds a new check for engine responsiveness using the cli (balena ps)
[Apologies if you saw a half-done PR before...I obviously fat-fingered something, and had to come back and redo the edits I was trying the first time.]
This checks if balena engine is refusing connections. Specifically:
check_container_engine()
to be a "bag-of-holding" for engine tests, the way we do withcheck_networking()
andcheck_localdisk()
.balena ps
)Local testing
Happy case (no errors):
Sad case
I followed this procedure to cause problems with log messages matching #226:
After that, running the check gives this message:
Change-type: patch Signed-off-by: Hugh Brown hugh@balena.io Connects-to: #226