GitHub Actions / Java CI / Test Report (21)
failed
Nov 22, 2024 in 0s
1295 tests run, 1280 passed, 14 skipped, 1 failed.
Annotations
Check failure on line 211 in CorsSimpleRequestTest
github-actions / Java CI / Test Report (21)
CorsSimpleRequestTest.corsSimpleRequestForLocalhostCanBeAllowedViaRegexConfiguration()
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
Raw output
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
at app//org.junit.jupiter.api.AssertDoesNotThrow.createAssertionFailedError(AssertDoesNotThrow.java:84)
at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:75)
at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:58)
at app//org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3228)
at app//io.micronaut.http.tck.AssertionUtils.assertDoesNotThrow(AssertionUtils.java:117)
at app//io.micronaut.http.server.tck.tests.cors.CorsSimpleRequestTest.isSuccessfulCorsAssertion(CorsSimpleRequestTest.java:356)
at app//io.micronaut.http.tck.TestScenario.run(TestScenario.java:118)
at app//io.micronaut.http.tck.TestScenario$Builder.run(TestScenario.java:201)
at app//io.micronaut.http.tck.TestScenario.asserts(TestScenario.java:67)
at app//io.micronaut.http.server.tck.tests.cors.CorsSimpleRequestTest.corsSimpleRequestForLocalhostCanBeAllowedViaRegexConfiguration(CorsSimpleRequestTest.java:211)
at java.base@21.0.5/java.lang.reflect.Method.invoke(Method.java:580)
at java.base@21.0.5/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base@21.0.5/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
at app//io.micronaut.http.client.netty.DefaultHttpClient.handleResponseError(DefaultHttpClient.java:2014)
at app//io.micronaut.http.client.netty.DefaultHttpClient$6.fail(DefaultHttpClient.java:1688)
at app//io.micronaut.http.client.netty.Http1ResponseHandler$BeforeResponse.exceptionCaught(Http1ResponseHandler.java:143)
at app//io.micronaut.http.client.netty.Http1ResponseHandler.exceptionCaught(Http1ResponseHandler.java:88)
at app//io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346)
at app//io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325)
at app//io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:317)
at app//io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireExceptionCaught(CombinedChannelDuplexHandler.java:424)
at app//io.netty.channel.ChannelHandlerAdapter.exceptionCaught(ChannelHandlerAdapter.java:92)
at app//io.netty.channel.CombinedChannelDuplexHandler$1.fireExceptionCaught(CombinedChannelDuplexHandler.java:145)
at app//io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:143)
at app//io.netty.channel.CombinedChannelDuplexHandler.exceptionCaught(CombinedChannelDuplexHandler.java:231)
at app//io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346)
at app//io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325)
at app//io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:317)
at app//io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1324)
at app//io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:346)
at app//io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:325)
at app//io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:856)
at app//io.netty.channel.VoidChannelPromise.fireException0(VoidChannelPromise.java:236)
at app//io.netty.channel.VoidChannelPromise.tryFailure(VoidChannelPromise.java:178)
at app//io.netty.util.internal.PromiseNotificationUtil.tryFailure(PromiseNotificationUtil.java:64)
at app//io.netty.channel.ChannelOutboundBuffer.safeFail(ChannelOutboundBuffer.java:754)
at app//io.netty.channel.ChannelOutboundBuffer.remove0(ChannelOutboundBuffer.java:339)
at app//io.netty.channel.ChannelOutboundBuffer.failFlushed(ChannelOutboundBuffer.java:691)
at app//io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:733)
at app//io.netty.channel.AbstractChannel$AbstractUnsafe.handleWriteError(AbstractChannel.java:948)
at app//io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:931)
at app//io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:359)
at app//io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:893)
at app//io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1319)
at app//io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:935)
at app//io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:921)
at app//io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:907)
at app//io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.flush(CombinedChannelDuplexHandler.java:531)
at app//io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125)
at app//io.netty.channel.CombinedChannelDuplexHandler.flush(CombinedChannelDuplexHandler.java:356)
at app//io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:937)
at app//io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:957)
at app//io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
at app//io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
at app//io.micronaut.http.client.netty.StreamWriter.complete0(StreamWriter.java:140)
at app//io.micronaut.http.client.netty.StreamWriter.complete(StreamWriter.java:130)
at app//io.micronaut.http.netty.body.StreamingNettyByteBody$SharedBuffer.complete(StreamingNettyByteBody.java:538)
at app//io.micronaut.http.netty.body.NettyBodyAdapter.onComplete(NettyBodyAdapter.java:167)
at app//reactor.core.publisher.StrictSubscriber.onComplete(StrictSubscriber.java:123)
at app//reactor.core.publisher.FluxCreate$BaseSink.complete(FluxCreate.java:465)
at app//reactor.core.publisher.FluxCreate$BufferAsyncSink.drain(FluxCreate.java:871)
at app//reactor.core.publisher.FluxCreate$BufferAsyncSink.complete(FluxCreate.java:819)
at app//reactor.core.publisher.FluxCreate$SerializedFluxSink.drainLoop(FluxCreate.java:249)
at app//reactor.core.publisher.FluxCreate$SerializedFluxSink.next(FluxCreate.java:178)
at app//io.micronaut.http.client.netty.DefaultHttpClient.lambda$buildFormRequest$49(DefaultHttpClient.java:1844)
at app//reactor.core.publisher.FluxCreate$BaseSink.onPushPullRequest(FluxCreate.java:574)
at app//reactor.core.publisher.FluxCreate$SerializedFluxSink.onRequest(FluxCreate.java:273)
at app//io.micronaut.http.client.netty.DefaultHttpClient.lambda$buildFormRequest$50(DefaultHttpClient.java:1835)
at app//reactor.core.publisher.FluxCreate.subscribe(FluxCreate.java:97)
at app//reactor.core.publisher.Flux.subscribe(Flux.java:8848)
at app//io.micronaut.http.netty.body.NettyBodyAdapter.start(NettyBodyAdapter.java:95)
at app//io.micronaut.http.client.netty.StreamWriter.startWriting(StreamWriter.java:64)
at app//io.micronaut.http.client.netty.DefaultHttpClient.lambda$sendRawRequest$48(DefaultHttpClient.java:1779)
at app//reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:61)
at app//reactor.core.publisher.Mono.subscribe(Mono.java:4576)
at app//reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:126)
at app//reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84)
at app//reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37)
at app//io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:96)
at app//io.netty.util.concurrent.PromiseTask.run(PromiseTask.java:106)
at app//io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
at app//io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)
at app//io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at app//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566)
at app//io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at app//io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at app//io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base@21.0.5/java.lang.Thread.run(Thread.java:1583)
Suppressed: java.lang.Exception: #block terminated with an error
at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:104)
at reactor.core.publisher.Mono.block(Mono.java:1779)
at io.micronaut.http.client.netty.DefaultHttpClient$1.exchange(DefaultHttpClient.java:615)
at io.micronaut.http.client.BlockingHttpClient.exchange(BlockingHttpClient.java:77)
at io.micronaut.http.tck.EmbeddedServerUnderTest.exchange(EmbeddedServerUnderTest.java:57)
at io.micronaut.http.tck.ServerUnderTest.exchange(ServerUnderTest.java:53)
at io.micronaut.http.tck.AssertionUtils.lambda$assertDoesNotThrow$6(AssertionUtils.java:116)
at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:71)
at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:58)
at org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3228)
at io.micronaut.http.tck.AssertionUtils.assertDoesNotThrow(AssertionUtils.java:117)
at io.micronaut.http.server.tck.tests.cors.CorsSimpleRequestTest.isSuccessfulCorsAssertion(CorsSimpleRequestTest.java:356)
at io.micronaut.http.tck.TestScenario.run(TestScenario.java:118)
at io.micronaut.http.tck.TestScenario$Builder.run(TestScenario.java:201)
at io.micronaut.http.tck.TestScenario.asserts(TestScenario.java:67)
at io.micronaut.http.server.tck.tests.cors.CorsSimpleRequestTest.corsSimpleRequestForLocalhostCanBeAllowedViaRegexConfiguration(CorsSimpleRequestTest.java:211)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.io.IOException: Broken pipe
at java.base/sun.nio.ch.SocketDispatcher.write0(Native Method)
at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137)
at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:81)
at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:58)
at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:542)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:414)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:929)
... 47 more
Loading