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 782246 - tests: require compiled schemas
tests: require compiled schemas
Status: RESOLVED OBSOLETE
Product: epiphany
Classification: Core
Component: Build
3.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-05 21:33 UTC by Jeremy Bicha
Modified: 2018-08-03 21:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2017-05-05 21:33:13 UTC
Running 'make check' from epiphany 3.24.1 fails in a clean build environment because it can't find the compiled epiphany gsettings schemas

To be used in the tests, the schemas must be compiled and GSETTINGS_SCHEMA_DIR set to their location.
Comment 1 Michael Catanzaro 2017-05-05 21:35:28 UTC
Hm, I bet this problem exists in master too (meson build).
Comment 2 Jeremy Bicha 2017-05-06 07:27:26 UTC
This is how it was done in GTK+:
https://git.gnome.org/browse/gtk+/commit/?id=d9dd7eb7

But it's just a FIXME in the new gtk4 meson build:
https://git.gnome.org/browse/gtk+/tree/testsuite/reftests/meson.build#n39
Comment 3 Jeremy Bicha 2017-05-07 21:18:04 UTC
3.25.1:

xvfb-run ninja -v -C build-deb test
ninja: Entering directory `build-deb'
[0/1] '/usr/bin/python3' '/usr/share/meson/mesontest' '--no-rebuild' '--print-errorlogs'
 1/10 Completion model test                   FAIL     1.11 s
 2/10 Embed utils test                        FAIL     1.10 s
 3/10 Encodings test                          FAIL     1.10 s
 4/10 File helpers test                       FAIL     1.09 s
 5/10 History test                            OK       0.34 s
 6/10 Location entry test                     OK       0.19 s
 7/10 Migration test                          FAIL     0.32 s
 8/10 SQLite test                             OK       0.18 s
 9/10 String test                             OK       0.03 s
10/10 URI helpers test                        OK       0.04 s

OK:         5
FAIL:       5
SKIP:       0
TIMEOUT:    0


The output from the failed tests:

 1/10 Completion model test                   FAIL     1.11 s

--- command ---
/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-completion-model
--- stderr ---

(/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-completion-model:22541): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.
-------

 2/10 Embed utils test                        FAIL     1.10 s

--- command ---
/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-embed-utils
--- stderr ---

(/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-embed-utils:22545): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.
-------

 3/10 Encodings test                          FAIL     1.10 s

--- command ---
/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-encodings
--- stderr ---

(/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-encodings:22546): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.
-------

 4/10 File helpers test                       FAIL     1.09 s

--- command ---
/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-file-helpers
--- stdout ---
/lib/ephy-file-helpers/init: OK
/lib/ephy-file-helpers/get_downloads_dir: 
--- stderr ---

(/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-file-helpers:22547): GLib-GIO-ERROR **: Settings schema 'org.gnome.Epiphany.state' is not installed

-------

 7/10 Migration test                          FAIL     0.32 s

--- command ---
/<<PKGBUILDDIR>>/build-deb/tests/test-ephy-migration
--- stdout ---
/lib/ephy-profile-utils/do_migration_simple: OK
/lib/ephy-profile-utils/do_migration_invalid: 
--- stderr ---
**
ERROR:../tests/ephy-migration-test.c:45:test_do_migration_invalid: assertion failed: (ret == FALSE)
-------
Comment 4 GNOME Infrastructure Team 2018-08-03 21:07:34 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/epiphany/issues/388.