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"' INFO:root:Taking screen lock (http://pad.lv/1236525). Traceback (most recent call last): File "/sbin/unlock_screen.py", line 52, in <module> unlock_screen() File "/sbin/unlock_screen.py", line 14, in unlock_screen _restart_with_testability() File "/sbin/unlock_screen.py", line 20, in _restart_with_testability powerd_cookie = _take_powerd_screen_lock(powerd) File "/sbin/unlock_screen.py", line 33, in _take_powerd_screen_lock "autopilot-lock", 1, dbus_interface='com.canonical.powerd' File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.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="requestSysState" error name="(unset)" requested_reply="0" destination=":1.2" (uid=0 pid=967 comm="/usr/bin/powerd ") -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298869 Title: Screen unlock broken on image #265 through test automation To manage notifications about this bug go to: https://bugs.launchpad.net/powerd/+bug/1298869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs