[jira] [Work logged] (HDDS-1332) Add some logging for flaky test testStartStopDatanodeStateMachine
[ https://issues.apache.org/jira/browse/HDDS-1332?focusedWorklogId=223802=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-223802 ] ASF GitHub Bot logged work on HDDS-1332: Author: ASF GitHub Bot Created on: 05/Apr/19 20:01 Start Date: 05/Apr/19 20:01 Worklog Time Spent: 10m Work Description: arp7 commented on issue #697: [HDDS-1332] Attempt to fix flaky test testStartStopDatanodeStateMachine URL: https://github.com/apache/hadoop/pull/697#issuecomment-480404434 Please file a separate Jira if you can. I want you to get credited for the fix. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 223802) Time Spent: 1.5h (was: 1h 20m) > Add some logging for flaky test testStartStopDatanodeStateMachine > - > > Key: HDDS-1332 > URL: https://issues.apache.org/jira/browse/HDDS-1332 > Project: Hadoop Distributed Data Store > Issue Type: Bug >Reporter: Arpit Agarwal >Assignee: Arpit Agarwal >Priority: Major > Labels: pull-request-available > Fix For: 0.5.0 > > Time Spent: 1.5h > Remaining Estimate: 0h > > testStartStopDatanodeStateMachine fails frequently in Jenkins. It also seems > to have a timing issue which may be different from the Jenkins failure. > E.g. If I add a 10 second sleep as below I can get the test to fail 100%. > {code} > @@ -163,6 +163,7 @@ public void testStartStopDatanodeStateMachine() throws > IOException, > try (DatanodeStateMachine stateMachine = > new DatanodeStateMachine(getNewDatanodeDetails(), conf, null)) { >stateMachine.startDaemon(); > + Thread.sleep(10_000L); > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDDS-1332) Add some logging for flaky test testStartStopDatanodeStateMachine
[ https://issues.apache.org/jira/browse/HDDS-1332?focusedWorklogId=223799=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-223799 ] ASF GitHub Bot logged work on HDDS-1332: Author: ASF GitHub Bot Created on: 05/Apr/19 19:55 Start Date: 05/Apr/19 19:55 Worklog Time Spent: 10m Work Description: adoroszlai commented on issue #697: [HDDS-1332] Attempt to fix flaky test testStartStopDatanodeStateMachine URL: https://github.com/apache/hadoop/pull/697#issuecomment-480402767 @arp7 thanks for the review. I can file a separate Jira if you prefer, but I'm OK with committing it under the same Jira. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 223799) Time Spent: 1h 20m (was: 1h 10m) > Add some logging for flaky test testStartStopDatanodeStateMachine > - > > Key: HDDS-1332 > URL: https://issues.apache.org/jira/browse/HDDS-1332 > Project: Hadoop Distributed Data Store > Issue Type: Bug >Reporter: Arpit Agarwal >Assignee: Arpit Agarwal >Priority: Major > Labels: pull-request-available > Fix For: 0.5.0 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > testStartStopDatanodeStateMachine fails frequently in Jenkins. It also seems > to have a timing issue which may be different from the Jenkins failure. > E.g. If I add a 10 second sleep as below I can get the test to fail 100%. > {code} > @@ -163,6 +163,7 @@ public void testStartStopDatanodeStateMachine() throws > IOException, > try (DatanodeStateMachine stateMachine = > new DatanodeStateMachine(getNewDatanodeDetails(), conf, null)) { >stateMachine.startDaemon(); > + Thread.sleep(10_000L); > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDDS-1332) Add some logging for flaky test testStartStopDatanodeStateMachine
[ https://issues.apache.org/jira/browse/HDDS-1332?focusedWorklogId=223719=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-223719 ] ASF GitHub Bot logged work on HDDS-1332: Author: ASF GitHub Bot Created on: 05/Apr/19 17:30 Start Date: 05/Apr/19 17:30 Worklog Time Spent: 10m Work Description: arp7 commented on issue #697: [HDDS-1332] Attempt to fix flaky test testStartStopDatanodeStateMachine URL: https://github.com/apache/hadoop/pull/697#issuecomment-480357865 Thanks for finding and fixing this @adoroszlai. Do you want to file a separate Jira for this? The patch lgtm. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 223719) Time Spent: 1h 10m (was: 1h) > Add some logging for flaky test testStartStopDatanodeStateMachine > - > > Key: HDDS-1332 > URL: https://issues.apache.org/jira/browse/HDDS-1332 > Project: Hadoop Distributed Data Store > Issue Type: Bug >Reporter: Arpit Agarwal >Assignee: Arpit Agarwal >Priority: Major > Labels: pull-request-available > Fix For: 0.5.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > testStartStopDatanodeStateMachine fails frequently in Jenkins. It also seems > to have a timing issue which may be different from the Jenkins failure. > E.g. If I add a 10 second sleep as below I can get the test to fail 100%. > {code} > @@ -163,6 +163,7 @@ public void testStartStopDatanodeStateMachine() throws > IOException, > try (DatanodeStateMachine stateMachine = > new DatanodeStateMachine(getNewDatanodeDetails(), conf, null)) { >stateMachine.startDaemon(); > + Thread.sleep(10_000L); > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDDS-1332) Add some logging for flaky test testStartStopDatanodeStateMachine
[ https://issues.apache.org/jira/browse/HDDS-1332?focusedWorklogId=223435=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-223435 ] ASF GitHub Bot logged work on HDDS-1332: Author: ASF GitHub Bot Created on: 05/Apr/19 04:37 Start Date: 05/Apr/19 04:37 Worklog Time Spent: 10m Work Description: adoroszlai commented on issue #697: [HDDS-1332] Attempt to fix flaky test testStartStopDatanodeStateMachine URL: https://github.com/apache/hadoop/pull/697#issuecomment-480145646 @arp7 @nandakumar131 please review This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 223435) Time Spent: 1h (was: 50m) > Add some logging for flaky test testStartStopDatanodeStateMachine > - > > Key: HDDS-1332 > URL: https://issues.apache.org/jira/browse/HDDS-1332 > Project: Hadoop Distributed Data Store > Issue Type: Bug >Reporter: Arpit Agarwal >Assignee: Arpit Agarwal >Priority: Major > Labels: pull-request-available > Fix For: 0.5.0 > > Time Spent: 1h > Remaining Estimate: 0h > > testStartStopDatanodeStateMachine fails frequently in Jenkins. It also seems > to have a timing issue which may be different from the Jenkins failure. > E.g. If I add a 10 second sleep as below I can get the test to fail 100%. > {code} > @@ -163,6 +163,7 @@ public void testStartStopDatanodeStateMachine() throws > IOException, > try (DatanodeStateMachine stateMachine = > new DatanodeStateMachine(getNewDatanodeDetails(), conf, null)) { >stateMachine.startDaemon(); > + Thread.sleep(10_000L); > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDDS-1332) Add some logging for flaky test testStartStopDatanodeStateMachine
[ https://issues.apache.org/jira/browse/HDDS-1332?focusedWorklogId=223348=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-223348 ] ASF GitHub Bot logged work on HDDS-1332: Author: ASF GitHub Bot Created on: 04/Apr/19 23:18 Start Date: 04/Apr/19 23:18 Worklog Time Spent: 10m Work Description: hadoop-yetus commented on issue #697: [HDDS-1332] Attempt to fix flaky test testStartStopDatanodeStateMachine URL: https://github.com/apache/hadoop/pull/697#issuecomment-480096553 :broken_heart: **-1 overall** | Vote | Subsystem | Runtime | Comment | |::|--:|:|:| | 0 | reexec | 25 | Docker mode activated. | ||| _ Prechecks _ | | +1 | @author | 0 | The patch does not contain any @author tags. | | +1 | test4tests | 0 | The patch appears to include 1 new or modified test files. | ||| _ trunk Compile Tests _ | | +1 | mvninstall | 998 | trunk passed | | +1 | compile | 39 | trunk passed | | +1 | checkstyle | 18 | trunk passed | | +1 | mvnsite | 30 | trunk passed | | +1 | shadedclient | 676 | branch has no errors when building and testing our client artifacts. | | +1 | findbugs | 51 | trunk passed | | +1 | javadoc | 26 | trunk passed | ||| _ Patch Compile Tests _ | | +1 | mvninstall | 39 | the patch passed | | +1 | compile | 28 | the patch passed | | +1 | javac | 28 | the patch passed | | +1 | checkstyle | 13 | the patch passed | | +1 | mvnsite | 32 | the patch passed | | +1 | whitespace | 0 | The patch has no whitespace issues. | | +1 | shadedclient | 723 | patch has no errors when building and testing our client artifacts. | | +1 | findbugs | 54 | the patch passed | | +1 | javadoc | 21 | the patch passed | ||| _ Other Tests _ | | -1 | unit | 50 | container-service in the patch failed. | | +1 | asflicense | 25 | The patch does not generate ASF License warnings. | | | | 2915 | | | Subsystem | Report/Notes | |--:|:-| | Docker | Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-697/1/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/697 | | JIRA Issue | HDDS-1332 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle | | uname | Linux b4c485abc744 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | personality/hadoop.sh | | git revision | trunk / 215ffc7 | | maven | version: Apache Maven 3.3.9 | | Default Java | 1.8.0_191 | | findbugs | v3.1.0-RC1 | | unit | https://builds.apache.org/job/hadoop-multibranch/job/PR-697/1/artifact/out/patch-unit-hadoop-hdds_container-service.txt | | Test Results | https://builds.apache.org/job/hadoop-multibranch/job/PR-697/1/testReport/ | | Max. process+thread count | 415 (vs. ulimit of 5500) | | modules | C: hadoop-hdds/container-service U: hadoop-hdds/container-service | | Console output | https://builds.apache.org/job/hadoop-multibranch/job/PR-697/1/console | | Powered by | Apache Yetus 0.9.0 http://yetus.apache.org | This message was automatically generated. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 223348) Time Spent: 50m (was: 40m) > Add some logging for flaky test testStartStopDatanodeStateMachine > - > > Key: HDDS-1332 > URL: https://issues.apache.org/jira/browse/HDDS-1332 > Project: Hadoop Distributed Data Store > Issue Type: Bug >Reporter: Arpit Agarwal >Assignee: Arpit Agarwal >Priority: Major > Labels: pull-request-available > Fix For: 0.5.0 > > Time Spent: 50m > Remaining Estimate: 0h > > testStartStopDatanodeStateMachine fails frequently in Jenkins. It also seems > to have a timing issue which may be different from the Jenkins failure. > E.g. If I add a 10 second sleep as below I can get the test to fail 100%. > {code} > @@ -163,6 +163,7 @@ public void testStartStopDatanodeStateMachine() throws > IOException, > try (DatanodeStateMachine stateMachine = > new DatanodeStateMachine(getNewDatanodeDetails(), conf, null)) { >stateMachine.startDaemon(); > + Thread.sleep(10_000L); > {code} -- This message was sent by
[jira] [Work logged] (HDDS-1332) Add some logging for flaky test testStartStopDatanodeStateMachine
[ https://issues.apache.org/jira/browse/HDDS-1332?focusedWorklogId=223193=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-223193 ] ASF GitHub Bot logged work on HDDS-1332: Author: ASF GitHub Bot Created on: 04/Apr/19 18:44 Start Date: 04/Apr/19 18:44 Worklog Time Spent: 10m Work Description: adoroszlai commented on pull request #697: [HDDS-1332] Attempt to fix flaky test testStartStopDatanodeStateMachine URL: https://github.com/apache/hadoop/pull/697 ## What changes were proposed in this pull request? `testStartStopDatanodeStateMachine` is flaky, causing [occasional pre-commit build failures](https://builds.apache.org/job/hadoop-multibranch/job/PR-691/1/artifact/out/patch-unit-hadoop-hdds_container-service.txt). [HDDS-1332](https://issues.apache.org/jira/browse/HDDS-1332) added some logging to find out more about the cause. I think the problem is not test-specific, and is caused by the following: `SCMConnectionManager#scmMachines` is a plain `HashMap`, guarded by a `ReadWriteLock` in most places where it's used, except `getValues()`. The method also returns the values collection without any write protection (though currently none of the callers modify it). This is an attempt to fix the cause by acquiring the read lock and creating a read-only copy. https://issues.apache.org/jira/browse/HDDS-1332 ## How was this patch tested? Ran affected unit tests several times, plus tried `ozone` docker-compose cluster. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 223193) Time Spent: 40m (was: 0.5h) > Add some logging for flaky test testStartStopDatanodeStateMachine > - > > Key: HDDS-1332 > URL: https://issues.apache.org/jira/browse/HDDS-1332 > Project: Hadoop Distributed Data Store > Issue Type: Bug >Reporter: Arpit Agarwal >Assignee: Arpit Agarwal >Priority: Major > Labels: pull-request-available > Fix For: 0.5.0 > > Time Spent: 40m > Remaining Estimate: 0h > > testStartStopDatanodeStateMachine fails frequently in Jenkins. It also seems > to have a timing issue which may be different from the Jenkins failure. > E.g. If I add a 10 second sleep as below I can get the test to fail 100%. > {code} > @@ -163,6 +163,7 @@ public void testStartStopDatanodeStateMachine() throws > IOException, > try (DatanodeStateMachine stateMachine = > new DatanodeStateMachine(getNewDatanodeDetails(), conf, null)) { >stateMachine.startDaemon(); > + Thread.sleep(10_000L); > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDDS-1332) Add some logging for flaky test testStartStopDatanodeStateMachine
[ https://issues.apache.org/jira/browse/HDDS-1332?focusedWorklogId=219350=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-219350 ] ASF GitHub Bot logged work on HDDS-1332: Author: ASF GitHub Bot Created on: 27/Mar/19 15:23 Start Date: 27/Mar/19 15:23 Worklog Time Spent: 10m Work Description: nandakumar131 commented on pull request #649: HDDS-1332. Add some logging for flaky test testStartStopDatanodeState… URL: https://github.com/apache/hadoop/pull/649 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 219350) Time Spent: 0.5h (was: 20m) > Add some logging for flaky test testStartStopDatanodeStateMachine > - > > Key: HDDS-1332 > URL: https://issues.apache.org/jira/browse/HDDS-1332 > Project: Hadoop Distributed Data Store > Issue Type: Bug >Reporter: Arpit Agarwal >Assignee: Arpit Agarwal >Priority: Major > Labels: pull-request-available > Time Spent: 0.5h > Remaining Estimate: 0h > > testStartStopDatanodeStateMachine fails frequently in Jenkins. It also seems > to have a timing issue which may be different from the Jenkins failure. > E.g. If I add a 10 second sleep as below I can get the test to fail 100%. > {code} > @@ -163,6 +163,7 @@ public void testStartStopDatanodeStateMachine() throws > IOException, > try (DatanodeStateMachine stateMachine = > new DatanodeStateMachine(getNewDatanodeDetails(), conf, null)) { >stateMachine.startDaemon(); > + Thread.sleep(10_000L); > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDDS-1332) Add some logging for flaky test testStartStopDatanodeStateMachine
[ https://issues.apache.org/jira/browse/HDDS-1332?focusedWorklogId=219040=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-219040 ] ASF GitHub Bot logged work on HDDS-1332: Author: ASF GitHub Bot Created on: 27/Mar/19 01:28 Start Date: 27/Mar/19 01:28 Worklog Time Spent: 10m Work Description: hadoop-yetus commented on issue #649: HDDS-1332. Add some logging for flaky test testStartStopDatanodeState… URL: https://github.com/apache/hadoop/pull/649#issuecomment-476924855 :broken_heart: **-1 overall** | Vote | Subsystem | Runtime | Comment | |::|--:|:|:| | 0 | reexec | 41 | Docker mode activated. | ||| _ Prechecks _ | | +1 | @author | 0 | The patch does not contain any @author tags. | | +1 | test4tests | 0 | The patch appears to include 1 new or modified test files. | ||| _ trunk Compile Tests _ | | +1 | mvninstall | 1076 | trunk passed | | +1 | compile | 40 | trunk passed | | +1 | checkstyle | 18 | trunk passed | | +1 | mvnsite | 34 | trunk passed | | +1 | shadedclient | 784 | branch has no errors when building and testing our client artifacts. | | +1 | findbugs | 51 | trunk passed | | +1 | javadoc | 28 | trunk passed | ||| _ Patch Compile Tests _ | | +1 | mvninstall | 36 | the patch passed | | +1 | compile | 26 | the patch passed | | +1 | javac | 26 | the patch passed | | -0 | checkstyle | 14 | hadoop-hdds/container-service: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0) | | +1 | mvnsite | 29 | the patch passed | | +1 | whitespace | 0 | The patch has no whitespace issues. | | +1 | shadedclient | 808 | patch has no errors when building and testing our client artifacts. | | +1 | findbugs | 54 | the patch passed | | +1 | javadoc | 25 | the patch passed | ||| _ Other Tests _ | | -1 | unit | 81 | container-service in the patch failed. | | +1 | asflicense | 25 | The patch does not generate ASF License warnings. | | | | 3257 | | | Reason | Tests | |---:|:--| | Failed junit tests | hadoop.ozone.container.common.TestDatanodeStateMachine | | Subsystem | Report/Notes | |--:|:-| | Docker | Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-649/1/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/649 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle | | uname | Linux 5e9db77ed771 4.4.0-138-generic #164~14.04.1-Ubuntu SMP Fri Oct 5 08:56:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | personality/hadoop.sh | | git revision | trunk / fe29b39 | | maven | version: Apache Maven 3.3.9 | | Default Java | 1.8.0_191 | | findbugs | v3.1.0-RC1 | | checkstyle | https://builds.apache.org/job/hadoop-multibranch/job/PR-649/1/artifact/out/diff-checkstyle-hadoop-hdds_container-service.txt | | unit | https://builds.apache.org/job/hadoop-multibranch/job/PR-649/1/artifact/out/patch-unit-hadoop-hdds_container-service.txt | | Test Results | https://builds.apache.org/job/hadoop-multibranch/job/PR-649/1/testReport/ | | Max. process+thread count | 403 (vs. ulimit of 5500) | | modules | C: hadoop-hdds/container-service U: hadoop-hdds/container-service | | Console output | https://builds.apache.org/job/hadoop-multibranch/job/PR-649/1/console | | Powered by | Apache Yetus 0.9.0 http://yetus.apache.org | This message was automatically generated. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 219040) Time Spent: 20m (was: 10m) > Add some logging for flaky test testStartStopDatanodeStateMachine > - > > Key: HDDS-1332 > URL: https://issues.apache.org/jira/browse/HDDS-1332 > Project: Hadoop Distributed Data Store > Issue Type: Bug >Reporter: Arpit Agarwal >Assignee: Arpit Agarwal >Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > testStartStopDatanodeStateMachine fails frequently in Jenkins. It also seems > to have a timing issue which may be different from the Jenkins failure. > E.g. If I add a 10 second sleep as below I can get the test to fail 100%. > {code} > @@ -163,6
[jira] [Work logged] (HDDS-1332) Add some logging for flaky test testStartStopDatanodeStateMachine
[ https://issues.apache.org/jira/browse/HDDS-1332?focusedWorklogId=219017=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-219017 ] ASF GitHub Bot logged work on HDDS-1332: Author: ASF GitHub Bot Created on: 27/Mar/19 00:33 Start Date: 27/Mar/19 00:33 Worklog Time Spent: 10m Work Description: arp7 commented on pull request #649: HDDS-1332. Add some logging for flaky test testStartStopDatanodeState… URL: https://github.com/apache/hadoop/pull/649 …Machine. Contributed by Arpit Agarwal. Change-Id: I4f9dc6aeff7f4502956d160e35f2c4caadccb246 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 219017) Time Spent: 10m Remaining Estimate: 0h > Add some logging for flaky test testStartStopDatanodeStateMachine > - > > Key: HDDS-1332 > URL: https://issues.apache.org/jira/browse/HDDS-1332 > Project: Hadoop Distributed Data Store > Issue Type: Bug >Reporter: Arpit Agarwal >Assignee: Arpit Agarwal >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > testStartStopDatanodeStateMachine fails frequently in Jenkins. It also seems > to have a timing issue which may be different from the Jenkins failure. > E.g. If I add a 10 second sleep as below I can get the test to fail 100%. > {code} > @@ -163,6 +163,7 @@ public void testStartStopDatanodeStateMachine() throws > IOException, > try (DatanodeStateMachine stateMachine = > new DatanodeStateMachine(getNewDatanodeDetails(), conf, null)) { >stateMachine.startDaemon(); > + Thread.sleep(10_000L); > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org