Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[hono-dev] Build failed in Jenkins: Hono-CI #737

See <https://ci.eclipse.org/hono/job/Hono-CI/737/display/redirect?page=changes>

Changes:

[ppatierno] Print out a warning when the connection could not be established

------------------------------------------
[...truncated 1.56 MB...]
[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://ci.eclipse.org/hono/job/Hono-CI/ws/.repository/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://ci.eclipse.org/hono/job/Hono-CI/ws/.repository/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://ci.eclipse.org/hono/job/Hono-CI/ws/.repository/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 ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.eclipse.hono.service.auth.impl.StandaloneAuthServerTest
10:36:57.004 [vert.x-eventloop-thread-0] INFO  o.e.h.s.a.BaseAuthenticationService - listening on event bus [address: authentication.in] for authentication requests
10:36:57.011 [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:36:57.239 [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:36:57.243 [vert.x-eventloop-thread-2] INFO  o.e.h.s.a.i.SimpleAuthenticationServer - secure port is not enabled
10:36:57.243 [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).
10:36:57.731 [vert.x-eventloop-thread-2] WARN  o.e.h.s.a.i.SimpleAuthenticationServer - server listens on non-standard insecure port [127.0.0.1:38506], default is 5672
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.046 sec - in org.eclipse.hono.service.auth.impl.StandaloneAuthServerTest
Running org.eclipse.hono.service.auth.impl.FileBasedAuthenticationServiceTest
10:36:58.167 [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.126 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://ci.eclipse.org/hono/job/Hono-CI/ws/.repository/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://ci.eclipse.org/hono/job/Hono-CI/ws/.repository/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://ci.eclipse.org/hono/job/Hono-CI/ws/.repository/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 ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.eclipse.hono.deviceregistry.CredentialsRestServerTest
10:37:00.404 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedCredentialsService - listening on event bus [address: credentials.in] for incoming credentials messages
10:37:00.413 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedCredentialsService - persistence is disabled, will not save credentials to file
10:37:00.416 [vert.x-eventloop-thread-1] INFO  o.e.h.d.DeviceRegistryRestServer - limiting size of inbound request body to 2048 bytes
10:37:00.426 [vert.x-eventloop-thread-1] INFO  o.e.h.d.DeviceRegistryRestServer - starting endpoint [name: credentials, class: org.eclipse.hono.service.credentials.CredentialsHttpEndpoint]
10:37:00.745 [vert.x-eventloop-thread-1] WARN  o.e.h.d.DeviceRegistryRestServer - server listens on non-standard insecure port [127.0.0.1:40138], default is 8080
10:37:05.382 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedCredentialsService - unregistered credentials data consumer from event bus
Dec 05, 2017 10:37:07 AM io.vertx.core.impl.BlockedThreadChecker
WARNING: Thread Thread[vert.x-eventloop-thread-2,5,main] has been blocked for 2432 ms, time limit is 2000
Dec 05, 2017 10:37:08 AM io.vertx.core.impl.BlockedThreadChecker
WARNING: Thread Thread[vert.x-eventloop-thread-2,5,main] has been blocked for 3432 ms, time limit is 2000
Tests run: 21, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.255 sec <<< FAILURE! - in org.eclipse.hono.deviceregistry.CredentialsRestServerTest
testGetAddedCredentials(org.eclipse.hono.deviceregistry.CredentialsRestServerTest)  Time elapsed: 4.08 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
10:37:09.455 [main] INFO  o.e.h.d.FileBasedCredentialsService - saving credentials to file every 3 seconds
10:37:09.463 [main] INFO  o.e.h.d.FileBasedCredentialsService - successfully loaded 3 credentials from file [/credentials.json]
10:37:09.463 [main] INFO  o.e.h.d.FileBasedCredentialsService - persistence is disabled, will not save credentials to file
10:37:09.476 [main] INFO  o.e.h.d.FileBasedCredentialsService - successfully loaded 2 credentials from file [/credentials.json]
10:37:09.494 [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.241 sec - in org.eclipse.hono.deviceregistry.FileBasedCredentialsServiceTest
Running org.eclipse.hono.deviceregistry.FileBasedRegistrationServiceTest
10:37:09.512 [main] INFO  o.e.h.d.FileBasedRegistrationService - saving device identities to file every 3 seconds
10:37:09.516 [main] INFO  o.e.h.d.FileBasedRegistrationService - successfully loaded 1 device identities from file [/device-identities.json]
10:37:09.517 [main] INFO  o.e.h.d.FileBasedRegistrationService - persistence is disabled, will not save device identities to file
10:37:09.523 [main] INFO  o.e.h.d.FileBasedRegistrationService - persistence is disabled, will not save device identities to file
10:37:09.525 [main] INFO  o.e.h.d.FileBasedRegistrationService - operation [unknown-action] not supported
10:37:09.533 [main] INFO  o.e.h.d.FileBasedRegistrationService - persistence is disabled, will not save device identities to file
10:37:09.536 [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.04 sec - in org.eclipse.hono.deviceregistry.FileBasedRegistrationServiceTest
Running org.eclipse.hono.deviceregistry.RegistrationRestServerTest
10:37:09.553 [main] INFO  o.e.h.s.r.RegistrationAssertionHelperImpl - using shared secret [49 bytes] for signing registration assertions
10:37:09.554 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedRegistrationService - listening on event bus [address: registration.in] for incoming registration messages
10:37:09.554 [vert.x-eventloop-thread-1] INFO  o.e.h.d.DeviceRegistryRestServer - limiting size of inbound request body to 2048 bytes
10:37:09.556 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedRegistrationService - persistence is disabled, will not save device identities to file
10:37:09.558 [vert.x-eventloop-thread-1] INFO  o.e.h.d.DeviceRegistryRestServer - starting endpoint [name: registration, class: org.eclipse.hono.service.registration.RegistrationHttpEndpoint]
10:37:09.559 [vert.x-eventloop-thread-1] WARN  o.e.h.d.DeviceRegistryRestServer - server listens on non-standard insecure port [127.0.0.1:56852], default is 8080
10:37:09.661 [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.131 sec - in org.eclipse.hono.deviceregistry.RegistrationRestServerTest
Running org.eclipse.hono.deviceregistry.StandaloneCredentialsApiTest
10:37:09.685 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedCredentialsService - listening on event bus [address: credentials.in] for incoming credentials messages
10:37:09.690 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedCredentialsService - successfully loaded 3 credentials from file [credentials.json]
10:37:09.690 [vert.x-eventloop-thread-0] INFO  o.e.h.d.FileBasedCredentialsService - persistence is disabled, will not save credentials to file
10:37:09.692 [vert.x-eventloop-thread-2] INFO  o.e.h.d.DeviceRegistryAmqpServer - starting endpoint [name: credentials, class: org.eclipse.hono.service.credentials.CredentialsAmqpEndpoint]
10:37:09.692 [vert.x-eventloop-thread-2] INFO  o.e.h.d.DeviceRegistryAmqpServer - secure port is not enabled
10:37:09.693 [vert.x-eventloop-thread-2] INFO  o.e.h.d.DeviceRegistryAmqpServer - Server found insecure port number configured for ephemeral port selection (port chosen automatically).
10:37:09.700 [vert.x-eventloop-thread-2] WARN  o.e.h.d.DeviceRegistryAmqpServer - server listens on non-standard insecure port [127.0.0.1:41086], default is 5672
10:37:10.175 [main] INFO  o.e.h.c.i.AbstractRequestResponseClient - closing request-response client ...
10:37:10.180 [vert.x-eventloop-thread-1] INFO  o.e.hono.client.impl.HonoClientImpl - closing connection to server [127.0.0.1:41086]...
10:37:10.182 [vert.x-eventloop-thread-1] INFO  o.e.hono.client.impl.HonoClientImpl - closed connection to server [127.0.0.1:41086]
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.513 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 [02:06 min]
[INFO] Hono Dependencies .................................. SUCCESS [  0.098 s]
[INFO] Legal Documents .................................... SUCCESS [ 23.968 s]
[INFO] Hono Demo Certs .................................... SUCCESS [  0.776 s]
[INFO] Hono Core .......................................... SUCCESS [02:35 min]
[INFO] Hono Client ........................................ SUCCESS [ 24.881 s]
[INFO] Hono Service base .................................. SUCCESS [ 30.820 s]
[INFO] Hono Protocol Adapters ............................. SUCCESS [  9.257 s]
[INFO] Hono HTTP Adapter base ............................. SUCCESS [  7.276 s]
[INFO] Hono REST Adapter .................................. SUCCESS [ 47.274 s]
[INFO] Hono MQTT Adapter base ............................. SUCCESS [ 24.556 s]
[INFO] Hono MQTT Adapter .................................. SUCCESS [  2.020 s]
[INFO] Hono Kura Adapter .................................. SUCCESS [  2.131 s]
[INFO] Hono Artemis ....................................... SUCCESS [  0.060 s]
[INFO] Hono Dispatch Router ............................... SUCCESS [02:07 min]
[INFO] Metrics Docker Images .............................. SUCCESS [  0.144 s]
[INFO] Hono Services ...................................... SUCCESS [  0.050 s]
[INFO] Hono Auth .......................................... SUCCESS [  6.434 s]
[INFO] Hono Device Registry ............................... FAILURE [ 11.549 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: 10:35 min
[INFO] Finished at: 2017-12-05T10:37:10-05:00
[INFO] Final Memory: 68M/2212M
[INFO] ------------------------------------------------------------------------
[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]
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hono-service-device-registry
Build step 'Invoke top-level Maven targets' marked build as failure


Back to the top