Comment 0 for bug 1004102

Daniel Manrique (roadmr) wrote :

This was reported using checkbox-certification-server on a server running Ubuntu 12.04.

Even though it appears as PASS on the test report, fwts-wakealarm.log shows the test didn't run as intended:

00012 wakealarm Test ACPI Wakealarm.
00013 wakealarm -----------------------------------------------------------------------------
00014 wakealarm Must be run as root or sudo to be able to read system information.
00015 wakealarm Aborted test, insufficient privilege.
00016 wakealarm =============================================================================
00017 wakealarm 0 passed, 0 failed, 0 warnings, 4 aborted, 0 skipped, 0 info only.
00018 wakealarm =============================================================================

This is because the test definition does not specify user: root. The solution to this bug is to make this job use root.

The job is defined in jobs/power-management.txt.in.