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-Nightly Pipeline #767

See <https://ci.eclipse.org/hono/job/Hono-Nightly%20Pipeline/767/display/redirect>

Changes:


------------------------------------------
[...truncated 146 lines...]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hono-legal ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.hono/Hono-Nightly Pipeline/workspace/legal/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ hono-legal ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ hono-legal ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ hono-legal ---
[INFO] Building jar: /jobs/genie.hono/Hono-Nightly Pipeline/workspace/legal/target/hono-legal-1.5.0-SNAPSHOT.jar
[INFO] 
[INFO] ------------------< org.eclipse.hono:hono-demo-certs >------------------
[INFO] Building Hono Demo Certs 1.5.0-SNAPSHOT                           [4/38]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hono-demo-certs ---
[INFO] Deleting /jobs/genie.hono/Hono-Nightly Pipeline/workspace/demo-certs/target
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (default) @ hono-demo-certs ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-no-snapshots) @ hono-demo-certs ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-java-11) @ hono-demo-certs ---
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hono-demo-certs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 47 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ hono-demo-certs ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hono-demo-certs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.hono/Hono-Nightly Pipeline/workspace/demo-certs/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ hono-demo-certs ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ hono-demo-certs ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ hono-demo-certs ---
[INFO] Building jar: /jobs/genie.hono/Hono-Nightly Pipeline/workspace/demo-certs/target/hono-demo-certs-1.5.0-SNAPSHOT.jar
[INFO] 
[INFO] ---------------------< org.eclipse.hono:hono-core >---------------------
[INFO] Building Hono Core 1.5.0-SNAPSHOT                                 [5/38]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hono-core ---
[INFO] Deleting /jobs/genie.hono/Hono-Nightly Pipeline/workspace/core/target
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create-timestamp (default) @ hono-core ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-no-snapshots) @ hono-core ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-java-11) @ hono-core ---
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.2:unpack-dependencies (copy_demo_certs) @ hono-core ---
[INFO] Unpacking /jobs/genie.hono/Hono-Nightly Pipeline/workspace/demo-certs/target/hono-demo-certs-1.5.0-SNAPSHOT.jar to /jobs/genie.hono/Hono-Nightly Pipeline/workspace/core/target/certs with includes "" and excludes "META-INF/**"
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hono-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.hono/Hono-Nightly Pipeline/workspace/core/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ hono-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 94 source files to /jobs/genie.hono/Hono-Nightly Pipeline/workspace/core/target/classes
[INFO] 
[INFO] --- jandex-maven-plugin:1.0.7:jandex (make-index) @ hono-core ---
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hono-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 11 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ hono-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 31 source files to /jobs/genie.hono/Hono-Nightly Pipeline/workspace/core/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ hono-core ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.eclipse.hono.util.HonoProtonHelperTest
[INFO] Running org.eclipse.hono.util.JsonBackedValueObjectTest
[INFO] Running org.eclipse.hono.util.MessageHelperTest
[INFO] Running org.eclipse.hono.util.FuturesTest
[INFO] Running org.eclipse.hono.util.StringsTest
[INFO] Running org.eclipse.hono.util.PortConfigurationHelperTest
[INFO] Running org.eclipse.hono.util.CredentialsObjectTest
[INFO] Running org.eclipse.hono.util.ResourceIdentifierTest
[INFO] Running org.eclipse.hono.util.TenantObjectTest
[INFO] Running org.eclipse.hono.util.TimeUntilDisconnectNotificationTest
[INFO] Running org.eclipse.hono.util.MessageTapTest
[INFO] Running org.eclipse.hono.util.HostnamesTest
[INFO] Running org.eclipse.hono.util.AddressHelperTest
[INFO] Running org.eclipse.hono.util.TriTupleTest
[INFO] Running org.eclipse.hono.connection.impl.ConnectionFactoryImplTest
[INFO] Running org.eclipse.hono.util.EventBusMessageTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 s - in org.eclipse.hono.util.JsonBackedValueObjectTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 s - in org.eclipse.hono.util.PortConfigurationHelperTest
[INFO] Running org.eclipse.hono.util.JwtHelperTest
[INFO] Running org.eclipse.hono.util.RequestResponseApiConstantsTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.eclipse.hono.util.TimeUntilDisconnectNotificationTest
[INFO] Running org.eclipse.hono.config.FileFormatTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.eclipse.hono.util.MessageTapTest
[INFO] Running org.eclipse.hono.config.AuthenticatingClientConfigPropertiesTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.eclipse.hono.util.AddressHelperTest
[INFO] Running org.eclipse.hono.config.ClientConfigPropertiesTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.eclipse.hono.util.StringsTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.eclipse.hono.config.FileFormatTest
[INFO] Running org.eclipse.hono.config.AbstractConfigTest
[INFO] Running org.eclipse.hono.config.KeyLoaderTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 s - in org.eclipse.hono.util.RequestResponseApiConstantsTest
[INFO] Running org.eclipse.hono.config.PemReaderTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.eclipse.hono.util.HostnamesTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.eclipse.hono.config.AuthenticatingClientConfigPropertiesTest
[INFO] Running org.eclipse.hono.auth.BCryptHelperTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.eclipse.hono.config.ClientConfigPropertiesTest
[INFO] Running org.eclipse.hono.auth.AuthoritiesImplTest
[INFO] Running org.eclipse.hono.auth.SpringBasedHonoPasswordEncoderTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.eclipse.hono.auth.AuthoritiesImplTest
[INFO] Running org.eclipse.hono.tracing.TracingHelperTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.eclipse.hono.config.PemReaderTest
[INFO] Running org.eclipse.hono.tracing.MessageAnnotationsInjectExtractAdapterTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.eclipse.hono.util.TriTupleTest
[INFO] Running org.eclipse.hono.tracing.JsonObjectInjectExtractAdapterTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.eclipse.hono.util.EventBusMessageTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.eclipse.hono.auth.BCryptHelperTest
[INFO] Running org.eclipse.hono.tracing.MultiMapInjectExtractAdapterTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.eclipse.hono.util.ResourceIdentifierTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 s - in org.eclipse.hono.config.AbstractConfigTest
SLF4J: A number (164) of logging calls during the initialization phase have been intercepted and are
SLF4J: now being replayed. These are subject to the filtering rules of the underlying logging system.
SLF4J: See also http://www.slf4j.org/codes.html#replay
20:13:35.280 [ForkJoinPool-1-worker-15] WARN  o.e.hono.config.AbstractConfigTest$1 - unsupported key & cert format: PKCS12
20:13:35.283 [ForkJoinPool-1-worker-15] WARN  o.e.hono.config.AbstractConfigTest$1 - unsupported key store format: PEM
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in org.eclipse.hono.tracing.MultiMapInjectExtractAdapterTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.147 s - in org.eclipse.hono.tracing.JsonObjectInjectExtractAdapterTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.321 s - in org.eclipse.hono.util.MessageHelperTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.813 s - in org.eclipse.hono.tracing.MessageAnnotationsInjectExtractAdapterTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.817 s - in org.eclipse.hono.util.CredentialsObjectTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.821 s - in org.eclipse.hono.auth.SpringBasedHonoPasswordEncoderTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.824 s - in org.eclipse.hono.tracing.TracingHelperTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.957 s - in org.eclipse.hono.util.HonoProtonHelperTest
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.266 s <<< FAILURE! - in org.eclipse.hono.util.JwtHelperTest
[ERROR] testIsExpired  Time elapsed: 0.438 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <false> but was: <true>
	at org.eclipse.hono.util.JwtHelperTest.testIsExpired(JwtHelperTest.java:52)

[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.272 s - in org.eclipse.hono.util.FuturesTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.293 s - in org.eclipse.hono.config.KeyLoaderTest
20:13:41.509 [ForkJoinPool-1-worker-19] WARN  o.e.h.c.impl.ConnectionFactoryImpl - can't open connection to container [null] at [amqp://127.0.0.1:25673, role: unknown]: underlying connection was disconnected while opening AMQP connection
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.498 s - in org.eclipse.hono.util.TenantObjectTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.69 s - in org.eclipse.hono.connection.impl.ConnectionFactoryImplTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   JwtHelperTest.testIsExpired:52 expected: <false> but was: <true>
[INFO] 
[ERROR] Tests run: 161, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Hono
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Hono 1.5.0-SNAPSHOT:
[INFO] 
[INFO] Hono ............................................... SUCCESS [  3.948 s]
[INFO] Hono Dependencies .................................. SUCCESS [  0.008 s]
[INFO] Legal Documents .................................... SUCCESS [  2.044 s]
[INFO] Hono Demo Certs .................................... SUCCESS [  0.223 s]
[INFO] Hono Core .......................................... FAILURE [ 18.565 s]
[INFO] Hono Client ........................................ SKIPPED
[INFO] Hono Service base .................................. SKIPPED
[INFO] Hotrod Device Connection client .................... SKIPPED
[INFO] Hono Protocol Adapters ............................. SKIPPED
[INFO] Spring based protocol adapters parent .............. 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-adapter-base-quarkus .......................... SKIPPED
[INFO] Hono HTTP Adapter (Quarkus) ........................ SKIPPED
[INFO] Hono MQTT Adapter base ............................. SKIPPED
[INFO] Hono Kura Adapter .................................. SKIPPED
[INFO] Hono LoRa Adapter .................................. SKIPPED
[INFO] Hono MQTT Adapter .................................. SKIPPED
[INFO] Hono MQTT Adapter .................................. SKIPPED
[INFO] Hono Sigfox Adapter ................................ SKIPPED
[INFO] Hono command-line interface ........................ SKIPPED
[INFO] Hono Deployment .................................... SKIPPED
[INFO] Hono Examples ...................................... SKIPPED
[INFO] Hono Client Examples ............................... SKIPPED
[INFO] Hono Protocol Gateway example ...................... SKIPPED
[INFO] Hono JMeter Plugin ................................. SKIPPED
[INFO] Hono Services ...................................... SKIPPED
[INFO] Hono Auth .......................................... SKIPPED
[INFO] Hono Service Device Registry Base .................. SKIPPED
[INFO] Base classes for JDBC services ..................... SKIPPED
[INFO] Hono Device Connection service ..................... SKIPPED
[INFO] Hono File Based Device Registry .................... SKIPPED
[INFO] Hono Mongodb Based Device Registry ................. SKIPPED
[INFO] Hono Site .......................................... SKIPPED
[INFO] Hono Integration Tests ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  34.523 s
[INFO] Finished at: 2020-10-01T20:13:42-04:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /jobs/genie.hono/Hono-Nightly Pipeline/workspace@tmp/withMaven30f21b5c/maven-spy-20201001-201307-6073474309929806639096.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project hono-core: There are test failures.
[ERROR] 
[ERROR] Please refer to /jobs/genie.hono/Hono-Nightly Pipeline/workspace/core/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].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 <args> -rf :hono-core
[Pipeline] }
[withMaven] junitPublisher - Archive test results for Maven artifact org.eclipse.hono:hono-legal:jar:1.5.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): legal/target/surefire-reports/*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.eclipse.hono:hono-demo-certs:jar:1.5.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): demo-certs/target/surefire-reports/*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.eclipse.hono:hono-core:bundle:1.5.0-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] Jenkins Task Scanner Plugin not found, don't display results of source code scanning for 'TODO' and 'FIXME' in pipeline screen.
[withMaven] Publishers: Pipeline Graph Publisher: 11 ms, Junit Publisher: 290 ms, Dependencies Fingerprint Publisher: 14 ms, Open Task Scanner Publisher: 1 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