Testcase: test_add_notebook_must_create_it_in_server

Build #:78:20141008.2:20140929.1
Arch:mako (Nexus 4)
Release:utopic
Variant:touch_stable
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_add_notebook_must_create_it_in_server
testsuite
reminders.tests.test_reminders.RemindersTestCaseWithAccount
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Oct  8 20:39:36 ubuntu-phablet kernel: [  318.312253] type=1400 audit(1412800776.461:88): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.262" name="/home/phablet/.local/share/applications/tmp45tt7ez7.desktop" pid=4714 comm="reminders"
requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
Oct  8 20:39:38 ubuntu-phablet kernel: [  320.717839] type=1400 audit(1412800778.873:89): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.262" name="/home/phablet/.local/share/applications/" pid=4714 comm="reminders" requested_mask="r"
denied_mask="r" fsuid=32011 ouid=32011
Oct  8 20:39:38 ubuntu-phablet kernel: [  320.719334] type=1400 audit(1412800778.873:90): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.262" name="/usr/share/applications/" pid=4714 comm="reminders" requested_mask="r" denied_mask="r"
fsuid=32011 ouid=0
Oct  8 20:39:40 ubuntu-phablet signond[4776]: ../../../../src/signond/signondaemon.cpp 388 init Failed to SUID root. Secure storage will not be
available.
Oct  8 20:39:50 ubuntu-phablet kernel: [  331.883717] wlan: [1323:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
11, rssi = -66, countryCode US
Oct  8 20:39:50 ubuntu-phablet kernel: [  331.884602] wlan: [1323:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -61, countryCode US
Oct  8 20:39:50 ubuntu-phablet kernel: [  331.885731] wlan: [1323:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dc chan=
161, rssi = -59, countryCode US
Oct  8 20:39:50 ubuntu-phablet kernel: [  331.887929] wlan: [1323:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:a8:c5:dc chan= 161, rssi = -60, countryCode US
Oct  8 20:39:50 ubuntu-phablet kernel: [  331.889088] wlan: [1323:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:19:07:c4:12:40 chan=
1, rssi = -58, countryCode US
}}}

Application Log (tmp45tt7ez7): {{{
reminders: invalid option -- 's'
Testability driver loaded. Wire protocol version is "1.4".
Running against the sandbox server
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.reminders/0.5.262/qml/reminders.qml"

(process:4714): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4714): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4714): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts 
virtual void OnlineAccountsClient::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts.Client
libust[4714/4759]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4714/4758]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4714/4758]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4714/4759]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
qml: ################################# true
EvernoteConnection is not connected. ( FetchUsernameJob )
account-service-model.cpp 291 update 
qml: got accounts: 0
qml: No account available! Please setup an account in the system settings
UbuntuWindow - regular geometry
qml: ********************* width 768
Error fetching username: "Not connected."
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.262/qml/ui/NotesPage.qml:122: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.262/qml/ui/NotesPage.qml:118: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.262/qml/reminders.qml:300:30: Unable to assign null to QQuickAnchorLine
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
account-service-model.cpp 366 onAccountCreated 6 
libust[4714/4758]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4714/4759]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4714/4758]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4714/4759]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4714/4758]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4714/4759]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
../../../Accounts/account-service.cpp: 162 onEnabled
account-service-model.cpp 414 onAccountServiceEnabled true 
qml: got accounts: 1
account-service.cpp 100 setObjectHandle Accounts::AccountService(0xcf3ef8) 
Can't connect to Evernote. No token set.
account-service.cpp 384 authenticate QMap() 
../../../../lib/SignOn/connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to
connect to socket /run/user/32011/signond/socket: No such file or directory") 1
../../../../lib/SignOn/connection-manager.cpp 132 init Peer connection unavailable, activating service
../../../../lib/SignOn/identityimpl.cpp 96 updateState Updating state:  "PendingRegistration" SignOn::IdentityImpl(0xd179e8)
../../../../lib/SignOn/authsessionimpl.cpp 94 initInterface
../../../../lib/SignOn/authsessionimpl.cpp 94 initInterface
../../../Accounts/account-service.cpp: 169 onChanged
../../../../lib/SignOn/connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to
connect to socket /run/user/32011/signond/socket: No such file or directory") 1
../../../../lib/SignOn/connection-manager.cpp 150 init Connected to "qt_default_session_bus"
../../../../lib/SignOn/identityimpl.cpp 96 updateState Updating state:  "Ready" SignOn::IdentityImpl(0xd179e8)
../../../../lib/SignOn/identityimpl.cpp 96 updateState Updating state:  "NeedsUpdate" SignOn::IdentityImpl(0xd179e8)
../../../../lib/SignOn/identityimpl.cpp 96 updateState Updating state:  "PendingUpdate" SignOn::IdentityImpl(0xd179e8)
../../../../lib/SignOn/identityimpl.cpp 442 infoUpdated SERVER INFO UPDATED. NeedsUpdate " 6 "
******* Connecting *******
hostname: "sandbox.evernote.com"
token: "S=s1:U=8e6bf:E=14d08e375ff:C=145b1324a03:P=1cd:A=en-devtoken:V=2:H=79b946c32b4515ee52b387f7b68baa69"
created UserStore SSL socket to host  "sandbox.evernote.com"
UserStoreClient socket opened.
getting ntoe store url with token "S=s1:U=8e6bf:E=14d08e375ff:C=145b1324a03:P=1cd:A=en-devtoken:V=2:H=79b946c32b4515ee52b387f7b68baa69"
created NotesStore SSL socket to host  "sandbox.evernote.com"
NotesStoreClient socket opened. false
Connected!
../../../../lib/SignOn/identityimpl.cpp 381 getInfoReply QMap(("ACL", QVariant(QStringList, ()) ) ( "AuthMethods" ,  QVariant(QDBusArgument, ) ) (
"Caption" ,  QVariant(QString, "dummy") ) ( "Id" ,  QVariant(uint, 6) ) ( "Owner" ,  QVariant(QStringList, ()) ) ( "Realms" ,  QVariant(QStringList,
()) ) ( "RefCount" ,  QVariant(int, 0) ) ( "StoreSecret" ,  QVariant(bool, true) ) ( "Type" ,  QVariant(int, 0) ) ( "UserName" ,  QVariant(QString,
"dummy") ) ( "UserNameSecret" ,  QVariant(bool, false) ) ( "Validated" ,  QVariant(bool, true) ) ) 
../../../../lib/SignOn/identityimpl.cpp 96 updateState Updating state:  "Ready" SignOn::IdentityImpl(0xd179e8)
libust[4714/4758]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4714/4759]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
qml: Logged in as user: u1test
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
libust[4714/4758]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4714/4759]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4714/4758]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4714/4759]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
../../../Accounts/account.cpp: 184 on_deleted
account-service-model.cpp 373 onAccountRemoved 6
}}}

test-log: {{{
20:39:35.163 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
20:39:35.173 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
20:39:35.175 INFO logging:45 - RemindersTestCaseWithAccount: launch_ubuntu_app. Arguments (). Keyword arguments: {}.
20:39:35.180 INFO _launcher:120 - Attempting to launch application 'tmp45tt7ez7' with URIs '' via upstart-app-launch
20:39:39.924 DEBUG credentials:59 - Add an evernote account.
20:39:39.929 DEBUG credentials:83 - Creating the Evernote account.
20:39:40.081 DEBUG credentials:111 - Setting credentials to account.
20:39:40.101 DEBUG credentials:122 - Processing session.
20:39:55.241 DEBUG credentials:145 - Enabling evernote service.
20:39:55.289 INFO credentials:78 - Created the account with id: 6.
20:39:55.304 DEBUG credentials:157 - Existing accounts: [6].
20:39:55.314 DEBUG credentials:163 - Account info:
20:39:55.326 DEBUG credentials:164 - id: 6
20:39:55.339 DEBUG credentials:165 - provider: evernote-sandbox
20:39:55.343 DEBUG credentials:166 - enabled: True
20:39:55.354 DEBUG credentials:167 - Account services:
20:39:55.368 DEBUG credentials:169 - name: evernote-sandbox
20:39:55.371 DEBUG credentials:171 - enabled: True
20:39:55.380 INFO test_reminders:70 - Waiting for the Evernote account to be created.
20:39:56.528 INFO logging:45 - MainView: Open a tab. Arguments ('NotebookTab',). Keyword arguments: {}.
20:39:56.600 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
20:39:56.709 INFO logging:45 - MainView: Open a tab. Arguments (1,). Keyword arguments: {}.
20:39:56.793 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
20:39:57.366 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (1,). Keyword arguments: {}.
20:39:57.921 DEBUG _common:45 - Moving to object's globalRect coordinates.
20:39:57.923 DEBUG _uinput:470 - Tapping at: 63,121
20:40:01.605 INFO credentials:179 - Deleting the account with id 6.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/reminders/tests/test_reminders.py", line 107, in test_add_notebook_must_create_it_in_server
    notebooks_page = self.app.open_notebooks()
  File "/home/phablet/autopilot/reminders/__init__.py", line 52, in open_notebooks
    self.main_view.switch_to_tab('NotebookTab')
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py", line 163, in switch_to_tab
    return self.switch_to_tab_by_index(tab.index)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py", line 103, in switch_to_tab_by_index
    return self._switch_to_tab_in_drawer_by_index(index)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py", line 132, in _switch_to_tab_in_drawer_by_index
    self.get_header().switch_to_tab_by_index(index)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_header.py", line 180, in switch_to_tab_by_index
    self._switch_to_tab_in_drawer_by_index(index)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_header.py", line 201, in _switch_to_tab_in_drawer_by_index
    "Tab button {0} not found.".format(index))
ubuntuuitoolkit._custom_proxy_objects._common.ToolkitException: Tab button 1 not found.

command_type
testcase_test