Testcase: test_add_notebook_must_create_it_in_server

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_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 18 20:30:09 ubuntu-phablet kernel: [  368.429207] audit_printk_skb: 21 callbacks suppressed
Aug 18 20:30:09 ubuntu-phablet kernel: [  368.429207] type=1400 audit(1408393809.911:118): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.cache/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:09 ubuntu-phablet kernel: [  368.473859] type=1400 audit(1408393809.951:119): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.config/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:09 ubuntu-phablet kernel: [  368.474164] type=1400 audit(1408393809.951:120): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.config/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:09 ubuntu-phablet kernel: [  368.479230] type=1400 audit(1408393809.961:121): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.cache/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:12 ubuntu-phablet kernel: [  371.141248] type=1400 audit(1408393812.624:122): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4096 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 18 20:30:12 ubuntu-phablet kernel: [  371.141431] type=1400 audit(1408393812.624:123): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.cache/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:12 ubuntu-phablet kernel: [  371.141522] type=1400 audit(1408393812.624:124): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.fontconfig/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:12 ubuntu-phablet kernel: [  371.142316] type=1400 audit(1408393812.624:125): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4096 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 18 20:30:12 ubuntu-phablet kernel: [  371.142469] type=1400 audit(1408393812.624:126): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.cache/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:12 ubuntu-phablet kernel: [  371.142560] type=1400 audit(1408393812.624:127): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.fontconfig/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:16 ubuntu-phablet kernel: [  374.745185] audit_printk_skb: 36 callbacks suppressed
Aug 18 20:30:16 ubuntu-phablet kernel: [  374.745185] type=1400 audit(1408393816.228:140): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4096 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 18 20:30:16 ubuntu-phablet kernel: [  374.745337] type=1400 audit(1408393816.228:141): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.cache/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:16 ubuntu-phablet kernel: [  374.745429] type=1400 audit(1408393816.228:142): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.fontconfig/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:16 ubuntu-phablet kernel: [  374.941187] type=1400 audit(1408393816.428:143): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4096 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 18 20:30:16 ubuntu-phablet kernel: [  374.941339] type=1400 audit(1408393816.428:144): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.cache/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:16 ubuntu-phablet kernel: [  374.941461] type=1400 audit(1408393816.428:145): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.fontconfig/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:17 ubuntu-phablet kernel: [  375.823866] type=1400 audit(1408393817.309:146): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=4096 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 18 20:30:17 ubuntu-phablet kernel: [  375.824019] type=1400 audit(1408393817.309:147): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.cache/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:17 ubuntu-phablet kernel: [  375.824141] type=1400 audit(1408393817.309:148): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.fontconfig/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:17 ubuntu-phablet kernel: [  376.028109] type=1400 audit(1408393817.509:149): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpmm0hwska/.config/" pid=4096 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 18 20:30:18 ubuntu-phablet signond[4145]: ../../../../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)
}}}

test-log: {{{
20:30:08.429 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
20:30:08.444 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
20:30:08.469 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpmm0hwska/.config',). Keyword arguments: {}.
20:30:08.540 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpmm0hwska',). Keyword arguments: {}.
20:30:08.562 DEBUG __init__:132 - Patched home to fake home directory /tmp/tmpmm0hwska
20:30:08.565 INFO logging:45 - RemindersTestCaseWithAccount: launch_test_click. Arguments (). Keyword arguments: {}.
20:30:08.566 INFO _launcher:280 - Attempting to launch click application 'reminders' from click package  'com.ubuntu.reminders' and URIs '-s'
20:30:09.397 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.reminders_reminders_0.5.216' with URIs '-s' via upstart-app-launch
20:30:18.748 DEBUG credentials:59 - Add an evernote account.
20:30:18.750 DEBUG credentials:83 - Creating the Evernote account.
20:30:18.889 DEBUG credentials:111 - Setting credentials to account.
20:30:18.916 DEBUG credentials:122 - Processing session.
20:30:32.401 DEBUG credentials:145 - Enabling evernote service.
20:30:32.441 INFO credentials:78 - Created the account with id: 4.
20:30:32.448 DEBUG credentials:157 - Existing accounts: [4].
20:30:32.456 DEBUG credentials:163 - Account info:
20:30:32.463 DEBUG credentials:164 - id: 4
20:30:32.469 DEBUG credentials:165 - provider: evernote-sandbox
20:30:32.473 DEBUG credentials:166 - enabled: True
20:30:32.481 DEBUG credentials:167 - Account services:
20:30:32.493 DEBUG credentials:169 - name: evernote-sandbox
20:30:32.496 DEBUG credentials:171 - enabled: True
20:30:32.504 INFO test_reminders:70 - Waiting for the Evernote account to be created.
20:30:44.043 INFO credentials:179 - Deleting the account with id 4.
20:30:44.241 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). Keyword arguments: {}.
20:30:44.259 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