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 702367 - test-suite failure: schema 'org.gnome.crypto.cache' is not installed
test-suite failure: schema 'org.gnome.crypto.cache' is not installed
Status: RESOLVED FIXED
Product: gnome-keyring
Classification: Core
Component: general
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-06-15 21:15 UTC by Michael Biebl
Modified: 2013-06-18 13:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
daemon: Fix running tests without installed gnome-keyring (2.28 KB, patch)
2013-06-18 12:20 UTC, Stef Walter
committed Details | Review

Description Michael Biebl 2013-06-15 21:15:53 UTC
Running the gnome-keyring test-suite in a pristine chroot, I get the following failure:

TEST: test-secret-search... (pid=32575)
  /secret-search/service-search-items-unlocked-separate:
(gnome-keyring-daemon:32577): GLib-GIO-ERROR **: Settings schema 'org.gnome.crypto.cache' is not installed

**
ERROR:test-service.c:116:test_service_setup: assertion failed: (egg_test_wait_until (20000) != FALSE)
FAIL
GTester: last random seed: R02S3f385807dfbed5ae85f08cd747e56782
make[5]: *** [test] Terminated
make[5]: Target `check-local' not remade because of errors.
make[5]: Leaving directory `/tmp/buildd/gnome-keyring-3.8.2/daemon/dbus/tests


Looks like the test-suite needs the gsettings schema from gnome-keyring itself.
By pointing XDG_DATA_DIRS to the directory with the gsettings schema, it should be possible to run the test-suite without having gnome-keyring installed system-wide.
Comment 1 Stef Walter 2013-06-18 12:20:54 UTC
Created attachment 247132 [details] [review]
daemon: Fix running tests without installed gnome-keyring
Comment 2 Stef Walter 2013-06-18 12:21:24 UTC
Does the attached patch (or one like it) fix the issue for you?
Comment 3 Michael Biebl 2013-06-18 13:13:01 UTC
(In reply to comment #2)
> Does the attached patch (or one like it) fix the issue for you?

It does fix this particular test, thanks!

I'm still getting test-suite failures in other tests now. Will file separate bugs for those once I know more.
Comment 4 Stef Walter 2013-06-18 13:34:03 UTC
Attachment 247132 [details] pushed as 99b6f5a - daemon: Fix running tests without installed gnome-keyring