[ 
https://issues.apache.org/jira/browse/FLINK-34475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818858#comment-17818858
 ] 

Matthias Pohl commented on FLINK-34475:
---------------------------------------

The test that seems to fail in 
{{{}ZooKeeperLeaderElectionDriverTest#testElectionDriverLosesLeadership{}}}. At 
least that's the last test method for this class that's started and it doesn't 
have a corresponding log message stating that the test successfully ran:
{code:java}
================================================================================
01:16:27,800 [ForkJoinPool-39-worker-25] INFO  
org.apache.flink.util.TestLoggerExtension                    [] - 
================================================================================
Test 
org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionDriverTest.testElectionDriverLosesLeadership[testElectionDriverLosesLeadership()]
 is running.
--------------------------------------------------------------------------------
01:16:27,802 [ForkJoinPool-39-worker-25] INFO  
org.apache.curator.test.ZooKeeperServerEmbeddedAdapter       [] - Configure 
ZooKeeperServerEmbeddedAdapter with properties: {initLimit=10, syncLimit=5, 
localSessionsUpgradingEnabled=false, localSessionsEnabled=false, 
clientPort=37091, minSessionTimeout=1000, maxSessionTimeout=60000, 
tickTime=1000, dataDir=/tmp/DirectoryUtils760296815203509951, 
admin.enableServer=false}
01:16:27,833 [FileChannelManagerImpl-netty-shuffle shutdown hook] INFO  
org.apache.flink.runtime.io.disk.FileChannelManagerImpl      [] - 
FileChannelManager removed spill file directory 
/tmp/flink-netty-shuffle-00ef6da7-3349-40d6-93cb-878c81abcd82
[...]{code}
There is an {{IllegalStateException}} being thrown in 
{{ZooKeeperLeaderElectionDriverTest#testPublishLeaderInformation}}. But that 
one seems to be unrelated because it can be reproduced when executing the test 
locally:
{code}
01:16:27,663 [ForkJoinPool-39-worker-25-EventThread] ERROR 
org.apache.flink.shaded.curator5.org.apache.curator.framework.recipes.cache.TreeCache
 [] - 
java.lang.IllegalStateException: Expected state [STARTED] was [STOPPED]
        at 
org.apache.flink.shaded.curator5.org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:821)
 ~[flink-shaded-zookeeper-3-3.7.1-17.0.jar:3.7.1-17.0]
        at 
org.apache.flink.shaded.curator5.org.apache.curator.framework.imps.CuratorFrameworkImpl.checkState(CuratorFrameworkImpl.java:457)
 ~[flink-shaded-zookeeper-3-3.7.1-17.0.jar:3.7.1-17.0]
        at 
org.apache.flink.shaded.curator5.org.apache.curator.framework.imps.CuratorFrameworkImpl.checkExists(CuratorFrameworkImpl.java:484)
 ~[flink-shaded-zookeeper-3-3.7.1-17.0.jar:3.7.1-17.0]
        at 
org.apache.flink.shaded.curator5.org.apache.curator.framework.recipes.cache.TreeCache$TreeNode.wasDeleted(TreeCache.java:354)
 ~[flink-shaded-zookeeper-3-3.7.1-17.0.jar:3.7.1-17.0]
        at 
org.apache.flink.shaded.curator5.org.apache.curator.framework.recipes.cache.TreeCache$TreeNode.process(TreeCache.java:386)
 [flink-shaded-zookeeper-3-3.7.1-17.0.jar:3.7.1-17.0]
        at 
org.apache.flink.shaded.curator5.org.apache.curator.framework.imps.NamespaceWatcher.process(NamespaceWatcher.java:77)
 [flink-shaded-zookeeper-3-3.7.1-17.0.jar:3.7.1-17.0]
        at 
org.apache.flink.shaded.zookeeper3.org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:578)
 [flink-shaded-zookeeper-3-3.7.1-17.0.jar:3.7.1-17.0]
        at 
org.apache.flink.shaded.zookeeper3.org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:553)
 [flink-shaded-zookeeper-3-3.7.1-17.0.jar:3.7.1-17.0]
{code}

> ZooKeeperLeaderElectionDriverTest failed with exit code 2
> ---------------------------------------------------------
>
>                 Key: FLINK-34475
>                 URL: https://issues.apache.org/jira/browse/FLINK-34475
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.18.1
>            Reporter: Matthias Pohl
>            Priority: Critical
>              Labels: test-stability
>         Attachments: FLINK-34475.log
>
>
> [https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=57649&view=logs&j=0e7be18f-84f2-53f0-a32d-4a5e4a174679&t=7c1d86e3-35bd-5fd5-3b7c-30c126a78702&l=8746]
> {code:java}
> Feb 20 01:20:02 01:20:02.369 [ERROR] Process Exit Code: 2
> Feb 20 01:20:02 01:20:02.369 [ERROR] Crashed tests:
> Feb 20 01:20:02 01:20:02.369 [ERROR] 
> org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionDriverTest
> Feb 20 01:20:02 01:20:02.369 [ERROR]  at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:748)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to