Testcase: test_add_notebook_must_append_it_to_list

Build #:66:20141001.1:20140929.1
Arch:mako (Nexus 4)
Release:utopic
Variant:touch_stable
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: {{{
Oct  1 18:00:50 ubuntu-phablet kernel: [  288.737036] type=1400 audit(1412186450.844:97): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.256" name="/home/phablet/.local/share/applications/tmpd4qw62g4.desktop" pid=4684 comm="reminders"
requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
Oct  1 18:00:55 ubuntu-phablet kernel: [  292.919517] type=1400 audit(1412186455.026:98): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.256" name="/home/phablet/.local/share/applications/" pid=4684 comm="reminders" requested_mask="r"
denied_mask="r" fsuid=32011 ouid=32011
Oct  1 18:00:55 ubuntu-phablet kernel: [  292.920891] type=1400 audit(1412186455.026:99): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.256" name="/usr/share/applications/" pid=4684 comm="reminders" requested_mask="r" denied_mask="r"
fsuid=32011 ouid=0
Oct  1 18:00:56 ubuntu-phablet signond[4742]: ../../../../src/signond/signondaemon.cpp 388 init Failed to SUID root. Secure storage will not be
available.
Oct  1 18:01:11 ubuntu-phablet kernel: [  309.143537] type=1400 audit(1412186471.246:100): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.256" name="/run/user/32011/" pid=4684 comm="reminders" requested_mask="w" denied_mask="w" fsuid=32011
ouid=32011
Oct  1 18:01:11 ubuntu-phablet signond[4742]: ../../../../src/signond/accesscontrolmanagerhelper.cpp 158 peerHasOneOfAccesses given peer does not have
needed permissions
Oct  1 18:01:16 ubuntu-phablet kernel: [  313.955043] input: py-evdev-uinput as /devices/virtual/input/input7
Oct  1 18:01:16 ubuntu-phablet kernel: [  313.955714] keychord: using input dev py-evdev-uinput for fevent
Oct  1 18:01:32 ubuntu-phablet kernel: [  330.874378] wlan: [1301:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
1, rssi = -69, countryCode US
Oct  1 18:01:32 ubuntu-phablet kernel: [  330.875263] wlan: [1301:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e2 chan=
1, rssi = -66, countryCode US
Oct  1 18:01:32 ubuntu-phablet kernel: [  330.876087] wlan: [1301:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -60, countryCode US
Oct  1 18:01:32 ubuntu-phablet kernel: [  330.876941] wlan: [1301:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dc chan= 161, rssi = -62, countryCode US
Oct  1 18:01:32 ubuntu-phablet kernel: [  330.879536] wlan: [1301:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:a8:c5:dc chan=
161, rssi = -59, countryCode US
Oct  1 18:01:11 ubuntu-phablet signond[4742]: ../../../../src/signond/accesscontrolmanagerhelper.cpp 158 peerHasOneOfAccesses given peer does not have
needed permissions
Oct  1 18:01:33 ubuntu-phablet signond[4742]: QObject::disconnect: Unexpected null parameter
}}}

Application Log (tmpd4qw62g4): {{{
reminders: invalid option -- 's'
Testability driver loaded. Wire protocol version is "1.4".
Running against the sandbox server
using main qml file from: "/usr/share/click/preinstalled/com.ubuntu.reminders/0.5.256/qml/reminders.qml"

(process:4684): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4684): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:4684): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts 
virtual void OnlineAccountsClient::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts.Client
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
qml: ################################# true
EvernoteConnection is not connected. ( FetchUsernameJob )
account-service-model.cpp 291 update 
qml: got accounts: 0
qml: No account available! Please setup an account in the system settings
UbuntuWindow - regular geometry
qml: ********************* width 768
Error fetching username: "Not connected."
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.256/qml/ui/NotesPage.qml:122: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.256/qml/ui/NotesPage.qml:118: TypeError: Cannot read property 'reminder' of null
file:///usr/share/click/preinstalled/com.ubuntu.reminders/0.5.256/qml/reminders.qml:300:30: Unable to assign null to QQuickAnchorLine
account-service-model.cpp 366 onAccountCreated 4 
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
../../../Accounts/account-service.cpp: 162 onEnabled
account-service-model.cpp 414 onAccountServiceEnabled true 
qml: got accounts: 1
account-service.cpp 100 setObjectHandle Accounts::AccountService(0x262930) 
Can't connect to Evernote. No token set.
account-service.cpp 384 authenticate QMap() 
QStandardPaths: wrong permissions on runtime directory /run/user/32011
../../../../lib/SignOn/connection-manager.cpp 150 init Connected to "qt_default_session_bus"
../../../../lib/SignOn/identityimpl.cpp 96 updateState Updating state:  "PendingRegistration" SignOn::IdentityImpl(0x599650)
../../../../lib/SignOn/authsessionimpl.cpp 94 initInterface
../../../../lib/SignOn/authsessionimpl.cpp 94 initInterface
../../../Accounts/account-service.cpp: 169 onChanged
../../../../lib/SignOn/identityimpl.cpp 448 errorReply "com.google.code.AccountsSSO.SingleSignOn.Error.PermissionDenied"
../../../../lib/SignOn/authsessionimpl.cpp 184 errorSlot QDBusError("com.google.code.AccountsSSO.SingleSignOn.Error.PermissionDenied", "Client has
insuficient permissions to access the service.Method:getAuthSessionObjectPath")
../../../../lib/SignOn/authsessionimpl.cpp 246 errorSlot Error while registering
../../../../lib/SignOn/async-dbus-proxy.cpp 235 setError QDBusError("com.google.code.AccountsSSO.SingleSignOn.Error.PermissionDenied", "Client has
insuficient permissions to access the service.Method:getAuthSessionObjectPath")
../../../../lib/SignOn/authsessionimpl.cpp 184 errorSlot QDBusError("com.google.code.AccountsSSO.SingleSignOn.Error.PermissionDenied", "Client has
insuficient permissions to access the service.Method:getAuthSessionObjectPath")
qml: Authentication failed, code 4
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
EvernoteConnection is not connected. ( CreateNotebookJob )
Error creating notebook: "Not connected."
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4723]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4684/4724]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
../../../Accounts/account-service.cpp: 162 onEnabled
account-service-model.cpp 414 onAccountServiceEnabled false 
../../../Accounts/account.cpp: 184 on_deleted
account-service-model.cpp 373 onAccountRemoved 4 
Item already deleted! Accounts::AccountService(0x262930)
}}}

test-log: {{{
18:00:49.520 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
18:00:49.528 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
18:00:49.530 INFO logging:45 - RemindersTestCaseWithAccount: launch_ubuntu_app. Arguments (). Keyword arguments: {}.
18:00:49.536 INFO _launcher:120 - Attempting to launch application 'tmpd4qw62g4' with URIs '' via upstart-app-launch
18:00:56.413 DEBUG credentials:59 - Add an evernote account.
18:00:56.416 DEBUG credentials:83 - Creating the Evernote account.
18:00:56.555 DEBUG credentials:111 - Setting credentials to account.
18:00:56.575 DEBUG credentials:122 - Processing session.
18:01:11.116 DEBUG credentials:145 - Enabling evernote service.
18:01:11.175 INFO credentials:78 - Created the account with id: 4.
18:01:11.185 DEBUG credentials:157 - Existing accounts: [4].
18:01:11.194 DEBUG credentials:163 - Account info:
18:01:11.202 DEBUG credentials:164 - id: 4
18:01:11.209 DEBUG credentials:165 - provider: evernote-sandbox
18:01:11.223 DEBUG credentials:166 - enabled: True
18:01:11.227 DEBUG credentials:167 - Account services:
18:01:11.234 DEBUG credentials:169 - name: evernote-sandbox
18:01:11.238 DEBUG credentials:171 - enabled: True
18:01:11.246 INFO test_reminders:70 - Waiting for the Evernote account to be created.
18:01:12.336 INFO logging:45 - MainView: Open a tab. Arguments ('NotebookTab',). Keyword arguments: {}.
18:01:12.387 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
18:01:12.489 INFO logging:45 - MainView: Open a tab. Arguments (1,). Keyword arguments: {}.
18:01:12.577 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
18:01:13.025 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (1,). Keyword arguments: {}.
18:01:13.171 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:01:13.172 DEBUG _uinput:470 - Tapping at: 63,121
18:01:14.003 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:01:14.004 DEBUG _uinput:470 - Tapping at: 180,357
18:01:14.174 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
18:01:15.727 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:01:15.728 DEBUG _uinput:470 - Tapping at: 615,121
18:01:16.165 INFO logging:45 - TextField: Write into the text field. Arguments ('Test notebook ede7ef58-4994-11e4-b61a-10683f4cf487',). Keyword
arguments: {}.
18:01:16.228 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:01:16.229 DEBUG _uinput:470 - Tapping at: 384,278
18:01:16.415 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
18:01:16.475 DEBUG _uinput:195 - Typing text 'Test notebook ede7ef58-4994-11e4-b61a-10683f4cf487'
18:01:16.477 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
18:01:16.579 DEBUG _uinput:57 - Pressing T (20).
18:01:16.682 DEBUG _uinput:88 - Releasing T (20).
18:01:16.786 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
18:01:16.890 DEBUG _uinput:57 - Pressing e (18).
18:01:16.998 DEBUG _uinput:88 - Releasing e (18).
18:01:17.106 DEBUG _uinput:57 - Pressing s (31).
18:01:17.212 DEBUG _uinput:88 - Releasing s (31).
18:01:17.319 DEBUG _uinput:57 - Pressing t (20).
18:01:17.428 DEBUG _uinput:88 - Releasing t (20).
18:01:17.535 DEBUG _uinput:57 - Pressing SPACE (57).
18:01:17.644 DEBUG _uinput:88 - Releasing SPACE (57).
18:01:17.751 DEBUG _uinput:57 - Pressing n (49).
18:01:17.860 DEBUG _uinput:88 - Releasing n (49).
18:01:17.967 DEBUG _uinput:57 - Pressing o (24).
18:01:18.074 DEBUG _uinput:88 - Releasing o (24).
18:01:18.180 DEBUG _uinput:57 - Pressing t (20).
18:01:18.288 DEBUG _uinput:88 - Releasing t (20).
18:01:18.392 DEBUG _uinput:57 - Pressing e (18).
18:01:18.495 DEBUG _uinput:88 - Releasing e (18).
18:01:18.598 DEBUG _uinput:57 - Pressing b (48).
18:01:18.705 DEBUG _uinput:88 - Releasing b (48).
18:01:18.812 DEBUG _uinput:57 - Pressing o (24).
18:01:18.926 DEBUG _uinput:88 - Releasing o (24).
18:01:19.034 DEBUG _uinput:57 - Pressing o (24).
18:01:19.144 DEBUG _uinput:88 - Releasing o (24).
18:01:19.250 DEBUG _uinput:57 - Pressing k (37).
18:01:19.364 DEBUG _uinput:88 - Releasing k (37).
18:01:19.470 DEBUG _uinput:57 - Pressing SPACE (57).
18:01:19.584 DEBUG _uinput:88 - Releasing SPACE (57).
18:01:19.690 DEBUG _uinput:57 - Pressing e (18).
18:01:19.806 DEBUG _uinput:88 - Releasing e (18).
18:01:19.919 DEBUG _uinput:57 - Pressing d (32).
18:01:20.035 DEBUG _uinput:88 - Releasing d (32).
18:01:20.142 DEBUG _uinput:57 - Pressing e (18).
18:01:20.252 DEBUG _uinput:88 - Releasing e (18).
18:01:20.359 DEBUG _uinput:57 - Pressing 7 (8).
18:01:20.465 DEBUG _uinput:88 - Releasing 7 (8).
18:01:20.570 DEBUG _uinput:57 - Pressing e (18).
18:01:20.678 DEBUG _uinput:88 - Releasing e (18).
18:01:20.782 DEBUG _uinput:57 - Pressing f (33).
18:01:20.889 DEBUG _uinput:88 - Releasing f (33).
18:01:20.996 DEBUG _uinput:57 - Pressing 5 (6).
18:01:21.111 DEBUG _uinput:88 - Releasing 5 (6).
18:01:21.218 DEBUG _uinput:57 - Pressing 8 (9).
18:01:21.327 DEBUG _uinput:88 - Releasing 8 (9).
18:01:21.434 DEBUG _uinput:57 - Pressing MINUS (12).
18:01:21.543 DEBUG _uinput:88 - Releasing MINUS (12).
18:01:21.649 DEBUG _uinput:57 - Pressing 4 (5).
18:01:21.762 DEBUG _uinput:88 - Releasing 4 (5).
18:01:21.868 DEBUG _uinput:57 - Pressing 9 (10).
18:01:21.977 DEBUG _uinput:88 - Releasing 9 (10).
18:01:22.084 DEBUG _uinput:57 - Pressing 9 (10).
18:01:22.199 DEBUG _uinput:88 - Releasing 9 (10).
18:01:22.305 DEBUG _uinput:57 - Pressing 4 (5).
18:01:22.418 DEBUG _uinput:88 - Releasing 4 (5).
18:01:22.525 DEBUG _uinput:57 - Pressing MINUS (12).
18:01:22.639 DEBUG _uinput:88 - Releasing MINUS (12).
18:01:22.746 DEBUG _uinput:57 - Pressing 1 (2).
18:01:22.852 DEBUG _uinput:88 - Releasing 1 (2).
18:01:22.959 DEBUG _uinput:57 - Pressing 1 (2).
18:01:23.073 DEBUG _uinput:88 - Releasing 1 (2).
18:01:23.179 DEBUG _uinput:57 - Pressing e (18).
18:01:23.287 DEBUG _uinput:88 - Releasing e (18).
18:01:23.398 DEBUG _uinput:57 - Pressing 4 (5).
18:01:23.507 DEBUG _uinput:88 - Releasing 4 (5).
18:01:23.615 DEBUG _uinput:57 - Pressing MINUS (12).
18:01:23.723 DEBUG _uinput:88 - Releasing MINUS (12).
18:01:23.827 DEBUG _uinput:57 - Pressing b (48).
18:01:23.939 DEBUG _uinput:88 - Releasing b (48).
18:01:24.046 DEBUG _uinput:57 - Pressing 6 (7).
18:01:24.159 DEBUG _uinput:88 - Releasing 6 (7).
18:01:24.265 DEBUG _uinput:57 - Pressing 1 (2).
18:01:24.375 DEBUG _uinput:88 - Releasing 1 (2).
18:01:24.480 DEBUG _uinput:57 - Pressing a (30).
18:01:24.587 DEBUG _uinput:88 - Releasing a (30).
18:01:24.693 DEBUG _uinput:57 - Pressing MINUS (12).
18:01:24.808 DEBUG _uinput:88 - Releasing MINUS (12).
18:01:24.914 DEBUG _uinput:57 - Pressing 1 (2).
18:01:25.023 DEBUG _uinput:88 - Releasing 1 (2).
18:01:25.138 DEBUG _uinput:57 - Pressing 0 (11).
18:01:25.245 DEBUG _uinput:88 - Releasing 0 (11).
18:01:25.351 DEBUG _uinput:57 - Pressing 6 (7).
18:01:25.470 DEBUG _uinput:88 - Releasing 6 (7).
18:01:25.579 DEBUG _uinput:57 - Pressing 8 (9).
18:01:25.685 DEBUG _uinput:88 - Releasing 8 (9).
18:01:25.792 DEBUG _uinput:57 - Pressing 3 (4).
18:01:25.906 DEBUG _uinput:88 - Releasing 3 (4).
18:01:26.015 DEBUG _uinput:57 - Pressing f (33).
18:01:26.123 DEBUG _uinput:88 - Releasing f (33).
18:01:26.230 DEBUG _uinput:57 - Pressing 4 (5).
18:01:26.339 DEBUG _uinput:88 - Releasing 4 (5).
18:01:26.445 DEBUG _uinput:57 - Pressing c (46).
18:01:26.556 DEBUG _uinput:88 - Releasing c (46).
18:01:26.663 DEBUG _uinput:57 - Pressing f (33).
18:01:26.776 DEBUG _uinput:88 - Releasing f (33).
18:01:26.883 DEBUG _uinput:57 - Pressing 4 (5).
18:01:26.996 DEBUG _uinput:88 - Releasing 4 (5).
18:01:27.102 DEBUG _uinput:57 - Pressing 8 (9).
18:01:27.212 DEBUG _uinput:88 - Releasing 8 (9).
18:01:27.319 DEBUG _uinput:57 - Pressing 7 (8).
18:01:27.434 DEBUG _uinput:88 - Releasing 7 (8).
18:01:27.696 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:01:27.697 DEBUG _uinput:470 - Tapping at: 642,657
18:01:41.944 INFO credentials:179 - Deleting the account with id 4.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/reminders/tests/test_reminders.py", line 95, in test_add_notebook_must_append_it_to_list
    notebooks_page.add_notebook(test_notebook_title)
  File "/home/phablet/autopilot/reminders/__init__.py", line 137, in add_notebook
    original_number_of_books + 1)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 178, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on PulldownListView.count failed: 1 != dbus.Int32(0, variant_level=1)

command_type
testcase_test