Triggered by Gerrit: https://git.eclipse.org/r/101585 Checkout:workspace / /home/hudson/genie.lyo/.hudson/jobs/lyo-client-gerrit/workspace - hudson.remoting.LocalChannel@4a21e300 Using strategy: Gerrit Trigger Last Built Revision: Revision 2f56fd3fafb509acb4bf2a1d407d2fa2b9d919ab (null) Checkout:workspace / /home/hudson/genie.lyo/.hudson/jobs/lyo-client-gerrit/workspace - hudson.remoting.LocalChannel@4a21e300 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 23cf0b1119ccd9f6e5ff30456fc1c946af963825 (null) Checking out Revision 23cf0b1119ccd9f6e5ff30456fc1c946af963825 (null) [INFO] Using bundled Maven 3 installation [INFO] Checking Maven 3 installation environment [workspace] $ /home/hudson/genie.lyo/.hudson/maven/slavebundle/bundled-maven/bin/mvn --help [INFO] Checking Maven 3 installation version [INFO] Detected Maven 3 installation version: 3.1.1 [workspace] $ /home/hudson/genie.lyo/.hudson/maven/slavebundle/bundled-maven/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\" ' -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=1438676314 -DGERRIT_BRANCH=master -DGERRIT_REFSPEC=refs/changes/85/101585/1 -DGERRIT_PATCHSET_NUMBER=1 "-DGERRIT_CHANGE_OWNER_NAME=Andrii Berezovskyi" '-DGERRIT_EVENT_ACCOUNT=\"Andrii Berezovskyi\" ' -DGERRIT_EVENT_ACCOUNT_EMAIL=andriib@kth.se -DGERRIT_PATCHSET_REVISION=23cf0b1119ccd9f6e5ff30456fc1c946af963825 -DGERRIT_PROJECT=lyo/org.eclipse.lyo.client '-DGERRIT_CHANGE_OWNER=\"Andrii Berezovskyi\" ' -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=34795 -f org.eclipse.lyo.client.java/pom.xml -U [DEBUG] Waiting for connection on port: 34795 Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 11:22:22-0400) Maven home: /home/hudson/genie.lyo/.hudson/maven/slavebundle/bundled-maven Java version: 1.8.0_121, vendor: Oracle Corporation Java home: /opt/public/common/jdk1.8.0_121.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:/home/hudson/genie.lyo/.hudson/maven/slavebundle/bundled-maven/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 [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-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 189, 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-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: https://repo.eclipse.org/content/repositories/lyo-snapshots/org/eclipse/lyo/oslc4j/core/oslc4j-core/2.2.0-SNAPSHOT/maven-metadata.xml Downloaded: https://repo.eclipse.org/content/repositories/lyo-snapshots/org/eclipse/lyo/oslc4j/core/oslc4j-core/2.2.0-SNAPSHOT/maven-metadata.xml (2 KB at 4.1 KB/sec) Downloading: https://repo.eclipse.org/content/repositories/lyo-snapshots/org/eclipse/lyo/oslc4j/core/oslc4j-jena-provider/2.2.0-SNAPSHOT/maven-metadata.xml Downloaded: https://repo.eclipse.org/content/repositories/lyo-snapshots/org/eclipse/lyo/oslc4j/core/oslc4j-jena-provider/2.2.0-SNAPSHOT/maven-metadata.xml (2 KB at 36.4 KB/sec) Downloading: https://repo.eclipse.org/content/repositories/lyo-snapshots/org/eclipse/lyo/oslc4j/core/oslc4j-json4j-provider/2.2.0-SNAPSHOT/maven-metadata.xml Downloaded: https://repo.eclipse.org/content/repositories/lyo-snapshots/org/eclipse/lyo/oslc4j/core/oslc4j-json4j-provider/2.2.0-SNAPSHOT/maven-metadata.xml (2 KB at 38.8 KB/sec) [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:2.5.1:compile (default-compile) @ oslc-java-client --- [INFO] Compiling 40 source files to /jobs/genie.lyo/lyo-client-gerrit/workspace/org.eclipse.lyo.client.java/target/classes [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:2.5.1:testCompile (default-testCompile) @ oslc-java-client --- [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.038 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: 0.98 sec <<< FAILURE! - in org.eclipse.lyo.client.test.OslcQueryResultTest testQueryResultWithEmptyNext(org.eclipse.lyo.client.test.OslcQueryResultTest) Time elapsed: 0.021 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: 14.186s [INFO] Finished at: Wed Jul 19 14:13:00 EDT 2017 [INFO] Final Memory: 35M/1550M [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 Sending e-mails to: andriib@kth.se jamsden@us.ibm.com Finished: FAILURE