Skip to content

Console Output

Triggered by Gerrit: https://git.eclipse.org/r/122369
Building in workspace /home/hudson/genie.lyo/.jenkins/jobs/lyo-client-gerrit/workspace
 > /usr/local/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/local/bin/git config remote.origin.url git://git.eclipse.org/gitroot/lyo/org.eclipse.lyo.client.git # timeout=10
Fetching upstream changes from git://git.eclipse.org/gitroot/lyo/org.eclipse.lyo.client.git
 > /usr/local/bin/git --version # timeout=10
 > /usr/local/bin/git fetch --tags --progress git://git.eclipse.org/gitroot/lyo/org.eclipse.lyo.client.git refs/changes/69/122369/1
 > /usr/local/bin/git rev-parse 13c9b0b57ff99c09033a3e50af2ff212042bc615^{commit} # timeout=10
Checking out Revision 13c9b0b57ff99c09033a3e50af2ff212042bc615 (refs/changes/69/122369/1)
 > /usr/local/bin/git config core.sparsecheckout # timeout=10
 > /usr/local/bin/git checkout -f 13c9b0b57ff99c09033a3e50af2ff212042bc615
Commit message: "Remove unneeded exception signatures"
 > /usr/local/bin/git rev-parse FETCH_HEAD^{commit} # timeout=10
 > /usr/local/bin/git rev-list e5368240da63e87b666cf65d81e88cc3fe04aebc # timeout=10
[workspace] $ /shared/common/apache-maven-latest/bin/mvn -f org.eclipse.lyo.client.java/pom.xml -DGERRIT_BRANCH=master -DGERRIT_PATCHSET_REVISION=13c9b0b57ff99c09033a3e50af2ff212042bc615 -DGERRIT_HOST=gerrit-local -DGERRIT_CHANGE_OWNER_EMAIL=andriib@kth.se "-DGERRIT_EVENT_ACCOUNT_NAME=Andrii Berezovskyi" -DGERRIT_CHANGE_URL=https://git.eclipse.org/r/122369 -DGERRIT_PATCHSET_UPLOADER_EMAIL=andriib@kth.se -DGERRIT_EVENT_TYPE=patchset-created -DGERRIT_PROJECT=lyo/org.eclipse.lyo.client -DGERRIT_CHANGE_NUMBER=122369 -DGERRIT_SCHEME=ssh '-DGERRIT_PATCHSET_UPLOADER=\"Andrii Berezovskyi\" <andriib@kth.se>' -DGERRIT_PORT=29418 -DGERRIT_REFSPEC=refs/changes/69/122369/1 "-DGERRIT_PATCHSET_UPLOADER_NAME=Andrii Berezovskyi" '-DGERRIT_CHANGE_OWNER=\"Andrii Berezovskyi\" <andriib@kth.se>' -DGERRIT_CHANGE_COMMIT_MESSAGE=UmVtb3ZlIHVubmVlZGVkIGV4Y2VwdGlvbiBzaWduYXR1cmVzCgpDaGFuZ2UtSWQ6IElmZjljZjUxNmJkYTc0Nzg5ZDIxNmE0NThjMzllY2VjMDc0YmYyMzBmCg== "-DGERRIT_NAME=Eclipse Gerrit" -DGERRIT_TOPIC=jena-3.6.0 "-DGERRIT_CHANGE_SUBJECT=Remove unneeded exception signatures" '-DGERRIT_EVENT_ACCOUNT=\"Andrii Berezovskyi\" <andriib@kth.se>' -DGERRIT_CHANGE_ID=Iff9cf516bda74789d216a458c39ecec074bf230f -DGERRIT_EVENT_HASH=905819616 -DGERRIT_VERSION=2.14.6 -DGERRIT_EVENT_ACCOUNT_EMAIL=andriib@kth.se -DGERRIT_PATCHSET_NUMBER=1 "-DGERRIT_CHANGE_OWNER_NAME=Andrii Berezovskyi" clean verify -Dmaven.repo.local=/shared/technology/lyo/maven/repo
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.lyo
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.eclipse.lyo.clients:oslc-java-client:jar:2.4.0-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.httpcomponents:httpcore:jar -> duplicate declaration of version 4.4.5 @ line 206, column 25
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building OSLC Java Client 2.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oslc-java-client ---
[INFO] Deleting /jobs/genie.lyo/lyo-client-gerrit/workspace/org.eclipse.lyo.client.java/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ oslc-java-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ oslc-java-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 40 source files to /jobs/genie.lyo/lyo-client-gerrit/workspace/org.eclipse.lyo.client.java/target/classes
[WARNING] /jobs/genie.lyo/lyo-client-gerrit/workspace/org.eclipse.lyo.client.java/src/main/java/org/eclipse/lyo/client/oslc/OslcClient.java: /jobs/genie.lyo/lyo-client-gerrit/workspace/org.eclipse.lyo.client.java/src/main/java/org/eclipse/lyo/client/oslc/OslcClient.java uses or overrides a deprecated API.
[WARNING] /jobs/genie.lyo/lyo-client-gerrit/workspace/org.eclipse.lyo.client.java/src/main/java/org/eclipse/lyo/client/oslc/OslcClient.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ oslc-java-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ oslc-java-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /jobs/genie.lyo/lyo-client-gerrit/workspace/org.eclipse.lyo.client.java/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ oslc-java-client ---
[INFO] Surefire report directory: /jobs/genie.lyo/lyo-client-gerrit/workspace/org.eclipse.lyo.client.java/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.lyo
Running org.eclipse.lyo.client.test.OslcClientTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.065 sec - in org.eclipse.lyo.client.test.OslcClientTest
Running org.eclipse.lyo.client.test.OslcQueryResultTest
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.919 sec <<< FAILURE! - in org.eclipse.lyo.client.test.OslcQueryResultTest
testAnyMember(org.eclipse.lyo.client.test.OslcQueryResultTest)  Time elapsed: 0.851 sec  <<< ERROR!
java.lang.NoSuchMethodError: org.apache.jena.system.JenaSystem.logLifecycle(Ljava/lang/String;[Ljava/lang/Object;)V
	at org.apache.jena.riot.RIOT.init(RIOT.java:69)
	at org.apache.jena.riot.system.InitRIOT.start(InitRIOT.java:29)
	at org.apache.jena.system.JenaSystem.lambda$init$40(JenaSystem.java:114)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at org.apache.jena.system.JenaSystem.forEach(JenaSystem.java:179)
	at org.apache.jena.system.JenaSystem.forEach(JenaSystem.java:156)
	at org.apache.jena.system.JenaSystem.init(JenaSystem.java:111)
	at org.apache.jena.rdf.model.ModelFactory.<clinit>(ModelFactory.java:49)
	at org.eclipse.lyo.client.oslc.resources.OslcQueryResult.initializeRdf(OslcQueryResult.java:123)
	at org.eclipse.lyo.client.oslc.resources.OslcQueryResult.getMembersUrls(OslcQueryResult.java:236)
	at org.eclipse.lyo.client.test.OslcQueryResultTest.testAnyMember(OslcQueryResultTest.java:96)

testNoParameters(org.eclipse.lyo.client.test.OslcQueryResultTest)  Time elapsed: 0.021 sec  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.apache.jena.rdf.model.ModelFactory
	at org.eclipse.lyo.client.oslc.resources.OslcQueryResult.initializeRdf(OslcQueryResult.java:123)
	at org.eclipse.lyo.client.oslc.resources.OslcQueryResult.getMembersUrls(OslcQueryResult.java:236)
	at org.eclipse.lyo.client.test.OslcQueryResultTest.testNoParameters(OslcQueryResultTest.java:61)

testEmpty(org.eclipse.lyo.client.test.OslcQueryResultTest)  Time elapsed: 0.018 sec  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.apache.jena.rdf.model.ModelFactory
	at org.eclipse.lyo.client.oslc.resources.OslcQueryResult.initializeRdf(OslcQueryResult.java:123)
	at org.eclipse.lyo.client.oslc.resources.OslcQueryResult.getMembersUrls(OslcQueryResult.java:236)
	at org.eclipse.lyo.client.test.OslcQueryResultTest.testEmpty(OslcQueryResultTest.java:52)

testQuery(org.eclipse.lyo.client.test.OslcQueryResultTest)  Time elapsed: 0.016 sec  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.apache.jena.rdf.model.ModelFactory
	at org.eclipse.lyo.client.oslc.resources.OslcQueryResult.initializeRdf(OslcQueryResult.java:123)
	at org.eclipse.lyo.client.oslc.resources.OslcQueryResult.getMembersUrls(OslcQueryResult.java:236)
	at org.eclipse.lyo.client.test.OslcQueryResultTest.testQuery(OslcQueryResultTest.java:72)

testBlogQuery(org.eclipse.lyo.client.test.OslcQueryResultTest)  Time elapsed: 0.013 sec  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.apache.jena.rdf.model.ModelFactory
	at org.eclipse.lyo.client.oslc.resources.OslcQueryResult.setMemberProperty(OslcQueryResult.java:203)
	at org.eclipse.lyo.client.test.OslcQueryResultTest.testBlogQuery(OslcQueryResultTest.java:83)


Results :

Tests in error: 
  OslcQueryResultTest.testAnyMember:96 » NoSuchMethod org.apache.jena.system.Jen...
  OslcQueryResultTest.testNoParameters:61 » NoClassDefFound Could not initialize...
  OslcQueryResultTest.testEmpty:52 » NoClassDefFound Could not initialize class ...
  OslcQueryResultTest.testQuery:72 » NoClassDefFound Could not initialize class ...
  OslcQueryResultTest.testBlogQuery:83 » NoClassDefFound Could not initialize cl...

Tests run: 6, Failures: 0, Errors: 5, Skipped: 1

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.038 s
[INFO] Finished at: 2018-05-09T13:53:15-04:00
[INFO] Final Memory: 33M/1444M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project oslc-java-client: There are test failures.
[ERROR] 
[ERROR] Please refer to /jobs/genie.lyo/lyo-client-gerrit/workspace/org.eclipse.lyo.client.java/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
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: FAILURE