-
Task
-
Resolution: Done
-
L3 - Default
-
None
-
None
-
Not defined
Context:
The nighlty query performance test log is polluted with exceptions that occur as many tests don't consume the server response and also don't close the response. Leading to errors logged on the server side:
08:50:22.112 [qtp1957530885-384] ERROR o.g.j.server.ServerRuntime$Responder - An I/O error has occurred while writing a response message entity to the container output stream. [2020-09-17T06:50:22.374Z] org.glassfish.jersey.server.internal.process.MappableException: org.eclipse.jetty.io.EofException [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:67) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:638) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:256) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.internal.Errors.process(Errors.java:292) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.internal.Errors.process(Errors.java:274) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.internal.Errors.process(Errors.java:244) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1651) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:226) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1638) [2020-09-17T06:50:22.374Z] at org.camunda.optimize.jetty.NoCachingFilter.doFilter(NoCachingFilter.java:46) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1638) [2020-09-17T06:50:22.374Z] at org.camunda.optimize.jetty.SingleSignOnFilter.doFilter(SingleSignOnFilter.java:73) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1638) [2020-09-17T06:50:22.374Z] at org.camunda.optimize.jetty.LicenseFilter.doFilter(LicenseFilter.java:85) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1638) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:567) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1377) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:507) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1292) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.server.Server.handle(Server.java:501) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) 08:50:22.112 [qtp1957530885-384] ERROR o.g.j.server.ServerRuntime$Responder - An I/O error has occurred while writing a response message entity to the container output stream. [2020-09-17T06:50:22.374Z] org.glassfish.jersey.server.internal.process.MappableException: org.eclipse.jetty.io.EofException [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:67) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:638) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:256) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.internal.Errors.process(Errors.java:292) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.internal.Errors.process(Errors.java:274) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.internal.Errors.process(Errors.java:244) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319) [2020-09-17T06:50:22.374Z] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1651) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:226) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1638) [2020-09-17T06:50:22.374Z] at org.camunda.optimize.jetty.NoCachingFilter.doFilter(NoCachingFilter.java:46) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1638) [2020-09-17T06:50:22.374Z] at org.camunda.optimize.jetty.SingleSignOnFilter.doFilter(SingleSignOnFilter.java:73) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1638) [2020-09-17T06:50:22.374Z] at org.camunda.optimize.jetty.LicenseFilter.doFilter(LicenseFilter.java:85) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1638) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:567) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1377) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:507) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1292) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) [2020-09-17T06:50:22.374Z] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.server.Server.handle(Server.java:501) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) [2020-09-17T06:50:22.375Z] at java.lang.Thread.run(Thread.java:748) [2020-09-17T06:50:22.375Z] Caused by: org.eclipse.jetty.io.EofException: null [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:279) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:378) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:119) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:298) [2020-09-17T06:50:22.375Z] ... 6 common frames omitted [2020-09-17T06:50:22.375Z] Caused by: java.io.IOException: Connection reset by peer [2020-09-17T06:50:22.375Z] at sun.nio.ch.FileDispatcherImpl.writev0(Native Method) [2020-09-17T06:50:22.375Z] at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) [2020-09-17T06:50:22.375Z] at sun.nio.ch.IOUtil.write(IOUtil.java:148) [2020-09-17T06:50:22.375Z] at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:501) [2020-09-17T06:50:22.375Z] at java.nio.channels.SocketChannel.write(SocketChannel.java:502) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:273) [2020-09-17T06:50:22.375Z] ... 11 common frames omitted [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) [2020-09-17T06:50:22.375Z] at java.lang.Thread.run(Thread.java:748) [2020-09-17T06:50:22.375Z] Caused by: org.eclipse.jetty.io.EofException: null [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:279) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:378) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:119) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:298) [2020-09-17T06:50:22.375Z] ... 6 common frames omitted [2020-09-17T06:50:22.375Z] Caused by: java.io.IOException: Connection reset by peer [2020-09-17T06:50:22.375Z] at sun.nio.ch.FileDispatcherImpl.writev0(Native Method) [2020-09-17T06:50:22.375Z] at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) [2020-09-17T06:50:22.375Z] at sun.nio.ch.IOUtil.write(IOUtil.java:148) [2020-09-17T06:50:22.375Z] at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:501) [2020-09-17T06:50:22.375Z] at java.nio.channels.SocketChannel.write(SocketChannel.java:502) [2020-09-17T06:50:22.375Z] at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:273) [2020-09-17T06:50:22.375Z] ... 11 common frames omitted
AT:
- resolve these errors by properly closing the response streams from the test client side