Testcase: test_add_notebook_must_create_it_in_server

Build #:186:20140813: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 13 05:41:12 ubuntu-phablet kernel: [  458.775492] audit_printk_skb: 3 callbacks suppressed
Aug 13 05:41:12 ubuntu-phablet kernel: [  458.775492] type=1400 audit(1407908472.900:184): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.cache/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:12 ubuntu-phablet kernel: [  458.816908] type=1400 audit(1407908472.941:185): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.config/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:12 ubuntu-phablet kernel: [  458.817182] type=1400 audit(1407908472.941:186): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.config/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:12 ubuntu-phablet kernel: [  458.821791] type=1400 audit(1407908472.951:187): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.cache/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:15 ubuntu-phablet kernel: [  461.246543] type=1400 audit(1407908475.372:188): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4303 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 13 05:41:15 ubuntu-phablet kernel: [  461.246696] type=1400 audit(1407908475.372:189): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.cache/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:15 ubuntu-phablet kernel: [  461.246787] type=1400 audit(1407908475.372:190): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.fontconfig/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:15 ubuntu-phablet kernel: [  461.247550] type=1400 audit(1407908475.372:191): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4303 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 13 05:41:15 ubuntu-phablet kernel: [  461.247642] type=1400 audit(1407908475.372:192): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.cache/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:15 ubuntu-phablet kernel: [  461.247764] type=1400 audit(1407908475.372:193): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.fontconfig/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:18 ubuntu-phablet kernel: [  464.343323] audit_printk_skb: 36 callbacks suppressed
Aug 13 05:41:18 ubuntu-phablet kernel: [  464.343354] type=1400 audit(1407908478.464:206): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4303 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 13 05:41:18 ubuntu-phablet kernel: [  464.343476] type=1400 audit(1407908478.464:207): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.cache/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:18 ubuntu-phablet kernel: [  464.343567] type=1400 audit(1407908478.464:208): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.fontconfig/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:18 ubuntu-phablet kernel: [  464.507462] type=1400 audit(1407908478.624:209): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4303 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 13 05:41:18 ubuntu-phablet kernel: [  464.507584] type=1400 audit(1407908478.624:210): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.cache/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:18 ubuntu-phablet kernel: [  464.507706] type=1400 audit(1407908478.624:211): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.fontconfig/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:19 ubuntu-phablet kernel: [  465.233450] type=1400 audit(1407908479.354:212): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4303 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 13 05:41:19 ubuntu-phablet kernel: [  465.233572] type=1400 audit(1407908479.354:213): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.cache/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:19 ubuntu-phablet kernel: [  465.233663] type=1400 audit(1407908479.354:214): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.fontconfig/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:19 ubuntu-phablet kernel: [  465.403967] type=1400 audit(1407908479.524:215): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpkh42optj/.config/" pid=4303 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 13 05:41:20 ubuntu-phablet signond[4362]: ../../../../src/signond/signondaemon.cpp 388 init Failed to SUID root. Secure storage will not be
available.
}}}

Application Log (com.ubuntu.reminders_reminders_0.5.212): {{{
libust[3769/3771]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3769/3771]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3769/3772]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3769/3772]: 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/tmp_6d_a_ox/.cache/com.ubuntu.reminders"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.reminders/0.5.212/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:3769): accounts-glib-WARNING **: Cannot create directory: /tmp/tmp_6d_a_ox/.config/libaccounts-glib

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

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

(process:3769): 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:3769): 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.212/qml/ui/NotesPage.qml:100: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.212/qml/ui/NotesPage.qml:96: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.212/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[3972/3975]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3972/3975]: 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/tmpcffbgjj7/.cache/com.ubuntu.reminders"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.reminders/0.5.212/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:3972): accounts-glib-WARNING **: Cannot create directory: /tmp/tmpcffbgjj7/.config/libaccounts-glib

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

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

(process:3972): 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:3972): 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.212/qml/ui/NotesPage.qml:100: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.212/qml/ui/NotesPage.qml:96: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.212/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[4137/4145]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4137/4145]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4137/4146]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4137/4146]: 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/tmpvtl5fsd2/.cache/com.ubuntu.reminders"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.reminders/0.5.212/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:4137): accounts-glib-WARNING **: Cannot create directory: /tmp/tmpvtl5fsd2/.config/libaccounts-glib

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

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

(process:4137): 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:4137): 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.212/qml/ui/NotesPage.qml:100: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.212/qml/ui/NotesPage.qml:96: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.212/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[4303/4309]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4303/4309]: 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/tmpkh42optj/.cache/com.ubuntu.reminders"
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.reminders/0.5.212/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:4303): accounts-glib-WARNING **: Cannot create directory: /tmp/tmpkh42optj/.config/libaccounts-glib

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

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

(process:4303): 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:4303): 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.212/qml/ui/NotesPage.qml:100: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.212/qml/ui/NotesPage.qml:96: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.212/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:41:11.419 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
05:41:11.438 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
05:41:11.490 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpkh42optj',). Keyword arguments: {}.
05:41:11.539 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpkh42optj/.config',). Keyword arguments: {}.
05:41:11.563 DEBUG __init__:132 - Patched home to fake home directory /tmp/tmpkh42optj
05:41:11.565 INFO logging:45 - RemindersTestCaseWithAccount: launch_test_click. Arguments (). Keyword arguments: {}.
05:41:11.566 INFO _launcher:280 - Attempting to launch click application 'reminders' from click package  'com.ubuntu.reminders' and URIs '-s'
05:41:12.366 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.reminders_reminders_0.5.212' with URIs '-s' via upstart-app-launch
05:41:20.800 DEBUG credentials:59 - Add an evernote account.
05:41:20.804 DEBUG credentials:83 - Creating the Evernote account.
05:41:20.996 DEBUG credentials:111 - Setting credentials to account.
05:41:21.036 DEBUG credentials:122 - Processing session.
05:41:33.619 DEBUG credentials:145 - Enabling evernote service.
05:41:33.657 INFO credentials:78 - Created the account with id: 5.
05:41:33.669 DEBUG credentials:157 - Existing accounts: [5].
05:41:33.678 DEBUG credentials:163 - Account info:
05:41:33.679 DEBUG credentials:164 - id: 5
05:41:33.680 DEBUG credentials:165 - provider: evernote-sandbox
05:41:33.681 DEBUG credentials:166 - enabled: True
05:41:33.683 DEBUG credentials:167 - Account services:
05:41:33.689 DEBUG credentials:169 - name: evernote-sandbox
05:41:33.691 DEBUG credentials:171 - enabled: True
05:41:33.698 INFO test_reminders:70 - Waiting for the Evernote account to be created.
05:41:44.918 INFO credentials:179 - Deleting the account with id 5.
05:41:45.257 INFO logging:45 - str: Remove an initctl environment variable. Arguments (). Keyword arguments: {}.
05:41:45.289 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). 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