Testcase: test_app_moves_from_unfocused_to_focused(Native Device)

Build #:238:20140314.1: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 15 01:16:07 ubuntu-phablet kernel: [  242.827631] input: autopilot-finger as /devices/virtual/input/input16
Mar 15 01:16:08 ubuntu-phablet kernel: [  243.589759] iio-buffer, current state requested again
Mar 15 01:16:12 ubuntu-phablet kernel: [  247.898934] healthd: battery l=94 v=4099 t=20.1 h=2 st=2 c=-851 chg=u
Mar 15 01:16:17 ubuntu-phablet kernel: [  252.604941] iio-buffer, current state requested again
Mar 15 01:16:17 ubuntu-phablet kernel: [  252.907183] pd-maudio: Power-off latency exceeded, new value 386834 ns
Mar 15 01:16:18 ubuntu-phablet kernel: [  254.284955] iio-buffer, current state requested again
Mar 15 01:16:21 ubuntu-phablet kernel: [  257.099782] iio-buffer, current state requested again
Mar 15 01:16:34 ubuntu-phablet kernel: [  269.764972] iio-buffer, current state requested again
Mar 15 01:16:34 ubuntu-phablet kernel: [  269.798405] binder: release 3525:3526 transaction 561 out, still active
Mar 15 01:16:34 ubuntu-phablet kernel: [  269.804575] binder: 751:751 transaction failed 29189, size 4-0
Mar 15 01:16:34 ubuntu-phablet kernel: [  269.804592] binder: send failed reply for transaction 561, target dead
Mar 15 01:17:01 ubuntu-phablet CRON[3565]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
}}}

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 0xb4497625 0xb44975d1
creating surface at (0, 64) with size (2560, 1536) with title 'Messaging'
** (process:3525): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
}}}

test-log: {{{
01:16:07.436 INFO globals:57 - ************************************************************
01:16:07.437 INFO globals:58 - Starting test
unity8.application_lifecycle.tests.test_application_lifecycle.ApplicationLifecycleTests.test_app_moves_from_unfocused_to_focused (Native Device)
01:16:07.437 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
01:16:07.440 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
01:16:07.591 INFO __init__:260 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8'
01:16:07.592 INFO __init__:331 - Setting up LightDM mock type 'single'
01:16:07.647 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
01:16:07.681 INFO __init__:302 - Starting unity
01:16:08.060 INFO process_helpers:130 - unity8 start/running, process 3404

01:16:12.490 DEBUG __init__:295 - Unity started, waiting for it to be ready.
01:16:12.490 DEBUG dbus:432 - Selecting objects of type Dash with attributes: {}
01:16:12.560 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'}
01:16:12.720 DEBUG dbus:432 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'}
01:16:13.078 DEBUG __init__:297 - Unity loaded and ready.
01:16:13.078 DEBUG dbus:432 - Selecting objects of type QQuickView with attributes: {}
01:16:13.124 DEBUG dbus:432 - Selecting objects of type Greeter with attributes: {}
01:16:13.243 DEBUG _uinput:546 - Dragging from 2557,832 to 512,832
01:16:16.710 INFO process_helpers:88 - Greeter unlocked, continuing.
01:16:16.733 INFO _launcher:159 - Launching process: ['/usr/bin/messaging-app', '-testability',
'--desktop_file_hint=/usr/share/applications/messaging-app.desktop', '--stage_hint=main_stage']
01:16:19.252 DEBUG dbus:432 - Selecting objects of type QQuickView with attributes: {}
01:16:19.331 DEBUG dbus:432 - Selecting objects of type Shell with attributes: {}
01:16:19.452 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']
01:16:22.003 DEBUG dbus:432 - Selecting objects of type QQuickView with attributes: {}
01:16:22.069 DEBUG dbus:432 - Selecting objects of type Shell with attributes: {}
01:16:22.169 DEBUG dbus:432 - Selecting objects of type QQuickView with attributes: {}
01:16:22.238 DEBUG dbus:432 - Selecting objects of type QQuickView with attributes: {}
01:16:22.309 INFO test_application_lifecycle:54 - Swiping screen from the right edge
01:16:22.310 DEBUG _uinput:546 - Dragging from 2560,800 to 1280,800
01:16:23.650 DEBUG dbus:432 - Selecting objects of type QQuickView with attributes: {}
01:16:23.730 DEBUG dbus:432 - Selecting objects of type Shell with attributes: {}
01:16:34.179 INFO _launcher:352 - waiting for process to exit.
01:16:34.180 INFO _launcher:279 - Killing process 3541
01:16:34.352 INFO _launcher:352 - waiting for process to exit.
01:16:34.356 INFO _launcher:279 - Killing process 3525
01:16:34.484 INFO __init__:315 - Stopping unity
01:17:04.421 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