Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[hono-dev] [Hudson] Build failed in Hudson: Hono-Nightly #395

See <https://hudson.eclipse.org/hono/job/Hono-Nightly/395/>

------------------------------------------
[...truncated 88 lines...]
[INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (default) @ hono-bom ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ hono-bom ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ hono-bom ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hono-bom ---
[INFO] Installing /jobs/genie.hono/Hono-Nightly/workspace/bom/pom.xml to <https://hudson.eclipse.org/hono/job/Hono-Nightly/ws/.maven/repo/org/eclipse/hono/hono-bom/0.5-M9-SNAPSHOT/hono-bom-0.5-M9-SNAPSHOT.pom>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Legal Documents 0.5-M9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hono-legal ---
[INFO] Deleting /jobs/genie.hono/Hono-Nightly/workspace/legal/target
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (default) @ hono-legal ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ hono-legal ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ hono-legal ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 27 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ hono-legal ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ hono-legal ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.hono/Hono-Nightly/workspace/legal/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ hono-legal ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ hono-legal ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ hono-legal ---
[INFO] Building jar: /jobs/genie.hono/Hono-Nightly/workspace/legal/target/hono-legal-0.5-M9-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ hono-legal ---
[INFO] Skipping source per configuration.
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hono-legal ---
[INFO] Installing /jobs/genie.hono/Hono-Nightly/workspace/legal/target/hono-legal-0.5-M9-SNAPSHOT.jar to <https://hudson.eclipse.org/hono/job/Hono-Nightly/ws/.maven/repo/org/eclipse/hono/hono-legal/0.5-M9-SNAPSHOT/hono-legal-0.5-M9-SNAPSHOT.jar>
[INFO] Installing /jobs/genie.hono/Hono-Nightly/workspace/legal/pom.xml to <https://hudson.eclipse.org/hono/job/Hono-Nightly/ws/.maven/repo/org/eclipse/hono/hono-legal/0.5-M9-SNAPSHOT/hono-legal-0.5-M9-SNAPSHOT.pom>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hono Demo Certs 0.5-M9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hono-demo-certs ---
[INFO] Deleting /jobs/genie.hono/Hono-Nightly/workspace/demo-certs/target
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (default) @ hono-demo-certs ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ hono-demo-certs ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ hono-demo-certs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 26 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ hono-demo-certs ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ hono-demo-certs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.hono/Hono-Nightly/workspace/demo-certs/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ hono-demo-certs ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ hono-demo-certs ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ hono-demo-certs ---
[INFO] Building jar: /jobs/genie.hono/Hono-Nightly/workspace/demo-certs/target/hono-demo-certs-0.5-M9-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ hono-demo-certs ---
[INFO] Skipping source per configuration.
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hono-demo-certs ---
[INFO] Installing /jobs/genie.hono/Hono-Nightly/workspace/demo-certs/target/hono-demo-certs-0.5-M9-SNAPSHOT.jar to <https://hudson.eclipse.org/hono/job/Hono-Nightly/ws/.maven/repo/org/eclipse/hono/hono-demo-certs/0.5-M9-SNAPSHOT/hono-demo-certs-0.5-M9-SNAPSHOT.jar>
[INFO] Installing /jobs/genie.hono/Hono-Nightly/workspace/demo-certs/pom.xml to <https://hudson.eclipse.org/hono/job/Hono-Nightly/ws/.maven/repo/org/eclipse/hono/hono-demo-certs/0.5-M9-SNAPSHOT/hono-demo-certs-0.5-M9-SNAPSHOT.pom>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hono Core 0.5-M9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hono-core ---
[INFO] Deleting /jobs/genie.hono/Hono-Nightly/workspace/core/target
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (default) @ hono-core ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ hono-core ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.1:unpack-dependencies (copy_demo_certs) @ hono-core ---
[INFO] Unpacking /jobs/genie.hono/Hono-Nightly/workspace/demo-certs/target/hono-demo-certs-0.5-M9-SNAPSHOT.jar to /jobs/genie.hono/Hono-Nightly/workspace/core/target/certs with includes "" and excludes "META-INF/**"
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ hono-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.hono/Hono-Nightly/workspace/core/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ hono-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 35 source files to /jobs/genie.hono/Hono-Nightly/workspace/core/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ hono-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ hono-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to /jobs/genie.hono/Hono-Nightly/workspace/core/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ hono-core ---
[INFO] Surefire report directory: /jobs/genie.hono/Hono-Nightly/workspace/core/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.eclipse.hono.util.MessageHelperTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.42 sec - in org.eclipse.hono.util.MessageHelperTest
Running org.eclipse.hono.util.ResourceIdentifierTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.hono.util.ResourceIdentifierTest
Running org.eclipse.hono.util.JwtHelperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.289 sec - in org.eclipse.hono.util.JwtHelperTest
Running org.eclipse.hono.util.PortConfigurationHelperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.hono.util.PortConfigurationHelperTest
Running org.eclipse.hono.auth.AbstractDeviceCredentialsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec - in org.eclipse.hono.auth.AbstractDeviceCredentialsTest
Running org.eclipse.hono.auth.UsernamePasswordCredentialsTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.eclipse.hono.auth.UsernamePasswordCredentialsTest
Running org.eclipse.hono.auth.AuthoritiesImplTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.hono.auth.AuthoritiesImplTest
Running org.eclipse.hono.config.KeyLoaderTest
02:16:07.482 [main] INFO  org.eclipse.hono.config.KeyLoader - current alias: 1
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.313 sec - in org.eclipse.hono.config.KeyLoaderTest
Running org.eclipse.hono.connection.ConnectionFactoryImplTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.504 sec <<< FAILURE! - in org.eclipse.hono.connection.ConnectionFactoryImplTest
testConnectInvokesHandlerOnfailureToConnect(org.eclipse.hono.connection.ConnectionFactoryImplTest)  Time elapsed: 5.498 sec  <<< ERROR!
java.util.concurrent.TimeoutException: Timed out
	at org.eclipse.hono.connection.ConnectionFactoryImplTest.testConnectInvokesHandlerOnfailureToConnect(ConnectionFactoryImplTest.java:78)


Results :

Tests in error: 
  ConnectionFactoryImplTest.testConnectInvokesHandlerOnfailureToConnect:78 ยป Timeout

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

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Hono
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Hono ............................................... SUCCESS [  4.276 s]
[INFO] Hono Dependencies .................................. SUCCESS [  0.103 s]
[INFO] Legal Documents .................................... SUCCESS [  1.506 s]
[INFO] Hono Demo Certs .................................... SUCCESS [  0.623 s]
[INFO] Hono Core .......................................... FAILURE [ 15.222 s]
[INFO] Hono Client ........................................ SKIPPED
[INFO] Hono Service base .................................. SKIPPED
[INFO] Hono Protocol Adapters ............................. SKIPPED
[INFO] Hono HTTP Adapter base ............................. SKIPPED
[INFO] Hono REST Adapter .................................. SKIPPED
[INFO] Hono MQTT Adapter .................................. SKIPPED
[INFO] Hono Artemis ....................................... SKIPPED
[INFO] Hono Dispatch Router ............................... SKIPPED
[INFO] Metrics Docker Images .............................. SKIPPED
[INFO] Hono Services ...................................... SKIPPED
[INFO] Hono Auth .......................................... SKIPPED
[INFO] Hono Device Registry ............................... SKIPPED
[INFO] Hono Messaging ..................................... SKIPPED
[INFO] Hono Examples ...................................... SKIPPED
[INFO] Hono JMeter Plugin ................................. SKIPPED
[INFO] Hono Site .......................................... SKIPPED
[INFO] Hono Integration Tests ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.914 s
[INFO] Finished at: 2017-10-03T02:16:14-04:00
[INFO] Final Memory: 47M/2533M
[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.19.1:test (default-test) on project hono-core: There are test failures.

Please refer to /jobs/genie.hono/Hono-Nightly/workspace/core/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.19.1:test (default-test) on project hono-core: There are test failures.
[ERROR] 
[ERROR] Please refer to /jobs/genie.hono/Hono-Nightly/workspace/core/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project hono-core: There are test failures.

Please refer to /jobs/genie.hono/Hono-Nightly/workspace/core/target/surefire-reports for the individual test results.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /jobs/genie.hono/Hono-Nightly/workspace/core/target/surefire-reports for the individual test results.
	at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:91)
	at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:320)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:892)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
[ERROR] 
[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 :hono-core
[DEBUG] Waiting for process to finish
[DEBUG] Result: 1
Recording test results
Archiving artifacts
Publishing Javadoc

--
This message is automatically generated by Hudson. 
For more information on Hudson, see: http://hudson-ci.org/


Back to the top