Bug #10288: Fix newly identified issues to make our test suite more robust and faster
Step 'I shutdown Tails and wait for the computer to power off' sometimes fails by rebooting instead
Doing a reboot instead of a shutdown makes the
wait for the computer to power off part of the step fail eventually.
I've seen this only once (on one of Jenkins' ISO testers), and it looked like this in the debug log:
[...] [log] TYPE " " [log] CLICK on (522,707) When I disable the first persistence preset # features/step_definitions/usb.rb:192 spawning as root: poweroff [log] Alt+TYPE "î€”" And I shutdown Tails and wait for the computer to power off # features/step_definitions/common_steps.rb:555 VM is still running (Timeout::Error) [...]
I.e. nothing helpful (and I think Sikuli doing
Alt+TYPE "î€”"(= type Alt+F4) that late is just a delay caused by the
DEBUG_LOG_PSEUDO_FIFOmadness => unrelated). Looking at the video doesn't reveal anything useful either.