process-stderr: {{{
unknown option -- t
unknown option -- e
unknown option -- s
unknown option -- t
unknown option -- a
unknown option -- b
unknown option -- i
unknown option -- l
unknown option -- i
unknown option -- t
unknown option -- y
loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types
Loading testability driver.
WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
WARNING: The experimental API will change from version to version, or even be removed. You have been warned!
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/Browser/TabsList.qml:34: ReferenceError: UbuntuColors is not defined
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/Browser/Chrome.qml:131: ReferenceError: UbuntuColors is not defined
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/Browser/Suggestions.qml:35: ReferenceError: UbuntuColors is not defined
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/Browser/TabsList.qml:83: ReferenceError: UbuntuColors is not defined
callbacks 0x428f5495 0x428f5499
creating surface at (0, 44) with size (800, 1236)loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/Browser/Suggestions.qml:110: ReferenceError: UbuntuColors is not defined
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/Browser/Suggestions.qml:110: ReferenceError: UbuntuColors is not defined
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/Browser/Suggestions.qml:110: ReferenceError: UbuntuColors is not defined
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/Browser/Suggestions.qml:110: ReferenceError: UbuntuColors is not defined
}}}
traceback-1: {{{
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/autopilot/utilities.py", line 253, in action_on_test_end
obj.on_test_end(test_instance)
File "/usr/lib/python2.7/dist-packages/autopilot/input/_X11.py", line 464, in on_test_end
move_mouse_to_screen(0)
File "/usr/lib/python2.7/dist-packages/autopilot/display/__init__.py", line 57, in move_mouse_to_screen
Mouse.create().move(x, y, False)
File "/usr/lib/python2.7/dist-packages/autopilot/input/__init__.py", line 211, in create
return _pick_backend(backends, preferred_backend)
File "/usr/lib/python2.7/dist-packages/autopilot/utilities.py", line 53, in _pick_backend
raise RuntimeError("Unable to instantiate any backends\n%s" % '\n'.join(failure_reasons))
RuntimeError: Unable to instantiate any backends
X11: DisplayNameError()
}}}
Traceback (most recent call last):
File "/home/phablet/memory-usage-measurement/autopilot/ubuntu_test_cases/memory_usage_measurement/tests/test_memory_usage.py", line 37, in test_scenario
self.smem.pids.append(browser.app.process)
File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
self.gen.next()
File "/home/phablet/memory-usage-measurement/autopilot/ubuntu_test_cases/memory_usage_measurement/probes.py", line 29, in probe
self.stop(event)
File "/home/phablet/memory-usage-measurement/autopilot/ubuntu_test_cases/memory_usage_measurement/probes.py", line 60, in stop
output = subprocess.check_output(self.BINARY)
File "/usr/lib/python2.7/subprocess.py", line 568, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1308, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Ran 1 test in 6.765s
FAILED (failures=1)
---------------------- 8< ---------------------------
I'm not sure whether the "RuntimeError: Unable to instantiate any backends" is relevant, but python-evdev is installed via autopilot-touch. Javier, do you get this as well?
The last "No such file or directory" is from probes.py and tries to call "smem-tabs", which is a program that doesn't exist (the smem package is installed, but it doesn't ship it). Javier, where does that come from?
Ah, nevermind; I tried to checkout lp:~javier.collado/ubuntu-test-cases/memory-usage-measurement as well (without the extra /utah), and that failed some minutes ago, but that was just due to LP being down.
So I checked out lp:~javier.collado/ubuntu-test-cases/memory-usage-measurement, installed {webbrowser, camera, mediaplayer} -app-autopilot, autopilot-touch, and smem and ran "autopilot run ubuntu_test_cases" in the "autopilot" subdir.
With that I get some failures:
------- ------- ------- - 8< ------- ------- ------- ------ memory- usage-measureme nt/autopilot
Loading tests from: /home/phablet/
Tests running... ======= ======= ======= ======= ======= ======= ======= ======= ======= test_cases. memory_ usage_measureme nt.tests. test_memory_ usage.MemoryUsa geTests. test_scenario ------- ------- ------- ------- ------- ------- ------- ------- -------
__pthread_gettid -2
=======
ERROR: ubuntu_
-------
_StringException: Empty attachments:
process-stdout
process-stderr: {{{
unknown option -- t
unknown option -- e
unknown option -- s
unknown option -- t
unknown option -- a
unknown option -- b
unknown option -- i
unknown option -- l
unknown option -- i
unknown option -- t
unknown option -- y
loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types
Loading testability driver.
WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
WARNING: The experimental API will change from version to version, or even be removed. You have been warned!
file:// /usr/lib/ arm-linux- gnueabihf/ qt5/qml/ Ubuntu/ Components/ Extras/ Browser/ TabsList. qml:34: ReferenceError: UbuntuColors is not defined /usr/lib/ arm-linux- gnueabihf/ qt5/qml/ Ubuntu/ Components/ Extras/ Browser/ Chrome. qml:131: ReferenceError: UbuntuColors is not defined /usr/lib/ arm-linux- gnueabihf/ qt5/qml/ Ubuntu/ Components/ Extras/ Browser/ Suggestions. qml:35: ReferenceError: UbuntuColors is not defined /usr/lib/ arm-linux- gnueabihf/ qt5/qml/ Ubuntu/ Components/ Extras/ Browser/ TabsList. qml:83: ReferenceError: UbuntuColors is not defined
file://
file://
file://
callbacks 0x428f5495 0x428f5499
creating surface at (0, 44) with size (800, 1236)loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types
file:// /usr/lib/ arm-linux- gnueabihf/ qt5/qml/ Ubuntu/ Components/ Extras/ Browser/ Suggestions. qml:110: ReferenceError: UbuntuColors is not defined /usr/lib/ arm-linux- gnueabihf/ qt5/qml/ Ubuntu/ Components/ Extras/ Browser/ Suggestions. qml:110: ReferenceError: UbuntuColors is not defined /usr/lib/ arm-linux- gnueabihf/ qt5/qml/ Ubuntu/ Components/ Extras/ Browser/ Suggestions. qml:110: ReferenceError: UbuntuColors is not defined /usr/lib/ arm-linux- gnueabihf/ qt5/qml/ Ubuntu/ Components/ Extras/ Browser/ Suggestions. qml:110: ReferenceError: UbuntuColors is not defined
file://
file://
file://
}}}
traceback-1: {{{ python2. 7/dist- packages/ autopilot/ utilities. py", line 253, in action_on_test_end on_test_ end(test_ instance) python2. 7/dist- packages/ autopilot/ input/_ X11.py" , line 464, in on_test_end mouse_to_ screen( 0) python2. 7/dist- packages/ autopilot/ display/ __init_ _.py", line 57, in move_mouse_ to_screen create( ).move( x, y, False) python2. 7/dist- packages/ autopilot/ input/_ _init__ .py", line 211, in create backends, preferred_backend) python2. 7/dist- packages/ autopilot/ utilities. py", line 53, in _pick_backend "Unable to instantiate any backends\n%s" % '\n'.join( failure_ reasons) )
Traceback (most recent call last):
File "/usr/lib/
obj.
File "/usr/lib/
move_
File "/usr/lib/
Mouse.
File "/usr/lib/
return _pick_backend(
File "/usr/lib/
raise RuntimeError(
RuntimeError: Unable to instantiate any backends
X11: DisplayNameError()
}}}
Traceback (most recent call last): phablet/ memory- usage-measureme nt/autopilot/ ubuntu_ test_cases/ memory_ usage_measureme nt/tests/ test_memory_ usage.py" , line 37, in test_scenario smem.pids. append( browser. app.process) python2. 7/contextlib. py", line 24, in __exit__ phablet/ memory- usage-measureme nt/autopilot/ ubuntu_ test_cases/ memory_ usage_measureme nt/probes. py", line 29, in probe stop(event) phablet/ memory- usage-measureme nt/autopilot/ ubuntu_ test_cases/ memory_ usage_measureme nt/probes. py", line 60, in stop check_output( self.BINARY) python2. 7/subprocess. py", line 568, in check_output python2. 7/subprocess. py", line 711, in __init__ python2. 7/subprocess. py", line 1308, in _execute_child
File "/home/
self.
File "/usr/lib/
self.gen.next()
File "/home/
self.
File "/home/
output = subprocess.
File "/usr/lib/
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory
Ran 1 test in 6.765s ------- ------- - 8< ------- ------- ------- ------
FAILED (failures=1)
-------
I'm not sure whether the "RuntimeError: Unable to instantiate any backends" is relevant, but python-evdev is installed via autopilot-touch. Javier, do you get this as well?
The last "No such file or directory" is from probes.py and tries to call "smem-tabs", which is a program that doesn't exist (the smem package is installed, but it doesn't ship it). Javier, where does that come from?