Testcase: test_add_notebook_must_create_it_in_server

Build #:81:20141010.1: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 10 15:46:41 ubuntu-phablet kernel: [  165.909232] audit_printk_skb: 57 callbacks suppressed
Oct 10 15:46:41 ubuntu-phablet kernel: [  165.909232] type=1400 audit(1412956001.256:82): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.262" name="/home/phablet/.local/share/applications/tmpyhzoec57.desktop" pid=4200 comm="reminders"
requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
Oct 10 15:46:44 ubuntu-phablet kernel: [  169.135998] wlan: [1309:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
Oct 10 15:46:46 ubuntu-phablet kernel: [  170.766183] type=1400 audit(1412956006.111:83): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.262" name="/home/phablet/.local/share/applications/" pid=4200 comm="reminders" requested_mask="r"
denied_mask="r" fsuid=32011 ouid=32011
Oct 10 15:46:46 ubuntu-phablet kernel: [  170.768136] type=1400 audit(1412956006.111:84): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.262" name="/usr/share/applications/" pid=4200 comm="reminders" requested_mask="r" denied_mask="r"
fsuid=32011 ouid=0
Oct 10 15:46:47 ubuntu-phablet signond[4290]: ../../../../src/signond/signondaemon.cpp 388 init Failed to SUID root. Secure storage will not be
available.
}}}

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

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

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

(process:4200): 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[4200/4268]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4200/4267]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4200/4268]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4200/4267]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
qml: ################################# true
EvernoteConnection is not connected. ( FetchUsernameJob )
account-service-model.cpp 292 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 367 onAccountCreated 2
libust[4200/4268]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4200/4267]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4200/4268]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4200/4267]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4200/4268]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4200/4267]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
../../../Accounts/account-service.cpp: 162 onEnabled
account-service-model.cpp 415 onAccountServiceEnabled true
qml: got accounts: 1
account-service.cpp 100 setObjectHandle Accounts::AccountService(0x8977f8)
Can't connect to Evernote. No token set.
account-service.cpp 393 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(0x8b9858)
../../../../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(0x8b9858)
../../../../lib/SignOn/identityimpl.cpp 96 updateState Updating state:  "NeedsUpdate" SignOn::IdentityImpl(0x8b9858)
../../../../lib/SignOn/identityimpl.cpp 96 updateState Updating state:  "PendingUpdate" SignOn::IdentityImpl(0x8b9858)
../../../../lib/SignOn/identityimpl.cpp 442 infoUpdated SERVER INFO UPDATED. NeedsUpdate " 2 "
******* 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, 2) ) ( "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(0x8b9858)
libust[4200/4268]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4200/4267]: Error: Error opening shm /lttng-ust-wait-5 (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[4200/4268]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4200/4267]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4200/4268]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4200/4267]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
../../../Accounts/account-service.cpp: 162 onEnabled
account-service-model.cpp 415 onAccountServiceEnabled false
../../../Accounts/account.cpp: 184 on_deleted
account-service-model.cpp 374 onAccountRemoved 2
Item already deleted! Accounts::AccountService(0x8977f8)
}}}

test-log: {{{
15:46:39.629 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:46:39.641 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:46:39.643 INFO logging:45 - RemindersTestCaseWithAccount: launch_ubuntu_app. Arguments (). Keyword arguments: {}.
15:46:39.663 INFO _launcher:120 - Attempting to launch application 'tmpyhzoec57' with URIs '' via upstart-app-launch
15:46:47.384 DEBUG credentials:59 - Add an evernote account.
15:46:47.387 DEBUG credentials:83 - Creating the Evernote account.
15:46:47.579 DEBUG credentials:111 - Setting credentials to account.
15:46:47.595 DEBUG credentials:122 - Processing session.
15:47:00.286 DEBUG credentials:145 - Enabling evernote service.
15:47:00.306 INFO credentials:78 - Created the account with id: 2.
15:47:00.307 DEBUG credentials:157 - Existing accounts: [2].
15:47:00.311 DEBUG credentials:163 - Account info:
15:47:00.313 DEBUG credentials:164 - id: 2
15:47:00.316 DEBUG credentials:165 - provider: evernote-sandbox
15:47:00.319 DEBUG credentials:166 - enabled: True
15:47:00.321 DEBUG credentials:167 - Account services:
15:47:00.336 DEBUG credentials:169 - name: evernote-sandbox
15:47:00.338 DEBUG credentials:171 - enabled: True
15:47:00.346 INFO test_reminders:70 - Waiting for the Evernote account to be created.
15:47:01.700 INFO logging:45 - MainView: Open a tab. Arguments ('NotebookTab',). Keyword arguments: {}.
15:47:01.767 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
15:47:01.950 INFO logging:45 - MainView: Open a tab. Arguments (1,). Keyword arguments: {}.
15:47:02.080 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
15:47:02.632 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (1,). Keyword arguments: {}.
15:47:03.069 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:47:03.070 DEBUG _uinput:470 - Tapping at: 63,121
15:47:07.302 INFO credentials:179 - Deleting the account with id 2.
}}}

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