Skip to content
Failed

Console Output

Started by an SCM change
Building in workspace /home/developer/.jenkins/jobs/jaxb-jsonld-jackson/workspace
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/kbss-cvut/jb4jsonld-jackson.git # timeout=10
Fetching upstream changes from https://github.com/kbss-cvut/jb4jsonld-jackson.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/kbss-cvut/jb4jsonld-jackson.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 02ca7b8494b501510df8c96838449fcaa1e40cd4 (origin/master)
Commit message: "[0.3.5] Upgraded core to 0.3.5 and bumped version."
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 02ca7b8494b501510df8c96838449fcaa1e40cd4
 > git rev-list 4cc37f7890e6e776f0246f55df03108ac5fd29ef # timeout=10
[workspace] $ /opt/apache-maven/bin/mvn clean deploy -B -P release
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building JB4JSON-LD-Jackson 0.3.5
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jb4jsonld-jackson ---
[INFO] Deleting /home/developer/.jenkins/jobs/jaxb-jsonld-jackson/workspace/target
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.0:prepare-agent (default) @ jb4jsonld-jackson ---
[INFO] argLine set to -javaagent:/home/developer/.m2/repository/org/jacoco/org.jacoco.agent/0.8.0/org.jacoco.agent-0.8.0-runtime.jar=destfile=/home/developer/.jenkins/jobs/jaxb-jsonld-jackson/workspace/target/jacoco.exec
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jb4jsonld-jackson ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/developer/.jenkins/jobs/jaxb-jsonld-jackson/workspace/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ jb4jsonld-jackson ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to /home/developer/.jenkins/jobs/jaxb-jsonld-jackson/workspace/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jb4jsonld-jackson ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ jb4jsonld-jackson ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to /home/developer/.jenkins/jobs/jaxb-jsonld-jackson/workspace/target/test-classes
[INFO] /home/developer/.jenkins/jobs/jaxb-jsonld-jackson/workspace/src/test/java/cz/cvut/kbss/jsonld/jackson/environment/model/Organization.java: Some input files use or override a deprecated API.
[INFO] /home/developer/.jenkins/jobs/jaxb-jsonld-jackson/workspace/src/test/java/cz/cvut/kbss/jsonld/jackson/environment/model/Organization.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ jb4jsonld-jackson ---
[INFO] Surefire report directory: /home/developer/.jenkins/jobs/jaxb-jsonld-jackson/workspace/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest
09:23:15.080 [main] DEBUG org.openrdf.sail.memory.MemoryStore - Initializing MemoryStore...
09:23:15.110 [main] DEBUG org.openrdf.sail.memory.MemoryStore - MemoryStore initialized
09:23:15.697 [main] DEBUG org.openrdf.rio.DatatypeHandlerRegistry - Registered service class org.openrdf.rio.datatypes.XMLSchemaDatatypeHandler
09:23:15.699 [main] DEBUG org.openrdf.rio.DatatypeHandlerRegistry - Registered service class org.openrdf.rio.datatypes.RDFDatatypeHandler
09:23:15.700 [main] DEBUG org.openrdf.rio.DatatypeHandlerRegistry - Registered service class org.openrdf.rio.datatypes.DBPediaDatatypeHandler
09:23:15.701 [main] DEBUG org.openrdf.rio.DatatypeHandlerRegistry - Registered service class org.openrdf.rio.datatypes.VirtuosoGeometryDatatypeHandler
09:23:15.701 [main] DEBUG org.openrdf.rio.DatatypeHandlerRegistry - Registered service class org.openrdf.rio.datatypes.GeoSPARQLDatatypeHandler
09:23:15.704 [main] DEBUG org.openrdf.rio.LanguageHandlerRegistry - Registered service class org.openrdf.rio.languages.RFC3066LanguageHandler
09:23:15.737 [main] DEBUG org.openrdf.sail.memory.MemoryStore - Initializing MemoryStore...
09:23:15.737 [main] DEBUG org.openrdf.sail.memory.MemoryStore - MemoryStore initialized
09:23:15.746 [main] DEBUG org.openrdf.sail.memory.MemoryStore - Initializing MemoryStore...
09:23:15.746 [main] DEBUG org.openrdf.sail.memory.MemoryStore - MemoryStore initialized
09:23:15.755 [main] DEBUG org.openrdf.sail.memory.MemoryStore - Initializing MemoryStore...
09:23:15.756 [main] DEBUG org.openrdf.sail.memory.MemoryStore - MemoryStore initialized
09:23:15.763 [main] DEBUG org.openrdf.sail.memory.MemoryStore - Initializing MemoryStore...
09:23:15.763 [main] DEBUG org.openrdf.sail.memory.MemoryStore - MemoryStore initialized
09:23:15.768 [main] DEBUG org.openrdf.sail.memory.MemoryStore - Initializing MemoryStore...
09:23:15.768 [main] DEBUG org.openrdf.sail.memory.MemoryStore - MemoryStore initialized
Tests run: 6, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.937 sec <<< FAILURE!
testSerializeInstanceWithPluralReferenceAndBackwardReferences(cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest)  Time elapsed: 0.808 sec  <<< FAILURE!
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest.verifyOrganizationAttributes(JsonLdSerializationTest.java:146)
	at cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest.testSerializeInstanceWithPluralReferenceAndBackwardReferences(JsonLdSerializationTest.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	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:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	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)

testSerializeInstanceWithSingularReference(cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest)  Time elapsed: 0.008 sec  <<< FAILURE!
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest.verifyOrganizationAttributes(JsonLdSerializationTest.java:146)
	at cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest.testSerializeInstanceWithSingularReference(JsonLdSerializationTest.java:140)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	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:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	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)

testSerializeInstanceWithPluralReference(cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest)  Time elapsed: 0.007 sec  <<< FAILURE!
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest.verifyOrganizationAttributes(JsonLdSerializationTest.java:146)
	at cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest.testSerializeInstanceWithPluralReference(JsonLdSerializationTest.java:157)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	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:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	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 cz.cvut.kbss.jsonld.jackson.serialization.JacksonJsonWriterTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.169 sec
Running cz.cvut.kbss.jsonld.jackson.deserialization.JsonLdDeserializationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.097 sec

Results :

Failed tests:   testSerializeInstanceWithPluralReferenceAndBackwardReferences(cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest)
  testSerializeInstanceWithSingularReference(cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest)
  testSerializeInstanceWithPluralReference(cz.cvut.kbss.jsonld.jackson.serialization.JsonLdSerializationTest)

Tests run: 21, Failures: 3, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.050 s
[INFO] Finished at: 2018-09-07T09:23:16+02:00
[INFO] Final Memory: 33M/379M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project jb4jsonld-jackson: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/developer/.jenkins/jobs/jaxb-jsonld-jackson/workspace/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
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results
Finished: FAILURE