First, testing with checkbox 0.13.7:
$ dpkg --list checkbox{,-cli}
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==================-==================-====================================================
ii checkbox 0.13.7 System testing application
ii checkbox-cli 0.13.7 Command line interface for checkbox
Running the test command and checking the checkbox report says the test passed:
Power Management tests
power-management/fwts_wakealarm [pass]
: Space when finished
But the report in .cache/checkbox/fwts-wakealarm.log says otherwise
(didn't run due to lack of privileges):
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.
With checkbox 0.13.9 installed:
$ dpkg --list checkbox{,-cli}
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==================-==================-====================================================
ii checkbox 0.13.9 System testing application
ii checkbox-cli 0.13.9 Command line interface for checkbox
The text-mode report shows success:
Power Management tests
power-management/fwts_wakealarm [pass]
: Space when finished
Here's the extract from the logfile showing it actually did something
this time. Note the logfile is in /, as in comment #2, this is better
than the test not running at all:
00010 fwts Running tests: wakealarm.
00012 wakealarm Test ACPI Wakealarm.
00013 wakealarm
-----------------------------------------------------------------------------
00014 wakealarm Test 1 of 4: Check existance of
/sys/class/rtc/rtc0/wakealarm.
00015 wakealarm PASSED: Test 1, /sys/class/rtc/rtc0/wakealarm found.
00016 wakealarm
00017 wakealarm Test 2 of 4: Trigger wakealarm for 1 seconds in the
future.
00018 wakealarm Trigger wakealarm for 1 seconds in the future.
00019 wakealarm PASSED: Test 2, RTC wakealarm was triggered successfully.
00020 wakealarm
00021 wakealarm Test 3 of 4: Check if wakealarm is fired.
00022 wakealarm PASSED: Test 3, RTC wakealarm triggered and fired
successfully.
00023 wakealarm
00024 wakealarm Test 4 of 4: Multiple wakealarm firing tests.
00025 wakealarm Trigger wakealarm for 1 seconds in the future.
00026 wakealarm Trigger wakealarm for 2 seconds in the future.
00027 wakealarm Trigger wakealarm for 3 seconds in the future.
00028 wakealarm Trigger wakealarm for 4 seconds in the future.
00029 wakealarm PASSED: Test 4, RTC wakealarm triggered and fired
successfully.
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1004102
Title:
power-management/fwts_wakealarm not run as root, fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/checkbox/+bug/1004102/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs