[Bug 1417966] Re: adt-run does not work with autopilot on emulator
Martin Pitt
martin.pitt at ubuntu.com
Thu Feb 5 07:55:43 UTC 2015
Indeed I don't get the weird error message from comment 2 with chmod 666
/dev/uinput. Can you confirm that this works for you on a fresh
emulator?
adt-run --setup-commands 'mount -o remount,ro /; chmod 666
/dev/uinput' -B ubuntu-sanity-tests// --- ssh -s adb
This unpacks the test deps and starts running the tests here, and just
fails due to the sudo password problem.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1417966
Title:
adt-run does not work with autopilot on emulator
Status in autopkgtest package in Ubuntu:
Incomplete
Bug description:
When trying to run autopilot tests (lp:ubuntu-sanity-tests) on the ubuntu emulator, the test fails with the following error. If the autopilot tests are installed and run directly on the emulator, they will work ok. This problem only happens when trying to use adt-run:
Traceback (most recent call last):
File "/tmp/adt-run.tQuWXi/build.KbZ/real-tree/ubuntu_sanity_tests/tests/test_edges_demo.py", line 41, in setUp
super().setUp()
File "/tmp/adt-run.tQuWXi/build.KbZ/real-tree/ubuntu_sanity_tests/tests/base.py", line 42, in setUp
super().setUp()
File "/tmp/adt-run.tQuWXi/deps/usr/lib/python3/dist-packages/unity8/shell/tests/__init__.py", line 164, in setUp
_uinput._touch_device = _uinput.create_touch_device()
File "/tmp/adt-run.tQuWXi/deps/usr/lib/python3/dist-packages/autopilot/utilities.py", line 265, in wrapped
return fn(*args, **kwargs)
File "/tmp/adt-run.tQuWXi/deps/usr/lib/python3/dist-packages/autopilot/input/_uinput.py", line 235, in create_touch_device
version=0x2, devnode=_get_devnode_path())
File "/tmp/adt-run.tQuWXi/deps/usr/lib/python3/dist-packages/evdev/uinput.py", line 66, in __init__
self._verify()
File "/tmp/adt-run.tQuWXi/deps/usr/lib/python3/dist-packages/evdev/uinput.py", line 186, in _verify
raise UInputError(msg.format(self.devnode))
evdev.uinput.UInputError: "/dev/uinput" cannot be opened for writing
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1417966/+subscriptions
More information about the foundations-bugs
mailing list