Autopilot tests fail to run in Trusty

Bug #1270810 reported by Víctor R. Ruiz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cordova Ubuntu Tests
Invalid
Critical
Víctor R. Ruiz

Bug Description

======================================================================
ERROR: unittest.loader.ModuleImportFailure.cordova_ubuntu.tests.test_mobilespec
----------------------------------------------------------------------
Traceback (most recent call last):
ImportError: Failed to import test module: cordova_ubuntu.tests.test_mobilespec
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
    __import__(name)
  File "/usr/lib/python2.7/dist-packages/cordova_ubuntu/tests/__init__.py", line 22, in <module>
    class CordovaUbuntuTestCase(AutopilotTestCase):
  File "/usr/lib/python2.7/dist-packages/cordova_ubuntu/tests/__init__.py", line 24, in CordovaUbuntuTestCase
    pointer = Pointer(Touch.create())
  File "/usr/lib/python2.7/dist-packages/autopilot/input/__init__.py", line 418, in create
    return _pick_backend(backends, preferred_backend)
  File "/usr/lib/python2.7/dist-packages/autopilot/utilities.py", line 56, in _pick_backend
    "Unable to instantiate any backends\n%s" % '\n'.join(failure_reasons))
RuntimeError: Unable to instantiate any backends
UInput: UInputError('"/dev/autopilot-uinput" cannot be opened for writing',)

Revision history for this message
Víctor R. Ruiz (vrruiz) wrote :

Autopilot Source Version: 1.3.1 Autopilot Package Version:
1.3.1+13.10.20131003.1-0ubuntu1

Víctor R. Ruiz (vrruiz)
Changed in cordova-ubuntu-tests:
status: New → In Progress
assignee: nobody → Víctor R. Ruiz (vrruiz)
Víctor R. Ruiz (vrruiz)
tags: added: html5-blocker
Changed in cordova-ubuntu-tests:
importance: Undecided → Critical
Revision history for this message
Daniel Holbach (dholbach) wrote :

The linked branch is ready, but needs bug 1270838 to be resolved before.

Víctor R. Ruiz (vrruiz)
Changed in cordova-ubuntu-tests:
status: In Progress → Fix Committed
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.