#13167: tracker and tracker-miners 2.3.2
-------------------------+-----------------------
Reporter: bdubbs | Owner: renodr
Type: enhancement | Status: assigned
Priority: normal | Milestone: 9.1
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
-------------------------+-----------------------
Comment (by renodr):
A majority of the tests seem to be timing out. I modified the timeout to
120 seconds and it still seems to have problems. My conclusion so far is
that the writebacktests in particular are waiting for a file to be
modified, and it is unable to do so (timeouts)
{{{
[0/1] Running all tests.
1/50 miners-common-date-time OK 0.02 s
2/50 miners-common-dbus OK 0.02 s
3/50 miners-common-file-utils OK 0.02 s
4/50 miners-common-sched OK 0.01 s
5/50 miners-common-type-utils OK 0.01 s
6/50 miners-common-utils OK 0.01 s
7/50 extract-extract-info OK 0.01 s
8/50 extract-module-manager OK 0.01 s
9/50 extract-guarantee OK 0.01 s
10/50 extract-utils OK 0.02 s
11/50 extract-xmp OK 0.02 s
12/50 extract-encoding OK 0.01 s
13/50 extract-exif OK 0.01 s
14/50 functional/extract/audio/audio-test-1 OK 0.17 s
15/50 functional/extract/audio/empty_albumi_song3 OK 0.17 s
16/50 functional/extract/audio/audio-test-2 OK 0.17 s
17/50 functional/extract/audio/audio-test-vorbis-extractor OK 0.17
s
18/50 functional/extract/images/test-image-1 FAIL 0.12 s (exit status
1)
19/50 functional/extract/images/xmp-loaded-1 OK 0.12 s
20/50 functional/extract/images/test-image-3 OK 0.17 s
21/50 functional/extract/images/corrupted-image OK 0.17 s
22/50 functional/extract/images/test-iptcdata-records OK 0.12 s
23/50 functional/extract/images/roi2 OK 0.17 s
24/50 functional/extract/images/test-image-4 OK 0.17 s
25/50 functional/extract/images/test-image-2 OK 0.17 s
26/50 functional/extract/images/comment-extension-block OK 0.12 s
27/50 functional/extract/images/roi OK 0.17 s
28/50 functional/extract/playlists/playlist-test-1 OK 0.17 s
29/50 functional/extract/office/oasis-doc OK 0.17 s
30/50 functional/extract/office/office-doc OK 0.17 s
31/50 functional/extract/office/powerpoint OK 0.12 s
32/50 functional/extract/office/pdf-doc OK 0.17 s
33/50 functional/extract/office/ps-doc OK 0.12 s
34/50 functional/extract/office/ps-doc-atend OK 0.17 s
35/50 functional/extract/office/psgz-doc OK 0.12 s
36/50 functional/extract/video/184505 OK 0.67 s
37/50 functional/extract/video/video-1 OK 0.57 s
38/50 functional/extract/video/video-2 OK 0.72 s
39/50 functional-300-miner-basic-ops FAIL 33.61 s (exit status
1)
40/50 functional-301-miner-resource-removal OK 0.12 s
41/50 functional-310-fts-basic FAIL 34.86 s (exit status
1)
42/50 functional-311-fts-file-operations FAIL 34.41 s (exit status
1)
43/50 functional-312-fts-stopwords OK 4.07 s
44/50 functional-401-extractor-flac-cuesheet FAIL 0.97 s (exit status
1)
45/50 functional-410-extractor-decorator OK 3.27 s
46/50 functional-500-writeback-images FAIL 8.52 s (exit status
1)
47/50 functional-501-writeback-image-details FAIL 11.53 s (exit status
1)
48/50 functional-502-writeback-audio FAIL 8.58 s (exit status
1)
49/50 functional-600-applications-camera SKIP 0.12 s
50/50 functional-601-applications-sync OK 10.53 s
Ok: 41
Expected Fail: 0
Fail: 8
Unexpected Pass: 0
Skipped: 1
Timeout: 0
}}}
For test-image-1, it appears that 'nao:hasTag' has not been extracted.
This *may* be a problem with taglib.
{{{
AssertionError: Missing: nao:hasTag : Property 'nao:hasTag' hasn't been
extracted from file
'/sources/tracker-miners-2.3.2/tracker-miners-2.3.2/tests/functional-tests
/test-extraction-data/images/test-image-1.jpg'
(requested on '/sources/tracker-miners-2.3.2/tracker-miners-2.3.2/tests
/functional-tests/test-extraction-data/images/test-image-1.expected.json')
}}}
For functional-300-miner-basic-ops, it seems that I get the same error
that Bruce gets:
{{{
gi.repository.GLib.GError: g-io-error-quark: Cannot invoke method; proxy
is for the well-known name org.freedesktop.Tracker1 without an owner, and
proxy was constructed with the
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag (0)
}}}
For functional-310-fts-basic, I get the same error as Bruce gets. Same
thing for 311-fts-file-operations. functional-401-extractor-flac-cuesheet
may be because we're missing libcue (it seems that tracker-miners-3.0 will
have improved detection of dependencies for tests). functional-500
-writeback-images, functional-501-writeback-image-details, and
functional-502-writeback-audio seem to be due to timeouts:
{{{
ERROR: test_writeback_aac (__main__.WritebackAudioTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./502-writeback-audio.py", line 58, in test_writeback_aac
self._writeback_test(self.datadir_path('writeback-test-8.mp4'))
File "./502-writeback-audio.py", line 43, in _writeback_test
self.wait_for_file_change(path, initial_mtime)
File "/sources/tracker-miners-2.3.2/tracker-miners-2.3.2/tests
/functional-tests/common/utils/writebacktest.py", line 117, in
wait_for_file_change
raise Exception(
Exception: Timeout waiting for /home/renodr/tracker-tests/tmppv6pl1c4
/writeback-test-8.mp4 to be updated (mtime has not changed)
}}}
At this point, I think it might be best to note that 8 tests are known to
fail. The patch that I had for this package previously redesigned the
testsuite to prevent these kind of timeout problems - but I'm not sure
that we want to backport them again to the tracker-2.3 series (when
they'll be done in tracker-3.0, which also seems to have lots of API
changes)
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/13167#comment:9>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page