JunitTest_sfx2_complex failing on Windows after f5ab8bcbfd20

Luke Benes lukebenes at hotmail.com
Sun Jan 3 06:14:57 UTC 2021


After https://cgit.freedesktop.org/libreoffice/core/commit/?id=f5ab8bcbfd20
    WIN don't notify clipboard change with SolarMutex

I'm seeing the failure below on Windows 10 x86. Any idea why this would cause this failure? Let me know if you need any additional debugging info.

-Luke


[build JUT] sfx2_complex
JUnit version 4.10
------------------------------------------------------------
starting class: complex.sfx2.DocumentProperties
------------------------------------------------------------
.tempdir: file:///D:/lode/dev/core/workdir/JunitTest/sfx2_complex/user/user/test-temp/
Creating service DocumentProperties...
...done
Checking initialize ...
...done
Checking storing default-initialized meta data ...
...done
Checking loading default-initialized meta data ...
...done
Checking loading from test document...
...done
Checking meta-data import...
...done
Checking meta-data updates...
...done
Checking user-defined meta-data updates...
...done
Checking storing meta-data to file...
...done
Checking loading meta-data from stored file...
...done
Checking user-defined meta-data from stored file...
...done
Checking notification listener interface...
...done
------------------------------------------------------------
finishing class: complex.sfx2.DocumentProperties
------------------------------------------------------------
------------------------------------------------------------
starting class: complex.sfx2.DocumentMetadataAccess
------------------------------------------------------------
.tempdir: file:///D:/lode/dev/core/workdir/JunitTest/sfx2_complex/user/user/test-temp/
Creating document with Repository...
...done
Checking that new repository is initialized...
...done
Checking some invalid args...
...done
Checking file addition/removal...
...done
Checking mapping...
...done
Checking storing and loading...
...done
Checking storing and loading via model...
...done
.tempdir: file:///D:/lode/dev/core/workdir/JunitTest/sfx2_complex/user/user/test-temp/
Loading test document...
...done
Checking RDFa in loaded test document...
...done
Storing test document...
...done
Loading test document...
...done
Checking RDFa in loaded test document...
...done
.tempdir: file:///D:/lode/dev/core/workdir/JunitTest/sfx2_complex/user/user/test-temp/
------------------------------------------------------------
finishing class: complex.sfx2.DocumentMetadataAccess
------------------------------------------------------------
E.--------------------------------------------------------------------------------
starting class: complex.sfx2.UndoManager
connecting ...
.testing: text document
.testing: request serialization
.testing: drawing document
.testing: broken scripts
.testing: chart document
.testing: presentation document

tearing down connection
finished class: complex.sfx2.UndoManager
--------------------------------------------------------------------------------

Time: 69.994
There was 1 failure:
1) complex.sfx2.DocumentMetadataAccess
java.lang.AssertionError: expected:<0> but was:<-1073741819>
        at org.junit.Assert.fail(Assert.java:93)
        at org.junit.Assert.failNotEquals(Assert.java:647)
        at org.junit.Assert.assertEquals(Assert.java:128)
        at org.junit.Assert.assertEquals(Assert.java:472)
        at org.junit.Assert.assertEquals(Assert.java:456)
        at org.openoffice.test.OfficeConnection.tearDown(OfficeConnection.java:150)
        at complex.sfx2.DocumentMetadataAccess.tearDownConnection(DocumentMetadataAccess.java:1222)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:36)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
        at org.junit.runners.Suite.runChild(Suite.java:128)
        at org.junit.runners.Suite.runChild(Suite.java:24)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
        at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
        at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
        at org.junit.runner.JUnitCore.main(JUnitCore.java:45)

FAILURES!!!
Tests run: 11,  Failures: 1

to rerun just this failed test without all others, run:

    make JunitTest_sfx2_complex


More information about the LibreOffice mailing list