Testcase: test_add_notebook_must_append_it_to_list

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_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 12 04:48:22 ubuntu-phablet kernel: [  242.192980] input: autopilot-finger as /devices/virtual/input/input7
Aug 12 04:48:23 ubuntu-phablet kernel: [  243.826613] audit_printk_skb: 60 callbacks suppressed
Aug 12 04:48:23 ubuntu-phablet kernel: [  243.826613] type=1400 audit(1407818903.637:103): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.cache/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:23 ubuntu-phablet kernel: [  243.872150] type=1400 audit(1407818903.687:104): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.config/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:23 ubuntu-phablet kernel: [  243.872424] type=1400 audit(1407818903.687:105): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.config/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:23 ubuntu-phablet kernel: [  243.877277] type=1400 audit(1407818903.687:106): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.cache/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:26 ubuntu-phablet kernel: [  246.314634] type=1400 audit(1407818906.120:107): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4356 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 12 04:48:26 ubuntu-phablet kernel: [  246.315031] type=1400 audit(1407818906.120:108): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.cache/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:26 ubuntu-phablet kernel: [  246.315305] type=1400 audit(1407818906.120:109): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.fontconfig/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:26 ubuntu-phablet kernel: [  246.317137] type=1400 audit(1407818906.120:110): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4356 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 12 04:48:26 ubuntu-phablet kernel: [  246.317442] type=1400 audit(1407818906.120:111): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.cache/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:26 ubuntu-phablet kernel: [  246.317717] type=1400 audit(1407818906.120:112): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.fontconfig/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:27 ubuntu-phablet kernel: [  247.219777] wlan: [1301:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
Aug 12 04:48:30 ubuntu-phablet kernel: [  250.663634] audit_printk_skb: 36 callbacks suppressed
Aug 12 04:48:30 ubuntu-phablet kernel: [  250.663665] type=1400 audit(1407818910.474:125): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4356 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 12 04:48:30 ubuntu-phablet kernel: [  250.663787] type=1400 audit(1407818910.474:126): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.cache/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:30 ubuntu-phablet kernel: [  250.663879] type=1400 audit(1407818910.474:127): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.fontconfig/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:30 ubuntu-phablet kernel: [  250.892659] type=1400 audit(1407818910.705:128): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4356 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 12 04:48:30 ubuntu-phablet kernel: [  250.892812] type=1400 audit(1407818910.705:129): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.cache/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:30 ubuntu-phablet kernel: [  250.892903] type=1400 audit(1407818910.705:130): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.fontconfig/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:31 ubuntu-phablet kernel: [  251.708530] type=1400 audit(1407818911.515:131): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/var/cache/fontconfig/" pid=4356 comm="reminders" requested_mask="w" denied_mask="w"
fsuid=32011 ouid=0
Aug 12 04:48:31 ubuntu-phablet kernel: [  251.708683] type=1400 audit(1407818911.515:132): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.cache/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:31 ubuntu-phablet kernel: [  251.708774] type=1400 audit(1407818911.515:133): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.fontconfig/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:31 ubuntu-phablet kernel: [  251.934533] type=1400 audit(1407818911.746:134): apparmor="DENIED" operation="mkdir"
profile="com.ubuntu.reminders_reminders_0.5.212" name="/tmp/tmpaa8xjuo1/.config/" pid=4356 comm="reminders" requested_mask="c" denied_mask="c"
fsuid=32011 ouid=32011
Aug 12 04:48:33 ubuntu-phablet signond[4432]: ../../../../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)
}}}

test-log: {{{
04:48:21.868 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
04:48:22.135 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
04:48:22.165 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpaa8xjuo1/.config',). Keyword arguments: {}.
04:48:22.234 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/tmp/tmpaa8xjuo1',). Keyword arguments: {}.
04:48:22.256 DEBUG __init__:132 - Patched home to fake home directory /tmp/tmpaa8xjuo1
04:48:22.258 INFO logging:45 - RemindersTestCaseWithAccount: launch_test_click. Arguments (). Keyword arguments: {}.
04:48:22.260 INFO _launcher:280 - Attempting to launch click application 'reminders' from click package  'com.ubuntu.reminders' and URIs '-s'
04:48:23.036 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.reminders_reminders_0.5.212' with URIs '-s' via upstart-app-launch
04:48:33.041 DEBUG credentials:59 - Add an evernote account.
04:48:33.043 DEBUG credentials:83 - Creating the Evernote account.
04:48:33.667 DEBUG credentials:111 - Setting credentials to account.
04:48:33.682 DEBUG credentials:122 - Processing session.
04:48:48.088 DEBUG credentials:145 - Enabling evernote service.
04:48:48.132 INFO credentials:78 - Created the account with id: 1.
04:48:48.138 DEBUG credentials:157 - Existing accounts: [1].
04:48:48.146 DEBUG credentials:163 - Account info:
04:48:48.147 DEBUG credentials:164 - id: 1
04:48:48.148 DEBUG credentials:165 - provider: evernote-sandbox
04:48:48.150 DEBUG credentials:166 - enabled: True
04:48:48.150 DEBUG credentials:167 - Account services:
04:48:48.158 DEBUG credentials:169 - name: evernote-sandbox
04:48:48.160 DEBUG credentials:171 - enabled: True
04:48:48.166 INFO test_reminders:70 - Waiting for the Evernote account to be created.
04:48:59.656 INFO credentials:179 - Deleting the account with id 1.
04:49:00.065 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). Keyword arguments: {}.
04:49:00.101 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