[
https://issues.apache.org/jira/browse/ZOOKEEPER-3046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490331#comment-16490331
]
Bogdan Kanivets commented on ZOOKEEPER-3046:
--------------------------------------------
[~phunt] I still don't have enough info to diagnose this test. Sometimes it
takes ~ 10mins to create 10000 nodes and sometimes it's ~10 seconds.
I've tried running this test in the loop locally and no time fluctuations.
Also, it seems there is a correlation between slower builds and this test time.
[Test time history
|https://builds.apache.org/job/ZooKeeper_branch35_jdk8/978/testReport/junit/org.apache.zookeeper.test/DisconnectedWatcherTest/testManyChildWatchersAutoReset/history/]
[Total test time
history|https://builds.apache.org/job/ZooKeeper_branch35_jdk8/978/testReport/history/]
When test takes ~10 mins, total tests ~1h 40m
When test takes ~20 sec, total tests ~50m
Maybe we get different/busier disks and this test is 'write' heavy.
I'll try to add more logs, collect some additional system info inside the test.
For ref, here are a sample of logs from slow and fast run.
[3.5 java 8 #978
|https://builds.apache.org/job/ZooKeeper_branch35_jdk8/978/artifact/build/test/logs/TEST-org.apache.zookeeper.test.DisconnectedWatcherTest.xml]
{noformat}
2018-05-24 11:53:08,756 [myid:] - INFO [Time-limited test:JMXEnv@120] -
found:0x1010aa7c0390001
org.apache.ZooKeeperService:name0=StandaloneServer_port27383,name1=Connections,name2=127.0.0.1,name3=0x1010aa7c0390001
2018-05-24 11:53:10,452 [myid:] - INFO [SessionTracker:SessionTrackerImpl@163]
- SessionTrackerImpl exited loop!
2018-05-24 12:00:51,370 [myid:] - INFO [Time-limited
test:DisconnectedWatcherTest@202] - Created 10,000 nodes.
{noformat}
[3.5 java 8
#977|https://builds.apache.org/job/ZooKeeper_branch35_jdk8/977/artifact/build/test/logs/TEST-org.apache.zookeeper.test.DisconnectedWatcherTest.xml]
{noformat}
2018-05-23 11:51:01,686 [myid:] - INFO [Time-limited test:JMXEnv@120] -
found:0x10bb6bac4bc0001
org.apache.ZooKeeperService:name0=StandaloneServer_port13918,name1=Connections,name2=127.0.0.1,name3=0x10bb6bac4bc0001
2018-05-23 11:51:03,967 [myid:] - INFO [SessionTracker:SessionTrackerImpl@163]
- SessionTrackerImpl exited loop!
2018-05-23 11:51:10,051 [myid:] - INFO [Time-limited
test:DisconnectedWatcherTest@202] - Created 10,000 nodes.
{noformat}
> testManyChildWatchersAutoReset is flaky
> ---------------------------------------
>
> Key: ZOOKEEPER-3046
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3046
> Project: ZooKeeper
> Issue Type: Bug
> Components: tests
> Affects Versions: 3.5.3, 3.4.12
> Reporter: Bogdan Kanivets
> Assignee: Bogdan Kanivets
> Priority: Minor
> Labels: flaky, pull-request-available
> Fix For: 3.6.0, 3.4.13, 3.5.5
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> According to the
> [dashboard|https://builds.apache.org/job/ZooKeeper-Find-Flaky-Tests/lastSuccessfulBuild/artifact/report.html]
> testManyChildWatchersAutoReset is flaky in 3.4 and 3.5
> [ZooKeeper_branch34_java10|https://builds.apache.org/job/ZooKeeper_branch34_java10//13]
> [ZooKeeper_branch35_java9|https://builds.apache.org/job/ZooKeeper_branch35_java9/253]
> Test times out and because of that ant doesn't capture any output.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)