Testcase: test_add_notebook_must_append_it_to_list

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_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 15 05:45:21 ubuntu-phablet kernel: [  350.572073] audit_printk_skb: 3 callbacks suppressed
Aug 15 05:45:21 ubuntu-phablet kernel: [  350.572073] type=1400 audit(1408081521.534:151): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.cache/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:21 ubuntu-phablet kernel: [  350.613032] type=1400 audit(1408081521.574:152): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.config/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:21 ubuntu-phablet kernel: [  350.613306] type=1400 audit(1408081521.574:153): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.config/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:21 ubuntu-phablet kernel: [  350.617854] type=1400 audit(1408081521.574:154): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.cache/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:24 ubuntu-phablet kernel: [  353.175064] type=1400 audit(1408081524.135:155): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4080 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 15 05:45:24 ubuntu-phablet kernel: [  353.175217] type=1400 audit(1408081524.135:156): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.cache/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:24 ubuntu-phablet kernel: [  353.175308] type=1400 audit(1408081524.135:157): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.fontconfig/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:24 ubuntu-phablet kernel: [  353.175980] type=1400 audit(1408081524.135:158): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4080 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 15 05:45:24 ubuntu-phablet kernel: [  353.176102] type=1400 audit(1408081524.135:159): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.cache/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:24 ubuntu-phablet kernel: [  353.176194] type=1400 audit(1408081524.135:160): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.fontconfig/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:27 ubuntu-phablet kernel: [  356.312681] audit_printk_skb: 36 callbacks suppressed
Aug 15 05:45:27 ubuntu-phablet kernel: [  356.312681] type=1400 audit(1408081527.277:173): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4080 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 15 05:45:27 ubuntu-phablet kernel: [  356.312833] type=1400 audit(1408081527.277:174): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.cache/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:27 ubuntu-phablet kernel: [  356.312925] type=1400 audit(1408081527.277:175): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.fontconfig/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:27 ubuntu-phablet kernel: [  356.477796] type=1400 audit(1408081527.437:176): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4080 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 15 05:45:27 ubuntu-phablet kernel: [  356.477948] type=1400 audit(1408081527.437:177): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.cache/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:27 ubuntu-phablet kernel: [  356.478071] type=1400 audit(1408081527.437:178): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.fontconfig/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:28 ubuntu-phablet kernel: [  357.211567] type=1400 audit(1408081528.168:179): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4080 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 15 05:45:28 ubuntu-phablet kernel: [  357.211719] type=1400 audit(1408081528.168:180): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.cache/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:28 ubuntu-phablet kernel: [  357.211811] type=1400 audit(1408081528.168:181): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.fontconfig/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:28 ubuntu-phablet kernel: [  357.389623] type=1400 audit(1408081528.348:182): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpw1ik52up/.config/" pid=4080 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 15 05:45:29 ubuntu-phablet signond[4139]: ../../../../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)
}}}

test-log: {{{
05:45:20.185 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
05:45:20.193 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
05:45:20.212 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpw1ik52up/.config',). Keyword arguments: {}.
05:45:20.262 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpw1ik52up',). Keyword arguments: {}.
05:45:20.279 DEBUG __init__:132 - Patched home to fake home directory /tmp/tmpw1ik52up
05:45:20.281 INFO logging:45 - RemindersTestCaseWithAccount: launch_test_click. Arguments (). Keyword arguments: {}.
05:45:20.282 INFO _launcher:280 - Attempting to launch click application 'reminders' from click package  'com.ubuntu.reminders' and URIs '-s'
05:45:21.054 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.reminders_reminders_0.5.216' with URIs '-s' via upstart-app-launch
05:45:29.622 DEBUG credentials:59 - Add an evernote account.
05:45:29.625 DEBUG credentials:83 - Creating the Evernote account.
05:45:29.752 DEBUG credentials:111 - Setting credentials to account.
05:45:29.769 DEBUG credentials:122 - Processing session.
05:45:43.463 DEBUG credentials:145 - Enabling evernote service.
05:45:43.509 INFO credentials:78 - Created the account with id: 5.
05:45:43.519 DEBUG credentials:157 - Existing accounts: [5].
05:45:43.523 DEBUG credentials:163 - Account info:
05:45:43.529 DEBUG credentials:164 - id: 5
05:45:43.534 DEBUG credentials:165 - provider: evernote-sandbox
05:45:43.540 DEBUG credentials:166 - enabled: True
05:45:43.544 DEBUG credentials:167 - Account services:
05:45:43.572 DEBUG credentials:169 - name: evernote-sandbox
05:45:43.578 DEBUG credentials:171 - enabled: True
05:45:43.592 INFO test_reminders:70 - Waiting for the Evernote account to be created.
05:45:55.272 INFO credentials:179 - Deleting the account with id 5.
05:45:55.605 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). Keyword arguments: {}.
05:45:55.629 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