Skip to content

Console Output

Triggered by Gerrit: https://git.eclipse.org/r/101585
Checkout:workspace / /home/hudson/genie.lyo/.hudson/jobs/lyo-client-gerrit/workspace - hudson.remoting.LocalChannel@40c17724
Using strategy: Gerrit Trigger
Last Built Revision: Revision 6ecdc499275f1c345eb96c9ee1250f56f4c44b7c (null)
Checkout:workspace / /home/hudson/genie.lyo/.hudson/jobs/lyo-client-gerrit/workspace - hudson.remoting.LocalChannel@40c17724
Fetching changes from the remote Git repository
Fetching upstream changes from git://git.eclipse.org/gitroot/lyo/org.eclipse.lyo.client.git
Commencing build of Revision 0f2bc37d841f1e8a0bf3112dff4f80bf54ca1cbe (null)
Checking out Revision 0f2bc37d841f1e8a0bf3112dff4f80bf54ca1cbe (null)
[INFO] Using Maven 3 installation: apache-maven-latest
[INFO] Checking Maven 3 installation environment
[workspace] $ /shared/common/apache-maven-latest/bin/mvn --help
[INFO] Checking Maven 3 installation version
[INFO] Detected Maven 3 installation version: 3.3.9
[workspace] $ /shared/common/apache-maven-latest/bin/mvn clean verify -Dmaven.repo.local=/shared/technology/lyo/maven/repo -V -B "-DGERRIT_EVENT_ACCOUNT_NAME=Andrii Berezovskyi" '-DGERRIT_PATCHSET_UPLOADER=\"Andrii Berezovskyi\" <andriib@kth.se>' -DGERRIT_CHANGE_URL=https://git.eclipse.org/r/101585 -DGERRIT_CHANGE_ID=I8c1088ebc7101165834fe0a0a4a870e600020812 -DGERRIT_CHANGE_NUMBER=101585 "-DGERRIT_PATCHSET_UPLOADER_NAME=Andrii Berezovskyi" "-DGERRIT_CHANGE_SUBJECT=Bug 393073 [WIP] - NPE in the hasNext method" -DGERRIT_PATCHSET_UPLOADER_EMAIL=andriib@kth.se -DGERRIT_EVENT_HASH=1062652604 -DGERRIT_BRANCH=master -DGERRIT_REFSPEC=refs/changes/85/101585/2 -DGERRIT_PATCHSET_NUMBER=2 "-DGERRIT_CHANGE_OWNER_NAME=Andrii Berezovskyi" '-DGERRIT_EVENT_ACCOUNT=\"Andrii Berezovskyi\" <andriib@kth.se>' -DGERRIT_EVENT_ACCOUNT_EMAIL=andriib@kth.se -DGERRIT_PATCHSET_REVISION=0f2bc37d841f1e8a0bf3112dff4f80bf54ca1cbe -DGERRIT_PROJECT=lyo/org.eclipse.lyo.client '-DGERRIT_CHANGE_OWNER=\"Andrii Berezovskyi\" <andriib@kth.se>' -DGERRIT_CHANGE_OWNER_EMAIL=andriib@kth.se -Dmaven.ext.class.path=/home/hudson/genie.lyo/.hudson/maven/slavebundle/resources:/home/hudson/genie.lyo/.hudson/maven/slavebundle/lib/maven3-eventspy-3.1.jar:/home/hudson/genie.lyo/.hudson/war/webapp/WEB-INF/lib/hudson-remoting-3.0.0.jar -Dhudson.eventspy.port=37416 -f org.eclipse.lyo.client.java/pom.xml -U
[DEBUG] Waiting for connection on port: 37416
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
Maven home: /shared/common/apache-maven-latest
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /opt/public/common/jdk1.8.0_131.x64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.12.74-60.64.40-default", arch: "amd64", family: "unix"
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/hudson/genie.lyo/.hudson/maven/slavebundle/lib/maven3-eventspy-runtime.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/shared/common/apache-maven-latest/lib/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[DEBUG] Connected to remote
[INFO] o.h.m.e.h.SettingsBuildingRequestHandler - Using settings document ID: e23a0b6a-ab36-4ea3-8d97-c6ce7ba3db90
[WARN] o.h.m.e.EventSpyProcessor - Unhandled event: org.apache.maven.toolchain.building.DefaultToolchainsBuildingRequest@64e1dd11 (org.apache.maven.toolchain.building.DefaultToolchainsBuildingRequest)
[WARN] o.h.m.e.EventSpyProcessor - Unhandled event: org.apache.maven.toolchain.building.DefaultToolchainsBuildingRequest@64e1dd11 (org.apache.maven.toolchain.building.DefaultToolchainsBuildingRequest)
[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.2.0
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.httpcomponents:httpcore:jar -> duplicate declaration of version 4.4.5 @ line 211, 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.2.0
[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 6 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
-------------------------------------------------------
Running org.eclipse.lyo.client.test.OslcClientTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.039 sec - in org.eclipse.lyo.client.test.OslcClientTest
Running org.eclipse.lyo.client.test.OslcQueryResultTest
log4j:WARN No appenders could be found for logger (com.hp.hpl.jena.rdf.model.impl.RDFDefaultErrorHandler).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.064 sec <<< FAILURE! - in org.eclipse.lyo.client.test.OslcQueryResultTest
testQueryResultWithEmptyNext(org.eclipse.lyo.client.test.OslcQueryResultTest)  Time elapsed: 0.02 sec  <<< FAILURE!
java.lang.AssertionError: Empty Next URI resource should be ignored
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at org.eclipse.lyo.client.test.OslcQueryResultTest.testQueryResultWithEmptyNext(OslcQueryResultTest.java:96)


Results :

Failed tests: 
  OslcQueryResultTest.testQueryResultWithEmptyNext:96 Empty Next URI resource should be ignored

Tests run: 8, Failures: 1, Errors: 0, Skipped: 1

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.361 s
[INFO] Finished at: 2017-09-01T18:33:43-04:00
[INFO] Final Memory: 36M/1549M
[INFO] ------------------------------------------------------------------------
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: 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.

Please refer to /jobs/genie.lyo/lyo-client-gerrit/workspace/org.eclipse.lyo.client.java/target/surefire-reports for the individual test results.
[DEBUG] Closing connection to remote
[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
[DEBUG] Waiting for process to finish
[DEBUG] Result: 1
Recording test results
Finished: FAILURE