Testcase: test_add_notebook_must_append_it_to_list

Build #:198:20140818.1: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_append_it_to_list
testsuite
reminders.tests.test_reminders.RemindersTestCaseWithAccount
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Aug 18 20:33:38 ubuntu-phablet kernel: [  576.911857] audit_printk_skb: 15 callbacks suppressed
Aug 18 20:33:38 ubuntu-phablet kernel: [  576.911887] type=1400 audit(1408394018.394:188): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4382 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 18 20:33:38 ubuntu-phablet kernel: [  576.912009] type=1400 audit(1408394018.394:189): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpgflbl2zj/.cache/" pid=4382 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:33:38 ubuntu-phablet kernel: [  576.912101] type=1400 audit(1408394018.394:190): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpgflbl2zj/.fontconfig/" pid=4382 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:33:38 ubuntu-phablet kernel: [  576.912803] type=1400 audit(1408394018.394:191): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4382 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 18 20:33:38 ubuntu-phablet kernel: [  576.912925] type=1400 audit(1408394018.394:192): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpgflbl2zj/.cache/" pid=4382 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:33:38 ubuntu-phablet kernel: [  576.912986] type=1400 audit(1408394018.394:193): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpgflbl2zj/.fontconfig/" pid=4382 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:33:39 ubuntu-phablet kernel: [  577.503311] type=1400 audit(1408394018.984:194): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4382 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 18 20:33:39 ubuntu-phablet kernel: [  577.503433] type=1400 audit(1408394018.984:195): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpgflbl2zj/.cache/" pid=4382 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:33:39 ubuntu-phablet kernel: [  577.503525] type=1400 audit(1408394018.984:196): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpgflbl2zj/.fontconfig/" pid=4382 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:33:39 ubuntu-phablet kernel: [  577.980619] type=1400 audit(1408394019.465:197): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4382 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 18 20:33:43 ubuntu-phablet signond[4422]: ../../../../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[3886/3889]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3886/3889]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3886/3888]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3886/3888]: 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/tmprv8xhprx/.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:3886): accounts-glib-WARNING **: Cannot create directory: /tmp/tmprv8xhprx/.config/libaccounts-glib

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

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

(process:3886): 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:3886): 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[4096/4099]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4096/4099]: 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/tmpmm0hwska/.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:4096): accounts-glib-WARNING **: Cannot create directory: /tmp/tmpmm0hwska/.config/libaccounts-glib

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

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

(process:4096): 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:4096): 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[4292/4295]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4292/4295]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4292/4294]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4292/4294]: 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/tmpp0glv0c7/.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:4292): accounts-glib-WARNING **: Cannot create directory: /tmp/tmpp0glv0c7/.config/libaccounts-glib

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

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

(process:4292): 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:4292): 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[4382/4385]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4382/4385]: 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/tmpgflbl2zj/.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:4382): accounts-glib-WARNING **: Cannot create directory: /tmp/tmpgflbl2zj/.config/libaccounts-glib

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

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

(process:4382): 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:4382): 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: {{{
20:33:34.556 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
20:33:34.574 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
20:33:34.607 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpgflbl2zj/.config',). Keyword arguments: {}.
20:33:34.676 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpgflbl2zj',). Keyword arguments: {}.
20:33:34.700 DEBUG __init__:132 - Patched home to fake home directory /tmp/tmpgflbl2zj
20:33:34.702 INFO logging:45 - RemindersTestCaseWithAccount: launch_test_click. Arguments (). Keyword arguments: {}.
20:33:34.703 INFO _launcher:280 - Attempting to launch click application 'reminders' from click package  'com.ubuntu.reminders' and URIs '-s'
20:33:35.469 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.reminders_reminders_0.5.216' with URIs '-s' via upstart-app-launch
20:33:43.867 DEBUG credentials:59 - Add an evernote account.
20:33:43.869 DEBUG credentials:83 - Creating the Evernote account.
20:33:44.022 DEBUG credentials:111 - Setting credentials to account.
20:33:44.049 DEBUG credentials:122 - Processing session.
20:33:56.440 DEBUG credentials:145 - Enabling evernote service.
20:33:56.483 INFO credentials:78 - Created the account with id: 5.
20:33:56.489 DEBUG credentials:157 - Existing accounts: [5].
20:33:56.495 DEBUG credentials:163 - Account info:
20:33:56.502 DEBUG credentials:164 - id: 5
20:33:56.507 DEBUG credentials:165 - provider: evernote-sandbox
20:33:56.515 DEBUG credentials:166 - enabled: True
20:33:56.516 DEBUG credentials:167 - Account services:
20:33:56.523 DEBUG credentials:169 - name: evernote-sandbox
20:33:56.524 DEBUG credentials:171 - enabled: True
20:33:56.531 INFO test_reminders:70 - Waiting for the Evernote account to be created.
20:34:07.753 INFO credentials:179 - Deleting the account with id 5.
20:34:08.140 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). Keyword arguments: {}.
20:34:08.164 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