Testcase: test_swipe_change_image

Build #:214:20140301:20140228.1
Arch:flo (Nexus 7 2013)
Release:trusty
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_swipe_change_image
testsuite
gallery_app.tests.test_photo_viewer.TestPhotoViewer
returncode
1
command
autopilot
stderr
_StringException: Empty attachments:
  /var/log/syslog
  process-stdout

process-return-code: {{{-11}}}
process-stderr: {{{
/usr/bin/gallery-app: invalid option -- 't'
/usr/bin/gallery-app: invalid option -- 'e'
/usr/bin/gallery-app: invalid option -- 's'
/usr/bin/gallery-app: invalid option -- 't'
/usr/bin/gallery-app: invalid option -- 'a'
/usr/bin/gallery-app: invalid option -- 'b'
/usr/bin/gallery-app: invalid option -- 'i'
/usr/bin/gallery-app: invalid option -- 'l'
/usr/bin/gallery-app: invalid option -- 'i'
/usr/bin/gallery-app: invalid option -- 't'
/usr/bin/gallery-app: invalid option -- 'y'
Testability driver loaded. Wire protocol version is "1.4".
virtual void com::ubuntu::content::Hub::register_import_export_handler(com::ubuntu::content::ImportExportHandler*) 
APP_ID isn't set, the handler can not be registered 
callbacks 0xb1fc7ead 0xb1fc7e59
creating surface at (0, 58) with size (1200, 1862) with title 'Window 1'This plugin does not support propagateSizeHints()

QUbuntuWindow::moveResize (this=0x1931480, x=0, y=0, w=1200, h=1920)
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
Opening ("/tmp/gallery-ap_sd") ... 
Opened ("/tmp/gallery-ap_sd") 2 media files loaded in 59 ms - 29.5 ms per media 
unity::action::ActionManager::ActionManager(QObject*):
	Could not determine application identifier. HUD will not work properly.
	Provide your application identifier in $APP_ID environment variable.
file:///usr/share/gallery-app/rc/qml/MainScreen.qml:73: TypeError: Cannot call method 'leaveSelectionMode' of null

** (gallery-app:4174): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
virtual void FriendsPlugin::registerTypes(const char*) Friends 
virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts 
Detectable autorepeat not supported.
}}}

test-log: {{{
05:26:20.782 INFO globals:57 - ************************************************************
05:26:20.783 INFO globals:58 - Starting test gallery_app.tests.test_photo_viewer.TestPhotoViewer.test_swipe_change_image
05:26:20.784 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
05:26:20.788 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
05:26:20.823 DEBUG __init__:170 - Launching installed gallery-app binary for device.
05:26:20.837 INFO _launcher:159 - Launching process: ['/usr/bin/gallery-app', '-testability',
'--desktop_file_hint=/usr/share/applications/gallery-app.desktop', '/tmp/gallery-ap_sd']
05:26:22.668 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
05:26:22.739 DEBUG dbus:431 - Selecting objects of type OrganicMediaList with attributes: {}
05:26:23.775 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'objectName': 'eventPhoto'}
05:26:24.031 DEBUG dbus:431 - Selecting objects of type OrganicMediaList with attributes: {'objectName': 'organicEventItem0'}
05:26:24.206 DEBUG dbus:431 - Selecting objects of type OrganicItemInteraction with attributes: {'objectName': 'eventsViewPhoto'}
05:26:24.323 DEBUG dbus:431 - Selecting objects of type MainScreen with attributes: {}
05:26:24.365 INFO logging:45 - MainScreen: Close the toolbar if it's opened. Arguments (). Keyword arguments: {}.
05:26:24.366 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
05:26:24.406 INFO logging:45 - Toolbar: Close the toolbar if it's opened. Arguments (). Keyword arguments: {}.
05:26:24.589 DEBUG _uinput:546 - Dragging from 600,1776 to 600,1919
05:26:25.937 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:26:26.039 DEBUG _uinput:475 - Tapping at: 207,630
05:26:26.157 DEBUG dbus:431 - Selecting objects of type QQuickLoader with attributes: {'objectName': 'photoViewerLoader'}
05:26:26.872 DEBUG dbus:431 - Selecting objects of type MediaListView with attributes: {'objectName': 'mediaListView'}
05:26:27.248 DEBUG dbus:431 - Selecting objects of type MainScreen with attributes: {}
05:26:27.295 INFO logging:45 - MainScreen: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
05:26:27.296 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
05:26:27.333 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
05:26:27.392 DEBUG dbus:431 - Selecting objects of type MediaListView with attributes: {}
05:26:27.636 DEBUG _uinput:546 - Dragging from 600,960 to 10,960
05:26:29.516 DEBUG _uinput:546 - Dragging from 600,960 to 1190,960
05:26:31.504 DEBUG _uinput:546 - Dragging from 600,960 to 1190,960
05:26:58.229 ERROR proxies:410 - Introspect error on :1.83:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus
security policy blocked the reply, the reply timeout expired, or the network connection was broken.
05:26:58.230 DEBUG proxies:413 - Executing introspect queue due to error
05:26:58.761 INFO _launcher:346 - waiting for process to exit.
05:26:58.762 INFO _launcher:273 - Killing process 4174
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_photo_viewer.py", line 188, in test_swipe_change_image
    self.assertThat(list.moving, Eventually(Equals(False)))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 404, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 454, in _matchHelper
    mismatch = matcher.match(matchee)
  File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 113, in match
    wait_fun(self.matcher, self.timeout)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/types.py", line 158, in wait_for
    _, new_state = self.parent.get_new_state()
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 560, in get_new_state
    return self.get_state_by_path(self.get_class_query_string())[0]
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 540, in get_state_by_path
    data = self._backend.introspection_iface.GetState(piece)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

command_type
testcase_test