Scott Mitchell

Results 55 issues of Scott Mitchell

I am on Ubuntu 14.04. I tried with the most recent package (heimdall v1.4) and also tried building the most recent master branch from source but both resulted in failures:...

``` GrpcLifecycleObserverTest.testBiDiStream(boolean) [2] error=true org.mockito.exceptions.verification.NoInteractionsWanted: No interactions wanted here: -> at io.servicetalk.grpc.netty.GrpcLifecycleObserverTest.verifyObservers(GrpcLifecycleObserverTest.java:271) But found this interaction on mock 'clientRequestObserver': -> at io.servicetalk.grpc.utils.BiGrpcLifecycleObserver$BiGrpcRequestObserver.onRequestDataRequested(BiGrpcLifecycleObserver.java:134) *** For your reference, here is the list...

flaky tests

https://github.com/apple/servicetalk/runs/7573293427 ``` io.servicetalk.transport.netty.internal.StacklessClosedChannelException at io.servicetalk.transport.netty.internal.DefaultNettyConnection.channelInactive(...)(Unknown Source) ``` possibly related: https://github.com/apple/servicetalk/issues/952

flaky tests

https://github.com/apple/servicetalk/runs/4611517724 ``` java.lang.AssertionError: java.lang.InterruptedException: sleep interrupted at io.servicetalk.http.router.jersey.CancellationTest.testCancelResponseSingle(CancellationTest.java:270) at io.servicetalk.http.router.jersey.CancellationTest.testCancelResponseSingle(CancellationTest.java:212) at io.servicetalk.http.router.jersey.CancellationTest.cancelOffload(CancellationTest.java:149) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutInvocation.proceed(TimeoutInvocation.java:46) at...

https://github.com/apple/servicetalk/runs/7258768345?check_suite_focus=true ``` java.util.concurrent.TimeoutException: ioUringIsAvailableOnLinux() timed out after 30 seconds Suppressed: java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1000) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1308) at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231) at io.servicetalk.concurrent.api.SourceToFuture.get(SourceToFuture.java:91) at io.servicetalk.http.netty.IoUringTest.ioUringIsAvailableOnLinux(IoUringTest.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ```

flaky tests

https://github.com/apple/servicetalk/runs/5347779658 ``` GracefulConnectionClosureHandlingTest.5: protocol=HTTP_1 initiateClosureFromClient=false useUds=false viaProxy=true java.util.concurrent.ExecutionException: io.servicetalk.transport.netty.internal.CloseHandler$CloseEventObservedException: CHANNEL_CLOSED_OUTBOUND(The transport backing this connection has been shutdown (write)) [id: 0xac0bf9d7, L:/127.0.0.1:39712 ! R:127.0.0.1/127.0.0.1:42991] at io.servicetalk.concurrent.api.SourceToFuture.reportGet(SourceToFuture.java:121) at io.servicetalk.concurrent.api.SourceToFuture.get(SourceToFuture.java:92) at io.servicetalk.http.netty.GracefulConnectionClosureHandlingTest.closePipelinedAfterTwoRequestsSentBeforeAnyResponseReceived(GracefulConnectionClosureHandlingTest.java:470) Caused...

flaky tests

https://github.com/apple/servicetalk/runs/3081403401 ``` java.util.concurrent.TimeoutException: largeRun() timed out after 30 seconds at org.junit.jupiter.engine.extension.TimeoutInvocation.createTimeoutException(TimeoutInvocation.java:70) ... Suppressed: java.lang.InterruptedException at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1040) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1345) at java.base/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:232) at io.servicetalk.concurrent.api.SourceToFuture.get(SourceToFuture.java:91) at io.servicetalk.concurrent.api.PublisherBufferConcurrencyTest.runTest(PublisherBufferConcurrencyTest.java:168) at io.servicetalk.concurrent.api.PublisherBufferConcurrencyTest.largeRun(PublisherBufferConcurrencyTest.java:53) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at...

flaky tests

Motivation: Netty's EventLoop implementations use ioRatio in an attempt to balance the amount of time spent executing I/O related tasks and executed/scheduled tasks. However executing the executed tasks often result...

performance

additional context: https://github.com/apple/servicetalk/pull/2204 If `FromIterablePublisher` isn't able to unwrap to get access to the underlying `Publisher` deadlock is possible on consumption for the same reasons described in this PR. There...

https://github.com/apple/servicetalk/pull/1890/checks?check_run_id=3907388136 ``` ProtocolCompatibilityTest.[10] true, true, gzip org.opentest4j.AssertionFailedError: grpcStatus: GrpcStatus{code=UNKNOWN, cause=java.util.concurrent.TimeoutException: timeout after 100ms, description='null'} ==> expected: but was: at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1152) at io.servicetalk.grpc.netty.ProtocolCompatibilityTest.assertGrpcStatusException(ProtocolCompatibilityTest.java:951) at io.servicetalk.grpc.netty.ProtocolCompatibilityTest.validateGrpcErrorInResponse(ProtocolCompatibilityTest.java:936)...

flaky tests