[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[hono-dev] [Hudson] Build failed in Hudson: Hono-CI #709
|
See <https://hudson.eclipse.org/hono/job/Hono-CI/709/changes>
Changes:
[Kai Hudalla] Intermediate fix for #391
------------------------------------------
[...truncated 3483 lines...]
[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: validating /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/classes/META-INF/fabric8/openshift/hono-dispatch-router-svc.yml resource
[INFO] F8: validating /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/classes/META-INF/fabric8/openshift/hono-dispatch-router-ext-svc.yml resource
[INFO] F8: validating /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/classes/META-INF/fabric8/openshift/hono-dispatch-router-deploymentconfig.yml resource
[INFO] F8: validating /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/classes/META-INF/fabric8/openshift/hono-dispatch-router-route.yml resource
[INFO] F8: kubernetes.yml: Removed OpenShift specific resource 'hono-dispatch-router' of type Route
[INFO] F8: validating /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/classes/META-INF/fabric8/kubernetes/hono-dispatch-router-svc.yml resource
[INFO] F8: validating /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/classes/META-INF/fabric8/kubernetes/hono-dispatch-router-ext-svc.yml resource
[INFO] F8: validating /jobs/genie.hono/Hono-CI/workspace/dispatchrouter/target/classes/META-INF/fabric8/kubernetes/hono-dispatch-router-deployment.yml resource
[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-M11-SNAPSHOT.jar
[INFO]
[INFO] --- fabric8-maven-plugin:3.5.33: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-M11-SNAPSHOT.jar to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-dispatch-router/0.5-M11-SNAPSHOT/hono-dispatch-router-0.5-M11-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-M11-SNAPSHOT/hono-dispatch-router-0.5-M11-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-M11-SNAPSHOT/hono-dispatch-router-0.5-M11-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-M11-SNAPSHOT/hono-dispatch-router-0.5-M11-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-M11-SNAPSHOT/hono-dispatch-router-0.5-M11-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-M11-SNAPSHOT/hono-dispatch-router-0.5-M11-SNAPSHOT-kubernetes.json>
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Metrics Docker Images 0.5-M11-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-M11-SNAPSHOT.jar to /jobs/genie.hono/Hono-CI/workspace/metrics/target/classes/META-INF 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-M11-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-M11-SNAPSHOT.jar to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-metrics/0.5-M11-SNAPSHOT/hono-metrics-0.5-M11-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-M11-SNAPSHOT/hono-metrics-0.5-M11-SNAPSHOT.pom>
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hono Services 0.5-M11-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-M11-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-M11-SNAPSHOT.jar to /jobs/genie.hono/Hono-CI/workspace/services/target/classes/META-INF 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-M11-SNAPSHOT/hono-services-0.5-M11-SNAPSHOT.pom>
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hono Auth 0.5-M11-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-M11-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
12:50:52.338 [vert.x-eventloop-thread-0] INFO o.e.h.s.a.BaseAuthenticationService - listening on event bus [address: authentication.in] for authentication requests
12:50:52.560 [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
12:50:53.041 [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]
12:50:53.046 [vert.x-eventloop-thread-2] INFO o.e.h.s.a.i.SimpleAuthenticationServer - secure port is not enabled
12:50:53.046 [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: 3.554 sec <<< FAILURE! - in org.eclipse.hono.service.auth.impl.StandaloneAuthServerTest
org.eclipse.hono.service.auth.impl.StandaloneAuthServerTest Time elapsed: 3.554 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
12:50:54.350 [vert.x-eventloop-thread-2] WARN o.e.h.s.a.i.SimpleAuthenticationServer - server listens on non-standard insecure port [127.0.0.1:49175], default is 5672
12:50:54.838 [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.186 sec - in org.eclipse.hono.service.auth.impl.FileBasedAuthenticationServiceTest
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 [ 28.591 s]
[INFO] Hono Dependencies .................................. SUCCESS [ 0.160 s]
[INFO] Legal Documents .................................... SUCCESS [ 6.145 s]
[INFO] Hono Demo Certs .................................... SUCCESS [ 0.255 s]
[INFO] Hono Core .......................................... SUCCESS [ 27.920 s]
[INFO] Hono Client ........................................ SUCCESS [ 11.209 s]
[INFO] Hono Service base .................................. SUCCESS [ 6.862 s]
[INFO] Hono Protocol Adapters ............................. SUCCESS [ 1.315 s]
[INFO] Hono HTTP Adapter base ............................. SUCCESS [ 2.164 s]
[INFO] Hono REST Adapter .................................. SUCCESS [ 9.808 s]
[INFO] Hono MQTT Adapter base ............................. SUCCESS [ 8.900 s]
[INFO] Hono MQTT Adapter .................................. SUCCESS [ 2.142 s]
[INFO] Hono Kura Adapter .................................. SUCCESS [ 3.482 s]
[INFO] Hono Artemis ....................................... SUCCESS [ 0.173 s]
[INFO] Hono Dispatch Router ............................... SUCCESS [ 35.060 s]
[INFO] Metrics Docker Images .............................. SUCCESS [ 0.173 s]
[INFO] Hono Services ...................................... SUCCESS [ 0.614 s]
[INFO] Hono Auth .......................................... FAILURE [ 5.641 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: 03:01 min
[INFO] Finished at: 2017-11-20T12:50:55-05:00
[INFO] Final Memory: 72M/3761M
[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/