Testcase: test_app_moves_from_unfocused_to_focused(Native Device)

Build #:212:20140228.1:20140228.1
Arch:manta (Nexus 10)
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_app_moves_from_unfocused_to_focused(Native Device)
testsuite
unity8.application_lifecycle.tests.test_application_lifecycle.ApplicationLifecycleTests
returncode
1
command
autopilot
stderr
_StringException: Empty attachments:
  process-stdout

/var/log/syslog: {{{
Feb 28 12:51:08 ubuntu-phablet kernel: [  467.844780] input: autopilot-finger as /devices/virtual/input/input19
Feb 28 12:51:09 ubuntu-phablet kernel: [  468.526439] iio-buffer, current state requested again
Feb 28 12:51:15 ubuntu-phablet kernel: [  475.381464] iio-buffer, current state requested again
Feb 28 12:51:17 ubuntu-phablet kernel: [  476.641459] iio-buffer, current state requested again
Feb 28 12:51:19 ubuntu-phablet kernel: [  478.596463] iio-buffer, current state requested again
Feb 28 12:51:28 ubuntu-phablet kernel: [  487.937336] healthd: battery l=70 v=3933 t=21.8 h=2 st=2 c=-966 chg=u
Feb 28 12:51:32 ubuntu-phablet kernel: [  491.713217] binder: release 4309:4310 transaction 669 out, still active
Feb 28 12:51:32 ubuntu-phablet kernel: [  491.766478] iio-buffer, current state requested again
Feb 28 12:51:32 ubuntu-phablet kernel: [  491.806462] binder: 769:1988 transaction failed 29189, size 4-0
Feb 28 12:51:32 ubuntu-phablet kernel: [  491.806479] binder: send failed reply for transaction 669, target dead
}}}

process-return-code: {{{-15}}}
process-stderr: {{{
/usr/bin/messaging-app: invalid option -- 't'
/usr/bin/messaging-app: invalid option -- 'e'
/usr/bin/messaging-app: invalid option -- 's'
/usr/bin/messaging-app: invalid option -- 't'
/usr/bin/messaging-app: invalid option -- 'a'
/usr/bin/messaging-app: invalid option -- 'b'
/usr/bin/messaging-app: invalid option -- 'i'
/usr/bin/messaging-app: invalid option -- 'l'
/usr/bin/messaging-app: invalid option -- 'i'
/usr/bin/messaging-app: invalid option -- 't'
/usr/bin/messaging-app: invalid option -- 'y'
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.
UCUriHandler: Empty "APP_ID" environment variable, ignoring. 
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "style"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "style"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "style"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "style"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "style"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "style"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "style"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "style"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "style"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "style"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:197:5: QML StyledItem: Binding loop detected for property "backgroundColor"
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:62:5: QML Binding: Binding loop detected for property
"target"
callbacks 0xb44ccead 0xb44cce59
creating surface at (0, 64) with size (2560, 1536) with title 'Messaging'
** (process:4309): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
}}}

test-log: {{{
12:51:08.325 INFO globals:57 - ************************************************************
12:51:08.326 INFO globals:58 - Starting test
unity8.application_lifecycle.tests.test_application_lifecycle.ApplicationLifecycleTests.test_app_moves_from_unfocused_to_focused (Native Device)
12:51:08.328 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
12:51:08.332 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
12:51:08.477 INFO __init__:261 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8'
12:51:08.478 INFO __init__:332 - Setting up LightDM mock type 'single'
12:51:08.522 INFO __init__:341 - New library path:
/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/single
12:51:08.547 INFO __init__:303 - Starting unity
12:51:08.914 INFO process_helpers:130 - unity8 start/running, process 4179

12:51:11.896 DEBUG __init__:296 - Unity started, waiting for it to be ready.
12:51:11.897 DEBUG dbus:431 - Selecting objects of type Dash with attributes: {}
12:51:11.924 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'}
12:51:12.036 DEBUG dbus:431 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'}
12:51:12.130 DEBUG __init__:298 - Unity loaded and ready.
12:51:12.131 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
12:51:12.158 DEBUG dbus:431 - Selecting objects of type Greeter with attributes: {}
12:51:12.231 DEBUG _uinput:546 - Dragging from 2557,832 to 512,832
12:51:15.526 INFO process_helpers:88 - Greeter unlocked, continuing.
12:51:15.550 INFO _launcher:159 - Launching process: ['/usr/bin/messaging-app', '-testability',
'--desktop_file_hint=/usr/share/applications/messaging-app.desktop', '--stage_hint=main_stage']
12:51:17.419 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
12:51:17.491 DEBUG dbus:431 - Selecting objects of type Shell with attributes: {}
12:51:17.633 INFO _launcher:159 - Launching process: ['/usr/bin/address-book-app', '-testability',
'--desktop_file_hint=/usr/share/applications/address-book-app.desktop', '--stage_hint=main_stage']
12:51:19.813 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
12:51:19.957 DEBUG dbus:431 - Selecting objects of type Shell with attributes: {}
12:51:20.124 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
12:51:20.192 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
12:51:20.251 INFO test_application_lifecycle:54 - Swiping screen from the right edge
12:51:20.251 DEBUG _uinput:546 - Dragging from 2560,800 to 1280,800
12:51:21.569 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
12:51:21.610 DEBUG dbus:431 - Selecting objects of type Shell with attributes: {}
12:51:32.049 INFO _launcher:346 - waiting for process to exit.
12:51:32.050 INFO _launcher:273 - Killing process 4326
12:51:32.161 INFO _launcher:346 - waiting for process to exit.
12:51:32.162 INFO _launcher:273 - Killing process 4309
12:51:32.311 INFO __init__:316 - Stopping unity
12:52:01.816 INFO __init__:239 - Resetting upstart env QT_LOAD_TESTABILITY to None
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/unity8/shell/__init__.py", line 48, in wrapper
    return fn(*args, **kwargs)
  File "/home/phablet/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py", line 132, in
test_app_moves_from_unfocused_to_focused
    Eventually(Equals("messaging-app"))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: After 10.0 seconds test on Shell.currentFocusedAppId failed: u'messaging-app' != dbus.String(u'address-book-app', variant_level=1)

command_type
testcase_test