Testcase: test_app_moves_from_unfocused_to_focused(Native Device)

Build #:230:20140311:20140304
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: {{{
Mar 11 06:52:37 ubuntu-phablet kernel: [  407.106819] input: autopilot-finger as /devices/virtual/input/input16
Mar 11 06:52:38 ubuntu-phablet kernel: [  407.852527] iio-buffer, current state requested again
Mar 11 06:52:40 ubuntu-phablet kernel: [  410.461474] samsung-i2s samsung-i2s.0: state restore latency exceeded, new value 1250 ns
Mar 11 06:52:45 ubuntu-phablet kernel: [  414.762602] iio-buffer, current state requested again
Mar 11 06:52:46 ubuntu-phablet kernel: [  416.092665] iio-buffer, current state requested again
Mar 11 06:52:48 ubuntu-phablet kernel: [  418.197988] iio-buffer, current state requested again
Mar 11 06:52:58 ubuntu-phablet kernel: [  428.187026] healthd: battery l=94 v=4138 t=22.3 h=2 st=2 c=-563 chg=u
Mar 11 06:53:02 ubuntu-phablet kernel: [  431.886320] binder: release 3769:3770 transaction 561 out, still active
Mar 11 06:53:02 ubuntu-phablet kernel: [  431.912640] iio-buffer, current state requested again
Mar 11 06:53:02 ubuntu-phablet kernel: [  431.953053] binder: 753:1149 transaction failed 29189, size 4-0
Mar 11 06:53:02 ubuntu-phablet kernel: [  431.953071] binder: send failed reply for transaction 561, 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 0xb4528ead 0xb4528e59
creating surface at (0, 64) with size (2560, 1536) with title 'Messaging'
** (process:3769): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
}}}

test-log: {{{
06:52:37.381 INFO globals:57 - ************************************************************
06:52:37.383 INFO globals:58 - Starting test
unity8.application_lifecycle.tests.test_application_lifecycle.ApplicationLifecycleTests.test_app_moves_from_unfocused_to_focused (Native Device)
06:52:37.384 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:52:37.388 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
06:52:37.571 INFO __init__:260 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8'
06:52:37.572 INFO __init__:331 - Setting up LightDM mock type 'single'
06:52:37.628 INFO __init__:340 - New library path:
/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/single
06:52:37.659 INFO __init__:302 - Starting unity
06:52:37.998 INFO process_helpers:130 - unity8 start/running, process 3635

06:52:41.074 DEBUG __init__:295 - Unity started, waiting for it to be ready.
06:52:41.074 DEBUG dbus:431 - Selecting objects of type Dash with attributes: {}
06:52:41.127 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'}
06:52:41.216 DEBUG dbus:431 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'}
06:52:41.304 DEBUG __init__:297 - Unity loaded and ready.
06:52:41.306 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:52:41.343 DEBUG dbus:431 - Selecting objects of type Greeter with attributes: {}
06:52:41.426 DEBUG _uinput:546 - Dragging from 2557,832 to 512,832
06:52:44.729 INFO process_helpers:88 - Greeter unlocked, continuing.
06:52:44.749 INFO _launcher:159 - Launching process: ['/usr/bin/messaging-app', '-testability',
'--desktop_file_hint=/usr/share/applications/messaging-app.desktop', '--stage_hint=main_stage']
06:52:46.710 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:52:46.764 DEBUG dbus:431 - Selecting objects of type Shell with attributes: {}
06:52:46.938 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']
06:52:49.467 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:52:49.683 DEBUG dbus:431 - Selecting objects of type Shell with attributes: {}
06:52:49.936 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:52:50.001 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:52:50.073 INFO test_application_lifecycle:54 - Swiping screen from the right edge
06:52:50.074 DEBUG _uinput:546 - Dragging from 2560,800 to 1280,800
06:52:51.395 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:52:51.461 DEBUG dbus:431 - Selecting objects of type Shell with attributes: {}
06:53:02.013 INFO _launcher:346 - waiting for process to exit.
06:53:02.014 INFO _launcher:273 - Killing process 3786
06:53:02.147 INFO _launcher:346 - waiting for process to exit.
06:53:02.147 INFO _launcher:273 - Killing process 3769
06:53:02.326 INFO __init__:315 - Stopping unity
06:53:32.749 INFO __init__:238 - 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