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 Pipeline #227

See <https://ci.eclipse.org/hono/job/Hono%20CI%20Pipeline/227/display/redirect>

------------------------------------------
[...truncated 295 lines...]
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.eclipse.hono.config.AbstractConfigTest
[INFO] Running org.eclipse.hono.auth.SpringBasedHonoPasswordEncoderTest
08:50:27.176 [main] INFO  o.e.h.a.SpringBasedHonoPasswordEncoder - using BCrypt [strength: 4] with PRNG [NativePRNGNonBlocking] for encoding clear text passwords
08:50:27.179 [main] INFO  o.e.h.a.SpringBasedHonoPasswordEncoder - using BCrypt [strength: 4] with PRNG [NativePRNGNonBlocking] for encoding clear text passwords
08:50:27.182 [main] INFO  o.e.h.a.SpringBasedHonoPasswordEncoder - using BCrypt [strength: 4] with PRNG [NativePRNGNonBlocking] for encoding clear text passwords
08:50:27.183 [main] INFO  o.e.h.a.SpringBasedHonoPasswordEncoder - using BCrypt [strength: 4] with PRNG [NativePRNGNonBlocking] for encoding clear text passwords
08:50:27.185 [main] INFO  o.e.h.a.SpringBasedHonoPasswordEncoder - using BCrypt [strength: 4] with PRNG [NativePRNGNonBlocking] for encoding clear text passwords
08:50:27.525 [main] INFO  o.e.h.a.SpringBasedHonoPasswordEncoder - using BCrypt [strength: 4] with PRNG [NativePRNGNonBlocking] for encoding clear text passwords
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.367 s - in org.eclipse.hono.auth.SpringBasedHonoPasswordEncoderTest
[INFO] Running org.eclipse.hono.auth.AuthoritiesImplTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.eclipse.hono.auth.AuthoritiesImplTest
[INFO] Running org.eclipse.hono.auth.BCryptHelperTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.eclipse.hono.auth.BCryptHelperTest
[INFO] Running org.eclipse.hono.tracing.MultiMapInjectExtractAdapterTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.eclipse.hono.tracing.MultiMapInjectExtractAdapterTest
[INFO] Running org.eclipse.hono.tracing.JsonObjectInjectExtractAdapterTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.eclipse.hono.tracing.JsonObjectInjectExtractAdapterTest
[INFO] Running org.eclipse.hono.connection.impl.ConnectionFactoryImplTest
08:50:28.128 [main] WARN  o.e.h.c.impl.ConnectionFactoryImpl - can't open connection to container [null] at [amqp://127.0.0.1:25673]: underlying connection was disconnected while opening AMQP connection
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.796 s - in org.eclipse.hono.connection.impl.ConnectionFactoryImplTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 115, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.2:unpack-dependencies (copy_legal_docs) @ hono-core ---
[INFO] Unpacking /jobs/genie.hono/Hono CI Pipeline/workspace/legal/target/hono-legal-0.9-M2-SNAPSHOT.jar to /jobs/genie.hono/Hono CI Pipeline/workspace/core/target/classes/META-INF with includes "" and excludes "META-INF/**,checkstyle/**"
[INFO] 
[INFO] --- maven-bundle-plugin:3.5.0:bundle (default-bundle) @ hono-core ---
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ hono-core ---
[INFO] Building jar: /jobs/genie.hono/Hono CI Pipeline/workspace/core/target/hono-core-0.9-M2-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- jacoco-extras:0.1.4:xml (build-enhanced-xml-report) @ hono-core ---
[INFO] Loading execution data file /jobs/genie.hono/Hono CI Pipeline/workspace/core/target/jacoco.exec
[INFO] Analyzed bundle 'hono-core' with 67 classes
[INFO] Analyzed bundle 'hono-legal' with 0 classes
[INFO] Analyzed bundle 'hono-demo-certs' with 0 classes
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ hono-core ---
[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ hono-core ---
[INFO] Installing /jobs/genie.hono/Hono CI Pipeline/workspace/core/target/hono-core-0.9-M2-SNAPSHOT.jar to /opt/public/hipp/homes/genie.hono/.m2/repository/org/eclipse/hono/hono-core/0.9-M2-SNAPSHOT/hono-core-0.9-M2-SNAPSHOT.jar
[INFO] Installing /jobs/genie.hono/Hono CI Pipeline/workspace/core/pom.xml to /opt/public/hipp/homes/genie.hono/.m2/repository/org/eclipse/hono/hono-core/0.9-M2-SNAPSHOT/hono-core-0.9-M2-SNAPSHOT.pom
[INFO] Installing /jobs/genie.hono/Hono CI Pipeline/workspace/core/target/hono-core-0.9-M2-SNAPSHOT-sources.jar to /opt/public/hipp/homes/genie.hono/.m2/repository/org/eclipse/hono/hono-core/0.9-M2-SNAPSHOT/hono-core-0.9-M2-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-bundle-plugin:3.5.0:install (default-install) @ hono-core ---
[INFO] Installing org/eclipse/hono/hono-core/0.9-M2-SNAPSHOT/hono-core-0.9-M2-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] 
[INFO] --------------------< org.eclipse.hono:hono-client >--------------------
[INFO] Building Hono Client 0.9-M2-SNAPSHOT                              [6/26]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hono-client ---
[INFO] Deleting /jobs/genie.hono/Hono CI Pipeline/workspace/client/target
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (default) @ hono-client ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ hono-client ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.2:prepare-agent (default-prepare-agent) @ hono-client ---
[INFO] argLine set to "-javaagent:/opt/public/hipp/homes/genie.hono/.m2/repository/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2-runtime.jar=destfile=/jobs/genie.hono/Hono CI Pipeline/workspace/client/target/jacoco.exec"
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ hono-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.hono/Hono CI Pipeline/workspace/client/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ hono-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 38 source files to /jobs/genie.hono/Hono CI Pipeline/workspace/client/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ hono-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ hono-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 18 source files to /jobs/genie.hono/Hono CI Pipeline/workspace/client/target/test-classes
[INFO] /jobs/genie.hono/Hono CI Pipeline/workspace/client/src/test/java/org/eclipse/hono/client/impl/HonoClientUnitTestHelper.java: /jobs/genie.hono/Hono CI Pipeline/workspace/client/src/test/java/org/eclipse/hono/client/impl/HonoClientUnitTestHelper.java uses or overrides a deprecated API.
[INFO] /jobs/genie.hono/Hono CI Pipeline/workspace/client/src/test/java/org/eclipse/hono/client/impl/HonoClientUnitTestHelper.java: Recompile with -Xlint:deprecation for details.
[INFO] /jobs/genie.hono/Hono CI Pipeline/workspace/client/src/test/java/org/eclipse/hono/client/impl/AbstractSenderTest.java: Some input files use unchecked or unsafe operations.
[INFO] /jobs/genie.hono/Hono CI Pipeline/workspace/client/src/test/java/org/eclipse/hono/client/impl/AbstractSenderTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ hono-client ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.eclipse.hono.client.impl.AbstractSenderTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.433 s - in org.eclipse.hono.client.impl.AbstractSenderTest
[INFO] Running org.eclipse.hono.client.impl.AbstractRequestResponseClientTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.587 s - in org.eclipse.hono.client.impl.AbstractRequestResponseClientTest
[INFO] Running org.eclipse.hono.client.impl.EventConsumerImplTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 s - in org.eclipse.hono.client.impl.EventConsumerImplTest
[INFO] Running org.eclipse.hono.client.impl.AbstractHonoClientTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 s - in org.eclipse.hono.client.impl.AbstractHonoClientTest
[INFO] Running org.eclipse.hono.client.impl.RegistrationClientImplTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.161 s - in org.eclipse.hono.client.impl.RegistrationClientImplTest
[INFO] Running org.eclipse.hono.client.impl.CommandClientImplTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.eclipse.hono.client.impl.CommandClientImplTest
[INFO] Running org.eclipse.hono.client.impl.CommandConnectionImplTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.092 s - in org.eclipse.hono.client.impl.CommandConnectionImplTest
[INFO] Running org.eclipse.hono.client.impl.HonoClientImplTest
[ERROR] Tests run: 15, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.517 s <<< FAILURE! - in org.eclipse.hono.client.impl.HonoClientImplTest
[ERROR] testConnectSucceedsAfterDisconnect(org.eclipse.hono.client.impl.HonoClientImplTest)  Time elapsed: 0.087 s  <<< FAILURE!
org.mockito.exceptions.verification.WantedButNotInvoked: 

Wanted but not invoked:
protonConnection.closeHandler(
    <Capturing argument>
);
-> at org.eclipse.hono.client.impl.HonoClientImplTest.lambda$testConnectSucceedsAfterDisconnect$29(HonoClientImplTest.java:498)

However, there were exactly 3 interactions with this mock:
protonConnection.getRemoteOfferedCapabilities();
-> at org.eclipse.hono.client.impl.HonoClientImpl.setConnection(HonoClientImpl.java:292)

protonConnection.isDisconnected();
-> at org.eclipse.hono.client.impl.HonoClientImpl.isConnectedInternal(HonoClientImpl.java:267)

protonConnection.disconnectHandler(null);
-> at org.eclipse.hono.client.impl.HonoClientImpl.lambda$closeConnection$56(HonoClientImpl.java:1150)


	at org.eclipse.hono.client.impl.HonoClientImplTest.lambda$testConnectSucceedsAfterDisconnect$29(HonoClientImplTest.java:498)
	at org.eclipse.hono.client.impl.HonoClientImplTest.testConnectSucceedsAfterDisconnect(HonoClientImplTest.java:492)

[INFO] Running org.eclipse.hono.client.impl.TenantClientImplTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.129 s - in org.eclipse.hono.client.impl.TenantClientImplTest
[INFO] Running org.eclipse.hono.client.impl.TelemetrySenderImplTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.eclipse.hono.client.impl.TelemetrySenderImplTest
[INFO] Running org.eclipse.hono.client.impl.EventSenderImplTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.eclipse.hono.client.impl.EventSenderImplTest
[INFO] Running org.eclipse.hono.client.CommandSubscriptionTest
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 s - in org.eclipse.hono.client.CommandSubscriptionTest
[INFO] Running org.eclipse.hono.client.ServerErrorExceptionTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 s - in org.eclipse.hono.client.ServerErrorExceptionTest
[INFO] Running org.eclipse.hono.client.CommandTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.eclipse.hono.client.CommandTest
[INFO] Running org.eclipse.hono.client.CommandResponseTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.eclipse.hono.client.CommandResponseTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   HonoClientImplTest.testConnectSucceedsAfterDisconnect:492->lambda$testConnectSucceedsAfterDisconnect$29:498 
Wanted but not invoked:
protonConnection.closeHandler(
    <Capturing argument>
);
-> at org.eclipse.hono.client.impl.HonoClientImplTest.lambda$testConnectSucceedsAfterDisconnect$29(HonoClientImplTest.java:498)

However, there were exactly 3 interactions with this mock:
protonConnection.getRemoteOfferedCapabilities();
-> at org.eclipse.hono.client.impl.HonoClientImpl.setConnection(HonoClientImpl.java:292)

protonConnection.isDisconnected();
-> at org.eclipse.hono.client.impl.HonoClientImpl.isConnectedInternal(HonoClientImpl.java:267)

protonConnection.disconnectHandler(null);
-> at org.eclipse.hono.client.impl.HonoClientImpl.lambda$closeConnection$56(HonoClientImpl.java:1150)


[INFO] 
[ERROR] Tests run: 99, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Hono 0.9-M2-SNAPSHOT ............................... SUCCESS [  1.520 s]
[INFO] Hono Dependencies .................................. SUCCESS [  0.022 s]
[INFO] Legal Documents .................................... SUCCESS [  0.709 s]
[INFO] Hono Demo Certs .................................... SUCCESS [  0.058 s]
[INFO] Hono Core .......................................... SUCCESS [ 17.241 s]
[INFO] Hono Client ........................................ FAILURE [  6.975 s]
[INFO] Hono Service base .................................. SKIPPED
[INFO] Hono Protocol Adapters ............................. SKIPPED
[INFO] Hono AMQP Adapter .................................. SKIPPED
[INFO] Hono COAP Adapter base ............................. SKIPPED
[INFO] Hono COAP Adapter .................................. SKIPPED
[INFO] Hono HTTP Adapter base ............................. SKIPPED
[INFO] Hono HTTP Adapter .................................. SKIPPED
[INFO] Hono MQTT Adapter base ............................. SKIPPED
[INFO] Hono Kura Adapter .................................. SKIPPED
[INFO] Hono MQTT Adapter .................................. SKIPPED
[INFO] Hono command-line interface ........................ SKIPPED
[INFO] Hono Deployment .................................... SKIPPED
[INFO] Hono Examples ...................................... SKIPPED
[INFO] Hono JMeter Plugin ................................. SKIPPED
[INFO] Hono Services ...................................... SKIPPED
[INFO] Hono Auth .......................................... SKIPPED
[INFO] Hono Device Registry ............................... SKIPPED
[INFO] Hono Messaging ..................................... SKIPPED
[INFO] Hono Site .......................................... SKIPPED
[INFO] Hono Integration Tests 0.9-M2-SNAPSHOT ............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.554 s
[INFO] Finished at: 2019-01-17T08:50:44-05:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /jobs/genie.hono/Hono CI Pipeline/workspace@tmp/withMaven687b8ce2/maven-spy-20190117-085016-734552661864646556529.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project hono-client: There are test failures.
[ERROR] 
[ERROR] Please refer to /jobs/genie.hono/Hono CI Pipeline/workspace/client/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[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-client
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact pom.xml under org/eclipse/hono/hono-parent/0.9-M2-SNAPSHOT/hono-parent-0.9-M2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact bom/pom.xml under org/eclipse/hono/hono-bom/0.9-M2-SNAPSHOT/hono-bom-0.9-M2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact legal/pom.xml under org/eclipse/hono/hono-legal/0.9-M2-SNAPSHOT/hono-legal-0.9-M2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact legal/target/hono-legal-0.9-M2-SNAPSHOT.jar under org/eclipse/hono/hono-legal/0.9-M2-SNAPSHOT/hono-legal-0.9-M2-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact demo-certs/pom.xml under org/eclipse/hono/hono-demo-certs/0.9-M2-SNAPSHOT/hono-demo-certs-0.9-M2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact demo-certs/target/hono-demo-certs-0.9-M2-SNAPSHOT.jar under org/eclipse/hono/hono-demo-certs/0.9-M2-SNAPSHOT/hono-demo-certs-0.9-M2-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact core/pom.xml under org/eclipse/hono/hono-core/0.9-M2-SNAPSHOT/hono-core-0.9-M2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact core/target/hono-core-0.9-M2-SNAPSHOT.jar under org/eclipse/hono/hono-core/0.9-M2-SNAPSHOT/hono-core-0.9-M2-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact core/target/hono-core-0.9-M2-SNAPSHOT-sources.jar under org/eclipse/hono/hono-core/0.9-M2-SNAPSHOT/hono-core-0.9-M2-SNAPSHOT-sources.jar
[withMaven] junitPublisher - Archive test results for Maven artifact org.eclipse.hono:hono-legal:jar:0.9-M2-SNAPSHOT generated by maven-surefire-plugin:test (default-test): legal/target/surefire-reports/*.xml
[withMaven] junitPublisher - Jenkins JUnit Attachments Plugin not found, can't publish test attachments.Recording test results
None of the test reports contained any result
[withMaven] junitPublisher - Archive test results for Maven artifact org.eclipse.hono:hono-demo-certs:jar:0.9-M2-SNAPSHOT generated by maven-surefire-plugin:test (default-test): demo-certs/target/surefire-reports/*.xml
[withMaven] junitPublisher - Jenkins JUnit Attachments Plugin not found, can't publish test attachments.Recording test results
None of the test reports contained any result
[withMaven] junitPublisher - Archive test results for Maven artifact org.eclipse.hono:hono-core:bundle:0.9-M2-SNAPSHOT generated by maven-surefire-plugin:test (default-test): core/target/surefire-reports/*.xml
[withMaven] junitPublisher - Jenkins JUnit Attachments Plugin not found, can't publish test attachments.Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact org.eclipse.hono:hono-client:bundle:0.9-M2-SNAPSHOT generated by maven-surefire-plugin:test (default-test): client/target/surefire-reports/*.xml
[withMaven] junitPublisher - Jenkins JUnit Attachments Plugin not found, can't publish test attachments.Recording test results
[withMaven] Jenkins Task Scanner Plugin not found, don't display results of source code scanning for 'TODO' and 'FIXME' in pipeline screen.
[withMaven] Publishers: Generated Artifacts Publisher: 59 ms, Junit Publisher: 335 ms, Dependencies Fingerprint Publisher: 10 ms, Pipeline Graph Publisher: 3 ms, Open Task Scanner Publisher: 2 ms
[Pipeline] // withMaven
[Pipeline] }
[Pipeline] // stage
[Pipeline] echo
Error: hudson.AbortException: script returned exit code 1
[Pipeline] echo
Build status: FAILURE
[Pipeline] step


Back to the top