[
https://issues.apache.org/jira/browse/FLINK-30484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651651#comment-17651651
]
Matthias Pohl commented on FLINK-30484:
---------------------------------------
This issue has the same cause as FLINK-28078: CURATOR-645 causes it because
we're reusing the LeaderLatch client. We could add a sleep (similar to how it
got fixed in FLINK-28078), or stop reusing the LeaderLatch client.
Alternatively, we could just upgrade to curator 5.4.0 where CURATOR-645 is
fixed (FLINK-29173).
> ZooKeeperLeaderElectionTest.testZooKeeperReelection timed out
> -------------------------------------------------------------
>
> Key: FLINK-30484
> URL: https://issues.apache.org/jira/browse/FLINK-30484
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 1.15.3
> Reporter: Matthias Pohl
> Priority: Major
> Labels: test-stability
>
> {{ZooKeeperLeaderElectionTest.testZooKeeperReelection}} timed out in
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=44161&view=logs&j=4d4a0d10-fca2-5507-8eed-c07f0bdf4887&t=7b25afdf-cc6c-566f-5459-359dc2585798&l=15416
> {code}
> Dec 22 05:00:20 "main" #1 prio=5 os_prio=0 tid=0x00007f1c7c00b800 nid=0x1ebdc
> waiting on condition [0x00007f1c82b31000]
> Dec 22 05:00:20 java.lang.Thread.State: WAITING (parking)
> Dec 22 05:00:20 at sun.misc.Unsafe.park(Native Method)
> Dec 22 05:00:20 - parking to wait for <0x000000008070b7c0> (a
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
> Dec 22 05:00:20 at
> java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
> Dec 22 05:00:20 at
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
> Dec 22 05:00:20 at
> java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
> Dec 22 05:00:20 at
> org.apache.flink.runtime.leaderelection.TestingRetrievalBase.lambda$waitForNewLeader$0(TestingRetrievalBase.java:50)
> Dec 22 05:00:20 at
> org.apache.flink.runtime.leaderelection.TestingRetrievalBase$$Lambda$310/1033917063.get(Unknown
> Source)
> Dec 22 05:00:20 at
> org.apache.flink.runtime.testutils.CommonTestUtils.waitUntilCondition(CommonTestUtils.java:144)
> Dec 22 05:00:20 at
> org.apache.flink.runtime.testutils.CommonTestUtils.waitUntilCondition(CommonTestUtils.java:138)
> Dec 22 05:00:20 at
> org.apache.flink.runtime.leaderelection.TestingRetrievalBase.waitForNewLeader(TestingRetrievalBase.java:48)
> Dec 22 05:00:20 at
> org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionTest.testZooKeeperReelection(ZooKeeperLeaderElectionTest.java:238)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)