Testcase: test_add_notebook_must_create_it_in_server

Build #:185:20140812: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 12 04:50:59 ubuntu-phablet kernel: [  399.721898] audit_printk_skb: 3 callbacks suppressed
Aug 12 04:50:59 ubuntu-phablet kernel: [  399.721928] type=1400 audit(1407819059.533:202): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.cache/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:50:59 ubuntu-phablet kernel: [  399.765023] type=1400 audit(1407819059.573:203): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.config/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:50:59 ubuntu-phablet kernel: [  399.765298] type=1400 audit(1407819059.573:204): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.config/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:50:59 ubuntu-phablet kernel: [  399.770089] type=1400 audit(1407819059.583:205): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.cache/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:51:02 ubuntu-phablet kernel: [  402.212604] type=1400 audit(1407819062.026:206): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4852 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 12 04:51:02 ubuntu-phablet kernel: [  402.212726] type=1400 audit(1407819062.026:207): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.cache/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:51:02 ubuntu-phablet kernel: [  402.212818] type=1400 audit(1407819062.026:208): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.fontconfig/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:51:02 ubuntu-phablet kernel: [  402.213520] type=1400 audit(1407819062.026:209): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4852 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 12 04:51:02 ubuntu-phablet kernel: [  402.213642] type=1400 audit(1407819062.026:210): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.cache/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:51:02 ubuntu-phablet kernel: [  402.213734] type=1400 audit(1407819062.026:211): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.fontconfig/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:51:05 ubuntu-phablet kernel: [  405.424874] audit_printk_skb: 36 callbacks suppressed
Aug 12 04:51:05 ubuntu-phablet kernel: [  405.424874] type=1400 audit(1407819065.229:224): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4852 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 12 04:51:05 ubuntu-phablet kernel: [  405.425026] type=1400 audit(1407819065.229:225): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.cache/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:51:05 ubuntu-phablet kernel: [  405.425118] type=1400 audit(1407819065.229:226): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.fontconfig/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:51:05 ubuntu-phablet kernel: [  405.588982] type=1400 audit(1407819065.390:227): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4852 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 12 04:51:05 ubuntu-phablet kernel: [  405.589104] type=1400 audit(1407819065.390:228): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.cache/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:51:05 ubuntu-phablet kernel: [  405.589195] type=1400 audit(1407819065.390:229): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.fontconfig/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:51:06 ubuntu-phablet kernel: [  406.312620] type=1400 audit(1407819066.120:230): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4852 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 12 04:51:06 ubuntu-phablet kernel: [  406.312772] type=1400 audit(1407819066.120:231): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.cache/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:51:06 ubuntu-phablet kernel: [  406.312864] type=1400 audit(1407819066.120:232): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.fontconfig/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:51:06 ubuntu-phablet kernel: [  406.480604] type=1400 audit(1407819066.291:233): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpfqcywle2/.config/" pid=4852 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:51:07 ubuntu-phablet signond[4911]: ../../../../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[4356/4357]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4356/4357]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4356/4358]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4356/4358]: 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/tmpaa8xjuo1/.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:4356): accounts-glib-WARNING **: Cannot create directory: /tmp/tmpaa8xjuo1/.config/libaccounts-glib

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

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

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

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

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

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

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

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

(process:4734): 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:4734): 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[4852/4858]: 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/tmpfqcywle2/.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:4852): accounts-glib-WARNING **: Cannot create directory: /tmp/tmpfqcywle2/.config/libaccounts-glib

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

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

(process:4852): 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:4852): 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: {{{
04:50:58.167 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
04:50:58.174 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
04:50:58.193 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpfqcywle2/.config',). Keyword arguments: {}.
04:50:58.243 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpfqcywle2',). Keyword arguments: {}.
04:50:58.261 DEBUG __init__:132 - Patched home to fake home directory /tmp/tmpfqcywle2
04:50:58.263 INFO logging:45 - RemindersTestCaseWithAccount: launch_test_click. Arguments (). Keyword arguments: {}.
04:50:58.264 INFO _launcher:280 - Attempting to launch click application 'reminders' from click package  'com.ubuntu.reminders' and URIs '-s'
04:50:59.034 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.reminders_reminders_0.5.212' with URIs '-s' via upstart-app-launch
04:51:07.465 DEBUG credentials:59 - Add an evernote account.
04:51:07.467 DEBUG credentials:83 - Creating the Evernote account.
04:51:07.620 DEBUG credentials:111 - Setting credentials to account.
04:51:07.639 DEBUG credentials:122 - Processing session.
04:51:20.890 DEBUG credentials:145 - Enabling evernote service.
04:51:20.934 INFO credentials:78 - Created the account with id: 6.
04:51:20.943 DEBUG credentials:157 - Existing accounts: [6].
04:51:20.950 DEBUG credentials:163 - Account info:
04:51:20.955 DEBUG credentials:164 - id: 6
04:51:20.960 DEBUG credentials:165 - provider: evernote-sandbox
04:51:20.964 DEBUG credentials:166 - enabled: True
04:51:20.969 DEBUG credentials:167 - Account services:
04:51:20.995 DEBUG credentials:169 - name: evernote-sandbox
04:51:20.996 DEBUG credentials:171 - enabled: True
04:51:21.003 INFO test_reminders:70 - Waiting for the Evernote account to be created.
04:51:32.203 INFO credentials:179 - Deleting the account with id 6.
04:51:32.621 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). Keyword arguments: {}.
04:51:32.666 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