Bug #12132

Step 'I shutdown Tails and wait for the computer to power off' sometimes fails by rebooting instead

Added by anonym 2017-01-11 18:33:05 . Updated 2017-01-16 11:20:47 .

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
Start date:
2017-01-11
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

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_FIFO madness => unrelated). Looking at the video doesn’t reveal anything useful either.


Subtasks


History

#1 Updated by intrigeri 2017-01-16 11:20:47