Jenkins and XDG_DATA_DIRS
David Faure
faure at kde.org
Sat Mar 19 21:27:38 UTC 2016
It appears that something regressed in the jenkins setup.
Almost all of the current failures in the "Frameworks kf5-qt5" group come from XDG_DATA_DIRS
not being set up correctly anymore, I think.
E.g. in https://build.kde.org/view/Frameworks%20kf5-qt5/job/kio%20master%20kf5-qt5/269/PLATFORM=Linux,compiler=gcc/console
* KUriFilterTest and others fail to see the servicetype "KUriFilter/Plugin" which kio installs itself
The kio job says
export XDG_DATA_DIRS="/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/kwidgetsaddons/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/kauth/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/sonnet/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/knotifications/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/kdesupport/extra-cmake-modules/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/kdoctools/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/ktextwidgets/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/kconfigwidgets/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/kjobwidgets/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/kcoreaddons/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/breeze-icons/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/kglobalaccel/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/kservice/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/frameworks/kwallet/inst/usr/share:/srv/jenkins/install/ubuntu/x86_64/g++/kf5-qt5/kdesupport/phonon/phonon/inst/usr/share:$XDG_DATA_DIRS:/usr/share:/usr/share"
This is missing the dir for kio itself.
Same kind of problem in kemoticonstest (which loads its own plugin), frameworkintegration (same).
Is this a voluntary change, as in, we should fix the tests to work without the need to make install first?
=========
Also, kservice and kdelibs4support fail because XDG_CONFIG_DIRS doesn't contain
the kservice install prefix (+/etc/xdg).
For some strange reason XDG_CONFIG_DIRS, during the kdelibs4support tests, contains
the kio prefix but no other.
That one surely can't be intentional.
Can you have a look?
Thanks.
--
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5
More information about the Kde-frameworks-devel
mailing list