Testcase: test_add_notebook_must_create_it_in_server

Build #:61:20141001:20140929.1
Arch:manta (Nexus 10)
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_create_it_in_server
testsuite
reminders.tests.test_reminders.RemindersTestCaseWithAccount
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Oct  1 07:32:18 ubuntu-phablet kernel: [  292.452759] type=1400 audit(1412148738.484:92): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.256" name="/home/phablet/.local/share/applications/tmpfxfi9p60.desktop" pid=4415 comm="reminders"
requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
Oct  1 07:32:20 ubuntu-phablet kernel: [  294.918336] type=1400 audit(1412148740.949:93): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.256" name="/home/phablet/.local/share/applications/" pid=4415 comm="reminders" requested_mask="r"
denied_mask="r" fsuid=32011 ouid=32011
Oct  1 07:32:20 ubuntu-phablet kernel: [  294.919383] type=1400 audit(1412148740.949:94): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.256" name="/usr/share/applications/" pid=4415 comm="reminders" requested_mask="r" denied_mask="r"
fsuid=32011 ouid=0
Oct  1 07:32:21 ubuntu-phablet signond[4455]: ../../../../src/signond/signondaemon.cpp 388 init Failed to SUID root. Secure storage will not be
available.
Oct  1 07:32:31 ubuntu-phablet kernel: [  305.150885] EXT4-fs (mmcblk0p9): error count: 4
Oct  1 07:32:31 ubuntu-phablet kernel: [  305.150955] EXT4-fs (mmcblk0p9): initial error at 1325420312: ext4_journal_start_sb:328
Oct  1 07:32:31 ubuntu-phablet kernel: [  305.151044] EXT4-fs (mmcblk0p9): last error at 1325420312: ext4_journal_start_sb:328
Oct  1 07:32:33 ubuntu-phablet kernel: [  307.576929] type=1400 audit(1412148753.609:95): apparmor="DENIED" operation="chmod"
profile="com.ubuntu.reminders_reminders_0.5.256" name="/run/user/32011/" pid=4415 comm="reminders" requested_mask="w" denied_mask="w" fsuid=32011
ouid=32011
Oct  1 07:32:33 ubuntu-phablet signond[4455]: ../../../../src/signond/accesscontrolmanagerhelper.cpp 158 peerHasOneOfAccesses given peer does not have
needed permissions
Oct  1 07:32:36 ubuntu-phablet kernel: [  310.650937] input: py-evdev-uinput as /devices/virtual/input/input5
Oct  1 07:32:36 ubuntu-phablet kernel: [  310.651224] keychord: using input dev py-evdev-uinput for fevent
Oct  1 07:32:37 ubuntu-phablet kernel: [  311.792438] pd-g3d: Power-off latency exceeded, new value 1182541 ns
Oct  1 07:32:38 ubuntu-phablet kernel: [  312.452586] pd-g3d: Power-on latency exceeded, new value 931166 ns
Oct  1 07:32:38 ubuntu-phablet kernel: [  312.597881] mali mali.0: state save latency exceeded, new value 1794375 ns
Oct  1 07:32:44 ubuntu-phablet kernel: [  318.463026] mali mali.0: state save latency exceeded, new value 1910208 ns
Oct  1 07:32:33 ubuntu-phablet signond[4455]: ../../../../src/signond/accesscontrolmanagerhelper.cpp 158 peerHasOneOfAccesses given peer does not have
needed permissions
Oct  1 07:32:55 ubuntu-phablet signond[4455]: QObject::disconnect: Unexpected null parameter
}}}

Application Log (tmpfxfi9p60): {{{
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:4415): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:4415): 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[4415/4444]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4445]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4445]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4444]: 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 2560
qml: ################################# false
Error fetching username: "Not connected."
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=2560, height=1540)
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[4415/4445]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4444]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4445]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4444]: 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(0x1dcdfc0) 
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(0x1a17b10)
../../../../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[4415/4445]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4444]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4445]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4444]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4445]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4444]: 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[4415/4444]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4445]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4444]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4445]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4444]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4445]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4444]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4445]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4444]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4415/4445]: 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(0x1dcdfc0)
}}}

test-log: {{{
07:32:17.436 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
07:32:17.442 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
07:32:17.444 INFO logging:45 - RemindersTestCaseWithAccount: launch_ubuntu_app. Arguments (). Keyword arguments: {}.
07:32:17.455 INFO _launcher:120 - Attempting to launch application 'tmpfxfi9p60' with URIs '' via upstart-app-launch
07:32:21.841 DEBUG credentials:59 - Add an evernote account.
07:32:21.843 DEBUG credentials:83 - Creating the Evernote account.
07:32:21.950 DEBUG credentials:111 - Setting credentials to account.
07:32:21.964 DEBUG credentials:122 - Processing session.
07:32:33.558 DEBUG credentials:145 - Enabling evernote service.
07:32:33.598 INFO credentials:78 - Created the account with id: 4.
07:32:33.603 DEBUG credentials:157 - Existing accounts: [4].
07:32:33.610 DEBUG credentials:163 - Account info:
07:32:33.612 DEBUG credentials:164 - id: 4
07:32:33.613 DEBUG credentials:165 - provider: evernote-sandbox
07:32:33.615 DEBUG credentials:166 - enabled: True
07:32:33.616 DEBUG credentials:167 - Account services:
07:32:33.626 DEBUG credentials:169 - name: evernote-sandbox
07:32:33.629 DEBUG credentials:171 - enabled: True
07:32:33.632 INFO test_reminders:70 - Waiting for the Evernote account to be created.
07:32:34.692 INFO logging:45 - MainView: Open a tab. Arguments ('NotebookTab',). Keyword arguments: {}.
07:32:34.729 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
07:32:34.810 INFO logging:45 - MainView: Open a tab. Arguments (1,). Keyword arguments: {}.
07:32:34.840 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
07:32:35.007 INFO logging:45 - AppHeader: Open a tab. This only supports the new tabs in the header. Arguments (1,). Keyword arguments: {}.
07:32:35.091 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:32:35.092 DEBUG _uinput:470 - Tapping at: 70,134
07:32:35.632 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:32:35.633 DEBUG _uinput:470 - Tapping at: 200,395
07:32:35.792 DEBUG dbus:352 - Selecting objects of type Tab with attributes: {}
07:32:36.475 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:32:36.475 DEBUG _uinput:470 - Tapping at: 2390,134
07:32:36.790 INFO logging:45 - TextField: Write into the text field. Arguments ('Test notebook 1c70334c-493d-11e4-9131-08d42b182af8',). Keyword
arguments: {}.
07:32:36.835 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:32:36.836 DEBUG _uinput:470 - Tapping at: 400,308
07:32:36.976 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
07:32:37.010 DEBUG _uinput:195 - Typing text 'Test notebook 1c70334c-493d-11e4-9131-08d42b182af8'
07:32:37.012 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
07:32:37.113 DEBUG _uinput:57 - Pressing T (20).
07:32:37.214 DEBUG _uinput:88 - Releasing T (20).
07:32:37.316 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
07:32:37.418 DEBUG _uinput:57 - Pressing e (18).
07:32:37.519 DEBUG _uinput:88 - Releasing e (18).
07:32:37.621 DEBUG _uinput:57 - Pressing s (31).
07:32:37.722 DEBUG _uinput:88 - Releasing s (31).
07:32:37.826 DEBUG _uinput:57 - Pressing t (20).
07:32:37.932 DEBUG _uinput:88 - Releasing t (20).
07:32:38.037 DEBUG _uinput:57 - Pressing SPACE (57).
07:32:38.141 DEBUG _uinput:88 - Releasing SPACE (57).
07:32:38.246 DEBUG _uinput:57 - Pressing n (49).
07:32:38.351 DEBUG _uinput:88 - Releasing n (49).
07:32:38.455 DEBUG _uinput:57 - Pressing o (24).
07:32:38.560 DEBUG _uinput:88 - Releasing o (24).
07:32:38.664 DEBUG _uinput:57 - Pressing t (20).
07:32:38.767 DEBUG _uinput:88 - Releasing t (20).
07:32:38.871 DEBUG _uinput:57 - Pressing e (18).
07:32:38.976 DEBUG _uinput:88 - Releasing e (18).
07:32:39.080 DEBUG _uinput:57 - Pressing b (48).
07:32:39.184 DEBUG _uinput:88 - Releasing b (48).
07:32:39.291 DEBUG _uinput:57 - Pressing o (24).
07:32:39.397 DEBUG _uinput:88 - Releasing o (24).
07:32:39.502 DEBUG _uinput:57 - Pressing o (24).
07:32:39.608 DEBUG _uinput:88 - Releasing o (24).
07:32:39.714 DEBUG _uinput:57 - Pressing k (37).
07:32:39.829 DEBUG _uinput:88 - Releasing k (37).
07:32:39.936 DEBUG _uinput:57 - Pressing SPACE (57).
07:32:40.042 DEBUG _uinput:88 - Releasing SPACE (57).
07:32:40.151 DEBUG _uinput:57 - Pressing 1 (2).
07:32:40.255 DEBUG _uinput:88 - Releasing 1 (2).
07:32:40.356 DEBUG _uinput:57 - Pressing c (46).
07:32:40.463 DEBUG _uinput:88 - Releasing c (46).
07:32:40.571 DEBUG _uinput:57 - Pressing 7 (8).
07:32:40.675 DEBUG _uinput:88 - Releasing 7 (8).
07:32:40.778 DEBUG _uinput:57 - Pressing 0 (11).
07:32:40.884 DEBUG _uinput:88 - Releasing 0 (11).
07:32:40.986 DEBUG _uinput:57 - Pressing 3 (4).
07:32:41.092 DEBUG _uinput:88 - Releasing 3 (4).
07:32:41.194 DEBUG _uinput:57 - Pressing 3 (4).
07:32:41.301 DEBUG _uinput:88 - Releasing 3 (4).
07:32:41.407 DEBUG _uinput:57 - Pressing 4 (5).
07:32:41.513 DEBUG _uinput:88 - Releasing 4 (5).
07:32:41.614 DEBUG _uinput:57 - Pressing c (46).
07:32:41.721 DEBUG _uinput:88 - Releasing c (46).
07:32:41.827 DEBUG _uinput:57 - Pressing MINUS (12).
07:32:41.933 DEBUG _uinput:88 - Releasing MINUS (12).
07:32:42.035 DEBUG _uinput:57 - Pressing 4 (5).
07:32:42.141 DEBUG _uinput:88 - Releasing 4 (5).
07:32:42.242 DEBUG _uinput:57 - Pressing 9 (10).
07:32:42.349 DEBUG _uinput:88 - Releasing 9 (10).
07:32:42.450 DEBUG _uinput:57 - Pressing 3 (4).
07:32:42.556 DEBUG _uinput:88 - Releasing 3 (4).
07:32:42.660 DEBUG _uinput:57 - Pressing d (32).
07:32:42.762 DEBUG _uinput:88 - Releasing d (32).
07:32:42.867 DEBUG _uinput:57 - Pressing MINUS (12).
07:32:42.972 DEBUG _uinput:88 - Releasing MINUS (12).
07:32:43.076 DEBUG _uinput:57 - Pressing 1 (2).
07:32:43.180 DEBUG _uinput:88 - Releasing 1 (2).
07:32:43.285 DEBUG _uinput:57 - Pressing 1 (2).
07:32:43.389 DEBUG _uinput:88 - Releasing 1 (2).
07:32:43.493 DEBUG _uinput:57 - Pressing e (18).
07:32:43.597 DEBUG _uinput:88 - Releasing e (18).
07:32:43.701 DEBUG _uinput:57 - Pressing 4 (5).
07:32:43.806 DEBUG _uinput:88 - Releasing 4 (5).
07:32:43.909 DEBUG _uinput:57 - Pressing MINUS (12).
07:32:44.013 DEBUG _uinput:88 - Releasing MINUS (12).
07:32:44.117 DEBUG _uinput:57 - Pressing 9 (10).
07:32:44.218 DEBUG _uinput:88 - Releasing 9 (10).
07:32:44.322 DEBUG _uinput:57 - Pressing 1 (2).
07:32:44.426 DEBUG _uinput:88 - Releasing 1 (2).
07:32:44.530 DEBUG _uinput:57 - Pressing 3 (4).
07:32:44.631 DEBUG _uinput:88 - Releasing 3 (4).
07:32:44.736 DEBUG _uinput:57 - Pressing 1 (2).
07:32:44.841 DEBUG _uinput:88 - Releasing 1 (2).
07:32:44.945 DEBUG _uinput:57 - Pressing MINUS (12).
07:32:45.049 DEBUG _uinput:88 - Releasing MINUS (12).
07:32:45.150 DEBUG _uinput:57 - Pressing 0 (11).
07:32:45.254 DEBUG _uinput:88 - Releasing 0 (11).
07:32:45.354 DEBUG _uinput:57 - Pressing 8 (9).
07:32:45.455 DEBUG _uinput:88 - Releasing 8 (9).
07:32:45.557 DEBUG _uinput:57 - Pressing d (32).
07:32:45.659 DEBUG _uinput:88 - Releasing d (32).
07:32:45.763 DEBUG _uinput:57 - Pressing 4 (5).
07:32:45.867 DEBUG _uinput:88 - Releasing 4 (5).
07:32:45.970 DEBUG _uinput:57 - Pressing 2 (3).
07:32:46.073 DEBUG _uinput:88 - Releasing 2 (3).
07:32:46.176 DEBUG _uinput:57 - Pressing b (48).
07:32:46.282 DEBUG _uinput:88 - Releasing b (48).
07:32:46.386 DEBUG _uinput:57 - Pressing 1 (2).
07:32:46.491 DEBUG _uinput:88 - Releasing 1 (2).
07:32:46.596 DEBUG _uinput:57 - Pressing 8 (9).
07:32:46.700 DEBUG _uinput:88 - Releasing 8 (9).
07:32:46.803 DEBUG _uinput:57 - Pressing 2 (3).
07:32:46.908 DEBUG _uinput:88 - Releasing 2 (3).
07:32:47.012 DEBUG _uinput:57 - Pressing a (30).
07:32:47.116 DEBUG _uinput:88 - Releasing a (30).
07:32:47.219 DEBUG _uinput:57 - Pressing f (33).
07:32:47.324 DEBUG _uinput:88 - Releasing f (33).
07:32:47.428 DEBUG _uinput:57 - Pressing 8 (9).
07:32:47.532 DEBUG _uinput:88 - Releasing 8 (9).
07:32:47.734 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:32:47.735 DEBUG _uinput:470 - Tapping at: 660,835
07:33:01.917 INFO credentials:179 - Deleting the account with id 4.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/reminders/tests/test_reminders.py", line 108, in test_add_notebook_must_create_it_in_server
    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