[ https://issues.apache.org/jira/browse/HDFS-16609?focusedWorklogId=778928&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-778928 ]
ASF GitHub Bot logged work on HDFS-16609: ----------------------------------------- Author: ASF GitHub Bot Created on: 07/Jun/22 08:39 Start Date: 07/Jun/22 08:39 Worklog Time Spent: 10m Work Description: hadoop-yetus commented on PR #4382: URL: https://github.com/apache/hadoop/pull/4382#issuecomment-1148372876 :confetti_ball: **+1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |:----:|----------:|--------:|:--------:|:-------:| | +0 :ok: | reexec | 0m 44s | | Docker mode activated. | |||| _ Prechecks _ | | +1 :green_heart: | dupname | 0m 0s | | No case conflicting files found. | | +0 :ok: | codespell | 0m 1s | | codespell was not available. | | +0 :ok: | detsecrets | 0m 1s | | detect-secrets was not available. | | +1 :green_heart: | @author | 0m 0s | | The patch does not contain any @author tags. | | +1 :green_heart: | test4tests | 0m 0s | | The patch appears to include 3 new or modified test files. | |||| _ trunk Compile Tests _ | | +1 :green_heart: | mvninstall | 37m 19s | | trunk passed | | +1 :green_heart: | compile | 1m 24s | | trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1 | | +1 :green_heart: | compile | 1m 23s | | trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | checkstyle | 1m 8s | | trunk passed | | +1 :green_heart: | mvnsite | 1m 30s | | trunk passed | | +1 :green_heart: | javadoc | 1m 9s | | trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1 | | +1 :green_heart: | javadoc | 1m 30s | | trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | spotbugs | 3m 26s | | trunk passed | | +1 :green_heart: | shadedclient | 21m 54s | | branch has no errors when building and testing our client artifacts. | |||| _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 1m 17s | | the patch passed | | +1 :green_heart: | compile | 1m 19s | | the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1 | | +1 :green_heart: | javac | 1m 19s | | the patch passed | | +1 :green_heart: | compile | 1m 10s | | the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | javac | 1m 10s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | +1 :green_heart: | checkstyle | 0m 52s | | the patch passed | | +1 :green_heart: | mvnsite | 1m 19s | | the patch passed | | +1 :green_heart: | javadoc | 0m 49s | | the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1 | | +1 :green_heart: | javadoc | 1m 23s | | the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | spotbugs | 3m 14s | | the patch passed | | +1 :green_heart: | shadedclient | 21m 41s | | patch has no errors when building and testing our client artifacts. | |||| _ Other Tests _ | | +1 :green_heart: | unit | 255m 36s | | hadoop-hdfs in the patch passed. | | +1 :green_heart: | asflicense | 0m 47s | | The patch does not generate ASF License warnings. | | | | 358m 40s | | | | Subsystem | Report/Notes | |----------:|:-------------| | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4382/3/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/4382 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets | | uname | Linux b039584d130e 4.15.0-169-generic #177-Ubuntu SMP Thu Feb 3 10:50:38 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / 2d1142032f73858476e189ff66522751ce722b05 | | Default Java | Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4382/3/testReport/ | | Max. process+thread count | 2968 (vs. ulimit of 5500) | | modules | C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs | | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4382/3/console | | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 | | Powered by | Apache Yetus 0.14.0 https://yetus.apache.org | This message was automatically generated. Issue Time Tracking ------------------- Worklog Id: (was: 778928) Time Spent: 1h 10m (was: 1h) > Fix Flakes Junit Tests that often report timeouts > ------------------------------------------------- > > Key: HDFS-16609 > URL: https://issues.apache.org/jira/browse/HDFS-16609 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: fanshilun > Assignee: fanshilun > Priority: Major > Labels: pull-request-available > Fix For: 3.4.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > When I was dealing with HDFS-16590 JIRA, Junit Tests often reported errors, I > found that one type of problem is TimeOut problem, these problems can be > avoided by adjusting TimeOut time. > The modified method is as follows: > 1.org.apache.hadoop.hdfs.TestFileCreation#testServerDefaultsWithMinimalCaching > {code:java} > [ERROR] > testServerDefaultsWithMinimalCaching(org.apache.hadoop.hdfs.TestFileCreation) > Time elapsed: 7.136 s <<< ERROR! > java.util.concurrent.TimeoutException: > Timed out waiting for condition. > Thread diagnostics: > [WARNING] > org.apache.hadoop.hdfs.TestFileCreation.testServerDefaultsWithMinimalCaching(org.apache.hadoop.hdfs.TestFileCreation) > [ERROR] Run 1: TestFileCreation.testServerDefaultsWithMinimalCaching:277 > Timeout Timed out ... > [INFO] Run 2: PASS{code} > 2.org.apache.hadoop.hdfs.TestDFSShell#testFilePermissions > {code:java} > [ERROR] testFilePermissions(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 30.022 s <<< ERROR! > org.junit.runners.model.TestTimedOutException: test timed out after 30000 > milliseconds > at java.lang.Thread.dumpThreads(Native Method) > at java.lang.Thread.getStackTrace(Thread.java:1549) > at > org.junit.internal.runners.statements.FailOnTimeout.createTimeoutException(FailOnTimeout.java:182) > at > org.junit.internal.runners.statements.FailOnTimeout.getResult(FailOnTimeout.java:177) > at > org.junit.internal.runners.statements.FailOnTimeout.evaluate(FailOnTimeout.java:128) > at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299) > at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at java.lang.Thread.run(Thread.java:748) > [WARNING] > org.apache.hadoop.hdfs.TestDFSShell.testFilePermissions(org.apache.hadoop.hdfs.TestDFSShell) > [ERROR] Run 1: TestDFSShell.testFilePermissions TestTimedOut test timed out > after 30000 mil... > [INFO] Run 2: PASS {code} > 3.org.apache.hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier#testSPSWhenFileHasExcessRedundancyBlocks > {code:java} > [ERROR] > testSPSWhenFileHasExcessRedundancyBlocks(org.apache.hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier) > Time elapsed: 67.904 s <<< ERROR! > java.util.concurrent.TimeoutException: > Timed out waiting for condition. > [WARNING] > org.apache.hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier.testSPSWhenFileHasExcessRedundancyBlocks(org.apache.hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier) > [ERROR] Run 1: > TestExternalStoragePolicySatisfier.testSPSWhenFileHasExcessRedundancyBlocks:1379 > Timeout > [ERROR] Run 2: > TestExternalStoragePolicySatisfier.testSPSWhenFileHasExcessRedundancyBlocks:1379 > Timeout > [INFO] Run 3: PASS {code} -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org