3.7.3 new tiff-photo test fails
- tracker-miners 3.7.3
- Debian Unstable amd64
The new tiff-photo-1 test is failing for me.
Log excerpt
=================================== 59/98 ====================================
test: tracker-miners:extractor+images / tiff-photo-1
start time: 17:37:35
duration: 0.37s
result: exit status 1
command: MALLOC_PERTURB_=194 TRACKER_DEBUG=statistics
TRACKER_FUNCTIONAL_TEST_CONFIG=/<<PKGBUILDDIR>>/debian/testtmp/tests/functional-tests/config/configuration.json
ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1
UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
PYTHONPATH=/usr/lib/x86_64-linux-gnu/tracker-3.0/ TZ=Europe/Amsterdam TRACKER_EXTRACT_DEADLINE=5
/usr/bin/python3 /<<PKGBUILDDIR>>/tests/functional-tests/test_extractor_generic.py /
<<PKGBUILDDIR>>/tests/functional-tests/data/extractor-content/images/tiff-photo-1.expected.json
----------------------------------- stdout -----------------------------------
tracker-extract returned: {
"@context": {
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"nao": "http://tracker.api.gnome.org/ontology/v3/nao#",
"nrl": "http://tracker.api.gnome.org/ontology/v3/nrl#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"fts": "http://tracker.api.gnome.org/ontology/v3/fts#",
"nmm": "http://tracker.api.gnome.org/ontology/v3/nmm#",
"slo": "http://tracker.api.gnome.org/ontology/v3/slo#",
"tracker": "http://tracker.api.gnome.org/ontology/v3/tracker#",
"dc": "http://purl.org/dc/elements/1.1/",
"nfo": "http://tracker.api.gnome.org/ontology/v3/nfo#",
"osinfo": "http://tracker.api.gnome.org/ontology/v3/osinfo#",
"nco": "http://tracker.api.gnome.org/ontology/v3/nco#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"nie": "http://tracker.api.gnome.org/ontology/v3/nie#",
"mfo": "http://tracker.api.gnome.org/ontology/v3/mfo#"
},
"@graph": [
{
"@id": "file:///<<PKGBUILDDIR>>/tests/functional-tests/data/extractor-content/images/tiff-photo-1.tiff",
"nao:numericRating": "5",
"nmm:fnumber": "2.400000",
"nfo:orientation": {
"@id": "nfo:orientation-top"
},
"dc:format": "image/tiff",
"nie:title": "Photograph",
"nfo:width": "10",
"nie:description": "Photograph description",
"nco:creator": {
"@id": "urn:contact:Author",
"nco:fullname": "Author",
"@type": "nco:Contact"
},
"nmm:exposureTime": "0.000092",
"nmm:meteringMode": {
"@id": "nmm:metering-mode-pattern"
},
"nmm:whiteBalance": {
"@id": "nmm:white-balance-auto"
},
"@type": [
"nfo:Image",
"nmm:Photo"
],
"nmm:isoSpeed": "50",
"nie:contentCreated": "2024-04-28T18:43:11",
"nao:hasTag": {
"@id": "urn:tag:bright",
"nao:prefLabel": "bright",
"@type": "nao:Tag"
},
"nfo:equipment": {
"@id": "urn:equipment:Apple:iPhone%205:",
"nfo:model": "iPhone 5",
"@type": "nfo:Equipment",
"nfo:manufacturer": "Apple"
},
"nmm:focalLength": "-0.000000",
"nmm:flash": {
"@id": "nmm:flash-off"
},
"slo:location": {
"@id": "_:__0",
"slo:postalAddress": {
"@id": "urn:uuid:52caedcd-5dfc-48ba-a373-3c31863812ca",
"nco:streetAddress": "Sublocation yadda yadda",
"@type": "nco:PostalAddress"
},
"@type": "slo:GeoLocation"
},
"nie:copyright": "Copyright",
"nfo:height": "10",
"nco:contributor": {
"@id": "urn:contact:Author"
}
}
]
}
----------------------------------- stderr -----------------------------------
F
======================================================================
FAIL: tional-tests/data/extractor-content/images/tiff-photo-1.expe (__main__.GenericExtractionTestCase.tional-tests/data/extractor-content/images/tiff-photo-1.expe)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/functional-tests/test_extractor_generic.py", line 105, in generic_test_extraction
self.__assert_extraction_ok(jsonld)
File "/<<PKGBUILDDIR>>/tests/functional-tests/test_extractor_generic.py", line 140, in __assert_extraction_ok
self.assert_extract_result_matches_spec(
File "/<<PKGBUILDDIR>>/tests/functional-tests/fixtures.py", line 574, in assert_extract_result_matches_spec
self.assert_extract_result_matches_spec(
File "/<<PKGBUILDDIR>>/tests/functional-tests/fixtures.py", line 591, in assert_extract_result_matches_spec
self.assertEqual(
AssertionError: '0.000000' != '-0.000000'
- 0.000000
+ -0.000000
? +
: on property 'nmm:focalLength' from file /<<PKGBUILDDIR>>/tests/functional-tests/data/extractor-content/images/tiff-photo-1.tiff
(requested on: '/<<PKGBUILDDIR>>/tests/functional-tests/data/extractor-content/images/tiff-photo-1.expected.json')