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

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

Changes:

[Kai Hudalla] [#629] Enable additional trace logging for test execution.

[Kai Hudalla] Include stack trace in log message for failed message processing.

[Kai Hudalla] Expect 202 status code for tests verifying successful message upload.

------------------------------------------
[...truncated 418.53 KB...]
	at io.netty.handler.codec.http.HttpClientCodec$Decoder.channelInactive(HttpClientCodec.java:282)
	at io.netty.channel.CombinedChannelDuplexHandler.channelInactive(CombinedChannelDuplexHandler.java:223)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1354)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:917)
	at io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:822)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:748)

11:13:19.267 [vert.x-eventloop-thread-0] INFO  o.e.h.a.h.v.VertxBasedHttpProtocolAdapter - successfully stopped protocol adapter
Jun 12, 2018 11:13:19 AM io.vertx.core.impl.ContextImpl
SEVERE: Unhandled exception
io.vertx.core.VertxException: Connection was closed
	at io.vertx.core.http.impl.Http1xClientConnection.handleClosed(Http1xClientConnection.java:660)
	at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:337)
	at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:195)
	at io.vertx.core.net.impl.VertxHandler.channelInactive(VertxHandler.java:130)
	at io.vertx.core.http.impl.Http1xClientHandler.channelInactive(Http1xClientHandler.java:88)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
	at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelInactive(CombinedChannelDuplexHandler.java:420)
	at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:377)
	at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:342)
	at io.netty.handler.codec.http.HttpClientCodec$Decoder.channelInactive(HttpClientCodec.java:282)
	at io.netty.channel.CombinedChannelDuplexHandler.channelInactive(CombinedChannelDuplexHandler.java:223)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1354)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:917)
	at io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:822)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:748)

[ERROR] Tests run: 10, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 91.593 s <<< FAILURE! - in org.eclipse.hono.adapter.http.vertx.VertxBasedHttpProtocolAdapterTest
[ERROR] testPutEventSucceedsForValidCredentials(org.eclipse.hono.adapter.http.vertx.VertxBasedHttpProtocolAdapterTest)  Time elapsed: 10.012 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10 seconds

[ERROR] testPutTelemetrySucceedsForValidCredentials(org.eclipse.hono.adapter.http.vertx.VertxBasedHttpProtocolAdapterTest)  Time elapsed: 9.998 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10 seconds

[ERROR] testPostTelemetrySendsMessageDownstream(org.eclipse.hono.adapter.http.vertx.VertxBasedHttpProtocolAdapterTest)  Time elapsed: 10.002 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10 seconds

[ERROR] testPostTelemetrySucceedsForValidCredentials(org.eclipse.hono.adapter.http.vertx.VertxBasedHttpProtocolAdapterTest)  Time elapsed: 10.001 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10 seconds

[ERROR] testPostEventSendsMessageDownstream(org.eclipse.hono.adapter.http.vertx.VertxBasedHttpProtocolAdapterTest)  Time elapsed: 10.007 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10 seconds

[ERROR] testPostTelemetryWithTtdOpensCommandReceiver(org.eclipse.hono.adapter.http.vertx.VertxBasedHttpProtocolAdapterTest)  Time elapsed: 10.003 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10 seconds

[ERROR] testPostTelemetrySucceedsForSupportedQoSLevel(org.eclipse.hono.adapter.http.vertx.VertxBasedHttpProtocolAdapterTest)  Time elapsed: 10.001 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10 seconds

[ERROR] testPostTelemetryFailsForMissingBasicAuthHeader(org.eclipse.hono.adapter.http.vertx.VertxBasedHttpProtocolAdapterTest)  Time elapsed: 10.002 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10 seconds

[ERROR] testPostTelemetryFailsForInvalidCredentials(org.eclipse.hono.adapter.http.vertx.VertxBasedHttpProtocolAdapterTest)  Time elapsed: 10.002 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10 seconds

Jun 12, 2018 11:13:19 AM io.vertx.core.impl.ContextImpl
SEVERE: Unhandled exception
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:39899
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
	at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:325)
	at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:633)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused
	... 11 more

Jun 12, 2018 11:13:19 AM io.vertx.core.impl.ContextImpl
SEVERE: Unhandled exception
io.vertx.core.VertxException: Connection was closed
	at io.vertx.core.http.impl.Http1xClientConnection.handleClosed(Http1xClientConnection.java:660)
	at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:337)
	at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:195)
	at io.vertx.core.net.impl.VertxHandler.channelInactive(VertxHandler.java:130)
	at io.vertx.core.http.impl.Http1xClientHandler.channelInactive(Http1xClientHandler.java:88)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
	at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelInactive(CombinedChannelDuplexHandler.java:420)
	at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:377)
	at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:342)
	at io.netty.handler.codec.http.HttpClientCodec$Decoder.channelInactive(HttpClientCodec.java:282)
	at io.netty.channel.CombinedChannelDuplexHandler.channelInactive(CombinedChannelDuplexHandler.java:223)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1354)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:917)
	at io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:822)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:748)

Jun 12, 2018 11:13:19 AM io.vertx.core.impl.ContextImpl
SEVERE: Unhandled exception
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:39899
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
	at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:325)
	at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:633)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused
	... 11 more

Jun 12, 2018 11:13:19 AM io.vertx.core.impl.ContextImpl
SEVERE: Unhandled exception
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:39899
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
	at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:325)
	at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:633)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused
	... 11 more

Jun 12, 2018 11:13:19 AM io.vertx.core.impl.ContextImpl
SEVERE: Unhandled exception
io.vertx.core.VertxException: Connection was closed
	at io.vertx.core.http.impl.Http1xClientConnection.handleClosed(Http1xClientConnection.java:660)
	at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:337)
	at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:195)
	at io.vertx.core.net.impl.VertxHandler.channelInactive(VertxHandler.java:130)
	at io.vertx.core.http.impl.Http1xClientHandler.channelInactive(Http1xClientHandler.java:88)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
	at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelInactive(CombinedChannelDuplexHandler.java:420)
	at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:377)
	at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:342)
	at io.netty.handler.codec.http.HttpClientCodec$Decoder.channelInactive(HttpClientCodec.java:282)
	at io.netty.channel.CombinedChannelDuplexHandler.channelInactive(CombinedChannelDuplexHandler.java:223)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1354)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:917)
	at io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:822)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:748)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   VertxBasedHttpProtocolAdapterTest.testPostEventSendsMessageDownstream » TestTimedOut
[ERROR]   VertxBasedHttpProtocolAdapterTest.testPostTelemetryFailsForInvalidCredentials » TestTimedOut
[ERROR]   VertxBasedHttpProtocolAdapterTest.testPostTelemetryFailsForMissingBasicAuthHeader » TestTimedOut
[ERROR]   VertxBasedHttpProtocolAdapterTest.testPostTelemetrySendsMessageDownstream » TestTimedOut
[ERROR]   VertxBasedHttpProtocolAdapterTest.testPostTelemetrySucceedsForSupportedQoSLevel » TestTimedOut
[ERROR]   VertxBasedHttpProtocolAdapterTest.testPostTelemetrySucceedsForValidCredentials » TestTimedOut
[ERROR]   VertxBasedHttpProtocolAdapterTest.testPostTelemetryWithTtdOpensCommandReceiver » TestTimedOut
[ERROR]   VertxBasedHttpProtocolAdapterTest.testPutEventSucceedsForValidCredentials » TestTimedOut
[ERROR]   VertxBasedHttpProtocolAdapterTest.testPutTelemetrySucceedsForValidCredentials » TestTimedOut
[INFO] 
[ERROR] Tests run: 10, Failures: 0, Errors: 9, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Hono ............................................... SUCCESS [  1.222 s]
[INFO] Hono Dependencies .................................. SUCCESS [  0.024 s]
[INFO] Legal Documents .................................... SUCCESS [  6.768 s]
[INFO] Hono Demo Certs .................................... SUCCESS [  0.850 s]
[INFO] Hono Core .......................................... SUCCESS [ 23.063 s]
[INFO] Hono Client ........................................ SUCCESS [ 14.870 s]
[INFO] Hono Service base .................................. SUCCESS [ 15.745 s]
[INFO] Hono Protocol Adapters ............................. SUCCESS [  0.089 s]
[INFO] Hono HTTP Adapter base ............................. SUCCESS [  6.482 s]
[INFO] Hono HTTP Adapter .................................. FAILURE [01:32 min]
[INFO] Hono MQTT Adapter base ............................. SKIPPED
[INFO] Hono MQTT Adapter .................................. SKIPPED
[INFO] Hono Kura Adapter .................................. SKIPPED
[INFO] Hono Services ...................................... SKIPPED
[INFO] Hono Auth .......................................... SKIPPED
[INFO] Hono Device Registry ............................... SKIPPED
[INFO] Hono Messaging ..................................... SKIPPED
[INFO] Hono Examples ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:42 min
[INFO] Finished at: 2018-06-12T11:13:19-04:00
[INFO] Final Memory: 58M/1983M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project hono-adapter-http-vertx: There are test failures.
[ERROR] 
[ERROR] Please refer to /jobs/genie.hono/Hono-Nightly/workspace/adapters/http-vertx/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-adapter-http-vertx
Build step 'Invoke top-level Maven targets' marked build as failure


Back to the top