servicetalk icon indicating copy to clipboard operation
servicetalk copied to clipboard

PublisherProtobufResourcesTest

Open Scottmitch opened this issue 3 years ago • 7 comments

https://github.com/apple/servicetalk/runs/8240517527

PublisherProtobufResourcesTest.[4] BLOCKING_STREAMING

org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <io.servicetalk.http.router.jersey.TestUtils.ContentReadException> but was: <java.lang.RuntimeException>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:67)
	at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
	at app//org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3082)
	at app//io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.testPostMapFail(PublisherProtobufResourcesTest.java:112)
	at app//io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.lambda$postMapFail$2(PublisherProtobufResourcesTest.java:100)
	at app//io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.runTwiceToEnsureEndpointCache(AbstractJerseyStreamingHttpServiceTest.java:392)
	at app//io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.postMapFail(PublisherProtobufResourcesTest.java:100)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:566)
	at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
	at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at app//org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation.proceed(SameThreadTimeoutInvocation.java:45)
	at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:94)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185)
	at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.submit(ForkJoinPoolHierarchicalTestExecutorService.java:118)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:226)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:204)
	at app//org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:142)
	at app//org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.lambda$execute$2(TestTemplateTestDescriptor.java:110)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at [email protected]/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at [email protected]/java.util.Iterator.forEachRemaining(Iterator.java:133)
	at [email protected]/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at [email protected]/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at [email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at [email protected]/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at [email protected]/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at [email protected]/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at [email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at [email protected]/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274)
	at [email protected]/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at [email protected]/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at [email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at app//org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:110)
	at app//org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:44)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185)
	at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:155)
	at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:135)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185)
	at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:155)
	at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:135)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at app//org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185)
	at [email protected]/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189)
	at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_INBOUND(The transport backing this connection has been shutdown (read)) [id: 0x926fec1c, L:/127.0.0.1:60742 ! R:127.0.0.1/127.0.0.1:40297]
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertStatus(AbstractJerseyStreamingHttpServiceTest.java:378)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:330)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:316)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:295)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:276)
	at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.lambda$testPostMapFail$3(PublisherProtobufResourcesTest.java:112)
	at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:53)
	... 120 more
Caused by: java.util.concurrent.ExecutionException: io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_INBOUND(The transport backing this connection has been shutdown (read)) [id: 0x926fec1c, L:/127.0.0.1:60742 ! R:127.0.0.1/127.0.0.1:40297]
	at io.servicetalk.concurrent.api.SourceToFuture.reportGet(SourceToFuture.java:121)
	at io.servicetalk.concurrent.api.SourceToFuture.get(SourceToFuture.java:105)
	at io.servicetalk.concurrent.api.BlockingTestUtils.await(BlockingTestUtils.java:171)
	at io.servicetalk.concurrent.api.BlockingTestUtils.awaitNonNull(BlockingTestUtils.java:191)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertStatus(AbstractJerseyStreamingHttpServiceTest.java:368)
	... 126 more
Caused by: io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_INBOUND(The transport backing this connection has been shutdown (read)) [id: 0x926fec1c, L:/127.0.0.1:60742 ! R:127.0.0.1/127.0.0.1:40297]
Caused by: io.servicetalk.transport.netty.internal.StacklessClosedChannelException
	at io.servicetalk.transport.netty.internal.NettyChannelPublisher.channelOnError(Unknown Source)
Caused by: io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer

Scottmitch avatar Sep 08 '22 01:09 Scottmitch

https://github.com/apple/servicetalk/pull/2350/checks?check_run_id=8275123216

PublisherProtobufResourcesTest.[4] BLOCKING_STREAMING
org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <io.servicetalk.http.router.jersey.TestUtils.ContentReadException> but was: <java.lang.RuntimeException>

org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <io.servicetalk.http.router.jersey.TestUtils.ContentReadException> but was: <java.lang.RuntimeException>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:67)
	at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
	at app//org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3082)
	at app//io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.testPostMapFail(PublisherProtobufResourcesTest.java:112)
	at app//io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.lambda$postMapFail$2(PublisherProtobufResourcesTest.java:100)
	at app//io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.runTwiceToEnsureEndpointCache(AbstractJerseyStreamingHttpServiceTest.java:392)
	at app//io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.postMapFail(PublisherProtobufResourcesTest.java:100)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_INBOUND(The transport backing this connection has been shutdown (read)) [id: 0x881ec9a9, L:/127.0.0.1:45168 ! R:127.0.0.1/127.0.0.1:45627]
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertStatus(AbstractJerseyStreamingHttpServiceTest.java:378)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:330)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:316)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:295)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:276)
	at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.lambda$testPostMapFail$3(PublisherProtobufResourcesTest.java:112)
	at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:53)
	... 120 more
Caused by: java.util.concurrent.ExecutionException: io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_INBOUND(The transport backing this connection has been shutdown (read)) [id: 0x881ec9a9, L:/127.0.0.1:45168 ! R:127.0.0.1/127.0.0.1:45627]
	at io.servicetalk.concurrent.api.SourceToFuture.reportGet(SourceToFuture.java:121)
	at io.servicetalk.concurrent.api.SourceToFuture.get(SourceToFuture.java:105)
	at io.servicetalk.concurrent.api.BlockingTestUtils.await(BlockingTestUtils.java:171)
	at io.servicetalk.concurrent.api.BlockingTestUtils.awaitNonNull(BlockingTestUtils.java:191)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertStatus(AbstractJerseyStreamingHttpServiceTest.java:368)
	... 126 more
Caused by: io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_INBOUND(The transport backing this connection has been shutdown (read)) [id: 0x881ec9a9, L:/127.0.0.1:45168 ! R:127.0.0.1/127.0.0.1:45627]
Caused by: io.servicetalk.transport.netty.internal.StacklessClosedChannelException
	at io.servicetalk.transport.netty.internal.NettyChannelPublisher.channelOnError(Unknown Source)
Caused by: io.netty.channel.unix.Errors$NativeIoException: recvAddress(..) failed: Connection reset by peer

idelpivnitskiy avatar Sep 09 '22 17:09 idelpivnitskiy

https://github.com/apple/servicetalk/pull/2367/checks?check_run_id=8606631259

PublisherProtobufResourcesTest.[4] BLOCKING_STREAMING
java.util.concurrent.TimeoutException: postMapSingleResponseFail(io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest$RouterApi) timed out after 30 seconds
Expected: an instance of java.io.IOException
     but: <java.lang.InterruptedException> is a java.lang.InterruptedException
		at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
		at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
		at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.testPostMapSingleFail(PublisherProtobufResourcesTest.java:173)
		at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.lambda$postMapSingleResponseFail$8(PublisherProtobufResourcesTest.java:162)
		at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.runTwiceToEnsureEndpointCache(AbstractJerseyStreamingHttpServiceTest.java:392)
		at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.postMapSingleResponseFail(PublisherProtobufResourcesTest.java:162)
		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

idelpivnitskiy avatar Sep 28 '22 22:09 idelpivnitskiy

https://github.com/apple/servicetalk/actions/runs/3278802234/jobs/5397613817

PublisherProtobufResourcesTest > postMapFail(RouterApi) > io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.postMapFail(RouterApi)[4] FAILED
    org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <io.servicetalk.http.router.jersey.TestUtils.ContentReadException> but was: <java.lang.RuntimeException>
        at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
        at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:67)
        at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
        at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3082)
        at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.testPostMapFail(PublisherProtobufResourcesTest.java:112)
        at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.lambda$postMapFail$2(PublisherProtobufResourcesTest.java:100)
        at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.runTwiceToEnsureEndpointCache(AbstractJerseyStreamingHttpServiceTest.java:392)
        at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.postMapFail(PublisherProtobufResourcesTest.java:100)

        Caused by:
        java.lang.RuntimeException: java.util.concurrent.ExecutionException: io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_INBOUND(The transport backing this connection has been shutdown (read)) [id: 0x67a64920, L:/127.0.0.1:35728 ! R:127.0.0.1/127.0.0.1:40555]
            at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertStatus(AbstractJerseyStreamingHttpServiceTest.java:378)
            at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:330)
            at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:316)
            at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:295)
            at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:276)
            at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.lambda$testPostMapFail$3(PublisherProtobufResourcesTest.java:112)
            at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:53)
            ... 6 more

            Caused by:
            java.util.concurrent.ExecutionException: io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_INBOUND(The transport backing this connection has been shutdown (read)) [id: 0x67a64920, L:/127.0.0.1:35728 ! R:127.0.0.1/127.0.0.1:40555]
                at io.servicetalk.concurrent.api.SourceToFuture.reportGet(SourceToFuture.java:121)
                at io.servicetalk.concurrent.api.SourceToFuture.get(SourceToFuture.java:105)
                at io.servicetalk.concurrent.api.BlockingTestUtils.await(BlockingTestUtils.java:171)
                at io.servicetalk.concurrent.api.BlockingTestUtils.awaitNonNull(BlockingTestUtils.java:191)
                at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertStatus(AbstractJerseyStreamingHttpServiceTest.java:368)
                ... 12 more

                Caused by:
                io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_INBOUND(The transport backing this connection has been shutdown (read)) [id: 0x67a64920, L:/127.0.0.1:35728 ! R:127.0.0.1/127.0.0.1:40555]
                    Caused by:
                    io.servicetalk.transport.netty.internal.StacklessClosedChannelException
                        at io.servicetalk.transport.netty.internal.NettyChannelPublisher.channelOnError(Unknown Source)

                        Caused by:
                        io.netty.channel.unix.Errors$NativeIoException: recvAddress(..) failed: Connection reset by peer

Scottmitch avatar Oct 19 '22 04:10 Scottmitch

https://github.com/apple/servicetalk/pull/2367/checks?check_run_id=9207024445

PublisherProtobufResourcesTest.[4] BLOCKING_STREAMING
java.util.concurrent.TimeoutException: postMapSingleResponseFail(io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest$RouterApi) timed out after 30 seconds
...
Expected: an instance of java.io.IOException
     but: <java.lang.InterruptedException> is a java.lang.InterruptedException
		at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
		at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
		at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.testPostMapSingleFail(PublisherProtobufResourcesTest.java:173)
		at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.lambda$postMapSingleResponseFail$8(PublisherProtobufResourcesTest.java:162)
		at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.runTwiceToEnsureEndpointCache(AbstractJerseyStreamingHttpServiceTest.java:392)
		at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.postMapSingleResponseFail(PublisherProtobufResourcesTest.java:162)
		at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

idelpivnitskiy avatar Oct 31 '22 16:10 idelpivnitskiy

https://github.com/apple/servicetalk/pull/2412/checks?check_run_id=9238224898

PublisherProtobufResourcesTest.[4] BLOCKING_STREAMING

Expected: an instance of java.io.IOException
     but: <java.lang.InterruptedException> is a java.lang.InterruptedException
		at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
		at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
		at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.testPostMapSingleFail(PublisherProtobufResourcesTest.java:173)
		at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.lambda$postMapSingleResponseFail$8(PublisherProtobufResourcesTest.java:162)
		at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.runTwiceToEnsureEndpointCache(AbstractJerseyStreamingHttpServiceTest.java:392)
		at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.postMapSingleResponseFail(PublisherProtobufResourcesTest.java:162)
		

Scottmitch avatar Nov 02 '22 01:11 Scottmitch

https://github.com/apple/servicetalk/runs/9259248086

PublisherProtobufResourcesTest.[4] BLOCKING_STREAMING
java.util.concurrent.TimeoutException: postMapSingleResponseFail(io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest$RouterApi) timed out after 30 seconds

Expected: an instance of java.io.IOException
     but: <java.lang.InterruptedException> is a java.lang.InterruptedException
		at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
		at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
		at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.testPostMapSingleFail(PublisherProtobufResourcesTest.java:173)
		at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.lambda$postMapSingleResponseFail$8(PublisherProtobufResourcesTest.java:162)
		at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.runTwiceToEnsureEndpointCache(AbstractJerseyStreamingHttpServiceTest.java:392)
		at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.postMapSingleResponseFail(PublisherProtobufResourcesTest.java:162)
		

Scottmitch avatar Nov 02 '22 20:11 Scottmitch

https://github.com/apple/servicetalk/pull/2536/checks?check_run_id=12085499821

PublisherProtobufResourcesTest.[4] BLOCKING_STREAMING
org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <io.servicetalk.http.router.jersey.TestUtils.ContentReadException> but was: <java.lang.RuntimeException>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:67)
	at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
	at app//org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3083)
	at app//io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.testPostMapFail(PublisherProtobufResourcesTest.java:112)
	at app//io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.lambda$postMapFail$2(PublisherProtobufResourcesTest.java:100)
	at app//io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.runTwiceToEnsureEndpointCache(AbstractJerseyStreamingHttpServiceTest.java:392)
	at app//io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.postMapFail(PublisherProtobufResourcesTest.java:100)
	at [email protected]/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:578)
...
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_INBOUND(The transport backing this connection has been shutdown (read)) [id: 0xc9480395, L:/127.0.0.1:38320 ! R:127.0.0.1/127.0.0.1:43717]
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertStatus(AbstractJerseyStreamingHttpServiceTest.java:378)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:330)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:316)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:295)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertResponse(AbstractJerseyStreamingHttpServiceTest.java:276)
	at io.servicetalk.data.protobuf.jersey.PublisherProtobufResourcesTest.lambda$testPostMapFail$3(PublisherProtobufResourcesTest.java:112)
	at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:53)
	... 118 more
Caused by: java.util.concurrent.ExecutionException: io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_INBOUND(The transport backing this connection has been shutdown (read)) [id: 0xc9480395, L:/127.0.0.1:38320 ! R:127.0.0.1/127.0.0.1:43717]
	at io.servicetalk.concurrent.api.SourceToFuture.reportGet(SourceToFuture.java:121)
	at io.servicetalk.concurrent.api.SourceToFuture.get(SourceToFuture.java:105)
	at io.servicetalk.concurrent.api.BlockingTestUtils.await(BlockingTestUtils.java:171)
	at io.servicetalk.concurrent.api.BlockingTestUtils.awaitNonNull(BlockingTestUtils.java:191)
	at io.servicetalk.http.router.jersey.AbstractJerseyStreamingHttpServiceTest.sendAndAssertStatus(AbstractJerseyStreamingHttpServiceTest.java:368)
	... 124 more
Caused by: io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_INBOUND(The transport backing this connection has been shutdown (read)) [id: 0xc9480395, L:/127.0.0.1:38320 ! R:127.0.0.1/127.0.0.1:43717]
Caused by: io.servicetalk.transport.netty.internal.StacklessClosedChannelException
	at io.servicetalk.transport.netty.internal.NettyChannelPublisher.channelOnError(Unknown Source)
Caused by: io.netty.channel.unix.Errors$NativeIoException: recvAddress(..) failed: Connection reset by peer

idelpivnitskiy avatar Mar 17 '23 16:03 idelpivnitskiy