Screen unlock broken on image #265 through test automation
Bug #1298869 reported by
Didier Roche-Tolomelli
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powerd |
Fix Released
|
Undecided
|
Unassigned | ||
powerd (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Related branches
Changed in powerd (Ubuntu): | |
importance: | Undecided → Critical |
Changed in powerd: | |
status: | New → Fix Released |
To post a comment you must log in.
running the unlock screen command from the testsuite (lp:ubuntu-test-cases/touch) causes the error below:
ogra@anubis: ~/Devel/ branches/ touch-testing$ adb shell 'sudo -i -u phablet bash -ic "/usr/bin/python /sbin/unlock_ screen. py"' pad.lv/ 1236525). unlock_ screen. py", line 52, in <module> unlock_ screen. py", line 14, in unlock_screen with_testabilit y() unlock_ screen. py", line 20, in _restart_ with_testabilit y screen_ lock(powerd) unlock_ screen. py", line 33, in _take_powerd_ screen_ lock lock", 1, dbus_interface= 'com.canonical. powerd' python2. 7/dist- packages/ dbus/proxies. py", line 70, in __call__ method( *args, **keywords) python2. 7/dist- packages/ dbus/proxies. py", line 145, in __call__ python2. 7/dist- packages/ dbus/connection .py", line 651, in call_blocking .DBusException: org.freedesktop .DBus.Error. AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.44" (uid=32011 pid=2508 comm="/ usr/bin/ python /sbin/unlock_ screen. py ") interface= "com.canonical. powerd" member= "requestSysStat e" error name="(unset)" requested_reply="0" destination=":1.2" (uid=0 pid=967 comm="/ usr/bin/ powerd ")
INFO:root:Taking screen lock (http://
Traceback (most recent call last):
File "/sbin/
unlock_screen()
File "/sbin/
_restart_
File "/sbin/
powerd_cookie = _take_powerd_
File "/sbin/
"autopilot-
File "/usr/lib/
return self._proxy_
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions