Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaNetSoTimeoutHttpConnectionFilterTest failure #2687

Open
Scottmitch opened this issue Sep 4, 2023 · 4 comments
Open

JavaNetSoTimeoutHttpConnectionFilterTest failure #2687

Scottmitch opened this issue Sep 4, 2023 · 4 comments
Assignees
Labels
flaky tests Unit tests are flaky

Comments

@Scottmitch
Copy link
Member

Scottmitch commented Sep 4, 2023

https://github.com/apple/servicetalk/pull/2678/checks?check_run_id=16474632816

JavaNetSoTimeoutHttpConnectionFilterTest.noTimeout(boolean, boolean, boolean) [5]: expectContinue=true withServerDelays=false withZeroTimeout=false

java.util.concurrent.TimeoutException: noTimeout(boolean, boolean, boolean) 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:94)
		at io.servicetalk.concurrent.api.internal.BlockingUtils.blockingInvocation(BlockingUtils.java:70)
		at io.servicetalk.http.api.BlockingRequestUtils.request(BlockingRequestUtils.java:29)
		at io.servicetalk.http.api.StreamingHttpClientToBlockingHttpClient.request(StreamingHttpClientToBlockingHttpClient.java:61)
		at io.servicetalk.http.netty.JavaNetSoTimeoutHttpConnectionFilterTest.noTimeout(JavaNetSoTimeoutHttpConnectionFilterTest.java:167)

potentially related to #2641

@Scottmitch Scottmitch added the flaky tests Unit tests are flaky label Sep 4, 2023
@Scottmitch
Copy link
Member Author

JavaNetSoTimeoutHttpConnectionFilterTest.noTimeout(boolean, boolean, boolean) [5]: expectContinue=true withServerDelays=false withZeroTimeout=false

java.util.concurrent.TimeoutException: noTimeout(boolean, boolean, boolean) timed out after 30 seconds

	Suppressed: java.lang.InterruptedException
		at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1100)
		at java.base/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:230)
		at io.servicetalk.concurrent.api.SourceToFuture.get(SourceToFuture.java:94)
		at io.servicetalk.concurrent.api.internal.BlockingUtils.blockingInvocation(BlockingUtils.java:70)
		at io.servicetalk.http.api.BlockingRequestUtils.request(BlockingRequestUtils.java:29)
		at io.servicetalk.http.api.StreamingHttpClientToBlockingHttpClient.request(StreamingHttpClientToBlockingHttpClient.java:61)
		at io.servicetalk.http.netty.JavaNetSoTimeoutHttpConnectionFilterTest.noTimeout(JavaNetSoTimeoutHttpConnectionFilterTest.java:167)
	

@bryce-anderson
Copy link
Contributor

Hit again in #2737.

@tkountis
Copy link
Contributor

https://github.com/apple/servicetalk/pull/2917/checks?check_run_id=24841951793

 JavaNetSoTimeoutHttpConnectionFilterTest.noTimeout(boolean, boolean, boolean) [5]: expectContinue=true withServerDelays=false withZeroTimeout=false

java.util.concurrent.TimeoutException: noTimeout(boolean, boolean, boolean) timed out after 30 seconds

at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
	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:94)
		at io.servicetalk.concurrent.api.internal.BlockingUtils.blockingInvocation(BlockingUtils.java:70)
		at io.servicetalk.http.api.BlockingRequestUtils.request(BlockingRequestUtils.java:29)
		at io.servicetalk.http.api.StreamingHttpClientToBlockingHttpClient.request(StreamingHttpClientToBlockingHttpClient.java:61)
		at io.servicetalk.http.netty.JavaNetSoTimeoutHttpConnectionFilterTest.noTimeout(JavaNetSoTimeoutHttpConnectionFilt

@idelpivnitskiy
Copy link
Member

https://github.com/apple/servicetalk/actions/runs/9942850815/job/27465285607?pr=3005

JavaNetSoTimeoutHttpConnectionFilterTest > noTimeout(boolean, boolean, boolean) > noTimeout(boolean, boolean, boolean) [5]: expectContinue=true withServerDelays=false withZeroTimeout=false FAILED
    java.util.concurrent.TimeoutException: noTimeout(boolean, boolean, boolean) timed out after 30 seconds
        at org.junit.jupiter.engine.extension.TimeoutExceptionFactory.create(TimeoutExceptionFactory.java:29)
        at org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation.proceed(SameThreadTimeoutInvocation.java:58)
        at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky tests Unit tests are flaky
Projects
None yet
Development

No branches or pull requests

4 participants