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

Richard Huddie richard.huddie at canonical.com
Wed Feb 4 10:26:16 UTC 2015


Public bug reported:


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

** Affects: autopkgtest (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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