Bug 126776 - SdImportTest::testDocumentLayout fails
Summary: SdImportTest::testDocumentLayout fails
Status: RESOLVED MOVED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Dev-Bugs
  Show dependency treegraph
 
Reported: 2019-08-08 16:30 UTC by Paul Menzel
Modified: 2019-08-12 22:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Menzel 2019-08-08 16:30:50 UTC
Build LibreOffice 6.3.0.4 with `DISPLAY=` (unset) the test below fails.

```

bootstrapfixture.cxx:199:Assertion
Test name: SdImportTest::testDocumentLayout
equality assertion failed
- Expected: 0
- Actual  : 256
- failed to execute: sh /dev/shm/bee-root/libreoffice/libreoffice-6.3.0.4-0/build/bin/odfvalidator.sh -M /dev/shm/bee-root/libreoffice/libreoffice-6.3.0.4-0/source/schema/libreoffice/OpenDocument-manifest-schema-v1.3+libreoffice.rng -D /dev/shm/bee-root/libreoffice/libreoffice-6.3.0.4-0/source/schema/libreoffice/OpenDocument-dsig-schema-v1.3+libreoffice.rng -O /dev/shm/bee-root/libreoffice/libreoffice-6.3.0.4-0/source/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng -m /dev/shm/bee-root/libreoffice/libreoffice-6.3.0.4-0/source/schema/mathml2/mathml2.xsd /tmp/lu933312w9ae3.tmp > /tmp/lu933312w9ae8.tmp

Failures !!!
Run: 84   Failure total: 1   Failures: 1   Errors: 0

Error: a unit test failed, please do one of:

make CppunitTest_sd_import_tests CPPUNITTRACE="gdb --args"
    # for interactive debugging on Linux
make CppunitTest_sd_import_tests VALGRIND=memcheck
    # for memory checking
make CppunitTest_sd_import_tests DEBUGCPPUNIT=TRUE
    # for exception catching

You can limit the execution to just one particular test by:

make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...

make[1]: *** [/dev/shm/bee-root/libreoffice/libreoffice-6.3.0.4-0/source/solenv/gbuild/CppunitTest.mk:113: /dev/shm/bee-root/libreoffice/libreoffice-6.3.0.4-0/build/workdir/CppunitTest/sd_import_tests.test] Error 1
```
Comment 1 Xisco Faulí 2019-08-09 09:44:18 UTC
Hello Paul Menzel,
Since this is build issue and not a software issue, would you mind sending an
email to the dev list instead? ->
https://wiki.documentfoundation.org/Development/Mailing_List
Closing as RESOLVED MOVED