apache / pekko-grpc

Apache Pekko gRPC
https://pekko.apache.org/
Apache License 2.0
39 stars 17 forks source link

Investigate flaky failure in CI for `RichErrorModelTest` #291

Closed laglangyue closed 5 months ago

laglangyue commented 5 months ago

https://github.com/apache/pekko-grpc/actions/runs/8658484404/job/23742475467?pr=289

[INFO] [04/12/2024 07:27:52.355] [pool-8-thread-1-ScalaTest-running-GrpcInteropIoWithPekkoHttpScalaWithSslContextSpec] [CoordinatedShutdown(pekko://default)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
07:27:52.356 [grpc-nio-worker-ELG-13-1] DEBUG io.netty.handler.ssl.SslHandler -- [id: 0x0e11922d, L:/127.0.0.1:8080 - R:/127.0.0.1:45300] Swallowing a harmless 'connection reset by peer / broken pipe' error that occurred while writing close_notify in response to the peer's close_notify
java.net.SocketException: Connection reset
    at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
    at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
    at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:254)
    at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
    at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:357)
    at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    at java.base/java.lang.Thread.run(Thread.java:840)
Server stopped
Running test server_streaming
07:27:52.400 [grpc-nio-worker-ELG-13-2] DEBUG io.netty.handler.ssl.SslHandler -- [id: 0x8aa27548, L:/127.0.0.1:8080 - R:/127.0.0.1:45308] HANDSHAKEN: protocol:TLSv1.3 cipher suite:TLS_AES_256_GCM_SHA384