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 793724 - testsuite broken in 2.0.3 with new libunistring 0.9.8
testsuite broken in 2.0.3 with new libunistring 0.9.8
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Tests
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2018-02-22 15:37 UTC by Gianfranco Costamagna
Modified: 2018-03-03 19:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gianfranco Costamagna 2018-02-22 15:37:18 UTC
Hello, this is the test log, somewhere the ordering of some strings is messed up, moving the strings at the bottom of the test file makes it pass with new libunistring and fail with the old one

I think I'll disable the test, or move the teo "Fast food" lines at the bottom, unless you ask me to avoid it, this is the last blocker for new libunistring in Ubuntu.

thanks

LOG:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/amd64/t/tracker/20180216_171306_f1408@/log.gz


(/tmp/autopkgtest.4ss6sp/build.dn3/src/tests/libtracker-data/.libs/tracker-ontology:8845): Tracker-ERROR **: --- /tmp/autopkgtest.4ss6sp/build.dn3/src/tests/libtracker-data/nie/filter-description-1.out	2017-04-27 15:56:50.000000000 +0000
+++ -	2018-02-16 17:12:53.844992355 +0000
@@ -12,8 +12,6 @@
 "Church, Mosque"
 "City, City center, Town"
 "City, City center, Town"
-"Fast food, Restaurant, Caf?, Bar"
-"Fast food, Restaurant, Caf?, Bar"
 "Fields are sent as independent samples. The field is indicated (on a per sample basis"
 "Fields are sent as independent samples. The field is indicated (on a per sample basis)"
 "Hotel, Camping site"
@@ -35,3 +33,5 @@
 "The content may contain a mix of interlaced modes"
 "Tourist information office, Government office, Library, Post office, Hospital, Police "
 "Tourist information office, Government office, Library, Post office, Hospital, Police "
+"Fast food, Restaurant, Caf?, Bar"
+"Fast food, Restaurant, Caf?, Bar"

# Tracker-DEBUG: Preparing query: 'SELECT "2_u" COLLATE TRACKER FROM (SELECT "nie:InformationElement1"."ID" AS "1_u", "nie:InformationElement1"."nie:description" AS "2_u" FROM "nie:InformationElement" AS "nie:InformationElement1" WHERE "2_u" IS NOT NULL) ORDER BY "2_u" COLLATE TRACKER'
# Tracker-FATAL-ERROR: --- /tmp/autopkgtest.4ss6sp/build.dn3/src/tests/libtracker-data/nie/filter-description-1.out	2017-04-27 15:56:50.000000000 +0000
+++ -	2018-02-16 17:12:53.844992355 +0000
@@ -12,8 +12,6 @@
 "Church, Mosque"
 "City, City center, Town"
 "City, City center, Town"
-"Fast food, Restaurant, Caf?, Bar"
-"Fast food, Restaurant, Caf?, Bar"
 "Fields are sent as independent samples. The field is indicated (on a per sample basis"
 "Fields are sent as independent samples. The field is indicated (on a per sample basis)"
 "Hotel, Camping site"
@@ -35,3 +33,5 @@
 "The content may contain a mix of interlaced modes"
 "Tourist information office, Government office, Library, Post office, Hospital, Police "
 "Tourist information office, Government office, Library, Post office, Hospital, Police "
+"Fast food, Restaurant, Caf?, Bar"
+"Fast food, Restaurant, Caf?, Bar"
Trace/breakpoint trap (core dumped)
Comment 1 Gianfranco Costamagna 2018-03-03 19:18:40 UTC
Fixed with libunistring 0.9.9, probably the 

"Update after gnulib changed.
NEWS: Mention the multithread-safety fix from gnulib module 'malloca'."

mentioned in changelog fixed it.

(I'll reopen in case something is wrong with my testing)