testlens-app[bot] commented on PR #16772:
URL: https://github.com/apache/grails-core/pull/16772#issuecomment-6433178004

   ## 🚨 TestLens detected 1 failed test 🚨
   
   ### Test Summary
   > [!TIP]
   > Inspect all details with the [TestLens 
CLI](https://testlens.app/docs/features/cli): `testlens pr 16772`
   
   #### [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/40439931728/job/121981478496?pr=16772)
 > :grails-test-examples-micronaut:integrationTest
   
   | Test | Runs | Flakiness |
   |---|---|--:|
   | MicronautErsatzAdvancedSpec > Micronaut client handles 401 Unauthorized 
from ersatz | ❌ | 0% 🟢 |
   
   🏷️ Commit: 1b27bef89ff94bb25834b677da3ae4ca9727f6bb
   ▶️ Tests:  51569 executed
   🟡 Checks: 50/54 completed
   
   ### Test Failures
   
   <details><summary><strong>MicronautErsatzAdvancedSpec > Micronaut client 
handles 401 Unauthorized from ersatz</strong> 
(:grails-test-examples-micronaut:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/40439931728/job/121981478496?pr=16772";>CI
 - Groovy Joint Validation Build / build_grails</a>)</summary>
   
   ```
   Expected exception of type 
'io.micronaut.http.client.exceptions.HttpClientResponseException', but got 
'io.micronaut.http.client.exceptions.HttpClientException'
        at 
org.spockframework.lang.SpecInternals.checkExceptionThrown(SpecInternals.java:84)
        at 
org.spockframework.lang.SpecInternals.thrownImpl(SpecInternals.java:71)
        at micronaut.MicronautErsatzAdvancedSpec.Micronaut client handles 401 
Unauthorized from ersatz(MicronautErsatzAdvancedSpec.groovy:382)
   Caused by: io.micronaut.http.client.exceptions.HttpClientException: Client 
'grails-self': Error occurred reading HTTP response: Connection reset
        at 
io.micronaut.http.client.netty.DefaultHttpClient.handleResponseError(DefaultHttpClient.java:2085)
        at 
io.micronaut.http.client.netty.DefaultHttpClient$6.fail(DefaultHttpClient.java:1754)
        at 
io.micronaut.http.client.netty.Http1ResponseHandler$BeforeResponse.exceptionCaught(Http1ResponseHandler.java:148)
        at 
io.micronaut.http.client.netty.Http1ResponseHandler.exceptionCaught(Http1ResponseHandler.java:88)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:289)
        at 
io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:271)
        at 
io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireExceptionCaught(CombinedChannelDuplexHandler.java:422)
        at 
io.netty.channel.ChannelHandlerAdapter.exceptionCaught(ChannelHandlerAdapter.java:92)
        at 
io.netty.channel.CombinedChannelDuplexHandler$1.fireExceptionCaught(CombinedChannelDuplexHandler.java:144)
        at 
io.netty.channel.ChannelInboundHandlerAdapter.exceptionCaught(ChannelInboundHandlerAdapter.java:143)
        at 
io.netty.channel.CombinedChannelDuplexHandler.exceptionCaught(CombinedChannelDuplexHandler.java:229)
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeExceptionCaught(AbstractChannelHandlerContext.java:289)
        at 
io.netty.channel.AbstractChannelHandlerContext.fireExceptionCaught(AbstractChannelHandlerContext.java:271)
        at 
io.netty.channel.DefaultChannelPipeline$HeadContext.exceptionCaught(DefaultChannelPipeline.java:1396)
        at 
io.netty.channel.DefaultChannelPipeline.fireExceptionCaught(DefaultChannelPipeline.java:890)
        at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.handleReadException(AbstractNioByteChannel.java:126)
        at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:178)
        at 
io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.handle(AbstractNioChannel.java:445)
        at 
io.netty.channel.nio.NioIoHandler$DefaultNioRegistration.handle(NioIoHandler.java:381)
        at 
io.netty.channel.nio.NioIoHandler.processSelectedKey(NioIoHandler.java:587)
        at 
io.netty.channel.nio.NioIoHandler.processSelectedKeysOptimized(NioIoHandler.java:562)
        at 
io.netty.channel.nio.NioIoHandler.processSelectedKeys(NioIoHandler.java:503)
        at io.netty.channel.nio.NioIoHandler.run(NioIoHandler.java:475)
        at 
io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225)
        at 
io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196)
        at 
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193)
        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)
        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:618)
                at 
io.micronaut.http.client.netty.DefaultHttpClient$1.retrieve(DefaultHttpClient.java:626)
                at 
io.micronaut.http.client.interceptor.HttpClientIntroductionAdvice.lambda$handleSynchronous$3(HttpClientIntroductionAdvice.java:244)
                at 
io.micronaut.http.client.interceptor.HttpClientIntroductionAdvice.handleBlockingCall(HttpClientIntroductionAdvice.java:634)
                at 
io.micronaut.http.client.interceptor.HttpClientIntroductionAdvice.handleSynchronous(HttpClientIntroductionAdvice.java:243)
                at 
io.micronaut.http.client.interceptor.HttpClientIntroductionAdvice.intercept(HttpClientIntroductionAdvice.java:195)
                at 
io.micronaut.aop.chain.MethodInterceptorChain.proceed(MethodInterceptorChain.java:143)
                at 
micronaut.client.MicronautTestClient$Intercepted.show(Unknown Source)
                at 
org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
                at 
micronaut.MicronautErsatzAdvancedSpec.$spock_feature_0_12(MicronautErsatzAdvancedSpec.groovy:379)
                at java.base/java.lang.reflect.Method.invoke(Method.java:569)
                at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:187)
                at 
org.spockframework.runtime.model.MethodInfo.lambda$new$0(MethodInfo.java:49)
                at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
                at 
org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
                at 
org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
                at 
org.spockframework.runtime.PlatformSpecRunner.runFeatureMethod(PlatformSpecRunner.java:324)
                at 
org.spockframework.runtime.IterationNode.execute(IterationNode.java:50)
                at 
org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:58)
                at 
org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:15)
                at 
org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
                at 
org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67)
                at 
org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236)
                at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
                at 
org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
                at 
org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
                at 
org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218)
                at 
org.spockframework.runtime.IterationNode.around(IterationNode.java:67)
                at 
org.spockframework.runtime.SimpleFeatureNode.lambda$around$0(SimpleFeatureNode.java:52)
                at 
org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
                at 
org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41)
                at 
org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199)
                at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
                at 
org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
                at 
org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
                at 
org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192)
                at 
org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41)
                at 
org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:52)
                at 
org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:15)
                at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
                at 
org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
                at 
org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63)
                at 
org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61)
                at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
                at 
org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
                at 
org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
                at 
org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55)
                at org.spockframework.runtime.SpecNode.around(SpecNode.java:63)
                at org.spockframework.runtime.SpecNode.around(SpecNode.java:11)
                at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
   Caused by: 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.AdaptivePoolingAllocator$AdaptiveByteBuf.setBytes(AdaptivePoolingAllocator.java:1830)
        at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1139)
        at 
io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
        at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:152)
        ... 12 more
   ```
   
   </details>
   
   ### Rerun Controls
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 MicronautErsatzAdvancedSpec > Micronaut client handles 401 Unauthorized 
from ersatz <!-- 
uniqueId=[engine:spock]/[spec:micronaut.MicronautErsatzAdvancedSpec]/[feature:$spock_feature_0_12]
 -->
   
   Reuse successful test results:
   
   🔲 ♻️ Only rerun the tests that failed or were muted before
   
   Click the checkbox to trigger a rerun:
   
   🔲 **Rerun jobs**
   
   ---
   _Learn more about TestLens at 
[testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to