test_battery_ac failed: (upowerd:12673): GLib-CRITICAL **: g_ascii_strcasecmp: assertion `s1 != NULL' failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upower (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
upower autopackage test failed on Quantal i386 and amd64
https:/
Excerpt from the logs:
upowerd: no process found
test_battery_ac (__main__.Tests)
battery properties with and without AC ...
-------------- daemon log: ----------------
(upowerd:12673): GLib-CRITICAL **: g_ascii_strcasecmp: assertion `s1 != NULL' failed
-------
FAIL
test_battery_charge (__main__.Tests)
battery which reports charge instead of energy ... ok
test_daemon_version (__main__.Tests)
DaemonVersion property ... ok
test_multiple_
Multiple batteries ... ok
test_unknown_
Unknown battery charge status ... ok
test_ups_ac (__main__.Tests)
UPS properties with and without AC ... ok
=======
FAIL: test_battery_ac (__main__.Tests)
battery properties with and without AC
-------
Traceback (most recent call last):
File "src/linux/
self.
AssertionError: False != True
-------
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: upower 0.9.16-2
ProcVersionSign
Uname: Linux 3.4.0-5-generic x86_64
NonfreeKernelMo
ApportVersion: 2.2.1-0ubuntu2
Architecture: amd64
Date: Wed Jun 13 11:22:06 2012
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: upower
UpgradeStatus: Upgraded to quantal on 2012-01-31 (133 days ago)
Can also reproduce this on my running system, so it's not related to the jenkins VM environment.