Testcase: test_add_notebook_must_create_it_in_server

Build #:190:20140815:20140811.1
Arch:mako (Nexus 4)
Release:utopic
Variant:touch
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: {{{
Aug 15 05:45:57 ubuntu-phablet kernel: [  386.470868] audit_printk_skb: 3 callbacks suppressed
Aug 15 05:45:57 ubuntu-phablet kernel: [  386.470868] type=1400 audit(1408081557.414:184): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.cache/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:57 ubuntu-phablet kernel: [  386.510209] type=1400 audit(1408081557.454:185): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.config/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:57 ubuntu-phablet kernel: [  386.510483] type=1400 audit(1408081557.454:186): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.config/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:57 ubuntu-phablet kernel: [  386.514970] type=1400 audit(1408081557.454:187): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.cache/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:59 ubuntu-phablet kernel: [  388.943384] type=1400 audit(1408081559.886:188): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4198 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 15 05:45:59 ubuntu-phablet kernel: [  388.943750] type=1400 audit(1408081559.886:189): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.cache/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:59 ubuntu-phablet kernel: [  388.944025] type=1400 audit(1408081559.886:190): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.fontconfig/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:59 ubuntu-phablet kernel: [  388.945887] type=1400 audit(1408081559.886:191): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4198 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 15 05:45:59 ubuntu-phablet kernel: [  388.946192] type=1400 audit(1408081559.886:192): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.cache/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:59 ubuntu-phablet kernel: [  388.946436] type=1400 audit(1408081559.886:193): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.fontconfig/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:46:02 ubuntu-phablet kernel: [  392.012177] audit_printk_skb: 36 callbacks suppressed
Aug 15 05:46:02 ubuntu-phablet kernel: [  392.012177] type=1400 audit(1408081562.957:206): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4198 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 15 05:46:02 ubuntu-phablet kernel: [  392.012330] type=1400 audit(1408081562.957:207): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.cache/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:46:02 ubuntu-phablet kernel: [  392.012421] type=1400 audit(1408081562.957:208): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.fontconfig/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:46:03 ubuntu-phablet kernel: [  392.176194] type=1400 audit(1408081563.118:209): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4198 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 15 05:46:03 ubuntu-phablet kernel: [  392.176316] type=1400 audit(1408081563.118:210): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.cache/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:46:03 ubuntu-phablet kernel: [  392.176438] type=1400 audit(1408081563.118:211): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.fontconfig/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:46:03 ubuntu-phablet kernel: [  392.907004] type=1400 audit(1408081563.848:212): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4198 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 15 05:46:03 ubuntu-phablet kernel: [  392.907156] type=1400 audit(1408081563.848:213): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.cache/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:46:03 ubuntu-phablet kernel: [  392.907248] type=1400 audit(1408081563.848:214): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.fontconfig/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:46:04 ubuntu-phablet kernel: [  393.078834] type=1400 audit(1408081564.018:215): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpoddec35_/.config/" pid=4198 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:46:05 ubuntu-phablet signond[4243]: ../../../../src/signond/signondaemon.cpp 388 init Failed to SUID root. Secure storage will not be
available.
}}}

Application Log (com.ubuntu.reminders_reminders_0.5.216): {{{
libust[3839/3842]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3839/3842]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
Running against the production server
creating cacheDir: "/tmp/tmp5rhx7ujs/.cache/com.ubuntu.reminders"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/reminders.qml"
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
Could not create thumbnailer:  Could not create base dir - Permission denied
virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts 
virtual void OnlineAccountsClient::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts.Client
qml: ################################# true
EvernoteConnection is not connected. ( FetchUsernameJob )
account-service-model.cpp 291 update 

(process:3839): accounts-glib-WARNING **: Cannot create directory: /tmp/tmp5rhx7ujs/.config/libaccounts-glib

(process:3839): accounts-glib-WARNING **: Error opening accounts DB: unable to open database file

(process:3839): GLib-GObject-CRITICAL **: object AgManager 0x1d31c68 finalized while still in-construction

(process:3839): GLib-GObject-CRITICAL **: Custom constructor for class AgManager returned NULL (which is invalid). Please use GInitable instead.
Manager could not be created. DB is locked 

(process:3839): accounts-glib-CRITICAL **: ag_manager_list: assertion 'AG_IS_MANAGER (manager)' failed
qml: got accounts: 0
qml: No account available! Please setup an account in the system settings
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/ui/NotesPage.qml:100: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/ui/NotesPage.qml:96: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/reminders.qml:296:30: Unable to assign null to QQuickAnchorLine
UbuntuWindow - regular geometry
qml: ********************* width 768
Error fetching username: "Not connected."
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
libust[3969/3972]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3969/3972]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3969/3971]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3969/3971]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
Running against the production server
creating cacheDir: "/tmp/tmpbamym_ya/.cache/com.ubuntu.reminders"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/reminders.qml"
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
Could not create thumbnailer:  Could not create base dir - Permission denied
virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts 
virtual void OnlineAccountsClient::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts.Client
qml: ################################# true
EvernoteConnection is not connected. ( FetchUsernameJob )
account-service-model.cpp 291 update 

(process:3969): accounts-glib-WARNING **: Cannot create directory: /tmp/tmpbamym_ya/.config/libaccounts-glib

(process:3969): accounts-glib-WARNING **: Error opening accounts DB: unable to open database file

(process:3969): GLib-GObject-CRITICAL **: object AgManager 0x1644470 finalized while still in-construction

(process:3969): GLib-GObject-CRITICAL **: Custom constructor for class AgManager returned NULL (which is invalid). Please use GInitable instead.
Manager could not be created. DB is locked 

(process:3969): accounts-glib-CRITICAL **: ag_manager_list: assertion 'AG_IS_MANAGER (manager)' failed
qml: got accounts: 0
qml: No account available! Please setup an account in the system settings
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/ui/NotesPage.qml:100: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/ui/NotesPage.qml:96: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/reminders.qml:296:30: Unable to assign null to QQuickAnchorLine
UbuntuWindow - regular geometry
qml: ********************* width 768
Error fetching username: "Not connected."
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
libust[4080/4087]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4080/4087]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
Running against the production server
creating cacheDir: "/tmp/tmpw1ik52up/.cache/com.ubuntu.reminders"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/reminders.qml"
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
Could not create thumbnailer:  Could not create base dir - Permission denied
virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts 
virtual void OnlineAccountsClient::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts.Client
qml: ################################# true
EvernoteConnection is not connected. ( FetchUsernameJob )
account-service-model.cpp 291 update 

(process:4080): accounts-glib-WARNING **: Cannot create directory: /tmp/tmpw1ik52up/.config/libaccounts-glib

(process:4080): accounts-glib-WARNING **: Error opening accounts DB: unable to open database file

(process:4080): GLib-GObject-CRITICAL **: object AgManager 0x1438c68 finalized while still in-construction

(process:4080): GLib-GObject-CRITICAL **: Custom constructor for class AgManager returned NULL (which is invalid). Please use GInitable instead.
Manager could not be created. DB is locked 

(process:4080): accounts-glib-CRITICAL **: ag_manager_list: assertion 'AG_IS_MANAGER (manager)' failed
qml: got accounts: 0
qml: No account available! Please setup an account in the system settings
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/ui/NotesPage.qml:100: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/ui/NotesPage.qml:96: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/reminders.qml:296:30: Unable to assign null to QQuickAnchorLine
UbuntuWindow - regular geometry
qml: ********************* width 768
Error fetching username: "Not connected."
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
libust[4198/4201]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4198/4201]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
Running against the production server
creating cacheDir: "/tmp/tmpoddec35_/.cache/com.ubuntu.reminders"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/reminders.qml"
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
Could not create thumbnailer:  Could not create base dir - Permission denied
virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts 
virtual void OnlineAccountsClient::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts.Client
qml: ################################# true
EvernoteConnection is not connected. ( FetchUsernameJob )
account-service-model.cpp 291 update 

(process:4198): accounts-glib-WARNING **: Cannot create directory: /tmp/tmpoddec35_/.config/libaccounts-glib

(process:4198): accounts-glib-WARNING **: Error opening accounts DB: unable to open database file

(process:4198): GLib-GObject-CRITICAL **: object AgManager 0x1c1e468 finalized while still in-construction

(process:4198): GLib-GObject-CRITICAL **: Custom constructor for class AgManager returned NULL (which is invalid). Please use GInitable instead.
Manager could not be created. DB is locked 

(process:4198): accounts-glib-CRITICAL **: ag_manager_list: assertion 'AG_IS_MANAGER (manager)' failed
qml: got accounts: 0
qml: No account available! Please setup an account in the system settings
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/ui/NotesPage.qml:100: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/ui/NotesPage.qml:96: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.216/qml/reminders.qml:296:30: Unable to assign null to QQuickAnchorLine
UbuntuWindow - regular geometry
qml: ********************* width 768
Error fetching username: "Not connected."
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
}}}

test-log: {{{
05:45:55.820 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
05:45:55.834 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
05:45:55.862 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpoddec35_/.config',). Keyword arguments: {}.
05:45:55.962 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpoddec35_',). Keyword arguments: {}.
05:45:56.003 DEBUG __init__:132 - Patched home to fake home directory /tmp/tmpoddec35_
05:45:56.007 INFO logging:45 - RemindersTestCaseWithAccount: launch_test_click. Arguments (). Keyword arguments: {}.
05:45:56.009 INFO _launcher:280 - Attempting to launch click application 'reminders' from click package  'com.ubuntu.reminders' and URIs '-s'
05:45:56.831 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.reminders_reminders_0.5.216' with URIs '-s' via upstart-app-launch
05:46:05.239 DEBUG credentials:59 - Add an evernote account.
05:46:05.243 DEBUG credentials:83 - Creating the Evernote account.
05:46:05.376 DEBUG credentials:111 - Setting credentials to account.
05:46:05.401 DEBUG credentials:122 - Processing session.
05:46:18.363 DEBUG credentials:145 - Enabling evernote service.
05:46:18.409 INFO credentials:78 - Created the account with id: 6.
05:46:18.415 DEBUG credentials:157 - Existing accounts: [6].
05:46:18.421 DEBUG credentials:163 - Account info:
05:46:18.426 DEBUG credentials:164 - id: 6
05:46:18.429 DEBUG credentials:165 - provider: evernote-sandbox
05:46:18.435 DEBUG credentials:166 - enabled: True
05:46:18.438 DEBUG credentials:167 - Account services:
05:46:18.445 DEBUG credentials:169 - name: evernote-sandbox
05:46:18.446 DEBUG credentials:171 - enabled: True
05:46:18.453 INFO test_reminders:70 - Waiting for the Evernote account to be created.
05:46:29.693 INFO credentials:179 - Deleting the account with id 6.
05:46:30.033 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). Keyword arguments: {}.
05:46:30.052 INFO logging:45 - str: Remove an initctl environment variable. Arguments (). Keyword arguments: {}.
}}}

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 452, in wait_until_destroyed
    "Object was not destroyed after %d seconds" % timeout
RuntimeError: Object was not destroyed after 10 seconds

command_type
testcase_test