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-CI #600

See <https://hudson.eclipse.org/hono/job/Hono-CI/600/changes>

Changes:

[Paolo Patierno] Added Credentials API HTTP REST endpoint with only add operation

------------------------------------------
[...truncated 3296 lines...]
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-model/3.3.1/maven-model-3.3.1.jar (158 KB at 148.0 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/wagon/wagon-provider-api/2.8/wagon-provider-api-2.8.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-compat/3.3.1/maven-compat-3.3.1.jar (280 KB at 260.2 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/wagon/wagon-provider-api/2.8/wagon-provider-api-2.8.jar (52 KB at 47.5 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar (12 KB at 10.4 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar (33 KB at 29.2 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/cxf/cxf-core/3.1.9/cxf-core-3.1.9.jar (1322 KB at 1149.5 KB/sec)
[WARN] i.f.k.c.Config - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
[INFO] F8: Running in Kubernetes mode
[INFO] F8: Generators:
[INFO] F8: Enrichers:
[INFO] F8: - fmp-controller
[INFO] F8: - fmp-ianaservice
[INFO] F8: - vertx-health-check
[INFO] F8: - fmp-name
[INFO] F8: - fmp-service
[INFO] F8: - fmp-image
[INFO] F8: - fmp-project
[INFO] F8: - fmp-debug
[INFO] F8: Using resource templates from /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/src/main/fabric8
[INFO] F8: fmp-debug: Debugging not enabled. To enable try setting the fabric8.debug.enabled maven or system property to 'true'
[INFO] F8: kubernetes.yml: Removed OpenShift specific resource 'hono-dispatch-router' of type Route
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ hono-dispatch-router ---
[INFO] Building jar: /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/hono-dispatch-router-0.5-M9-SNAPSHOT.jar
[INFO] 
[INFO] --- fabric8-maven-plugin:3.4.2:build (build_images) @ hono-dispatch-router ---
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ hono-dispatch-router ---
[INFO] Skipping source per configuration.
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hono-dispatch-router ---
[INFO] Installing /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/hono-dispatch-router-0.5-M9-SNAPSHOT.jar to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-dispatch-router/0.5-M9-SNAPSHOT/hono-dispatch-router-0.5-M9-SNAPSHOT.jar>
[INFO] Installing /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/pom.xml to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-dispatch-router/0.5-M9-SNAPSHOT/hono-dispatch-router-0.5-M9-SNAPSHOT.pom>
[INFO] Installing /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/classes/META-INF/fabric8/openshift.yml to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-dispatch-router/0.5-M9-SNAPSHOT/hono-dispatch-router-0.5-M9-SNAPSHOT-openshift.yml>
[INFO] Installing /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/classes/META-INF/fabric8/openshift.json to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-dispatch-router/0.5-M9-SNAPSHOT/hono-dispatch-router-0.5-M9-SNAPSHOT-openshift.json>
[INFO] Installing /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/classes/META-INF/fabric8/kubernetes.yml to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-dispatch-router/0.5-M9-SNAPSHOT/hono-dispatch-router-0.5-M9-SNAPSHOT-kubernetes.yml>
[INFO] Installing /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/classes/META-INF/fabric8/kubernetes.json to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-dispatch-router/0.5-M9-SNAPSHOT/hono-dispatch-router-0.5-M9-SNAPSHOT-kubernetes.json>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Metrics Docker Images 0.5-M9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hono-metrics ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (default) @ hono-metrics ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ hono-metrics ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ hono-metrics ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.hono/Hono-CI/workspace/metrics/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ hono-metrics ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ hono-metrics ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.hono/Hono-CI/workspace/metrics/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ hono-metrics ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ hono-metrics ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.1:unpack-dependencies (copy_legal_docs) @ hono-metrics ---
[INFO] Unpacking /jobs/genie.hono/Hono-CI/workspace/legal/target/hono-legal-0.5-M9-SNAPSHOT.jar to /jobs/genie.hono/Hono-CI/workspace/metrics/target/classes with includes "" and excludes "META-INF/**"
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ hono-metrics ---
[INFO] Building jar: /jobs/genie.hono/Hono-CI/workspace/metrics/target/hono-metrics-0.5-M9-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ hono-metrics ---
[INFO] Skipping source per configuration.
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hono-metrics ---
[INFO] Installing /jobs/genie.hono/Hono-CI/workspace/metrics/target/hono-metrics-0.5-M9-SNAPSHOT.jar to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-metrics/0.5-M9-SNAPSHOT/hono-metrics-0.5-M9-SNAPSHOT.jar>
[INFO] Installing /jobs/genie.hono/Hono-CI/workspace/metrics/pom.xml to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-metrics/0.5-M9-SNAPSHOT/hono-metrics-0.5-M9-SNAPSHOT.pom>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hono Services 0.5-M9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hono-services ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (default) @ hono-services ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ hono-services ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.1:unpack-dependencies (copy_demo_certs) @ hono-services ---
[INFO] Unpacking /jobs/genie.hono/Hono-CI/workspace/demo-certs/target/hono-demo-certs-0.5-M9-SNAPSHOT.jar to /jobs/genie.hono/Hono-CI/workspace/services/target/certs with includes "*.pem" and excludes ""
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.1:unpack-dependencies (copy_legal_docs) @ hono-services ---
[INFO] Unpacking /jobs/genie.hono/Hono-CI/workspace/legal/target/hono-legal-0.5-M9-SNAPSHOT.jar to /jobs/genie.hono/Hono-CI/workspace/services/target/classes with includes "" and excludes "META-INF/**"
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ hono-services ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hono-services ---
[INFO] Installing /jobs/genie.hono/Hono-CI/workspace/services/pom.xml to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-services/0.5-M9-SNAPSHOT/hono-services-0.5-M9-SNAPSHOT.pom>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hono Auth 0.5-M9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hono-service-auth ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (default) @ hono-service-auth ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ hono-service-auth ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.1:unpack-dependencies (copy_demo_certs) @ hono-service-auth ---
[INFO] Unpacking /jobs/genie.hono/Hono-CI/workspace/demo-certs/target/hono-demo-certs-0.5-M9-SNAPSHOT.jar to /jobs/genie.hono/Hono-CI/workspace/services/auth/target/certs with includes "*.pem" and excludes ""
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ hono-service-auth ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ hono-service-auth ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to /jobs/genie.hono/Hono-CI/workspace/services/auth/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ hono-service-auth ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ hono-service-auth ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /jobs/genie.hono/Hono-CI/workspace/services/auth/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ hono-service-auth ---
[INFO] Surefire report directory: /jobs/genie.hono/Hono-CI/workspace/services/auth/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.eclipse.hono.service.auth.impl.StandaloneAuthServerTest
10:24:38.263 [vert.x-eventloop-thread-0] INFO  o.e.h.s.a.BaseAuthenticationService - listening on event bus [address: authentication.in] for authentication requests
10:24:38.269 [vert.x-eventloop-thread-0] INFO  o.e.h.s.a.i.FileBasedAuthenticationService - loading permissions from resource file:/jobs/genie.hono/Hono-CI/workspace/services/auth/target/test-classes/authentication-service-test-permissions.json
10:24:38.441 [vert.x-eventloop-thread-2] INFO  o.e.h.s.a.i.SimpleAuthenticationServer - starting endpoint [name: cbs, class: org.eclipse.hono.service.auth.impl.AuthenticationEndpoint]
10:24:38.445 [vert.x-eventloop-thread-2] INFO  o.e.h.s.a.i.SimpleAuthenticationServer - secure port is not enabled
10:24:38.446 [vert.x-eventloop-thread-2] INFO  o.e.h.s.a.i.SimpleAuthenticationServer - Server found insecure port number configured for ephemeral port selection (port chosen automatically).
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.81 sec <<< FAILURE! - in org.eclipse.hono.service.auth.impl.StandaloneAuthServerTest
org.eclipse.hono.service.auth.impl.StandaloneAuthServerTest  Time elapsed: 2.81 sec  <<< ERROR!
java.util.concurrent.TimeoutException: Timed out
	at org.eclipse.hono.service.auth.impl.StandaloneAuthServerTest.prepareServer(StandaloneAuthServerTest.java:84)

Running org.eclipse.hono.service.auth.impl.FileBasedAuthenticationServiceTest
10:24:40.414 [main] INFO  o.e.h.s.a.i.FileBasedAuthenticationService - loading permissions from resource file:/jobs/genie.hono/Hono-CI/workspace/services/auth/target/test-classes/authentication-service-test-permissions.json
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.133 sec - in org.eclipse.hono.service.auth.impl.FileBasedAuthenticationServiceTest
10:24:41.004 [vert.x-eventloop-thread-2] WARN  o.e.h.s.a.i.SimpleAuthenticationServer - server listens on non-standard insecure port [127.0.0.1:45846], default is 5672

Results :

Tests in error: 
  StandaloneAuthServerTest.prepareServer:84 ยป Timeout Timed out

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Hono ............................................... SUCCESS [ 39.220 s]
[INFO] Hono Dependencies .................................. SUCCESS [  0.097 s]
[INFO] Legal Documents .................................... SUCCESS [  8.459 s]
[INFO] Hono Demo Certs .................................... SUCCESS [  0.143 s]
[INFO] Hono Core .......................................... SUCCESS [ 26.563 s]
[INFO] Hono Client ........................................ SUCCESS [  5.122 s]
[INFO] Hono Service base .................................. SUCCESS [  7.189 s]
[INFO] Hono Protocol Adapters ............................. SUCCESS [  0.770 s]
[INFO] Hono HTTP Adapter base ............................. SUCCESS [  1.209 s]
[INFO] Hono REST Adapter .................................. SUCCESS [ 10.321 s]
[INFO] Hono MQTT Adapter .................................. SUCCESS [  1.972 s]
[INFO] Hono Artemis ....................................... SUCCESS [  0.128 s]
[INFO] Hono Dispatch Router ............................... SUCCESS [ 28.846 s]
[INFO] Metrics Docker Images .............................. SUCCESS [  0.136 s]
[INFO] Hono Services ...................................... SUCCESS [  0.090 s]
[INFO] Hono Auth .......................................... FAILURE [  4.077 s]
[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: 02:40 min
[INFO] Finished at: 2017-09-21T10:24:41-04:00
[INFO] Final Memory: 64M/3784M
[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-service-auth: There are test failures.

Please refer to /jobs/genie.hono/Hono-CI/workspace/services/auth/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-service-auth: There are test failures.
[ERROR] 
[ERROR] Please refer to /jobs/genie.hono/Hono-CI/workspace/services/auth/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-service-auth: There are test failures.

Please refer to /jobs/genie.hono/Hono-CI/workspace/services/auth/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-CI/workspace/services/auth/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-service-auth
[DEBUG] Waiting for process to finish
[DEBUG] Result: 1
Recording test results

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


Back to the top