Testcase: test_app_moves_from_unfocused_to_focused(Native Device)

Build #:213:20140228.2: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 20:06:40 ubuntu-phablet kernel: [  434.976146] input: autopilot-finger as /devices/virtual/input/input19
Feb 28 20:06:40 ubuntu-phablet kernel: [  435.658453] iio-buffer, current state requested again
Feb 28 20:06:47 ubuntu-phablet kernel: [  442.858436] iio-buffer, current state requested again
Feb 28 20:06:49 ubuntu-phablet kernel: [  443.968481] iio-buffer, current state requested again
Feb 28 20:06:51 ubuntu-phablet kernel: [  445.938703] iio-buffer, current state requested again
Feb 28 20:07:04 ubuntu-phablet kernel: [  458.994953] binder: release 4218:4220 transaction 669 out, still active
Feb 28 20:07:04 ubuntu-phablet kernel: [  459.018520] iio-buffer, current state requested again
Feb 28 20:07:04 ubuntu-phablet kernel: [  459.062648] binder: 765:2013 transaction failed 29189, size 4-0
Feb 28 20:07:04 ubuntu-phablet kernel: [  459.062660] binder: send failed reply for transaction 669, target dead
Feb 28 20:07:33 ubuntu-phablet kernel: [  488.182063] healthd: battery l=58 v=3855 t=23.0 h=2 st=2 c=-278 chg=u
Feb 28 20:07:34 ubuntu-phablet kernel: [  489.318317] pd-g3d: Power-off latency exceeded, new value 4005249 ns
}}}

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 0xb44d5ead 0xb44d5e59
creating surface at (0, 64) with size (2560, 1536) with title 'Messaging'Detectable autorepeat not supported. 

** (process:4218): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
}}}

test-log: {{{
20:06:40.042 INFO globals:57 - ************************************************************
20:06:40.042 INFO globals:58 - Starting test
unity8.application_lifecycle.tests.test_application_lifecycle.ApplicationLifecycleTests.test_app_moves_from_unfocused_to_focused (Native Device)
20:06:40.043 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
20:06:40.046 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
20:06:40.190 INFO __init__:260 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8'
20:06:40.191 INFO __init__:331 - Setting up LightDM mock type 'single'
20:06:40.239 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
20:06:40.264 INFO __init__:302 - Starting unity
20:06:40.631 INFO process_helpers:130 - unity8 start/running, process 4095

20:06:43.571 DEBUG __init__:295 - Unity started, waiting for it to be ready.
20:06:43.572 DEBUG dbus:431 - Selecting objects of type Dash with attributes: {}
20:06:43.606 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'}
20:06:43.730 DEBUG dbus:431 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'}
20:06:43.848 DEBUG __init__:297 - Unity loaded and ready.
20:06:43.849 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
20:06:43.879 DEBUG dbus:431 - Selecting objects of type Greeter with attributes: {}
20:06:43.965 DEBUG _uinput:546 - Dragging from 2557,832 to 512,832
20:06:47.161 INFO process_helpers:88 - Greeter unlocked, continuing.
20:06:47.178 INFO _launcher:159 - Launching process: ['/usr/bin/messaging-app', '-testability',
'--desktop_file_hint=/usr/share/applications/messaging-app.desktop', '--stage_hint=main_stage']
20:06:49.281 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
20:06:49.367 DEBUG dbus:431 - Selecting objects of type Shell with attributes: {}
20:06:49.497 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']
20:06:51.457 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
20:06:51.550 DEBUG dbus:431 - Selecting objects of type Shell with attributes: {}
20:06:51.717 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
20:06:51.880 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
20:06:52.019 INFO test_application_lifecycle:54 - Swiping screen from the right edge
20:06:52.020 DEBUG _uinput:546 - Dragging from 2560,800 to 1280,800
20:06:53.346 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
20:06:53.408 DEBUG dbus:431 - Selecting objects of type Shell with attributes: {}
20:07:03.858 INFO _launcher:346 - waiting for process to exit.
20:07:03.859 INFO _launcher:273 - Killing process 4237
20:07:04.035 INFO _launcher:346 - waiting for process to exit.
20:07:04.036 INFO _launcher:273 - Killing process 4218
20:07:04.145 INFO __init__:315 - Stopping unity
20:07:34.405 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