Test suite: emergency shutdown fails to show "Happy dumping" message

anonym
2025-03-27T12:35:57Z

Unsurprisingly, the emergency shutdown feature isn't perfect and sometimes fails to show the message from `MemoryWipeCompleted.png`.

This is what the screen displays
![image](/uploads/c9de0becc4998a70359d2269...

Unsurprisingly, the emergency shutdown feature isn't perfect and sometimes fails to show the message from MemoryWipeCompleted.png.

This is what the screen displays

On jenkins this has happened 13 times in the past six months (since May 25, 2024 to Dec 10, 2024) , but I also think it'd be good to verify (with the test suite) that memory wiping didn't fail in this situation, so I think we have reasons to fix this. It would be pretty simple, we just need to wait for either the usual MemoryWipeCompleted.png, or (for instance) the "systemd[1]: freezing execution" to appear, perhaps using OCR (#20522 (closed), !1772 (closed)) (maybe even for both messages, dropping MemoryWipeCompleted.png while we're at it?)