After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 699410 - tracker-password-provider test failed
tracker-password-provider test failed
Status: RESOLVED OBSOLETE
Product: tracker
Classification: Core
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: tracker-general
Depends on:
Blocks:
 
 
Reported: 2013-05-01 19:13 UTC by Pacho Ramos
Modified: 2014-04-09 15:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2013-05-01 19:13:41 UTC
We get:
  /libtracker-miner/file-system/insertions:                            OK
  /libtracker-miner/file-system/children:                              OK
  /libtracker-miner/file-system/indirect-children:                     OK
  /libtracker-miner/file-system/reparenting:                           OK
  /libtracker-miner/file-system/file-properties:                       OK
PASS: tracker-file-system-test
TEST: tracker-miner-manager-test... (pid=16930)
Tracker-Message: Crawling miners in '/var/tmp/portage/app-misc/tracker-0.16.1/work/tracker-0.16.1/tests/libtracker-miner/mock-miners' (set in env)
PASS: tracker-miner-manager-test
TEST: tracker-password-provider-test... (pid=16948)
Not aborting here because we expect no filename to exist yet
  /libtracker-miner/tracker-password-provider/setting:                 Storing password 's3cr3t' for user 'test-user'
** Message: Remote error from secret service: org.freedesktop.Secret.Error.NoSuchObject: The '/org/freedesktop/secrets/aliases/default' object does no
t exist
**
Tracker:ERROR:tracker-password-provider-test.c:49:test_password_provider_setting: assertion failed (success == TRUE): (0 == 1)
FAIL
GTester: last random seed: R02Sfe9f8cc9add03382f6d197246a0cbea1
/bin/sh: línea 1: 16765 Terminado               gtester --verbose tracker-crawler-test tracker-file-notifier-test tracker-file-system-test tracker-min
er-manager-test tracker-password-provider-test tracker-thumbnailer-test tracker-monitor-test tracker-priority-queue-test tracker-task-pool-test tracke
r-indexing-tree-test
make[4]: *** [test] Error 143
make[4]: Leaving directory `/var/tmp/portage/app-misc/tracker-0.16.1/work/tracker-0.16.1/tests/libtracker-miner'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/app-misc/tracker-0.16.1/work/tracker-0.16.1/tests/libtracker-miner'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-misc/tracker-0.16.1/work/tracker-0.16.1/tests/libtracker-miner'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-misc/tracker-0.16.1/work/tracker-0.16.1/tests'
make: *** [check-recursive] Error 1
Comment 1 Ivan Frade 2013-05-01 20:17:33 UTC
** Message: Remote error from secret service:
org.freedesktop.Secret.Error.NoSuchObject: The
'/org/freedesktop/secrets/aliases/default' object does not exist

It looks like a problem in libsecret/GNOME keyring. This bug in redhat has similar symtoms (and a command to check if the problem is there):

https://bugzilla.redhat.com/show_bug.cgi?id=874670#c2

Please verify if libsecret/gnome keyring is working correctly.
Comment 2 Pacho Ramos 2013-05-02 08:26:13 UTC
I get this error:
(secret-tool:648): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
secret-tool: Error calling StartServiceByName for org.freedesktop.secrets: Timeout was reached

But I am running latest libsecret-0.15 :/
Comment 3 Ivan Frade 2013-05-02 17:44:47 UTC
It seems that libsecret is not able to start the GNOME keyring daemon. Either the binary is not were it should or it is crashing. 

Check your installation of GNOME keyring. You are using tracker in a not-ordinary prefix... do you have GNOME keyring installed in the right location? are you using the right one? maybe you have multiple installed and things got mixed up...?

This looks pretty much like an issue on GNOME keyring installation and paths. Not a problem in the code.
Comment 4 Pacho Ramos 2013-05-02 21:39:52 UTC
I only have a libsecret version installed. tracker is built on /var/tmp/portage by portage in Gentoo, but nothing more special :/
Comment 5 Martyn Russell 2014-04-09 15:18:10 UTC
Thanks for taking the time to report this bug.
However, you are using a version that is too old and not supported anymore. GNOME developers are no longer working on that version, so unfortunately there will not be any bug fixes for the version that you use.

By upgrading to a newer version of GNOME you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of GNOME.
Please feel free to reopen this bug if the problem still occurs with a newer version of GNOME.