Skip to content

file_format_t test fails on s390x #2473

@gaudenz

Description

@gaudenz

The file_format_t test fails on the s390x architecture on Debian build servers. The same test also fails on hppa, powerpc and ppc64. But these are not Debian release architectures. While running Mapper on s390x is probably unrealistic, it would be nice to get this fixed for Mapper to be able to be included in the next Debian release.

test 15
      Start 15: file_format_t

15: Test command: /usr/bin/cmake "-P" "file_format_t-RUN.cmake"
15: Working Directory: /build/reproducible-path/openorienteering-mapper-0.9.6/obj-s390x-linux-gnu/test
15: Test timeout computed to be: 1500
15: ********* Start testing of FileFormatTest *********
15: Config: Using QtTest library 5.15.17, Qt 5.15.17 (s390x-big_endian-lp64 shared (dynamic) release build; by GCC 15.2.0), debian unknown
15: PASS   : FileFormatTest::initTestCase()
15: PASS   : FileFormatTest::mapCoordtoString(max,-1/0)
15: PASS   : FileFormatTest::mapCoordtoString(-2,max/1)
15: PASS   : FileFormatTest::mapCoordtoString(min,min/255)
15: PASS   : FileFormatTest::mapCoordFromString(plain)
15: PASS   : FileFormatTest::mapCoordFromString(multi ' ')
15: PASS   : FileFormatTest::mapCoordFromString(early \n)
15: PASS   : FileFormatTest::mapCoordFromString(late \r)
15: PASS   : FileFormatTest::fixupExtensionTest(file.omap)
15: PASS   : FileFormatTest::fixupExtensionTest(file)
15: PASS   : FileFormatTest::fixupExtensionTest(file.)
15: PASS   : FileFormatTest::fixupExtensionTest(file_omap)
15: PASS   : FileFormatTest::fixupExtensionTest(file.xmap)
15: PASS   : FileFormatTest::fixupExtensionTest(f.omap.zip)
15: PASS   : FileFormatTest::understandsTest(XML < xml legacy)
15: PASS   : FileFormatTest::understandsTest(XML < xml regular)
15: PASS   : FileFormatTest::understandsTest(XML < xml start)
15: PASS   : FileFormatTest::understandsTest(XML < xml incomplete 1)
15: PASS   : FileFormatTest::understandsTest(XML < xml incomplete 2)
15: PASS   : FileFormatTest::understandsTest(XML < '')
15: PASS   : FileFormatTest::understandsTest(XML < xml other)
15: PASS   : FileFormatTest::understandsTest(XML < 'OMAPxxx')
15: PASS   : FileFormatTest::understandsTest(XML < 0x0CADxxx)
15: XFAIL  : FileFormatTest::understandsTest(OCD < 0x0CADxxx) OCD format not support on big endian systems
15:    Loc: [/build/reproducible-path/openorienteering-mapper-0.9.6/test/file_format_t.cpp(736)]
15: PASS   : FileFormatTest::understandsTest(OCD < 0x0CADxxx)
15: XFAIL  : FileFormatTest::understandsTest(OCD < 0x0CAD) OCD format not support on big endian systems
15:    Loc: [/build/reproducible-path/openorienteering-mapper-0.9.6/test/file_format_t.cpp(736)]
15: PASS   : FileFormatTest::understandsTest(OCD < 0x0CAD)
15: XFAIL  : FileFormatTest::understandsTest(OCD < 0x0c) OCD format not support on big endian systems
15:    Loc: [/build/reproducible-path/openorienteering-mapper-0.9.6/test/file_format_t.cpp(736)]
15: PASS   : FileFormatTest::understandsTest(OCD < 0x0c)
15: XFAIL  : FileFormatTest::understandsTest(OCD < '') OCD format not support on big endian systems
15:    Loc: [/build/reproducible-path/openorienteering-mapper-0.9.6/test/file_format_t.cpp(736)]
15: PASS   : FileFormatTest::understandsTest(OCD < '')
15: XFAIL  : FileFormatTest::understandsTest(OCD < 'OMAPxxx') OCD format not support on big endian systems
15:    Loc: [/build/reproducible-path/openorienteering-mapper-0.9.6/test/file_format_t.cpp(736)]
15: PASS   : FileFormatTest::understandsTest(OCD < 'OMAPxxx')
15: XFAIL  : FileFormatTest::understandsTest(OCD < xml start) OCD format not support on big endian systems
15:    Loc: [/build/reproducible-path/openorienteering-mapper-0.9.6/test/file_format_t.cpp(736)]
15: PASS   : FileFormatTest::understandsTest(OCD < xml start)
15: PASS   : FileFormatTest::formatForDataTest(XML < xml legacy)
15: PASS   : FileFormatTest::formatForDataTest(XML < xml regular)
15: PASS   : FileFormatTest::formatForDataTest(XML < xml start)
15: PASS   : FileFormatTest::formatForDataTest(XML < xml incomplete 1)
15: PASS   : FileFormatTest::formatForDataTest(XML < xml incomplete 2)
15: PASS   : FileFormatTest::formatForDataTest(XML < '')
15: PASS   : FileFormatTest::formatForDataTest(XML < xml other)
15: PASS   : FileFormatTest::formatForDataTest(XML < 'OMAPxxx')
15: PASS   : FileFormatTest::formatForDataTest(XML < 0x0CADxxx)
15: PASS   : FileFormatTest::formatForDataTest(OCD < 0x0CADxxx)
15: PASS   : FileFormatTest::formatForDataTest(OCD < 0x0CAD)
15: PASS   : FileFormatTest::formatForDataTest(OCD < 0x0c)
15: PASS   : FileFormatTest::formatForDataTest(OCD < '')
15: PASS   : FileFormatTest::formatForDataTest(OCD < 'OMAPxxx')
15: PASS   : FileFormatTest::formatForDataTest(OCD < xml start)
15: ERROR 4: map.osm: No such file or directory
15: PASS   : FileFormatTest::issue_513_high_coordinates(testdata:issue-513-coords-outside-printable.xmap)
15: ERROR 4: map.osm: No such file or directory
15: PASS   : FileFormatTest::issue_513_high_coordinates(testdata:issue-513-coords-outside-printable.omap)
15: ERROR 4: map.osm: No such file or directory
15: PASS   : FileFormatTest::issue_513_high_coordinates(testdata:issue-513-coords-outside-qint32.omap)
15: PASS   : FileFormatTest::saveAndLoad(data:barrier.omap <> XML)
15: PASS   : FileFormatTest::saveAndLoad(data:rotated.omap <> XML)
15: PASS   : FileFormatTest::saveAndLoad(data:tags.omap <> XML)
15: PASS   : FileFormatTest::saveAndLoad(data:text-object.omap <> XML)
15: PASS   : FileFormatTest::saveAndLoad(data:undo.omap <> XML)
15: PASS   : FileFormatTest::saveAndLoad(data:/examples/complete map.omap <> XML)
15: PASS   : FileFormatTest::saveAndLoad(data:/examples/forest sample.omap <> XML)
15: PASS   : FileFormatTest::saveAndLoad(data:/examples/overprinting.omap <> XML)
15: PASS   : FileFormatTest::saveAndLoad(testdata:templates/world-file.xmap <> XML)
15: PASS   : FileFormatTest::saveAndLoad(data:undefined-objects.omap <> XML)
15: PASS   : FileFormatTest::pristineMapTest()
15: ERROR 6: Field of name 'Name' is not supported in GPX schema. Use GPX_USE_EXTENSIONS creation option to allow use of the <extensions> element.
15: ERROR 6: Field of name 'Name' is not supported in GPX schema. Use GPX_USE_EXTENSIONS creation option to allow use of the <extensions> element.
15: ERROR 6: Geometry type of `Polygon' not supported in GPX.
15: 
15: PASS   : FileFormatTest::ogrExportTest(complete map)
15: PASS   : FileFormatTest::kmlCourseExportTest()
15: PASS   : FileFormatTest::iofCourseExportTest()
15: PASS   : FileFormatTest::importTemplateTest(Course Design)
15: PASS   : FileFormatTest::importTemplateTest(KMZ)
15: PASS   : FileFormatTest::ocdTextExportTest(0 chars)
15: PASS   : FileFormatTest::ocdTextExportTest(3 chars)
15: PASS   : FileFormatTest::ocdTextExportTest(4 chars)
15: PASS   : FileFormatTest::ocdTextExportTest(7 chars)
15: PASS   : FileFormatTest::ocdTextExportTest(8 chars)
15: PASS   : FileFormatTest::ocdTextExportTest(5+Yee)
15: PASS   : FileFormatTest::ocdTextExportTest(6+Yee)
15: PASS   : FileFormatTest::ocdTextExportTest(7+Yee)
15: PASS   : FileFormatTest::ocdTextImportTest(0 from 0)
15: PASS   : FileFormatTest::ocdTextImportTest(0 from 5)
15: FAIL!  : FileFormatTest::ocdTextImportTest(13 from 13) 'ocd_v8_import.getObjectText(ocd_object).startsWith(expected)' returned FALSE. ()
15:    Loc: [/build/reproducible-path/openorienteering-mapper-0.9.6/test/file_format_t.cpp(1326)]
15: FAIL!  : FileFormatTest::ocdTextImportTest(15 from 20) 'ocd_v8_import.getObjectText(ocd_object).startsWith(expected)' returned FALSE. ()
15:    Loc: [/build/reproducible-path/openorienteering-mapper-0.9.6/test/file_format_t.cpp(1326)]
15: FAIL!  : FileFormatTest::ocdTextImportTest(16 from 20) 'ocd_v8_import.getObjectText(ocd_object).startsWith(expected)' returned FALSE. ()
15:    Loc: [/build/reproducible-path/openorienteering-mapper-0.9.6/test/file_format_t.cpp(1326)]
15: FAIL!  : FileFormatTest::ocdTextImportTest(20 from 20) 'ocd_v8_import.getObjectText(ocd_object).startsWith(expected)' returned FALSE. ()
15:    Loc: [/build/reproducible-path/openorienteering-mapper-0.9.6/test/file_format_t.cpp(1326)]
15: PASS   : FileFormatTest::ocdTextImportTest(\r\n)
15: FAIL!  : FileFormatTest::ocdTextImportTest(\r\n123) 'ocd_v8_import.getObjectText(ocd_object).startsWith(expected)' returned FALSE. ()
15:    Loc: [/build/reproducible-path/openorienteering-mapper-0.9.6/test/file_format_t.cpp(1326)]
15: PASS   : FileFormatTest::ocdPathImportTest(bezier, area)
15: PASS   : FileFormatTest::ocdPathImportTest(bezier, line)
15: PASS   : FileFormatTest::ocdPathImportTest(straight, area)
15: PASS   : FileFormatTest::ocdPathImportTest(straight, line)
15: PASS   : FileFormatTest::ocdPathImportTest(virtual gap, area)
15: PASS   : FileFormatTest::ocdPathImportTest(virtual gap, line)
15: PASS   : FileFormatTest::ocdPathImportTest(hole, area)
15: PASS   : FileFormatTest::ocdPathImportTest(hole, line)
15: PASS   : FileFormatTest::ocdPathImportTest(empty hole, area)
15: PASS   : FileFormatTest::ocdPathImportTest(empty hole, line)
15: PASS   : FileFormatTest::ocdPathImportTest(two empty holes, area)
15: PASS   : FileFormatTest::ocdPathImportTest(two empty holes, line)
15: PASS   : FileFormatTest::ocdPathImportTest(open areas with hole, area)
15: PASS   : FileFormatTest::ocdPathImportTest(open areas with hole, line)
15: PASS   : FileFormatTest::ocdPathImportTest(area with nested holes, area)
15: PASS   : FileFormatTest::ocdPathImportTest(area with nested holes, line)
15: QFATAL : FileFormatTest::ocdAreaSymbolTest() ASSERT failure in QTest::fetchData(): "Test data requested, but no testdata available.", file qtestcase.cpp, line 1226
15: FAIL!  : FileFormatTest::ocdAreaSymbolTest() Received a fatal error.
15:    Loc: [Unknown file(0)]
15: Totals: 90 passed, 6 failed, 0 skipped, 0 blacklisted, 611ms
15: ********* Finished testing of FileFormatTest *********
15: CMake Error at file_format_t-RUN.cmake:35 (message):
15:   Test file_format_t failed: Subprocess aborted
15: 
15: 
15/30 Test #15: file_format_t ......................***Failed    0.69 sec

The full build log can be found here: https://buildd.debian.org/status/fetch.php?pkg=openorienteering-mapper&arch=s390x&ver=0.9.6-2&stamp=1770835659&raw=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions