Testcase: test_enter_and_cancel(with touch)

Build #:268:20150725:20150708
Arch:mako (Nexus 4)
Release:wily
Variant:touch
Artifacts
Console Log

Failure explanation

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

Test case data

testcase
test_enter_and_cancel(with touch)
testsuite
sudoku_app.tests.test_sudoku.TestMainWindow
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 25 06:21:33 ubuntu-phablet kernel: [   91.321928] input: py-evdev-uinput as /devices/virtual/input/input7
Jul 25 06:21:33 ubuntu-phablet kernel: [   91.323790] keychord: using input dev py-evdev-uinput for fevent
Jul 25 06:21:35 ubuntu-phablet powerd[949]: handle_requestSysState from :1.62 (active) - ACTIVE (1)
Jul 25 06:21:35 ubuntu-phablet powerd[949]: name_watch_add: looking for :1.62
Jul 25 06:21:35 ubuntu-phablet powerd[949]: watching :1.62 to see when it disappears on dbus
Jul 25 06:21:35 ubuntu-phablet powerd[949]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 25 06:21:35 ubuntu-phablet powerd[949]: handle_requestSysState - SUCCESS
Jul 25 06:21:35 ubuntu-phablet powerd[949]: Enqueue state change to ACTIVE
Jul 25 06:21:35 ubuntu-phablet powerd[949]: queue empty && state == current, discarding
Jul 25 06:21:35 ubuntu-phablet powerd[949]: libsuspend: release_wake_lock: powerd_power_request
Jul 25 06:21:48 ubuntu-phablet powerd[949]: handle_clearSysState from :1.62, cookie: 0a9f11b7-d553-490f-b764-8f94fe68004f
Jul 25 06:21:48 ubuntu-phablet powerd[949]: clear_sys_request: active - :1.62
Jul 25 06:21:48 ubuntu-phablet powerd[949]: name_watch_remove: looking for :1.62
Jul 25 06:21:48 ubuntu-phablet powerd[949]: name_watch: ref_count for :1.62 is now 0
Jul 25 06:21:48 ubuntu-phablet powerd[949]: no longer watching :1.62, there are no more requests
Jul 25 06:21:48 ubuntu-phablet powerd[949]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 25 06:21:48 ubuntu-phablet powerd[949]: Enqueue state change to ACTIVE
Jul 25 06:21:48 ubuntu-phablet powerd[949]: queue empty && state == current, discarding
Jul 25 06:21:48 ubuntu-phablet powerd[949]: libsuspend: release_wake_lock: powerd_power_request
Jul 25 06:21:49 ubuntu-phablet dbus[851]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 25 06:21:49 ubuntu-phablet dbus[851]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (com.ubuntu.sudoku_sudoku_1.1.370): {{{
libust[4030/4034]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4030/4033]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4030/4033]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4030/4034]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
qml: Page.tools is a deprecated property. Please use Page.head instead.
qml: Page.tools is a deprecated property. Please use Page.head instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/sudoku-app.qml:1233:17: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/sudoku-app.qml:1148:38: QML CheckBox: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/components/HighscoresTab.qml:47:9: QML ActionItem: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.sudoku/1.1.370/js/localStorage.js:77: Error: no such table: settings Unable to execute statement
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
process 4030: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2935.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_message_unref() were incorrect, assertion "message->generation == _dbus_current_generation" failed in file
../../dbus/dbus-message.c line 1695.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2935.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
process 4030: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file
../../dbus/dbus-connection.c line 2822.
This is normally a bug in some application using the D-Bus library.
}}}

test-log: {{{
06:21:34.104 WARNING testcase:181 - Process manager backend unavailable, application snapshot support disabled.
06:21:34.106 WARNING __init__:108 - No current database found
06:21:34.108 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.sudoku' and URIs ''
06:21:35.254 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.sudoku_sudoku_1.1.370' with URIs '' via upstart-app-launch
06:21:42.795 WARNING backends:244 - Your query
'Query(b'/comubuntusudoku/QQuickView/MainView/OrientationHelper/QQuickItem/QQuickItem/Tabs/QQuickItem/Tab/Page11/SudokuBlocksGrid[id=3]//QQuickText[enabled=True]')'
returned a lot of data (43 items). This is likely to be slow. You may want to consider optimising your query to return fewer items.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/sudoku_app/tests/test_sudoku.py", line 108, in test_enter_and_cancel
    self.app.main_view.get_number_dialog()
  File "/home/phablet/autopilot/sudoku_app/__init__.py", line 60, in get_number_dialog
    return self.wait_select_single(objectName='picknumberscreen')
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 295, in wait_select_single
    return self.select_single(type_name, **kwargs)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 240, in select_single
    instances = self._execute_query(new_query)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 90, in _execute_query
    getattr(self, '_id', None),
  File "/usr/lib/python3/dist-packages/autopilot/introspection/backends.py", line 257, in execute_query_get_proxy_instances
    for t in data
  File "/usr/lib/python3/dist-packages/autopilot/introspection/backends.py", line 257, in <listcomp>
    for t in data
  File "/usr/lib/python3/dist-packages/autopilot/introspection/backends.py", line 306, in make_introspection_object
    class_object = _get_proxy_object_class(object_id, path, state)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/_object_registry.py", line 143, in _get_proxy_object_class
    class_type = _try_custom_proxy_classes(object_id, path, state)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/_object_registry.py", line 172, in _try_custom_proxy_classes
    path,
ValueError: More than one custom proxy class matches this object: Matching classes are: <class
'ubuntuuitoolkit._custom_proxy_objects.popups.Dialog'>,<class 'sudoku_app.PickNumberDialog'>. State is dbus.Dictionary({dbus.String('id'):
dbus.Array([dbus.Int32(0, variant_level=1), dbus.Int32(764, variant_level=1)], signature=dbus.Signature('v'), variant_level=1),
dbus.String('antialiasing'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Boolean(False, variant_level=1)], signature=dbus.Signature('v'),
variant_level=1), dbus.String('implicitHeight'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Double(0.0, variant_level=1)],
signature=dbus.Signature('v'), variant_level=1), dbus.String('title'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.String('', variant_level=1)],
signature=dbus.Signature('v'), variant_level=1), dbus.String('transformOrigin'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Int32(4,
variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('clip'): dbus.Array([dbus.Int32(0, variant_level=1),
dbus.Boolean(False, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('globalRect'): dbus.Array([dbus.Int32(1,
variant_level=1), dbus.Int32(0, variant_level=1), dbus.Int32(58, variant_level=1), dbus.Int32(768, variant_level=1), dbus.Int32(1222,
variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('implicitWidth'): dbus.Array([dbus.Int32(0, variant_level=1),
dbus.Double(0.0, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('scale'): dbus.Array([dbus.Int32(0, variant_level=1),
dbus.Double(1.0, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('smooth'): dbus.Array([dbus.Int32(0,
variant_level=1), dbus.Boolean(True, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('baselineOffset'):
dbus.Array([dbus.Int32(0, variant_level=1), dbus.Double(0.0, variant_level=1)], signature=dbus.Signature('v'), variant_level=1),
dbus.String('activeFocus'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Boolean(True, variant_level=1)], signature=dbus.Signature('v'),
variant_level=1), dbus.String('rotation'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Double(0.0, variant_level=1)],
signature=dbus.Signature('v'), variant_level=1), dbus.String('rotating'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Boolean(False,
variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('__closeOnDismissAreaPress'): dbus.Array([dbus.Int32(0,
variant_level=1), dbus.Boolean(False, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('edgeMargins'):
dbus.Array([dbus.Int32(0, variant_level=1), dbus.Double(36.0, variant_level=1)], signature=dbus.Signature('v'), variant_level=1),
dbus.String('objectName'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.String('picknumberscreen', variant_level=1)],
signature=dbus.Signature('v'), variant_level=1), dbus.String('activeFocusOnTab'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Boolean(False,
variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('width'): dbus.Array([dbus.Int32(0, variant_level=1),
dbus.Double(768.0, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('visible'): dbus.Array([dbus.Int32(0,
variant_level=1), dbus.Boolean(True, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('Children'):
dbus.Array([dbus.Int32(0, variant_level=1), dbus.Array([dbus.String('QQuickItem_QML_68'), dbus.String('QQuickPropertyAnimation'),
dbus.String('QQuickRectangle_QML_87'), dbus.String('InverseMouseAreaType'), dbus.String('QQuickMouseArea'), dbus.String('QQuickItem_QML_88'),
dbus.String('QQmlComponentAttached'), dbus.String('QQuickLayoutMirroringAttached'), dbus.String('QQuickNumberAnimation'),
dbus.String('UCStyledItemBase_QML_90'), dbus.String('QQuickKeysAttached'), dbus.String('SudokuDialogButton_QMLTYPE_36'), dbus.String('QQuickGrid'),
dbus.String('SudokuDialogButton_QMLTYPE_36'), dbus.String('QQuickItem_QML_68'), dbus.String('QQuickRectangle_QML_87'),
dbus.String('InverseMouseAreaType'), dbus.String('QQuickMouseArea'), dbus.String('QQuickItem_QML_88'), dbus.String('UCStyledItemBase_QML_90')],
signature=dbus.Signature('s'), variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('height'): dbus.Array([dbus.Int32(0,
variant_level=1), dbus.Double(1222.0, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('orientationAngle'):
dbus.Array([dbus.Int32(0, variant_level=1), dbus.Int32(0, variant_level=1)], signature=dbus.Signature('v'), variant_level=1),
dbus.String('__dimBackground'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Boolean(True, variant_level=1)], signature=dbus.Signature('v'),
variant_level=1), dbus.String('focus'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Boolean(True, variant_level=1)],
signature=dbus.Signature('v'), variant_level=1), dbus.String('anchorToKeyboard'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Boolean(True,
variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('y'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Double(0.0,
variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('callerMargin'): dbus.Array([dbus.Int32(0, variant_level=1),
dbus.Double(18.0, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('x'): dbus.Array([dbus.Int32(0, variant_level=1),
dbus.Double(0.0, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('state'): dbus.Array([dbus.Int32(0, variant_level=1),
dbus.String('', variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('automaticOrientation'): dbus.Array([dbus.Int32(0,
variant_level=1), dbus.Boolean(False, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('__orientationAngle'):
dbus.Array([dbus.Int32(0, variant_level=1), dbus.Int32(0, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('text'):
dbus.Array([dbus.Int32(0, variant_level=1), dbus.String('Please pick a number', variant_level=1)], signature=dbus.Signature('v'), variant_level=1),
dbus.String('modal'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Boolean(True, variant_level=1)], signature=dbus.Signature('v'),
variant_level=1), dbus.String('transitionEnabled'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Boolean(True, variant_level=1)],
signature=dbus.Signature('v'), variant_level=1), dbus.String('grabDismissAreaEvents'): dbus.Array([dbus.Int32(0, variant_level=1), dbus.Boolean(True,
variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('opacity'): dbus.Array([dbus.Int32(0, variant_level=1),
dbus.Double(1.0, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('z'): dbus.Array([dbus.Int32(0, variant_level=1),
dbus.Double(0.0, variant_level=1)], signature=dbus.Signature('v'), variant_level=1), dbus.String('enabled'): dbus.Array([dbus.Int32(0,
variant_level=1), dbus.Boolean(True, variant_level=1)], signature=dbus.Signature('v'), variant_level=1)}, signature=dbus.Signature('sv')).  Path is
b'/comubuntusudoku/QQuickView/MainView/Dialog'.

command_type
testcase_test