[Bug 1417966] Re: adt-run does not work with autopilot on emulator

Martin Pitt martin.pitt at ubuntu.com
Thu Feb 5 08:17:35 UTC 2015


This should be fixed with
http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=18a4492f0bc
, it works for me with that. Can you confirm? You can either download
http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/plain/runner
/adt-run and install it in /usr/bin/, or checkout git and call ./run-
from-checkout instead of adt-run.

** Changed in: autopkgtest (Ubuntu)
       Status: Incomplete => Fix Committed

-- 
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:
  Fix Committed

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