Testcase: test_add_notebook_must_create_it_in_server

Build #:193:20140816: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 16 06:51:27 ubuntu-phablet kernel: [  291.589317] audit_printk_skb: 21 callbacks suppressed
Aug 16 06:51:27 ubuntu-phablet kernel: [  291.589348] type=1400 audit(1408171887.789:118): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.cache/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:27 ubuntu-phablet kernel: [  291.632412] type=1400 audit(1408171887.829:119): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.config/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:27 ubuntu-phablet kernel: [  291.632717] type=1400 audit(1408171887.829:120): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.config/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:27 ubuntu-phablet kernel: [  291.637753] type=1400 audit(1408171887.839:121): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.cache/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:30 ubuntu-phablet kernel: [  294.255669] type=1400 audit(1408171890.450:122): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=3929 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 16 06:51:30 ubuntu-phablet kernel: [  294.255882] type=1400 audit(1408171890.450:123): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.cache/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:30 ubuntu-phablet kernel: [  294.256004] type=1400 audit(1408171890.450:124): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.fontconfig/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:30 ubuntu-phablet kernel: [  294.257073] type=1400 audit(1408171890.450:125): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=3929 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 16 06:51:30 ubuntu-phablet kernel: [  294.257225] type=1400 audit(1408171890.450:126): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.cache/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:30 ubuntu-phablet kernel: [  294.257378] type=1400 audit(1408171890.450:127): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.fontconfig/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:34 ubuntu-phablet kernel: [  297.967007] audit_printk_skb: 36 callbacks suppressed
Aug 16 06:51:34 ubuntu-phablet kernel: [  297.967037] type=1400 audit(1408171894.162:140): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=3929 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 16 06:51:34 ubuntu-phablet kernel: [  297.967190] type=1400 audit(1408171894.162:141): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.cache/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:34 ubuntu-phablet kernel: [  297.967282] type=1400 audit(1408171894.162:142): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.fontconfig/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:34 ubuntu-phablet kernel: [  298.164535] type=1400 audit(1408171894.363:143): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=3929 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 16 06:51:34 ubuntu-phablet kernel: [  298.164687] type=1400 audit(1408171894.363:144): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.cache/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:34 ubuntu-phablet kernel: [  298.164779] type=1400 audit(1408171894.363:145): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.fontconfig/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:35 ubuntu-phablet kernel: [  299.039188] type=1400 audit(1408171895.233:146): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/var/cache/fontconfig/" pid=3929 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 16 06:51:35 ubuntu-phablet kernel: [  299.039340] type=1400 audit(1408171895.233:147): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.cache/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:35 ubuntu-phablet kernel: [  299.039432] type=1400 audit(1408171895.233:148): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.fontconfig/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:35 ubuntu-phablet kernel: [  299.240195] type=1400 audit(1408171895.433:149): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.216" name="/tmp/tmpdduzrunl/.config/" pid=3929 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 16 06:51:36 ubuntu-phablet signond[3982]: ../../../../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[3756/3758]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3756/3758]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3756/3759]: 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/tmp905fbgj3/.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:3756): accounts-glib-WARNING **: Cannot create directory: /tmp/tmp905fbgj3/.config/libaccounts-glib

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

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

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

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

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

(process:3929): 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:3929): 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: {{{
06:51:26.247 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:51:26.255 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
06:51:26.294 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpdduzrunl',). Keyword arguments: {}.
06:51:26.331 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpdduzrunl/.config',). Keyword arguments: {}.
06:51:26.350 DEBUG __init__:132 - Patched home to fake home directory /tmp/tmpdduzrunl
06:51:26.353 INFO logging:45 - RemindersTestCaseWithAccount: launch_test_click. Arguments (). Keyword arguments: {}.
06:51:26.354 INFO _launcher:280 - Attempting to launch click application 'reminders' from click package  'com.ubuntu.reminders' and URIs '-s'
06:51:27.215 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.reminders_reminders_0.5.216' with URIs '-s' via upstart-app-launch
06:51:36.760 DEBUG credentials:59 - Add an evernote account.
06:51:36.762 DEBUG credentials:83 - Creating the Evernote account.
06:51:36.892 DEBUG credentials:111 - Setting credentials to account.
06:51:36.907 DEBUG credentials:122 - Processing session.
06:51:42.481 ERROR credentials:94 - Error processing session.
06:51:43.633 INFO logging:45 - str: Remove an initctl environment variable. Arguments (). Keyword arguments: {}.
06:51:43.655 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 69, in setUp
    self.add_evernote_account()
  File "/home/phablet/autopilot/reminders/tests/test_reminders.py", line 77, in add_evernote_account
    'dummy', 'dummy', evernote.TEST_OAUTH_TOKEN)
  File "/home/phablet/autopilot/reminders/credentials.py", line 71, in add_evernote_account
    self._join_main_loop()
  File "/home/phablet/autopilot/reminders/credentials.py", line 49, in _join_main_loop
    raise CredentialsException(self.error.message)
reminders.credentials.CredentialsException: GDBus.Error:com.google.code.AccountsSSO.SingleSignOn.Error.MethodNotKnown: Authentication method is not
known.

command_type
testcase_test