process-return-code: {{{-15}}}
process-stderr: {{{
Testability driver loaded. Wire protocol version is "1.4".
unity::action::ActionManager::ActionManager(QObject*):
Could not determine application identifier. HUD will not work properly.
Provide your application identifier in $APP_ID environment variable.
** (qmlscene:8065): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
}}}
test-log: {{{
12:17:31.904 INFO globals:57 - ************************************************************
12:17:31.904 INFO globals:58 - Starting test ubuntuuitoolkit.tests.test_emulators.QQuickListViewTestCase.test_click_element_outside_view_above
12:17:31.905 DEBUG globals:156 - Starting: ['/usr/bin/recordmydesktop', '--no-sound', '--no-frame', '-o', '/var/local/autopilot//artifacts/ubuntuuitoolkit.tests.test_emulators.QQuickListViewTestCase.test_click_element_outside_view_above.ogv']
12:17:31.910 ERROR content:49 - Could not add content object 'None' due to IO Error: [Errno 13] Permission denied: '/var/log/syslog'
12:17:31.971 INFO _launcher:159 - Launching process: ['/usr/lib/x86_64-linux-gnu/qt5/bin/qmlscene', '-testability', '-I/usr/lib/modules', '/tmp/tmpol31ebyl.qml', '--desktop_file_hint=/home/ubuntu/.local/share/applications/tmppcxvythx.desktop']
12:17:33.069 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
12:17:33.078 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
12:17:33.081 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {'objectName': 'testListView'}
12:17:33.108 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
12:17:33.112 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'clickedLabel'}
12:17:33.147 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('testListElement9',). Keyword arguments: {}.
12:17:33.147 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement9'}
12:17:33.180 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement9'}
12:17:33.228 INFO logging:45 - QQuickListView: _show_more_elements_below. Arguments (). Keyword arguments: {}.
12:17:33.237 DEBUG _X11:350 - Moving mouse to position 257,207 with animation.
12:17:33.522 DEBUG _X11:305 - Pressing mouse button 1
12:17:33.523 DEBUG _X11:350 - Moving mouse to position 257,74 with animation.
12:17:33.892 DEBUG _X11:312 - Releasing mouse button 1
12:17:34.953 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement9'}
12:17:35.021 INFO logging:45 - QQuickListView: _show_more_elements_below. Arguments (). Keyword arguments: {}.
12:17:35.028 DEBUG _X11:350 - Moving mouse to position 257,207 with animation.
12:17:35.176 DEBUG _X11:305 - Pressing mouse button 1
12:17:35.177 DEBUG _X11:350 - Moving mouse to position 257,74 with animation.
12:17:35.518 DEBUG _X11:312 - Releasing mouse button 1
12:17:36.573 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement9'}
12:17:36.630 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement9'}
12:17:36.666 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:17:36.666 DEBUG _X11:350 - Moving mouse to position 257,140 with animation.
12:17:36.743 DEBUG _X11:305 - Pressing mouse button 1
12:17:36.845 DEBUG _X11:312 - Releasing mouse button 1
12:17:36.846 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement4'}
12:17:36.920 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('testListElement4',). Keyword arguments: {}.
12:17:36.920 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement4'}
12:17:36.959 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement4'}
12:17:37.005 INFO logging:45 - QQuickListView: _show_more_elements_above. Arguments (). Keyword arguments: {}.
12:17:37.012 DEBUG _X11:350 - Moving mouse to position 257,74 with animation.
12:17:37.088 DEBUG _X11:305 - Pressing mouse button 1
12:17:37.089 DEBUG _X11:350 - Moving mouse to position 257,207 with animation.
12:17:37.518 DEBUG _X11:312 - Releasing mouse button 1
12:17:38.594 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement4'}
12:17:38.651 INFO logging:45 - QQuickListView: _show_more_elements_above. Arguments (). Keyword arguments: {}.
12:17:38.660 DEBUG _X11:350 - Moving mouse to position 257,74 with animation.
12:17:38.820 DEBUG _X11:305 - Pressing mouse button 1
12:17:38.822 DEBUG _X11:350 - Moving mouse to position 257,207 with animation.
12:17:39.215 DEBUG _X11:312 - Releasing mouse button 1
12:17:40.278 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement4'}
12:17:40.340 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement4'}
12:17:40.366 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:17:40.367 DEBUG _X11:350 - Moving mouse to position 257,212 with animation.
12:17:40.378 DEBUG _X11:305 - Pressing mouse button 1
12:17:40.479 DEBUG _X11:312 - Releasing mouse button 1
12:17:40.488 INFO _launcher:352 - waiting for process to exit.
12:17:40.488 INFO _launcher:279 - Killing process 8065
}}}
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/test_emulators.py", line 634, in test_click_element_outside_view_above
self.assertEqual(self.label.text, 'testListElement4')
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 321, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 406, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 'testListElement9' != 'testListElement4'
</failure></testcase>
I suspect the cause of that is this bug and the click to close element 9 lands on the header?
I am getting failures in my MR: https:/ /jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty/ 3965/artifact/ results/ autopilot/ results/ test_ubuntuuito olkit.xml :
<testcase classname= "ubuntuuitoolki t.tests. test_emulators. QQuickListViewT estCase" name="test_ click_element_ outside_ view_above" time="13. 127"><failure type="testtools .testresult. real._StringExc eption" >_StringExcepti on: Empty attachments:
process-stdout
process- return- code: {{{-15}}} action: :ActionManager: :ActionManager( QObject* ):
process-stderr: {{{
Testability driver loaded. Wire protocol version is "1.4".
unity::
Could not determine application identifier. HUD will not work properly.
Provide your application identifier in $APP_ID environment variable.
** (qmlscene:8065): WARNING **: Unable to register app: GDBus.Error: org.freedesktop .DBus.Error. InvalidArgs: Invalid application ID
}}}
test-log: {{{ ******* ******* ******* ******* ******* ******* ******* **** .tests. test_emulators. QQuickListViewT estCase. test_click_ element_ outside_ view_above bin/recordmydes ktop', '--no-sound', '--no-frame', '-o', '/var/local/ autopilot/ /artifacts/ ubuntuuitoolkit .tests. test_emulators. QQuickListViewT estCase. test_click_ element_ outside_ view_above. ogv'] lib/x86_ 64-linux- gnu/qt5/ bin/qmlscene' , '-testability', '-I/usr/ lib/modules' , '/tmp/tmpol31eb yl.qml' , '--desktop_ file_hint= /home/ubuntu/ .local/ share/applicati ons/tmppcxvythx .desktop' ] nt9',). Keyword arguments: {}. elements_ below. Arguments (). Keyword arguments: {}. elements_ below. Arguments (). Keyword arguments: {}. nt4',). Keyword arguments: {}. elements_ above. Arguments (). Keyword arguments: {}. elements_ above. Arguments (). Keyword arguments: {}.
12:17:31.904 INFO globals:57 - *******
12:17:31.904 INFO globals:58 - Starting test ubuntuuitoolkit
12:17:31.905 DEBUG globals:156 - Starting: ['/usr/
12:17:31.910 ERROR content:49 - Could not add content object 'None' due to IO Error: [Errno 13] Permission denied: '/var/log/syslog'
12:17:31.971 INFO _launcher:159 - Launching process: ['/usr/
12:17:33.069 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
12:17:33.078 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
12:17:33.081 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {'objectName': 'testListView'}
12:17:33.108 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
12:17:33.112 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'clickedLabel'}
12:17:33.147 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('testListEleme
12:17:33.147 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement9'}
12:17:33.180 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement9'}
12:17:33.228 INFO logging:45 - QQuickListView: _show_more_
12:17:33.237 DEBUG _X11:350 - Moving mouse to position 257,207 with animation.
12:17:33.522 DEBUG _X11:305 - Pressing mouse button 1
12:17:33.523 DEBUG _X11:350 - Moving mouse to position 257,74 with animation.
12:17:33.892 DEBUG _X11:312 - Releasing mouse button 1
12:17:34.953 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement9'}
12:17:35.021 INFO logging:45 - QQuickListView: _show_more_
12:17:35.028 DEBUG _X11:350 - Moving mouse to position 257,207 with animation.
12:17:35.176 DEBUG _X11:305 - Pressing mouse button 1
12:17:35.177 DEBUG _X11:350 - Moving mouse to position 257,74 with animation.
12:17:35.518 DEBUG _X11:312 - Releasing mouse button 1
12:17:36.573 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement9'}
12:17:36.630 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement9'}
12:17:36.666 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:17:36.666 DEBUG _X11:350 - Moving mouse to position 257,140 with animation.
12:17:36.743 DEBUG _X11:305 - Pressing mouse button 1
12:17:36.845 DEBUG _X11:312 - Releasing mouse button 1
12:17:36.846 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement4'}
12:17:36.920 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('testListEleme
12:17:36.920 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement4'}
12:17:36.959 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement4'}
12:17:37.005 INFO logging:45 - QQuickListView: _show_more_
12:17:37.012 DEBUG _X11:350 - Moving mouse to position 257,74 with animation.
12:17:37.088 DEBUG _X11:305 - Pressing mouse button 1
12:17:37.089 DEBUG _X11:350 - Moving mouse to position 257,207 with animation.
12:17:37.518 DEBUG _X11:312 - Releasing mouse button 1
12:17:38.594 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement4'}
12:17:38.651 INFO logging:45 - QQuickListView: _show_more_
12:17:38.660 DEBUG _X11:350 - Moving mouse to position 257,74 with animation.
12:17:38.820 DEBUG _X11:305 - Pressing mouse button 1
12:17:38.822 DEBUG _X11:350 - Moving mouse to position 257,207 with animation.
12:17:39.215 DEBUG _X11:312 - Releasing mouse button 1
12:17:40.278 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement4'}
12:17:40.340 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'testListElement4'}
12:17:40.366 DEBUG _common:45 - Moving to object's globalRect coordinates.
12:17:40.367 DEBUG _X11:350 - Moving mouse to position 257,212 with animation.
12:17:40.378 DEBUG _X11:305 - Pressing mouse button 1
12:17:40.479 DEBUG _X11:312 - Releasing mouse button 1
12:17:40.488 INFO _launcher:352 - waiting for process to exit.
12:17:40.488 INFO _launcher:279 - Killing process 8065
}}}
Traceback (most recent call last): python3/ dist-packages/ ubuntuuitoolkit /tests/ test_emulators. py", line 634, in test_click_ element_ outside_ view_above assertEqual( self.label. text, 'testListElement4') python3/ dist-packages/ testtools/ testcase. py", line 321, in assertEqual assertThat( observed, matcher, message) python3/ dist-packages/ testtools/ testcase. py", line 406, in assertThat matchers. _impl.MismatchE rror: 'testListElement9' != 'testListElement4'
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise mismatch_error
testtools.
</failure> </testcase>
I suspect the cause of that is this bug and the click to close element 9 lands on the header?