Testcase: test_add_notebook_must_create_it_in_server

Build #:241:20150630:20150529.1
Arch:mako (Nexus 4)
Release:wily
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: {{{
Jun 30 13:35:16 ubuntu-phablet kernel: [  108.820021] input: py-evdev-uinput as /devices/virtual/input/input6
Jun 30 13:35:16 ubuntu-phablet kernel: [  108.820814] keychord: using input dev py-evdev-uinput for fevent
Jun 30 13:35:16 ubuntu-phablet kernel: [  109.148176] input: autopilot-finger as /devices/virtual/input/input7
Jun 30 13:35:16 ubuntu-phablet powerd[893]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jun 30 13:35:16 ubuntu-phablet powerd[893]: name_watch_add: looking for :1.63
Jun 30 13:35:16 ubuntu-phablet powerd[893]: watching :1.63 to see when it disappears on dbus
Jun 30 13:35:16 ubuntu-phablet powerd[893]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 30 13:35:16 ubuntu-phablet powerd[893]: handle_requestSysState - SUCCESS
Jun 30 13:35:16 ubuntu-phablet powerd[893]: Enqueue state change to ACTIVE
Jun 30 13:35:16 ubuntu-phablet powerd[893]: queue empty && state == current, discarding
Jun 30 13:35:16 ubuntu-phablet powerd[893]: libsuspend: release_wake_lock: powerd_power_request
Jun 30 13:35:17 ubuntu-phablet kernel: [  110.027010] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=1
Jun 30 13:35:17 ubuntu-phablet kernel: [  110.486983] mmc0: mmc_start_bkops: Starting bkops
Jun 30 13:35:18 ubuntu-phablet kernel: [  111.697359] audit_printk_skb: 60 callbacks suppressed
Jun 30 13:35:18 ubuntu-phablet kernel: [  111.697390] type=1400 audit(1435671318.925:89): apparmor="DENIED" operation="open"
profile="com.ubuntu.reminders_reminders_0.5.449.1" name="/home/phablet/.local/share/applications/tmpqp4i06sk.desktop" pid=4894 comm="reminders"
requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
Jun 30 13:35:27 ubuntu-phablet kernel: [  119.970486] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=1
Jun 30 13:35:28 ubuntu-phablet kernel: [  121.601403] mmc0: mmc_start_bkops: Starting bkops
Jun 30 13:36:00 ubuntu-phablet signond[5159]: QObject::disconnect: Unexpected null parameter
Jun 30 13:36:00 ubuntu-phablet powerd[893]: handle_clearSysState from :1.63, cookie: 21dc3da4-af3f-4cd2-8d91-214b20d9b054
Jun 30 13:36:00 ubuntu-phablet powerd[893]: clear_sys_request: active - :1.63
Jun 30 13:36:00 ubuntu-phablet powerd[893]: name_watch_remove: looking for :1.63
Jun 30 13:36:00 ubuntu-phablet powerd[893]: name_watch: ref_count for :1.63 is now 0
Jun 30 13:36:00 ubuntu-phablet powerd[893]: no longer watching :1.63, there are no more requests
Jun 30 13:36:00 ubuntu-phablet powerd[893]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 30 13:36:00 ubuntu-phablet powerd[893]: Enqueue state change to ACTIVE
Jun 30 13:36:00 ubuntu-phablet powerd[893]: queue empty && state == current, discarding
Jun 30 13:36:00 ubuntu-phablet powerd[893]: libsuspend: release_wake_lock: powerd_power_request
Jun 30 13:36:00 ubuntu-phablet kernel: [  153.354799] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=1
Jun 30 13:36:01 ubuntu-phablet dbus[854]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jun 30 13:36:01 ubuntu-phablet dbus[854]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmpqp4i06sk): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.2.9.0'
reminders: invalid option -- 's'
Testability driver loaded. Wire protocol version is "1.4".
Application: Running against the sandbox server
Application: Using main qml file from: "/custom/click/com.ubuntu.reminders/0.5.449.1/qml/reminders.qml"
libust[4894/4983]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4983]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4982]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4982]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
qml: Page.tools is a deprecated property. Please use Page.head instead.
NotesStore: Creating NotesStore instance.

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

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

(process:4894): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
NotesStore: Creating storage directory: "/home/phablet/.local/share/com.ubuntu.reminders"
qml: Page.tools is a deprecated property. Please use Page.head instead.
qml: Page.tools is a deprecated property. Please use Page.head instead.
qml: Page.tools is a deprecated property. Please use Page.head instead.
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/ui/AccountSelectorPage.qml:88:9: QML Button: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/ui/TagsPage.qml:104:13: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/ui/TagsPage.qml:50:9: QML ActionItem: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/ui/RemindersPage.qml:86:13: QML ActivityIndicator: Theme.createStyleComponent() is deprecated.
Use ThemeSettings instead.
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/ui/NotebooksPage.qml:99:13: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/reminders.qml:67:5: QML Connections: Cannot assign to non-existent property "onStatusChanged"
qml: No account available! Please setup an account in the system settings
UbuntuWindow - regular geometry
libust[4894/4983]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4982]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
qml: Page.tools is a deprecated property. Please use Page.head instead.
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/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker10.qml:246:5: QML Button: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker10.qml:47:5: QML Header: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
qml: PushClient Error: bad auth
QQmlExpression: Expression file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/ui/EditNoteView.qml:255:23 depends on non-NOTIFYable properties:
    QQuickTextEdit_QML_130::textDocument
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.

(process:4894): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('com.ubuntu.reminders_reminders-sandbox', 'Evernote Developer Sandbox', 'com.ubuntu.reminders_evernote-account-plugin-sandbox', 'sharing');":
attempt to write a readonly database

(process:4894): accounts-glib-WARNING **: Error in adding service com.ubuntu.reminders_reminders-sandbox to DB!

(process:4894): accounts-glib-WARNING **: _ag_manager_exec_query: runtime error while executing "INSERT INTO Services (name, display, provider, type)
VALUES ('com.ubuntu.reminders_reminders-sandbox', 'Evernote Developer Sandbox', 'com.ubuntu.reminders_evernote-account-plugin-sandbox', 'sharing');":
attempt to write a readonly database

(process:4894): accounts-glib-WARNING **: Error in adding service com.ubuntu.reminders_reminders-sandbox to DB!
qml: WARNING: Header is an internal component of Ubuntu.Components andits API may change or be removed at any moment.Please use MainView and Page
instead.
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/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/1.2/ValueSelector.qml:189:23: Unable to assign [undefined] to QString
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/ui/EditNoteView.qml:157: TypeError: Cannot read property 'name' of null
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/ui/EditNoteView.qml:179: TypeError: Cannot read property 'guid' of null
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/ui/EditNoteView.qml:186: TypeError: Cannot read property 'guid' of null
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/ui/EditNoteView.qml:184: TypeError: Cannot read property 'name' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker10.qml:186: TypeError: Cannot read property 'peers' of null
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/ui/NotesPage.qml:113: TypeError: Cannot read property 'reminder' of null
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/ui/NotesPage.qml:109: TypeError: Cannot read property 'reminder' of null
file:///custom/click/com.ubuntu.reminders/0.5.449.1/qml/reminders.qml:610:30: Unable to assign null to QQuickAnchorLine
libust[4894/4983]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4982]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4983]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4982]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4983]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4982]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4983]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4982]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4983]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4982]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4983]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4982]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4983]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[4894/4982]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
}}}

test-log: {{{
13:35:16.514 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
13:35:16.520 INFO logging:45 - RemindersTestCaseWithAccount: launch_ubuntu_app. Arguments (). Keyword arguments: {}.
13:35:16.556 INFO _launcher:120 - Attempting to launch application 'tmpqp4i06sk' with URIs '' via upstart-app-launch
13:35:27.107 DEBUG credentials:59 - Add an evernote account.
13:35:27.111 DEBUG credentials:91 - Creating the Evernote account.
13:35:27.152 DEBUG credentials:63 - account {'auth/oauth2/HMAC-SHA1/Callback': 'https://wiki.ubuntu.com/', 'auth/oauth2/HMAC-SHA1/ConsumerKey':
'ubuntu', 'auth/oauth2/HMAC-SHA1/ConsumerSecret': '44f8ee81a8359500', 'auth/oauth2/HMAC-SHA1/TokenEndpoint': 'https://sandbox.evernote.com/oauth',
'auth/mechanism': 'HMAC-SHA1', 'auth/oauth2/HMAC-SHA1/HostName': 'sandbox.evernote.com', 'auth/method': 'oauth2',
'auth/oauth2/HMAC-SHA1/AuthorizationEndpoint': 'https://sandbox.evernote.com/OAuth.action', 'auth/oauth2/HMAC-SHA1/RequestEndpoint':
'https://sandbox.evernote.com/oauth'}
13:35:27.902 DEBUG credentials:75 - identity [<GParamUInt 'id'>]
13:35:27.903 DEBUG credentials:77 - Joining loop
13:35:27.948 DEBUG credentials:131 - Setting credentials to account.
13:35:27.969 DEBUG credentials:136 - Account stored
13:35:27.970 DEBUG credentials:143 - Processing session.
13:35:27.971 DEBUG credentials:145 - account_service [<GParamObject 'account'>, <GParamBoxed 'service'>, <GParamBoolean 'enabled'>]
13:35:27.973 DEBUG credentials:147 - auth_data {'HostName': 'sandbox.evernote.com', 'ConsumerKey': 'ubuntu', 'AuthorizationEndpoint':
'https://sandbox.evernote.com/OAuth.action', 'ConsumerSecret': '44f8ee81a8359500', 'TokenEndpoint': 'https://sandbox.evernote.com/oauth', 'Callback':
'https://wiki.ubuntu.com/', 'RequestEndpoint': 'https://sandbox.evernote.com/oauth'}
13:35:27.980 DEBUG credentials:160 - session_data {'HostName': 'sandbox.evernote.com', 'ConsumerKey': 'ubuntu', 'AuthorizationEndpoint':
'https://sandbox.evernote.com/OAuth.action', 'ConsumerSecret': '44f8ee81a8359500', 'TokenEndpoint': 'https://sandbox.evernote.com/oauth',
'ProvidedTokens': GLib.Variant('a{sv}', {'TokenSecret': <'dummy'>, 'AccessToken':
<'S=s1:U=8e6bf:E=1548ba3de0d:C=14d33f2aea0:P=1cd:A=en-devtoken:V=2:H=2443c889ce7e8f083d8e155b404c44a1'>}), 'Callback': 'https://wiki.ubuntu.com/',
'RequestEndpoint': 'https://sandbox.evernote.com/oauth'}
13:35:27.981 DEBUG credentials:161 - Authenticating session 1, oauth2
13:35:27.987 DEBUG credentials:163 - Send session <AuthSession object at 0xb1704f30 (SignonAuthSession at 0x920af8)>
13:35:27.991 DEBUG credentials:166 - Session processed
13:35:38.657 DEBUG credentials:176 - Enabling evernote service.
13:35:38.709 INFO credentials:86 - Created the account with id: 1.
13:35:38.723 DEBUG credentials:189 - Existing accounts: [1].
13:35:38.728 DEBUG credentials:195 - Account info:
13:35:38.729 DEBUG credentials:196 - id: 1
13:35:38.731 DEBUG credentials:197 - provider: com.ubuntu.reminders_evernote-account-plugin-sandbox
13:35:38.732 DEBUG credentials:198 - enabled: True
13:35:38.733 DEBUG credentials:199 - Account services:
13:35:38.741 DEBUG credentials:201 - name: com.ubuntu.reminders_reminders-sandbox
13:35:38.742 DEBUG credentials:203 - enabled: True
13:35:38.750 INFO test_reminders:71 - Waiting for the Evernote account to be created.
13:35:50.483 INFO credentials:211 - Deleting the account with id 1.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/reminders/tests/test_reminders.py", line 72, in setUp
    no_account_dialog.wait_until_destroyed()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 451, in wait_until_destroyed
    "Object was not destroyed after %d seconds" % timeout
RuntimeError: Object was not destroyed after 10 seconds

command_type
testcase_test