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 #720

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

Changes:

[Kai Hudalla] Remove obsolete helper method.

[Kai Hudalla] Add qualifier to allow injection into AMQP endpoint.

[Kai Hudalla] Pull up helper method so it can be used by HTTP adapters as well.

------------------------------------------
[...truncated 3593 lines...]
[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
07:34:18.303 [vert.x-eventloop-thread-0] INFO  o.e.h.s.a.BaseAuthenticationService - listening on event bus [address: authentication.in] for authentication requests
07:34:18.309 [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
07:34:18.531 [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]
07:34:18.540 [vert.x-eventloop-thread-2] INFO  o.e.h.s.a.i.SimpleAuthenticationServer - secure port is not enabled
07:34:18.541 [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).
07:34:19.077 [vert.x-eventloop-thread-2] WARN  o.e.h.s.a.i.SimpleAuthenticationServer - server listens on non-standard insecure port [127.0.0.1:42859], default is 5672
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.214 sec - in org.eclipse.hono.service.auth.impl.StandaloneAuthServerTest
Running org.eclipse.hono.service.auth.impl.FileBasedAuthenticationServiceTest
07:34:19.560 [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.127 sec - in org.eclipse.hono.service.auth.impl.FileBasedAuthenticationServiceTest

Results :

Tests run: 14, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-dependency-plugin:3.0.1:unpack-dependencies (copy_legal_docs) @ hono-service-auth ---
[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/auth/target/classes/META-INF with includes "" and excludes "META-INF/**"
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ hono-service-auth ---
[INFO] Building jar: /jobs/genie.hono/Hono-CI/workspace/services/auth/target/hono-service-auth-0.5-M11-SNAPSHOT.jar
[INFO] 
[INFO] --- spring-boot-maven-plugin:1.5.8.RELEASE:repackage (default) @ hono-service-auth ---
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ hono-service-auth ---
[INFO] Building jar: /jobs/genie.hono/Hono-CI/workspace/services/auth/target/hono-service-auth-0.5-M11-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hono-service-auth ---
[INFO] Installing /jobs/genie.hono/Hono-CI/workspace/services/auth/target/hono-service-auth-0.5-M11-SNAPSHOT.jar to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-service-auth/0.5-M11-SNAPSHOT/hono-service-auth-0.5-M11-SNAPSHOT.jar>
[INFO] Installing /jobs/genie.hono/Hono-CI/workspace/services/auth/pom.xml to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-service-auth/0.5-M11-SNAPSHOT/hono-service-auth-0.5-M11-SNAPSHOT.pom>
[INFO] Installing /jobs/genie.hono/Hono-CI/workspace/services/auth/target/hono-service-auth-0.5-M11-SNAPSHOT-sources.jar to <https://hudson.eclipse.org/hono/job/Hono-CI/ws/.maven/repo/org/eclipse/hono/hono-service-auth/0.5-M11-SNAPSHOT/hono-service-auth-0.5-M11-SNAPSHOT-sources.jar>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hono Device Registry 0.5-M11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hono-service-device-registry ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (default) @ hono-service-device-registry ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ hono-service-device-registry ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.1:unpack-dependencies (copy_demo_certs) @ hono-service-device-registry ---
[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/device-registry/target/certs with includes "*.pem" and excludes ""
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ hono-service-device-registry ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ hono-service-device-registry ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /jobs/genie.hono/Hono-CI/workspace/services/device-registry/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ hono-service-device-registry ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ hono-service-device-registry ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to /jobs/genie.hono/Hono-CI/workspace/services/device-registry/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ hono-service-device-registry ---
[INFO] Surefire report directory: /jobs/genie.hono/Hono-CI/workspace/services/device-registry/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.eclipse.hono.deviceregistry.CredentialsRestServerTest
07:34:24.723 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedCredentialsService - listening on event bus [address: credentials.in] for incoming credentials messages
07:34:24.734 [vert.x-eventloop-thread-1] INFO  o.e.h.d.DeviceRegistryRestServer - limiting size of inbound request body to 2048 bytes
07:34:24.740 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedCredentialsService - persistence is disabled, will not save credentials to file
07:34:24.745 [vert.x-eventloop-thread-1] INFO  o.e.h.d.DeviceRegistryRestServer - starting endpoint [name: credentials, class: org.eclipse.hono.service.credentials.CredentialsHttpEndpoint]
07:34:25.081 [vert.x-eventloop-thread-1] WARN  o.e.h.d.DeviceRegistryRestServer - server listens on non-standard insecure port [127.0.0.1:43236], default is 8080
07:34:27.705 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedCredentialsService - unregistered credentials data consumer from event bus
Tests run: 21, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.139 sec <<< FAILURE! - in org.eclipse.hono.deviceregistry.CredentialsRestServerTest
testGetAddedCredentials(org.eclipse.hono.deviceregistry.CredentialsRestServerTest)  Time elapsed: 2.055 sec  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 2000 milliseconds
	at org.eclipse.hono.deviceregistry.CredentialsRestServerTest.addCredentials(CredentialsRestServerTest.java:612)
	at org.eclipse.hono.deviceregistry.CredentialsRestServerTest.addCredentials(CredentialsRestServerTest.java:593)
	at org.eclipse.hono.deviceregistry.CredentialsRestServerTest.addCredentials(CredentialsRestServerTest.java:589)
	at org.eclipse.hono.deviceregistry.CredentialsRestServerTest.testGetAddedCredentials(CredentialsRestServerTest.java:376)

Running org.eclipse.hono.deviceregistry.FileBasedCredentialsServiceTest
07:34:27.850 [main] INFO  o.e.h.d.FileBasedCredentialsService - saving credentials to file every 3 seconds
07:34:28.060 [main] INFO  o.e.h.d.FileBasedCredentialsService - successfully loaded 3 credentials from file [/credentials.json]
07:34:28.060 [main] INFO  o.e.h.d.FileBasedCredentialsService - persistence is disabled, will not save credentials to file
07:34:28.081 [main] INFO  o.e.h.d.FileBasedCredentialsService - successfully loaded 2 credentials from file [/credentials.json]
07:34:28.104 [main] INFO  o.e.h.d.FileBasedCredentialsService - persistence is disabled, will not save credentials to file
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.37 sec - in org.eclipse.hono.deviceregistry.FileBasedCredentialsServiceTest
Running org.eclipse.hono.deviceregistry.FileBasedRegistrationServiceTest
07:34:28.229 [main] INFO  o.e.h.d.FileBasedRegistrationService - saving device identities to file every 3 seconds
07:34:28.243 [main] INFO  o.e.h.d.FileBasedRegistrationService - successfully loaded 1 device identities from file [/device-identities.json]
07:34:28.243 [main] INFO  o.e.h.d.FileBasedRegistrationService - persistence is disabled, will not save device identities to file
07:34:28.250 [main] INFO  o.e.h.d.FileBasedRegistrationService - persistence is disabled, will not save device identities to file
07:34:28.252 [main] INFO  o.e.h.d.FileBasedRegistrationService - operation [unknown-action] not supported
07:34:28.260 [main] INFO  o.e.h.d.FileBasedRegistrationService - persistence is disabled, will not save device identities to file
07:34:28.262 [main] INFO  o.e.h.d.FileBasedRegistrationService - persistence is disabled, will not save device identities to file
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.153 sec - in org.eclipse.hono.deviceregistry.FileBasedRegistrationServiceTest
Running org.eclipse.hono.deviceregistry.RegistrationRestServerTest
07:34:28.456 [main] INFO  o.e.h.s.r.RegistrationAssertionHelperImpl - using shared secret [49 bytes] for signing registration assertions
07:34:28.459 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedRegistrationService - listening on event bus [address: registration.in] for incoming registration messages
07:34:28.460 [vert.x-eventloop-thread-1] INFO  o.e.h.d.DeviceRegistryRestServer - limiting size of inbound request body to 2048 bytes
07:34:28.462 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedRegistrationService - persistence is disabled, will not save device identities to file
07:34:28.464 [vert.x-eventloop-thread-1] INFO  o.e.h.d.DeviceRegistryRestServer - starting endpoint [name: registration, class: org.eclipse.hono.service.registration.RegistrationHttpEndpoint]
07:34:28.466 [vert.x-eventloop-thread-1] WARN  o.e.h.d.DeviceRegistryRestServer - server listens on non-standard insecure port [127.0.0.1:47399], default is 8080
07:34:28.750 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedRegistrationService - unregistered registration data consumer from event bus
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.5 sec - in org.eclipse.hono.deviceregistry.RegistrationRestServerTest
Running org.eclipse.hono.deviceregistry.StandaloneCredentialsApiTest
07:34:28.799 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedCredentialsService - listening on event bus [address: credentials.in] for incoming credentials messages
07:34:28.841 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedCredentialsService - successfully loaded 3 credentials from file [credentials.json]
07:34:28.841 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedCredentialsService - persistence is disabled, will not save credentials to file
07:34:28.843 [vert.x-eventloop-thread-2] INFO  o.e.h.d.DeviceRegistryAmqpServer - starting endpoint [name: credentials, class: org.eclipse.hono.service.credentials.CredentialsAmqpEndpoint]
07:34:28.844 [vert.x-eventloop-thread-2] INFO  o.e.h.d.DeviceRegistryAmqpServer - secure port is not enabled
07:34:28.844 [vert.x-eventloop-thread-2] INFO  o.e.h.d.DeviceRegistryAmqpServer - Server found insecure port number configured for ephemeral port selection (port chosen automatically).
07:34:28.857 [vert.x-eventloop-thread-2] WARN  o.e.h.d.DeviceRegistryAmqpServer - server listens on non-standard insecure port [127.0.0.1:40380], default is 5672
07:34:29.139 [main] INFO  o.e.h.c.i.AbstractRequestResponseClient - closing request-response client ...
07:34:29.145 [vert.x-eventloop-thread-1] INFO  o.e.hono.client.impl.HonoClientImpl - closing connection to server [127.0.0.1:40380]...
07:34:29.146 [vert.x-eventloop-thread-1] INFO  o.e.hono.client.impl.HonoClientImpl - closed connection to server [127.0.0.1:40380]
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.368 sec - in org.eclipse.hono.deviceregistry.StandaloneCredentialsApiTest

Results :

Tests in error: 
  CredentialsRestServerTest.testGetAddedCredentials:376->addCredentials:589->addCredentials:593->addCredentials:612 ยป TestTimedOut

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Hono ............................................... SUCCESS [ 36.575 s]
[INFO] Hono Dependencies .................................. SUCCESS [  0.115 s]
[INFO] Legal Documents .................................... SUCCESS [ 12.122 s]
[INFO] Hono Demo Certs .................................... SUCCESS [  0.446 s]
[INFO] Hono Core .......................................... SUCCESS [ 35.142 s]
[INFO] Hono Client ........................................ SUCCESS [ 10.359 s]
[INFO] Hono Service base .................................. SUCCESS [  7.648 s]
[INFO] Hono Protocol Adapters ............................. SUCCESS [  1.377 s]
[INFO] Hono HTTP Adapter base ............................. SUCCESS [  1.583 s]
[INFO] Hono REST Adapter .................................. SUCCESS [ 15.331 s]
[INFO] Hono MQTT Adapter base ............................. SUCCESS [  3.255 s]
[INFO] Hono MQTT Adapter .................................. SUCCESS [  1.823 s]
[INFO] Hono Kura Adapter .................................. SUCCESS [  1.854 s]
[INFO] Hono Artemis ....................................... SUCCESS [  2.376 s]
[INFO] Hono Dispatch Router ............................... SUCCESS [ 33.953 s]
[INFO] Metrics Docker Images .............................. SUCCESS [  0.993 s]
[INFO] Hono Services ...................................... SUCCESS [  0.442 s]
[INFO] Hono Auth .......................................... SUCCESS [ 10.509 s]
[INFO] Hono Device Registry ............................... FAILURE [  8.678 s]
[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:28 min
[INFO] Finished at: 2017-11-27T07:34:29-05:00
[INFO] Final Memory: 74M/3776M
[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-device-registry: There are test failures.

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

Please refer to /jobs/genie.hono/Hono-CI/workspace/services/device-registry/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/device-registry/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-device-registry
[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