Testcase: test_app_moves_from_unfocused_to_focused(Native Device)

Build #:225:20140307.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  7 08:23:19 ubuntu-phablet kernel: [  373.465315] input: autopilot-finger as /devices/virtual/input/input16
Mar  7 08:23:20 ubuntu-phablet kernel: [  374.206457] iio-buffer, current state requested again
Mar  7 08:23:22 ubuntu-phablet kernel: [  376.813514] samsung-i2s samsung-i2s.0: state restore latency exceeded, new value 1292 ns
Mar  7 08:23:27 ubuntu-phablet kernel: [  381.151413] iio-buffer, current state requested again
Mar  7 08:23:28 ubuntu-phablet kernel: [  382.466418] iio-buffer, current state requested again
Mar  7 08:23:30 ubuntu-phablet kernel: [  384.676426] iio-buffer, current state requested again
Mar  7 08:23:44 ubuntu-phablet kernel: [  398.776477] iio-buffer, current state requested again
Mar  7 08:23:44 ubuntu-phablet kernel: [  398.782525] binder: release 3882:3884 transaction 589 out, still active
Mar  7 08:23:44 ubuntu-phablet kernel: [  398.817795] binder: 757:3334 transaction failed 29189, size 4-0
Mar  7 08:23:44 ubuntu-phablet kernel: [  398.817827] binder: send failed reply for transaction 589, target dead
Mar  7 08:24:14 ubuntu-phablet kernel: [  428.877572] healthd: battery l=93 v=4148 t=23.1 h=2 st=2 c=-251 chg=u
}}}

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

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

test-log: {{{
08:23:19.387 INFO globals:57 - ************************************************************
08:23:19.388 INFO globals:58 - Starting test
unity8.application_lifecycle.tests.test_application_lifecycle.ApplicationLifecycleTests.test_app_moves_from_unfocused_to_focused (Native Device)
08:23:19.388 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
08:23:19.391 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
08:23:19.563 INFO __init__:260 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8'
08:23:19.565 INFO __init__:331 - Setting up LightDM mock type 'single'
08:23:19.623 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
08:23:19.651 INFO __init__:302 - Starting unity
08:23:20.029 INFO process_helpers:130 - unity8 start/running, process 3761

08:23:23.016 DEBUG __init__:295 - Unity started, waiting for it to be ready.
08:23:23.017 DEBUG dbus:431 - Selecting objects of type Dash with attributes: {}
08:23:23.050 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'}
08:23:23.149 DEBUG dbus:431 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'}
08:23:23.259 DEBUG __init__:297 - Unity loaded and ready.
08:23:23.261 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
08:23:23.296 DEBUG dbus:431 - Selecting objects of type Greeter with attributes: {}
08:23:23.381 DEBUG _uinput:546 - Dragging from 2557,832 to 512,832
08:23:26.581 INFO process_helpers:88 - Greeter unlocked, continuing.
08:23:26.600 INFO _launcher:159 - Launching process: ['/usr/bin/messaging-app', '-testability',
'--desktop_file_hint=/usr/share/applications/messaging-app.desktop', '--stage_hint=main_stage']
08:23:28.699 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
08:23:28.839 DEBUG dbus:431 - Selecting objects of type Shell with attributes: {}
08:23:29.075 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']
08:23:32.202 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
08:23:32.319 DEBUG dbus:431 - Selecting objects of type Shell with attributes: {}
08:23:32.438 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
08:23:32.493 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
08:23:32.586 INFO test_application_lifecycle:54 - Swiping screen from the right edge
08:23:32.586 DEBUG _uinput:546 - Dragging from 2560,800 to 1280,800
08:23:33.914 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
08:23:33.989 DEBUG dbus:431 - Selecting objects of type Shell with attributes: {}
08:23:44.499 INFO _launcher:346 - waiting for process to exit.
08:23:44.501 INFO _launcher:273 - Killing process 3900
08:23:44.682 INFO _launcher:346 - waiting for process to exit.
08:23:44.682 INFO _launcher:273 - Killing process 3882
08:23:44.837 INFO __init__:315 - Stopping unity
08:24:15.215 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