[jira] [Work logged] (HDFS-16106) Fix flaky unit test TestDFSShell
[ https://issues.apache.org/jira/browse/HDFS-16106?focusedWorklogId=617998=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-617998 ] ASF GitHub Bot logged work on HDFS-16106: - Author: ASF GitHub Bot Created on: 02/Jul/21 07:35 Start Date: 02/Jul/21 07:35 Worklog Time Spent: 10m Work Description: tomscut commented on pull request #3168: URL: https://github.com/apache/hadoop/pull/3168#issuecomment-872787494 Thanks @aajisaka @ayushtkn @virajjasani for the review. Thanks @ferhui for the merge. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 617998) Time Spent: 1.5h (was: 1h 20m) > Fix flaky unit test TestDFSShell > > > Key: HDFS-16106 > URL: https://issues.apache.org/jira/browse/HDFS-16106 > Project: Hadoop HDFS > Issue Type: Wish >Reporter: tomscut >Assignee: tomscut >Priority: Minor > Labels: pull-request-available > Fix For: 3.4.0 > > Time Spent: 1.5h > Remaining Estimate: 0h > > This unit test occasionally fails. > The value set for dfs.namenode.accesstime.precision is too low, result in the > execution of the method, accesstime could be set many times, eventually > leading to failed assert. > IMO, dfs.namenode.accesstime.precision should be greater than or equal to the > timeout(120s) of TestDFSShell#testCopyCommandsWithPreserveOption(), or > directly set to 0 to disable this feature. > > {code:java} > [ERROR] Tests run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: > 106.778 s <<< FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell[ERROR] Tests > run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 106.778 s <<< > FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.353 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095098319> but was:<1625095099374> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2282) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > 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) > [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.467 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095192527> but was:<1625095193950> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2323) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at >
[jira] [Work logged] (HDFS-16106) Fix flaky unit test TestDFSShell
[ https://issues.apache.org/jira/browse/HDFS-16106?focusedWorklogId=617995=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-617995 ] ASF GitHub Bot logged work on HDFS-16106: - Author: ASF GitHub Bot Created on: 02/Jul/21 07:31 Start Date: 02/Jul/21 07:31 Worklog Time Spent: 10m Work Description: ferhui merged pull request #3168: URL: https://github.com/apache/hadoop/pull/3168 -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 617995) Time Spent: 1h 20m (was: 1h 10m) > Fix flaky unit test TestDFSShell > > > Key: HDFS-16106 > URL: https://issues.apache.org/jira/browse/HDFS-16106 > Project: Hadoop HDFS > Issue Type: Wish >Reporter: tomscut >Assignee: tomscut >Priority: Minor > Labels: pull-request-available > Time Spent: 1h 20m > Remaining Estimate: 0h > > This unit test occasionally fails. > The value set for dfs.namenode.accesstime.precision is too low, result in the > execution of the method, accesstime could be set many times, eventually > leading to failed assert. > IMO, dfs.namenode.accesstime.precision should be greater than or equal to the > timeout(120s) of TestDFSShell#testCopyCommandsWithPreserveOption(), or > directly set to 0 to disable this feature. > > {code:java} > [ERROR] Tests run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: > 106.778 s <<< FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell[ERROR] Tests > run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 106.778 s <<< > FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.353 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095098319> but was:<1625095099374> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2282) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > 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) > [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.467 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095192527> but was:<1625095193950> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2323) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299) > at >
[jira] [Work logged] (HDFS-16106) Fix flaky unit test TestDFSShell
[ https://issues.apache.org/jira/browse/HDFS-16106?focusedWorklogId=617994=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-617994 ] ASF GitHub Bot logged work on HDFS-16106: - Author: ASF GitHub Bot Created on: 02/Jul/21 07:31 Start Date: 02/Jul/21 07:31 Worklog Time Spent: 10m Work Description: ferhui commented on pull request #3168: URL: https://github.com/apache/hadoop/pull/3168#issuecomment-872785067 @tomscut Thanks for contribution, @aajisaka @ayushtkn @virajjasani Thanks for review! Merged to trunk -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 617994) Time Spent: 1h 10m (was: 1h) > Fix flaky unit test TestDFSShell > > > Key: HDFS-16106 > URL: https://issues.apache.org/jira/browse/HDFS-16106 > Project: Hadoop HDFS > Issue Type: Wish >Reporter: tomscut >Assignee: tomscut >Priority: Minor > Labels: pull-request-available > Time Spent: 1h 10m > Remaining Estimate: 0h > > This unit test occasionally fails. > The value set for dfs.namenode.accesstime.precision is too low, result in the > execution of the method, accesstime could be set many times, eventually > leading to failed assert. > IMO, dfs.namenode.accesstime.precision should be greater than or equal to the > timeout(120s) of TestDFSShell#testCopyCommandsWithPreserveOption(), or > directly set to 0 to disable this feature. > > {code:java} > [ERROR] Tests run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: > 106.778 s <<< FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell[ERROR] Tests > run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 106.778 s <<< > FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.353 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095098319> but was:<1625095099374> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2282) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > 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) > [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.467 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095192527> but was:<1625095193950> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2323) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at >
[jira] [Work logged] (HDFS-16106) Fix flaky unit test TestDFSShell
[ https://issues.apache.org/jira/browse/HDFS-16106?focusedWorklogId=617988=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-617988 ] ASF GitHub Bot logged work on HDFS-16106: - Author: ASF GitHub Bot Created on: 02/Jul/21 07:13 Start Date: 02/Jul/21 07:13 Worklog Time Spent: 10m Work Description: hadoop-yetus commented on pull request #3168: URL: https://github.com/apache/hadoop/pull/3168#issuecomment-872775192 :confetti_ball: **+1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |::|--:|:|::|:---:| | +0 :ok: | reexec | 0m 45s | | Docker mode activated. | _ Prechecks _ | | +1 :green_heart: | dupname | 0m 0s | | No case conflicting files found. | | +0 :ok: | codespell | 0m 1s | | codespell 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 1 new or modified test files. | _ trunk Compile Tests _ | | +1 :green_heart: | mvninstall | 37m 37s | | trunk passed | | +1 :green_heart: | compile | 1m 43s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | compile | 1m 31s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | checkstyle | 1m 14s | | trunk passed | | +1 :green_heart: | mvnsite | 1m 39s | | trunk passed | | +1 :green_heart: | javadoc | 1m 9s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javadoc | 1m 34s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 3m 17s | | trunk passed | | +1 :green_heart: | shadedclient | 16m 48s | | branch has no errors when building and testing our client artifacts. | _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 1m 16s | | the patch passed | | +1 :green_heart: | compile | 1m 16s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javac | 1m 16s | | the patch passed | | +1 :green_heart: | compile | 1m 6s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | javac | 1m 6s | | the patch passed | | +1 :green_heart: | blanks | 0m 1s | | The patch has no blanks issues. | | +1 :green_heart: | checkstyle | 0m 52s | | the patch passed | | +1 :green_heart: | mvnsite | 1m 12s | | the patch passed | | +1 :green_heart: | javadoc | 0m 46s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javadoc | 1m 19s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 3m 12s | | the patch passed | | +1 :green_heart: | shadedclient | 16m 13s | | patch has no errors when building and testing our client artifacts. | _ Other Tests _ | | +1 :green_heart: | unit | 250m 47s | | hadoop-hdfs in the patch passed. | | +1 :green_heart: | asflicense | 0m 47s | | The patch does not generate ASF License warnings. | | | | 344m 9s | | | | Subsystem | Report/Notes | |--:|:-| | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3168/1/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/3168 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell | | uname | Linux 7be4e93f394f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / d955ded33d1305881793ac860b6d1c6e8cdc2baa | | Default Java | Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3168/1/testReport/ | | Max. process+thread count | 2740 (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-3168/1/console | | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 | | Powered by | Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org | This message
[jira] [Work logged] (HDFS-16106) Fix flaky unit test TestDFSShell
[ https://issues.apache.org/jira/browse/HDFS-16106?focusedWorklogId=617975=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-617975 ] ASF GitHub Bot logged work on HDFS-16106: - Author: ASF GitHub Bot Created on: 02/Jul/21 04:57 Start Date: 02/Jul/21 04:57 Worklog Time Spent: 10m Work Description: tomscut commented on pull request #3168: URL: https://github.com/apache/hadoop/pull/3168#issuecomment-872713688 Thanks @ayushtkn for your 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 617975) Time Spent: 50m (was: 40m) > Fix flaky unit test TestDFSShell > > > Key: HDFS-16106 > URL: https://issues.apache.org/jira/browse/HDFS-16106 > Project: Hadoop HDFS > Issue Type: Wish >Reporter: tomscut >Assignee: tomscut >Priority: Minor > Labels: pull-request-available > Time Spent: 50m > Remaining Estimate: 0h > > This unit test occasionally fails. > The value set for dfs.namenode.accesstime.precision is too low, result in the > execution of the method, accesstime could be set many times, eventually > leading to failed assert. > IMO, dfs.namenode.accesstime.precision should be greater than or equal to the > timeout(120s) of TestDFSShell#testCopyCommandsWithPreserveOption(), or > directly set to 0 to disable this feature. > > {code:java} > [ERROR] Tests run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: > 106.778 s <<< FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell[ERROR] Tests > run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 106.778 s <<< > FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.353 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095098319> but was:<1625095099374> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2282) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > 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) > [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.467 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095192527> but was:<1625095193950> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2323) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299) > at >
[jira] [Work logged] (HDFS-16106) Fix flaky unit test TestDFSShell
[ https://issues.apache.org/jira/browse/HDFS-16106?focusedWorklogId=617946=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-617946 ] ASF GitHub Bot logged work on HDFS-16106: - Author: ASF GitHub Bot Created on: 02/Jul/21 02:00 Start Date: 02/Jul/21 02:00 Worklog Time Spent: 10m Work Description: tomscut commented on pull request #3168: URL: https://github.com/apache/hadoop/pull/3168#issuecomment-872657263 > Thank you @tomscut Thanks @aajisaka for your 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 617946) Time Spent: 40m (was: 0.5h) > Fix flaky unit test TestDFSShell > > > Key: HDFS-16106 > URL: https://issues.apache.org/jira/browse/HDFS-16106 > Project: Hadoop HDFS > Issue Type: Wish >Reporter: tomscut >Assignee: tomscut >Priority: Minor > Labels: pull-request-available > Time Spent: 40m > Remaining Estimate: 0h > > This unit test occasionally fails. > The value set for dfs.namenode.accesstime.precision is too low, result in the > execution of the method, accesstime could be set many times, eventually > leading to failed assert. > IMO, dfs.namenode.accesstime.precision should be greater than or equal to the > timeout(120s) of TestDFSShell#testCopyCommandsWithPreserveOption(), or > directly set to 0 to disable this feature. > > {code:java} > [ERROR] Tests run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: > 106.778 s <<< FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell[ERROR] Tests > run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 106.778 s <<< > FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.353 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095098319> but was:<1625095099374> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2282) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > 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) > [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.467 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095192527> but was:<1625095193950> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2323) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299) > at >
[jira] [Work logged] (HDFS-16106) Fix flaky unit test TestDFSShell
[ https://issues.apache.org/jira/browse/HDFS-16106?focusedWorklogId=617940=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-617940 ] ASF GitHub Bot logged work on HDFS-16106: - Author: ASF GitHub Bot Created on: 02/Jul/21 01:33 Start Date: 02/Jul/21 01:33 Worklog Time Spent: 10m Work Description: tomscut edited a comment on pull request #3168: URL: https://github.com/apache/hadoop/pull/3168#issuecomment-872649177 Hi @aajisaka @tasanuma @jojochuang, could you please help to look at this. Thanks. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 617940) Time Spent: 0.5h (was: 20m) > Fix flaky unit test TestDFSShell > > > Key: HDFS-16106 > URL: https://issues.apache.org/jira/browse/HDFS-16106 > Project: Hadoop HDFS > Issue Type: Wish >Reporter: tomscut >Assignee: tomscut >Priority: Minor > Labels: pull-request-available > Time Spent: 0.5h > Remaining Estimate: 0h > > This unit test occasionally fails. > The value set for dfs.namenode.accesstime.precision is too low, result in the > execution of the method, accesstime could be set many times, eventually > leading to failed assert. > IMO, dfs.namenode.accesstime.precision should be greater than or equal to the > timeout(120s) of TestDFSShell#testCopyCommandsWithPreserveOption(), or > directly set to 0 to disable this feature. > > {code:java} > [ERROR] Tests run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: > 106.778 s <<< FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell[ERROR] Tests > run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 106.778 s <<< > FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.353 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095098319> but was:<1625095099374> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2282) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > 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) > [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.467 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095192527> but was:<1625095193950> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2323) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at >
[jira] [Work logged] (HDFS-16106) Fix flaky unit test TestDFSShell
[ https://issues.apache.org/jira/browse/HDFS-16106?focusedWorklogId=617939=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-617939 ] ASF GitHub Bot logged work on HDFS-16106: - Author: ASF GitHub Bot Created on: 02/Jul/21 01:31 Start Date: 02/Jul/21 01:31 Worklog Time Spent: 10m Work Description: tomscut commented on pull request #3168: URL: https://github.com/apache/hadoop/pull/3168#issuecomment-872649177 Hi @aajisaka @tamaashu @jojochuang, could you please help to look at this. Thanks. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 617939) Time Spent: 20m (was: 10m) > Fix flaky unit test TestDFSShell > > > Key: HDFS-16106 > URL: https://issues.apache.org/jira/browse/HDFS-16106 > Project: Hadoop HDFS > Issue Type: Wish >Reporter: tomscut >Assignee: tomscut >Priority: Minor > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > This unit test occasionally fails. > The value set for dfs.namenode.accesstime.precision is too low, result in the > execution of the method, accesstime could be set many times, eventually > leading to failed assert. > IMO, dfs.namenode.accesstime.precision should be greater than or equal to the > timeout(120s) of TestDFSShell#testCopyCommandsWithPreserveOption(), or > directly set to 0 to disable this feature. > > {code:java} > [ERROR] Tests run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: > 106.778 s <<< FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell[ERROR] Tests > run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 106.778 s <<< > FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.353 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095098319> but was:<1625095099374> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2282) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > 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) > [ERROR] > testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time > elapsed: 2.467 s <<< FAILURE! java.lang.AssertionError: > expected:<1625095192527> but was:<1625095193950> at > org.junit.Assert.fail(Assert.java:89) at > org.junit.Assert.failNotEquals(Assert.java:835) at > org.junit.Assert.assertEquals(Assert.java:647) at > org.junit.Assert.assertEquals(Assert.java:633) at > org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2323) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299) >
[jira] [Work logged] (HDFS-16106) Fix flaky unit test TestDFSShell
[ https://issues.apache.org/jira/browse/HDFS-16106?focusedWorklogId=617938=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-617938 ] ASF GitHub Bot logged work on HDFS-16106: - Author: ASF GitHub Bot Created on: 02/Jul/21 01:27 Start Date: 02/Jul/21 01:27 Worklog Time Spent: 10m Work Description: tomscut opened a new pull request #3168: URL: https://github.com/apache/hadoop/pull/3168 JIRA: [HDFS-16106](https://issues.apache.org/jira/browse/HDFS-16106) This unit test occasionally fails. The value set for dfs.namenode.accesstime.precision is too low, result in the execution of the method, accesstime could be set many times, eventually leading to failed assert. IMO, dfs.namenode.accesstime.precision should be greater than or equal to the timeout(120s) of TestDFSShell#testCopyCommandsWithPreserveOption(), or directly set to 0 to disable this feature. ```[ERROR] Tests run: 52, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 106.778 s <<< FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell [ERROR] testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time elapsed: 2.353 s <<< FAILURE! java.lang.AssertionError: expected:<1625095098319> but was:<1625095099374> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:633) at org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) 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) [ERROR] testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time elapsed: 2.467 s <<< FAILURE! java.lang.AssertionError: expected:<1625095192527> but was:<1625095193950> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:633) at org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2323) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) 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) [ERROR] testCopyCommandsWithPreserveOption(org.apache.hadoop.hdfs.TestDFSShell) Time elapsed: 2.173 s <<< FAILURE! java.lang.AssertionError: expected:<1625095196756> but was:<1625095197975> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:633) at org.apache.hadoop.hdfs.TestDFSShell.testCopyCommandsWithPreserveOption(TestDFSShell.java:2303) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at