Testcase: test_add_notebook_must_create_it_in_server

Build #:142:20141203:20141119
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: {{{
Dec  3 05:51:40 ubuntu-phablet kernel: [  152.097726] input: autopilot-finger as /devices/virtual/input/input6
Dec  3 05:51:42 ubuntu-phablet kernel: [  153.599816] audit_printk_skb: 54 callbacks suppressed
Dec  3 05:51:42 ubuntu-phablet kernel: [  153.599816] type=1400 audit(1417585902.439:81): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.271" name="/home/phablet/.local/share/applications/tmpf9xpg9xy.desktop" pid=4112 comm="reminders"
requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
Dec  3 05:51:44 ubuntu-phablet kernel: [  155.953395] wlan: [1300:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
Dec  3 05:51:47 ubuntu-phablet kernel: [  158.618129] type=1400 audit(1417585907.464:82): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.271" name="/home/phablet/.local/share/applications/" pid=4112 comm="reminders" requested_mask="r"
denied_mask="r" fsuid=32011 ouid=32011
Dec  3 05:51:47 ubuntu-phablet kernel: [  158.619624] type=1400 audit(1417585907.464:83): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.271" name="/usr/share/applications/" pid=4112 comm="reminders" requested_mask="r" denied_mask="r"
fsuid=32011 ouid=0
Dec  3 05:51:49 ubuntu-phablet signond[4190]: ../../../../src/signond/signondaemon.cpp 388 init Failed to SUID root. Secure storage will not be
available.
Dec  3 05:52:24 ubuntu-phablet signond[4190]: QObject::disconnect: Unexpected null parameter
}}}

Application Log (tmpf9xpg9xy): {{{
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: "/custom/click/com.ubuntu.reminders/0.5.271/qml/reminders.qml"
virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts
virtual void OnlineAccountsClient::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts.Client
libust[4112/4161]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4161]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4162]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4162]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
EvernoteConnection is not connected. ( FetchUsernameJob )
account-service-model.cpp 292 update
qml: No account available! Please setup an account in the system settings
UbuntuWindow - regular geometry
Error fetching username: "Not connected."
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
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.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
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.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
file:///custom/click/com.ubuntu.reminders/0.5.271/qml/ui/NotesPage.qml:122: TypeError: Cannot read property 'reminder' of null
file:///custom/click/com.ubuntu.reminders/0.5.271/qml/ui/NotesPage.qml:118: TypeError: Cannot read property 'reminder' of null
file:///custom/click/com.ubuntu.reminders/0.5.271/qml/reminders.qml:310:30: Unable to assign null to QQuickAnchorLine
account-service-model.cpp 367 onAccountCreated 1

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('com.ubuntu.developer.webapps.webapp-gmail_webapp-gmail', 'Gmail Webapp', 'google', 'webapps');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('com.ubuntu.developer.webapps.webapp-twitter_webapp-twitter', 'Twitter', 'twitter', 'webapps');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('com.ubuntu.reminders_reminders', 'Evernote', 'com.ubuntu.reminders_evernote-account-plugin', 'sharing');": attempt to write a readonly
database

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('com.ubuntu.scopes.youtube_youtube', 'YouTube', 'google', 'sharing');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('flickr-sharing', 'Flickr', 'flickr', 'sharing');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service flickr-sharing to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('google-drive', 'GoogleDrive', 'google', 'documents');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service google-drive to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('picasa', 'Picasa', 'google', 'sharing');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service picasa to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('google-im', 'GoogleTalk', 'google', 'IM');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service google-im to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('facebook-im', 'Facebook', 'facebook', 'IM');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service facebook-im to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('google-caldav', 'Google Calendar', 'google', 'calendar');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service google-caldav to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('flickr-microblog', 'Flickr', 'flickr', 'microblogging');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service flickr-microblog to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('facebook-microblog', 'Facebook', 'facebook', 'microblogging');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service facebook-microblog to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('google-carddav', 'Google Contacts', 'google', 'contacts');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service google-carddav to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('facebook-sharing', 'Facebook', 'facebook', 'sharing');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service facebook-sharing to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('twitter-microblog', 'Twitter', 'twitter', 'microblogging');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service twitter-microblog to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('yahoo-caldav', 'Yahoo Calendar', 'yahoo', 'calendar');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service yahoo-caldav to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('ubuntuone', 'Ubuntu One', 'ubuntuone', 'ubuntuone');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service ubuntuone to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('yahoo-carddav', 'Yahoo Contacts', 'yahoo', 'contacts');": attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service yahoo-carddav to DB!

(process:4112): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('com.ubuntu.reminders_reminders-sandbox', 'Evernote Developer Sandbox', 'com.ubuntu.reminders_evernote-account-plugin-sandbox', 'sharing');":
attempt to write a readonly database

(process:4112): accounts-glib-WARNING **: Error in adding service com.ubuntu.reminders_reminders-sandbox to DB!
libust[4112/4161]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4162]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4161]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4162]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4161]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4162]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4161]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4162]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4161]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4162]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4161]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4162]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4161]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4112/4162]: 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 374 onAccountRemoved 1
}}}

test-log: {{{
05:51:40.828 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
05:51:41.066 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
05:51:41.068 INFO logging:45 - RemindersTestCaseWithAccount: launch_ubuntu_app. Arguments (). Keyword arguments: {}.
05:51:41.082 INFO _launcher:120 - Attempting to launch application 'tmpf9xpg9xy' with URIs '' via upstart-app-launch
05:51:48.860 DEBUG credentials:59 - Add an evernote account.
05:51:48.862 DEBUG credentials:83 - Creating the Evernote account.
05:51:50.076 DEBUG credentials:112 - Setting credentials to account.
05:51:50.093 DEBUG credentials:123 - Processing session.
05:52:03.088 DEBUG credentials:146 - Enabling evernote service.
05:52:03.118 INFO credentials:78 - Created the account with id: 1.
05:52:03.121 DEBUG credentials:159 - Existing accounts: [1].
05:52:03.124 DEBUG credentials:165 - Account info:
05:52:03.126 DEBUG credentials:166 - id: 1
05:52:03.129 DEBUG credentials:167 - provider: com.ubuntu.reminders_evernote-account-plugin-sandbox
05:52:03.133 DEBUG credentials:168 - enabled: True
05:52:03.135 DEBUG credentials:169 - Account services:
05:52:03.157 DEBUG credentials:171 - name: com.ubuntu.reminders_reminders-sandbox
05:52:03.161 DEBUG credentials:173 - enabled: True
05:52:03.169 INFO test_reminders:70 - Waiting for the Evernote account to be created.
05:52:14.994 INFO credentials:181 - Deleting the account with id 1.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/reminders/tests/test_reminders.py", line 71, in setUp
    no_account_dialog.wait_until_destroyed()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 451, in wait_until_destroyed
    "Object was not destroyed after %d seconds" % timeout
RuntimeError: Object was not destroyed after 10 seconds

command_type
testcase_test