adbd is already running as root Disabling shell unity8 stop/waiting Loading tests from: /home/phablet/autopilot 02:19:07.401 INFO autopilot:138 - Autopilot Source Version: 1.4.0 Autopilot Package Version: 1.4+14.04.20131106-0ubuntu1 Tests running... 02:19:07.426 INFO globals:56 - ************************************************************ 02:19:07.427 INFO globals:57 - Starting test unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_sd_incoming_call (Native Device) 02:19:07.428 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package! 02:19:07.434 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled. 02:19:08.115 INFO __init__:237 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8' 02:19:08.117 INFO __init__:310 - Setting up LightDM mock type 'single' 02:19:08.176 INFO __init__:319 - New library path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/single 02:19:08.204 INFO __init__:342 - New QML2 import path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks 02:19:08.205 INFO __init__:272 - Starting unity 02:19:20.706 DEBUG __init__:265 - Unity started, waiting for it to be ready. 02:19:20.710 DEBUG dbus:423 - Selecting objects of type Dash with attributes: {} 02:19:20.851 DEBUG dbus:423 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'} 02:19:21.540 DEBUG dbus:423 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'} 02:19:22.373 DEBUG __init__:267 - Unity loaded and ready. 02:19:22.375 DEBUG dbus:423 - Selecting objects of type Greeter with attributes: {} 02:19:22.805 DEBUG _uinput:366 - Dragging from 765,669 to 153,669 02:19:24.239 DEBUG dbus:423 - Selecting objects of type QQuickView with attributes: {} 02:19:24.314 WARNING types:97 - Unknown type id 4 02:19:24.318 DEBUG dbus:423 - Selecting objects of type QQuickListView with attributes: {'objectName': 'notificationList'} 02:19:26.471 INFO test_notifications:236 - Creating snap-decision notification with summary(Incoming call), body(Frank Zappa +44 (0)7736 027340) and urgency('NORMAL') 02:19:26.491 INFO test_notifications:259 - Launching snap-decision notification as: ['/usr/bin/python', '/home/phablet/autopilot/unity8/shell/emulators/create_interactive_notification.py', '--summary', 'Incoming call', '--body', 'Frank Zappan+44 (0)7736 027340', '--urgency', 'NORMAL', '--icon', '/home/graphics/avatars/anna_olsson.png', '--hint', 'x-canonical-secondary-icon,/home/graphics/applicationIcons/phone-app.png', '--hint', 'x-canonical-snap-decisions,true', '--action', 'action_accept,Accept', '--action', 'action_decline_1,Decline', '--action', 'action_decline_2,"Can't talk now, what's up?"', '--action', 'action_decline_3,"I call you back."', '--action', 'action_decline_4,Send custom message...'] 02:19:26.506 DEBUG dbus:423 - Selecting objects of type Notification with attributes: {'objectName': 'notification1'} 02:19:26.778 ERROR test_notifications:286 - Notification process wasn't killed, killing now. 02:19:26.780 INFO __init__:297 - Stopping unity 02:19:29.272 INFO __init__:218 - Resetting upstart env QT_LOAD_TESTABILITY to None 02:19:29.321 ERROR testresult:37 - ERROR: unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_sd_incoming_call(Native Device) 02:19:29.324 ERROR testresult:37 - traceback: {{{ Traceback (most recent call last): File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 195, in test_sd_incoming_call self.assertThat(get_notification, Eventually(NotEquals(None))) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat mismatch = matcher.match(matchee) File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 109, in match wait_fun(self.matcher, self.timeout) File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 125, in _callable_wait_for new_value = refresh_fn() File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 194, in get_notification = lambda: notify_list.select_single('Notification', objectName='notification1') File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 318, in select_single raise StateNotFoundError(type_name, **kwargs) StateNotFoundError: State not found for class 'Notification' and filters {'objectName': 'notification1'}. }}} 02:19:29.327 ERROR testresult:37 - traceback-1: {{{ Traceback (most recent call last): File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 287, in _tidy_up_script_process os.killpg(self._notify_proc.pid, signal.SIGTERM) OSError: [Errno 3] No such process }}} ====================================================================== ERROR: unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_sd_incoming_call(Native Device) ---------------------------------------------------------------------- _StringException: test-log: {{{ 02:19:07.426 INFO globals:56 - ************************************************************ 02:19:07.427 INFO globals:57 - Starting test unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_sd_incoming_call (Native Device) 02:19:07.428 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package! 02:19:07.434 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled. 02:19:08.115 INFO __init__:237 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8' 02:19:08.117 INFO __init__:310 - Setting up LightDM mock type 'single' 02:19:08.176 INFO __init__:319 - New library path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/single 02:19:08.204 INFO __init__:342 - New QML2 import path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks 02:19:08.205 INFO __init__:272 - Starting unity 02:19:20.706 DEBUG __init__:265 - Unity started, waiting for it to be ready. 02:19:20.710 DEBUG dbus:423 - Selecting objects of type Dash with attributes: {} 02:19:20.851 DEBUG dbus:423 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'} 02:19:21.540 DEBUG dbus:423 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'} 02:19:22.373 DEBUG __init__:267 - Unity loaded and ready. 02:19:22.375 DEBUG dbus:423 - Selecting objects of type Greeter with attributes: {} 02:19:22.805 DEBUG _uinput:366 - Dragging from 765,669 to 153,669 02:19:24.239 DEBUG dbus:423 - Selecting objects of type QQuickView with attributes: {} 02:19:24.314 WARNING types:97 - Unknown type id 4 02:19:24.318 DEBUG dbus:423 - Selecting objects of type QQuickListView with attributes: {'objectName': 'notificationList'} 02:19:26.471 INFO test_notifications:236 - Creating snap-decision notification with summary(Incoming call), body(Frank Zappa +44 (0)7736 027340) and urgency('NORMAL') 02:19:26.491 INFO test_notifications:259 - Launching snap-decision notification as: ['/usr/bin/python', '/home/phablet/autopilot/unity8/shell/emulators/create_interactive_notification.py', '--summary', 'Incoming call', '--body', 'Frank Zappan+44 (0)7736 027340', '--urgency', 'NORMAL', '--icon', '/home/graphics/avatars/anna_olsson.png', '--hint', 'x-canonical-secondary-icon,/home/graphics/applicationIcons/phone-app.png', '--hint', 'x-canonical-snap-decisions,true', '--action', 'action_accept,Accept', '--action', 'action_decline_1,Decline', '--action', 'action_decline_2,"Can't talk now, what's up?"', '--action', 'action_decline_3,"I call you back."', '--action', 'action_decline_4,Send custom message...'] 02:19:26.506 DEBUG dbus:423 - Selecting objects of type Notification with attributes: {'objectName': 'notification1'} 02:19:26.778 ERROR test_notifications:286 - Notification process wasn't killed, killing now. 02:19:26.780 INFO __init__:297 - Stopping unity 02:19:29.272 INFO __init__:218 - Resetting upstart env QT_LOAD_TESTABILITY to None }}} traceback-1: {{{ Traceback (most recent call last): File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 287, in _tidy_up_script_process os.killpg(self._notify_proc.pid, signal.SIGTERM) OSError: [Errno 3] No such process }}} Traceback (most recent call last): File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 195, in test_sd_incoming_call self.assertThat(get_notification, Eventually(NotEquals(None))) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat mismatch = matcher.match(matchee) File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 109, in match wait_fun(self.matcher, self.timeout) File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 125, in _callable_wait_for new_value = refresh_fn() File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 194, in get_notification = lambda: notify_list.select_single('Notification', objectName='notification1') File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 318, in select_single raise StateNotFoundError(type_name, **kwargs) StateNotFoundError: State not found for class 'Notification' and filters {'objectName': 'notification1'}. Ran 1 test in 21.927s FAILED (failures=1) Restoring shell unity8 start/running, process 3289 adbd is already running as root Disabling shell unity8 stop/waiting Loading tests from: /home/phablet/autopilot 02:20:25.408 INFO autopilot:138 - Autopilot Source Version: 1.4.0 Autopilot Package Version: 1.4+14.04.20131106-0ubuntu1 Tests running... 02:20:25.436 INFO globals:56 - ************************************************************ 02:20:25.437 INFO globals:57 - Starting test unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_interactive (Native Device) 02:20:25.438 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package! 02:20:25.445 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled. 02:20:26.263 INFO __init__:237 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8' 02:20:26.271 INFO __init__:310 - Setting up LightDM mock type 'single' 02:20:26.436 INFO __init__:319 - New library path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/single 02:20:26.521 INFO __init__:342 - New QML2 import path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks 02:20:26.526 INFO __init__:272 - Starting unity 02:20:38.757 DEBUG __init__:265 - Unity started, waiting for it to be ready. 02:20:38.758 DEBUG dbus:423 - Selecting objects of type Dash with attributes: {} 02:20:38.877 DEBUG dbus:423 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'} 02:20:39.130 DEBUG dbus:423 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'} 02:20:40.231 DEBUG __init__:267 - Unity loaded and ready. 02:20:40.232 DEBUG dbus:423 - Selecting objects of type Greeter with attributes: {} 02:20:40.635 DEBUG _uinput:366 - Dragging from 765,669 to 153,669 02:20:42.229 DEBUG dbus:423 - Selecting objects of type QQuickView with attributes: {} 02:20:42.305 WARNING types:97 - Unknown type id 4 02:20:42.309 DEBUG dbus:423 - Selecting objects of type QQuickListView with attributes: {'objectName': 'notificationList'} 02:20:44.434 INFO test_notifications:236 - Creating snap-decision notification with summary(Interactive notification), body(This notification can be clicked on to trigger an action.) and urgency('NORMAL') 02:20:44.468 INFO test_notifications:259 - Launching snap-decision notification as: ['/usr/bin/python', '/home/phablet/autopilot/unity8/shell/emulators/create_interactive_notification.py', '--summary', 'Interactive notification', '--body', 'This notification can be clicked on to trigger an action.', '--urgency', 'NORMAL', '--icon', '/home/graphics/avatars/anna_olsson.png', '--hint', 'x-canonical-switch-to-application,true', '--hint', 'x-canonical-secondary-icon,/home/graphics/applicationIcons/phone-app.png', '--action', 'action_id,dummy'] 02:20:44.491 DEBUG dbus:423 - Selecting objects of type Notification with attributes: {'objectName': 'notification1'} 02:20:44.580 ERROR test_notifications:286 - Notification process wasn't killed, killing now. 02:20:44.582 INFO __init__:297 - Stopping unity 02:20:50.321 INFO __init__:218 - Resetting upstart env QT_LOAD_TESTABILITY to None 02:20:50.377 ERROR testresult:37 - ERROR: unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_interactive(Native Device) 02:20:50.379 ERROR testresult:37 - traceback: {{{ Traceback (most recent call last): File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 149, in test_interactive self.assertThat(get_notification, Eventually(NotEquals(None))) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat mismatch = matcher.match(matchee) File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 109, in match wait_fun(self.matcher, self.timeout) File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 125, in _callable_wait_for new_value = refresh_fn() File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 148, in get_notification = lambda: notify_list.select_single('Notification', objectName='notification1') File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 318, in select_single raise StateNotFoundError(type_name, **kwargs) StateNotFoundError: State not found for class 'Notification' and filters {'objectName': 'notification1'}. }}} 02:20:50.382 ERROR testresult:37 - traceback-1: {{{ Traceback (most recent call last): File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 287, in _tidy_up_script_process os.killpg(self._notify_proc.pid, signal.SIGTERM) OSError: [Errno 3] No such process }}} ====================================================================== ERROR: unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_interactive(Native Device) ---------------------------------------------------------------------- _StringException: test-log: {{{ 02:20:25.436 INFO globals:56 - ************************************************************ 02:20:25.437 INFO globals:57 - Starting test unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_interactive (Native Device) 02:20:25.438 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package! 02:20:25.445 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled. 02:20:26.263 INFO __init__:237 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8' 02:20:26.271 INFO __init__:310 - Setting up LightDM mock type 'single' 02:20:26.436 INFO __init__:319 - New library path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/single 02:20:26.521 INFO __init__:342 - New QML2 import path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks 02:20:26.526 INFO __init__:272 - Starting unity 02:20:38.757 DEBUG __init__:265 - Unity started, waiting for it to be ready. 02:20:38.758 DEBUG dbus:423 - Selecting objects of type Dash with attributes: {} 02:20:38.877 DEBUG dbus:423 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'} 02:20:39.130 DEBUG dbus:423 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'} 02:20:40.231 DEBUG __init__:267 - Unity loaded and ready. 02:20:40.232 DEBUG dbus:423 - Selecting objects of type Greeter with attributes: {} 02:20:40.635 DEBUG _uinput:366 - Dragging from 765,669 to 153,669 02:20:42.229 DEBUG dbus:423 - Selecting objects of type QQuickView with attributes: {} 02:20:42.305 WARNING types:97 - Unknown type id 4 02:20:42.309 DEBUG dbus:423 - Selecting objects of type QQuickListView with attributes: {'objectName': 'notificationList'} 02:20:44.434 INFO test_notifications:236 - Creating snap-decision notification with summary(Interactive notification), body(This notification can be clicked on to trigger an action.) and urgency('NORMAL') 02:20:44.468 INFO test_notifications:259 - Launching snap-decision notification as: ['/usr/bin/python', '/home/phablet/autopilot/unity8/shell/emulators/create_interactive_notification.py', '--summary', 'Interactive notification', '--body', 'This notification can be clicked on to trigger an action.', '--urgency', 'NORMAL', '--icon', '/home/graphics/avatars/anna_olsson.png', '--hint', 'x-canonical-switch-to-application,true', '--hint', 'x-canonical-secondary-icon,/home/graphics/applicationIcons/phone-app.png', '--action', 'action_id,dummy'] 02:20:44.491 DEBUG dbus:423 - Selecting objects of type Notification with attributes: {'objectName': 'notification1'} 02:20:44.580 ERROR test_notifications:286 - Notification process wasn't killed, killing now. 02:20:44.582 INFO __init__:297 - Stopping unity 02:20:50.321 INFO __init__:218 - Resetting upstart env QT_LOAD_TESTABILITY to None }}} traceback-1: {{{ Traceback (most recent call last): File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 287, in _tidy_up_script_process os.killpg(self._notify_proc.pid, signal.SIGTERM) OSError: [Errno 3] No such process }}} Traceback (most recent call last): File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 149, in test_interactive self.assertThat(get_notification, Eventually(NotEquals(None))) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat mismatch = matcher.match(matchee) File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 109, in match wait_fun(self.matcher, self.timeout) File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 125, in _callable_wait_for new_value = refresh_fn() File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 148, in get_notification = lambda: notify_list.select_single('Notification', objectName='notification1') File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 318, in select_single raise StateNotFoundError(type_name, **kwargs) StateNotFoundError: State not found for class 'Notification' and filters {'objectName': 'notification1'}. Ran 1 test in 24.973s FAILED (failures=1) Restoring shell unity8 start/running, process 3847 adbd is already running as root Disabling shell unity8 stop/waiting Loading tests from: /home/phablet/autopilot 02:21:16.523 INFO autopilot:138 - Autopilot Source Version: 1.4.0 Autopilot Package Version: 1.4+14.04.20131106-0ubuntu1 Tests running... 02:21:16.551 INFO globals:56 - ************************************************************ 02:21:16.552 INFO globals:57 - Starting test unity8.shell.tests.test_notifications.EphemeralNotificationsTests.test_urgency_order (Native Device) 02:21:16.553 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package! 02:21:16.559 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled. 02:21:17.319 INFO __init__:237 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8' 02:21:17.323 INFO __init__:310 - Setting up LightDM mock type 'single' 02:21:17.489 INFO __init__:319 - New library path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/single 02:21:17.575 INFO __init__:342 - New QML2 import path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks 02:21:17.580 INFO __init__:272 - Starting unity 02:21:30.030 DEBUG __init__:265 - Unity started, waiting for it to be ready. 02:21:30.032 DEBUG dbus:423 - Selecting objects of type Dash with attributes: {} 02:21:30.158 DEBUG dbus:423 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'} 02:21:31.637 DEBUG dbus:423 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'} 02:21:32.982 DEBUG __init__:267 - Unity loaded and ready. 02:21:32.983 DEBUG dbus:423 - Selecting objects of type Greeter with attributes: {} 02:21:33.222 DEBUG _uinput:366 - Dragging from 765,669 to 153,669 02:21:34.559 DEBUG dbus:423 - Selecting objects of type QQuickView with attributes: {} 02:21:34.653 WARNING types:97 - Unknown type id 4 02:21:34.668 DEBUG dbus:423 - Selecting objects of type QQuickListView with attributes: {'objectName': 'notificationList'} 02:21:36.828 INFO test_notifications:720 - Creating ephemeral: summary(Normal Urgency), body(Hey pal, what's up with the party next weekend? Will you join me and Anna?), urgency('NORMAL') and Icon(/home/graphics/avatars/funky.png) 02:21:36.882 INFO test_notifications:720 - Creating ephemeral: summary(Low Urgency), body(No, I'd rather see paint dry, pal *yawn*), urgency('LOW') and Icon(/home/graphics/avatars/amanda.png) 02:21:36.891 INFO test_notifications:720 - Creating ephemeral: summary(Critical Urgency), body(Dude, this is so urgent you have no idea :)), urgency('CRITICAL') and Icon(/home/graphics/avatars/anna_olsson.png) 02:21:36.900 DEBUG dbus:423 - Selecting objects of type Notification with attributes: {'summary': 'Critical Urgency'} 02:21:37.101 WARNING types:97 - Unknown type id 4 02:21:37.106 WARNING types:97 - Unknown type id 4 02:21:37.110 DEBUG dbus:423 - Selecting objects of type Notification with attributes: {'summary': 'Critical Urgency'} 02:21:37.236 WARNING types:97 - Unknown type id 4 02:21:37.241 WARNING types:97 - Unknown type id 4 02:21:37.262 WARNING types:97 - Unknown type id 4 02:21:37.267 WARNING types:97 - Unknown type id 4 02:21:37.287 WARNING types:97 - Unknown type id 4 02:21:37.288 WARNING types:97 - Unknown type id 4 02:21:37.312 WARNING types:97 - Unknown type id 4 02:21:37.319 WARNING types:97 - Unknown type id 4 02:21:37.351 WARNING types:97 - Unknown type id 4 02:21:37.354 WARNING types:97 - Unknown type id 4 02:21:37.382 WARNING types:97 - Unknown type id 4 02:21:37.386 WARNING types:97 - Unknown type id 4 02:21:37.408 WARNING types:97 - Unknown type id 4 02:21:37.410 WARNING types:97 - Unknown type id 4 02:21:37.434 WARNING types:97 - Unknown type id 4 02:21:37.441 WARNING types:97 - Unknown type id 4 02:21:37.461 WARNING types:97 - Unknown type id 4 02:21:37.463 WARNING types:97 - Unknown type id 4 02:21:37.486 WARNING types:97 - Unknown type id 4 02:21:37.490 WARNING types:97 - Unknown type id 4 02:21:37.510 WARNING types:97 - Unknown type id 4 02:21:37.513 WARNING types:97 - Unknown type id 4 02:21:37.528 DEBUG dbus:423 - Selecting objects of type Notification with attributes: {'summary': 'Normal Urgency'} 02:21:37.632 INFO __init__:297 - Stopping unity 02:21:39.888 INFO __init__:218 - Resetting upstart env QT_LOAD_TESTABILITY to None 02:21:39.928 ERROR testresult:37 - ERROR: unity8.shell.tests.test_notifications.EphemeralNotificationsTests.test_urgency_order(Native Device) 02:21:39.930 ERROR testresult:37 - traceback: {{{ Traceback (most recent call last): File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 471, in test_urgency_order self.assertThat(get_normal_notification, Eventually(NotEquals(None))) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat mismatch = matcher.match(matchee) File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 109, in match wait_fun(self.matcher, self.timeout) File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 125, in _callable_wait_for new_value = refresh_fn() File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 469, in summary=summary_normal File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 318, in select_single raise StateNotFoundError(type_name, **kwargs) StateNotFoundError: State not found for class 'Notification' and filters {'summary': 'Normal Urgency'}. }}} ====================================================================== ERROR: unity8.shell.tests.test_notifications.EphemeralNotificationsTests.test_urgency_order(Native Device) ---------------------------------------------------------------------- _StringException: test-log: {{{ 02:21:16.551 INFO globals:56 - ************************************************************ 02:21:16.552 INFO globals:57 - Starting test unity8.shell.tests.test_notifications.EphemeralNotificationsTests.test_urgency_order (Native Device) 02:21:16.553 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package! 02:21:16.559 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled. 02:21:17.319 INFO __init__:237 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8' 02:21:17.323 INFO __init__:310 - Setting up LightDM mock type 'single' 02:21:17.489 INFO __init__:319 - New library path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/single 02:21:17.575 INFO __init__:342 - New QML2 import path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks 02:21:17.580 INFO __init__:272 - Starting unity 02:21:30.030 DEBUG __init__:265 - Unity started, waiting for it to be ready. 02:21:30.032 DEBUG dbus:423 - Selecting objects of type Dash with attributes: {} 02:21:30.158 DEBUG dbus:423 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'} 02:21:31.637 DEBUG dbus:423 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'} 02:21:32.982 DEBUG __init__:267 - Unity loaded and ready. 02:21:32.983 DEBUG dbus:423 - Selecting objects of type Greeter with attributes: {} 02:21:33.222 DEBUG _uinput:366 - Dragging from 765,669 to 153,669 02:21:34.559 DEBUG dbus:423 - Selecting objects of type QQuickView with attributes: {} 02:21:34.653 WARNING types:97 - Unknown type id 4 02:21:34.668 DEBUG dbus:423 - Selecting objects of type QQuickListView with attributes: {'objectName': 'notificationList'} 02:21:36.828 INFO test_notifications:720 - Creating ephemeral: summary(Normal Urgency), body(Hey pal, what's up with the party next weekend? Will you join me and Anna?), urgency('NORMAL') and Icon(/home/graphics/avatars/funky.png) 02:21:36.882 INFO test_notifications:720 - Creating ephemeral: summary(Low Urgency), body(No, I'd rather see paint dry, pal *yawn*), urgency('LOW') and Icon(/home/graphics/avatars/amanda.png) 02:21:36.891 INFO test_notifications:720 - Creating ephemeral: summary(Critical Urgency), body(Dude, this is so urgent you have no idea :)), urgency('CRITICAL') and Icon(/home/graphics/avatars/anna_olsson.png) 02:21:36.900 DEBUG dbus:423 - Selecting objects of type Notification with attributes: {'summary': 'Critical Urgency'} 02:21:37.101 WARNING types:97 - Unknown type id 4 02:21:37.106 WARNING types:97 - Unknown type id 4 02:21:37.110 DEBUG dbus:423 - Selecting objects of type Notification with attributes: {'summary': 'Critical Urgency'} 02:21:37.236 WARNING types:97 - Unknown type id 4 02:21:37.241 WARNING types:97 - Unknown type id 4 02:21:37.262 WARNING types:97 - Unknown type id 4 02:21:37.267 WARNING types:97 - Unknown type id 4 02:21:37.287 WARNING types:97 - Unknown type id 4 02:21:37.288 WARNING types:97 - Unknown type id 4 02:21:37.312 WARNING types:97 - Unknown type id 4 02:21:37.319 WARNING types:97 - Unknown type id 4 02:21:37.351 WARNING types:97 - Unknown type id 4 02:21:37.354 WARNING types:97 - Unknown type id 4 02:21:37.382 WARNING types:97 - Unknown type id 4 02:21:37.386 WARNING types:97 - Unknown type id 4 02:21:37.408 WARNING types:97 - Unknown type id 4 02:21:37.410 WARNING types:97 - Unknown type id 4 02:21:37.434 WARNING types:97 - Unknown type id 4 02:21:37.441 WARNING types:97 - Unknown type id 4 02:21:37.461 WARNING types:97 - Unknown type id 4 02:21:37.463 WARNING types:97 - Unknown type id 4 02:21:37.486 WARNING types:97 - Unknown type id 4 02:21:37.490 WARNING types:97 - Unknown type id 4 02:21:37.510 WARNING types:97 - Unknown type id 4 02:21:37.513 WARNING types:97 - Unknown type id 4 02:21:37.528 DEBUG dbus:423 - Selecting objects of type Notification with attributes: {'summary': 'Normal Urgency'} 02:21:37.632 INFO __init__:297 - Stopping unity 02:21:39.888 INFO __init__:218 - Resetting upstart env QT_LOAD_TESTABILITY to None }}} Traceback (most recent call last): File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 471, in test_urgency_order self.assertThat(get_normal_notification, Eventually(NotEquals(None))) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat mismatch = matcher.match(matchee) File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 109, in match wait_fun(self.matcher, self.timeout) File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", line 125, in _callable_wait_for new_value = refresh_fn() File "/home/phablet/autopilot/unity8/shell/tests/test_notifications.py", line 469, in summary=summary_normal File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 318, in select_single raise StateNotFoundError(type_name, **kwargs) StateNotFoundError: State not found for class 'Notification' and filters {'summary': 'Normal Urgency'}. Ran 1 test in 23.407s FAILED (failures=1) Restoring shell unity8 start/running, process 4281