Bug#907896: tracker-miners FTBFS in autopkgtest with latest glib2.0

2018-09-08 Thread Tim
This test failure seems to be specific to the schroot environment. I
cannot reproduce outside of a schroot.

Glib mime-type detection is failing, as its unable to locate/open the
test file, when calling get_content_type().



Bug#907896: tracker-miners FTBFS in autopkgtest with latest glib2.0

2018-09-05 Thread Tim
I think it might be better to just write some random text to the test
file, so that all versions of glib continue to return "text/plain".


Just checking that with upstream, but can prepare a patch.



Bug#907896: tracker-miners FTBFS in autopkgtest with latest glib2.0

2018-09-03 Thread Paul Gevers
Source: tracker-miners
Control: found -1 tracker-miners/2.0.4-2
Tags: ftbfs
Severity: serious
X-Debbugs-CC: debian...@lists.debian.org, glib...@packages.debian.org
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 glib2.0

Dear maintainers,

With a recent upload of glib2.0 the autopkgtest of tracker-miners
started to fail in unstable and testing, because the requested build
fails. I copied the output below. To be honest, the error indicates to
me that the test suite needs to be updated for a changed mime-type. But
you may disagree with me on that.

For your info, also the builds on reproducible-builds fail, although
that seems to be due to different reasons, as that already happens for a
long time:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/tracker-miners.html

Currently this regression is contributing to the delay of the migration
of glib2.0 to testing [1]. Could you please investigate the situation
and reassign the bug if you think the issues lies elsewhere?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=glib2.0

https://ci.debian.net/data/autopkgtest/testing/amd64/t/tracker-miners/928021/log.gz

ERROR: tracker-file-utils
=

**
Tracker:ERROR:tracker-file-utils-test.c:234:test_file_get_mime_type:
assertion failed (result == "text/plain"): ("application/x-zerosize" ==
"text/plain")
Aborted
# random seed: R02Sc1c5ab41dd178938e53952e83fd10d19
1..14
# Start of libtracker-common tests
# Start of file-utils tests
ok 1 /libtracker-common/file-utils/path_evaluate_name
PASS: tracker-file-utils 1 /libtracker-common/file-utils/path_evaluate_name
# Tracker-DEBUG: Removing path:'/usr/share/local', it is in path:'/usr/'
# Tracker-DEBUG: Removing path:'/home/ivan', it is in path:'/home'
ok 2 /libtracker-common/file-utils/path_list_filter_duplicates
PASS: tracker-file-utils 2
/libtracker-common/file-utils/path_list_filter_duplicates
# Tracker-DEBUG: Removing path:'/home/user/MyDocs/visible', it is in
path:'/home/user/MyDocs'
# Tracker-DEBUG: Removing path:'/home/user/MyDocs/.sounds', it is in
path:'/home/user/MyDocs'
ok 3
/libtracker-common/file-utils/path_list_filter_duplicates_with_exceptions
PASS: tracker-file-utils 3
/libtracker-common/file-utils/path_list_filter_duplicates_with_exceptions
Bail out!
Tracker:ERROR:tracker-file-utils-test.c:234:test_file_get_mime_type:
assertion failed (result == "text/plain"): ("application/x-zerosize" ==
"text/plain")
ERROR: tracker-file-utils - Bail out!
Tracker:ERROR:tracker-file-utils-test.c:234:test_file_get_mime_type:
assertion failed (result == "text/plain"): ("application/x-zerosize" ==
"text/plain")




signature.asc
Description: OpenPGP digital signature