See <https://builds.apache.org/job/olingo-odata2-quality/717/changes>

Changes:

[michael.bolz] [OLINGO-937] Improve XmlFactory creation/caching

------------------------------------------
[...truncated 12390 lines...]
        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.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
        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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

xxeApiWithProtection(org.apache.olingo.odata2.core.commons.XmlHelperTest)  Time 
elapsed: 0.007 sec  <<< FAILURE!
java.lang.AssertionError: expected:<class 
com.ctc.wstx.exc.WstxParsingException> but was:<class 
javax.xml.stream.XMLStreamException>
        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:147)
        at 
org.apache.olingo.odata2.core.commons.XmlHelperTest.xxeApiWithProtection(XmlHelperTest.java:178)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
        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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

xmlDoctypeApiWithProtection(org.apache.olingo.odata2.core.commons.XmlHelperTest)
  Time elapsed: 0.009 sec  <<< FAILURE!
java.lang.AssertionError: expected:<class 
com.ctc.wstx.exc.WstxParsingException> but was:<class 
javax.xml.stream.XMLStreamException>
        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:147)
        at 
org.apache.olingo.odata2.core.commons.XmlHelperTest.xmlDoctypeApiWithProtection(XmlHelperTest.java:192)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
        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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

Running org.apache.olingo.odata2.core.commons.EncoderTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.olingo.odata2.core.commons.ContentTypeTest
Tests run: 89, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.032 sec
Running org.apache.olingo.odata2.core.commons.DecoderTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.olingo.odata2.core.ODataRequestHandlerValidationTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.82 sec
Running org.apache.olingo.odata2.core.servlet.RestUtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.olingo.odata2.core.servlet.ODataServletTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.619 sec
Running org.apache.olingo.odata2.core.ODataContextImplTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.olingo.odata2.core.ContentNegotiatorTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.olingo.odata2.core.ODataRequestTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.olingo.odata2.core.uri.ExpandSelectTreeNodeBuilderTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.176 sec
Running org.apache.olingo.odata2.core.uri.expression.TestTokenizer
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.olingo.odata2.core.uri.expression.TestAbapCompatibility
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Running org.apache.olingo.odata2.core.uri.expression.TestSpec
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.olingo.odata2.core.uri.expression.TestExceptionTexts
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.olingo.odata2.core.uri.expression.FilterToJsonTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.olingo.odata2.core.uri.expression.TestParserExceptions
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.olingo.odata2.core.uri.expression.TestParser
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.apache.olingo.odata2.core.uri.ExpandSelectTreeCreatorImplTest
Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec
Running org.apache.olingo.odata2.core.uri.UriInfoTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.olingo.odata2.core.uri.UriParserTest
Tests run: 80, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.609 sec
Running org.apache.olingo.odata2.core.uri.UriParserFacadeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.olingo.odata2.core.uri.QueryOptionsEnumTest
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.olingo.odata2.core.batch.BatchResponseTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.apache.olingo.odata2.core.batch.BatchRequestParserTest
Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.253 sec
Running org.apache.olingo.odata2.core.batch.BatchRequestTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.apache.olingo.odata2.core.batch.BatchRequestWriterTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.olingo.odata2.core.batch.AcceptParserTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.olingo.odata2.core.batch.BatchResponseWriterTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.olingo.odata2.core.batch.v2.HeaderTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.olingo.odata2.core.batch.v2.BatchTransformatorCommonTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.olingo.odata2.core.batch.v2.BatchLineReaderTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.olingo.odata2.core.batch.v2.BatchParserCommonTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.olingo.odata2.core.batch.BatchRequestWriterITTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.olingo.odata2.core.batch.BatchResponseParserTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.apache.olingo.odata2.core.batch.BatchResponseWriterITTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.olingo.odata2.core.ODataResponseTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.olingo.odata2.core.exception.ODataExceptionTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.olingo.odata2.core.exception.MessageReferenceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.olingo.odata2.core.exception.ODataMessageTextVerifierTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.olingo.odata2.core.exception.MessageServiceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.olingo.odata2.core.rest.ODataExceptionMapperImplTest
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.17 sec
Running org.apache.olingo.odata2.core.processor.ODataSingleProcessorServiceTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec

Results :

Failed tests:   
lolApiWithProtection(org.apache.olingo.odata2.core.commons.XmlHelperTest): 
expected:<class com.ctc.wstx.exc.WstxParsingException> but was:<class 
javax.xml.stream.XMLStreamException>
  xxeApiWithProtection(org.apache.olingo.odata2.core.commons.XmlHelperTest): 
expected:<class com.ctc.wstx.exc.WstxParsingException> but was:<class 
javax.xml.stream.XMLStreamException>
  
xmlDoctypeApiWithProtection(org.apache.olingo.odata2.core.commons.XmlHelperTest):
 expected:<class com.ctc.wstx.exc.WstxParsingException> but was:<class 
javax.xml.stream.XMLStreamException>

Tests run: 1804, Failures: 3, Errors: 0, Skipped: 4

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] olingo-odata2-parent .............................. SUCCESS [14.027s]
[INFO] olingo-odata2-lib ................................. SUCCESS [0.381s]
[INFO] olingo-odata2-api ................................. SUCCESS [7.835s]
[INFO] olingo-odata2-api-annotation ...................... SUCCESS [1.163s]
[INFO] olingo-odata2-testutil ............................ SUCCESS [5.546s]
[INFO] olingo-odata2-core ................................ FAILURE [27.505s]
[INFO] olingo-odata2-ref ................................. SKIPPED
[INFO] olingo-odata2-fit ................................. SKIPPED
[INFO] olingo-odata2-ref-web ............................. SKIPPED
[INFO] olingo-odata2-jpa-processor ....................... SKIPPED
[INFO] olingo-odata2-jpa-processor-api ................... SKIPPED
[INFO] olingo-odata2-jpa-processor-core .................. SKIPPED
[INFO] olingo-odata2-jpa-processor-ref ................... SKIPPED
[INFO] olingo-odata2-jpa-processor-ref-web ............... SKIPPED
[INFO] olingo-odata2-annotation-processor ................ SKIPPED
[INFO] olingo-odata2-annotation-processor-api ............ SKIPPED
[INFO] olingo-odata2-annotation-processor-core ........... SKIPPED
[INFO] olingo-odata2-annotation-processor-ref ............ SKIPPED
[INFO] olingo-odata2-annotation-processor-ref-web ........ SKIPPED
[INFO] olingo-odata2-dist ................................ SKIPPED
[INFO] olingo-odata2-dist-lib ............................ SKIPPED
[INFO] olingo-odata2-dist-jpa ............................ SKIPPED
[INFO] olingo-odata2-dist-janos .......................... SKIPPED
[INFO] olingo-odata2-dist-ref ............................ SKIPPED
[INFO] olingo-odata2-dist-javadoc ........................ SKIPPED
[INFO] olingo-odata2-sample .............................. SKIPPED
[INFO] olingo-odata2-sample-cars-service-archetype ....... SKIPPED
[INFO] olingo-odata2-sample-cars-annotation-archetype .... SKIPPED
[INFO] olingo-odata2-sample-cars-jpa-archetype ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:00.540s
[INFO] Finished at: Wed Apr 20 06:23:25 UTC 2016
[INFO] Final Memory: 46M/189M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on 
project olingo-odata2-core: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-lib/odata-core/target/surefire-reports>
 for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :olingo-odata2-core
Build step 'Invoke top-level Maven targets' marked build as failure

Reply via email to