Test name: testSectionProtection::Import_Export_Import equality assertion failed (CppunitTest_sw_ooxmlexport5)

David Gerard dgerard at gmail.com
Fri Apr 3 04:33:02 PDT 2015


I routinely run LO master, compiled from source (because I can). I run
Xubuntu 14.04.

On my old laptop (which has successfully compiled LO from git for the
past year or so), I was getting this error:

====
xmltesttools.cxx:70:Assertion
Test name: testSectionProtection::Import_Export_Import
equality assertion failed
- Expected: 1
- Actual  : 2
- In <file:///tmp/lu1i6q7w.tmp>, XPath '//w:formProt[1]' number of
nodes is incorrect

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

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

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

and retry using: make CppunitTest_sw_ooxmlexport5

make[1]: *** [/home/fun/libreoffice/workdir/CppunitTest/sw_ooxmlexport5.test]
Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2
====

I tried "make clean" (just in case of artifacts messing something up),
tried again and it still happened.

As it happened I got a new laptop yesterday, fresh Xubuntu, git cloned
LO afresh and tried again ... and got the same error. This has been
happening since Wednesday evening or so.

I presume because it hasn't been fixed that it's not happening for
everyone. Is it happening for anyone else?

I note this commit by Miklos Vajna, related to this error:

http://cgit.freedesktop.org/libreoffice/core/commit/?id=3a54090f1ef4469cf824fcdb22c100c49d2ab7db
CppunitTest_sw_ooxmlexport5: try to make MacOSX_37-tdf-buildbot happy

Presumably this was to fix the same problem on MacOSX.

So ... what's going on with my setup? (I have both laptops here for
the weekend and can test stuff.)


- d.


More information about the LibreOffice mailing list