sleep_test script fails if wake_alarm is still set

Bug #911161 reported by Brendan Donegan
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Brendan Donegan

Bug Description

The sleep_test script sets the wake_alarm of a system when suspending it, in the hope that the system will obey the wake alarm and resume after the interval set. This is useful for testing where the tester can't attend each system individually and would like it to continue with the testing automatically and also for fully automated test runs. However not every system obeys this wake alarm which may be considered a bug, but is not currently considered important enough to address on a system by system basis. This means that sometimes the wake alarm is still set as the tester has resumed the system by some other means.

The test shouldn't fail if the wake alarm is still set, but it should warn (which it does). The script behaviour needs to change to removed the failure mode if the wake alarm fails to unset.

Related branches

Changed in checkbox:
assignee: nobody → Brendan Donegan (brendan-donegan)
status: New → Triaged
status: Triaged → In Progress
importance: Undecided → Medium
importance: Medium → Low
Changed in checkbox:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers