You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Intermittent test failure int KeySharedSubscriptionTest.testConsumerCrashSendAndReceiveWithHashRangeStickyKeyConsumerSelector #4353
org.apache.pulsar.client.api.KeySharedSubscriptionTest.testConsumerCrashSendAndReceiveWithHashRangeStickyKeyConsumerSelector
Failing for the past 1 build (Since Failed#9152 )
Took 5 min 0 sec.
add description
Error Message
Method org.apache.pulsar.client.api.KeySharedSubscriptionTest.testConsumerCrashSendAndReceiveWithHashRangeStickyKeyConsumerSelector() didn't finish within the time-out 300000
Stacktrace
org.testng.internal.thread.ThreadTimeoutException: Method org.apache.pulsar.client.api.KeySharedSubscriptionTest.testConsumerCrashSendAndReceiveWithHashRangeStickyKeyConsumerSelector() didn't finish within the time-out 300000
at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:457)
at org.apache.pulsar.common.util.collections.GrowableArrayBlockingQueue.take(GrowableArrayBlockingQueue.java:191)
at org.apache.pulsar.client.impl.ConsumerImpl.internalReceive(ConsumerImpl.java:312)
at org.apache.pulsar.client.impl.ConsumerBase.receive(ConsumerBase.java:108)
at org.apache.pulsar.client.api.KeySharedSubscriptionTest.testConsumerCrashSendAndReceiveWithHashRangeStickyKeyConsumerSelector(KeySharedSubscriptionTest.java:238)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Activity
jiazhai commentedon May 24, 2019
According to the time line, Seems this is related to changes in #4329 ?
jiazhai commentedon May 24, 2019
@codelipenghui Hi Penghui is this the fix?
9b5f749
merlimat commentedon May 24, 2019
Yes, the pending acks needs to be filled in from the same thread, instead of doing that from the consumer connection thread.
merlimat commentedon May 24, 2019
s