[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17607414#comment-17607414 ] ASF GitHub Bot commented on YARN-11305: --- slfan1989 commented on PR #4893: URL: https://github.com/apache/hadoop/pull/4893#issuecomment-1252975161 @ashutoshcipher @ayushtkn Thank you very much for helping to review the code! > Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After > YARN-11241(#4703) > - > > Key: YARN-11305 > URL: https://issues.apache.org/jira/browse/YARN-11305 > Project: Hadoop YARN > Issue Type: Bug > Components: log-aggregation >Affects Versions: 3.4.0 >Reporter: fanshilun >Assignee: fanshilun >Priority: Major > Labels: pull-request-available > Fix For: 3.4.0 > > > Yarn's unit tests, with parallel mode enabled > {code:java} > /usr/bin/mvn --batch-mode > -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/yetus-m2/hadoop-trunk-patch-0 > -Ptest-patch -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests > -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy > -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean > test -fae{code} > Because the automatically generated application_id is the same, > *testLocalFileDeletionAfterUpload* is affected by > *testLocalFileRemainsAfterUploadOnCleanupDisable* > testLocalFileDeletionAfterUpload needs to check that the log of an > application is deleted, and testLocalFileRemainsAfterUploadOnCleanupDisable > regenerates the log of the same application. > Error Message > {code:java} > Directory > [/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/ubuntu-focal/src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/TestLogAggregationService-localLogDir/application_1234_0001] > was not deleted {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17607335#comment-17607335 ] ASF GitHub Bot commented on YARN-11305: --- ayushtkn merged PR #4893: URL: https://github.com/apache/hadoop/pull/4893 > Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After > YARN-11241(#4703) > - > > Key: YARN-11305 > URL: https://issues.apache.org/jira/browse/YARN-11305 > Project: Hadoop YARN > Issue Type: Bug > Components: log-aggregation >Affects Versions: 3.4.0 >Reporter: fanshilun >Assignee: fanshilun >Priority: Major > Labels: pull-request-available > > Yarn's unit tests, with parallel mode enabled > {code:java} > /usr/bin/mvn --batch-mode > -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/yetus-m2/hadoop-trunk-patch-0 > -Ptest-patch -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests > -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy > -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean > test -fae{code} > Because the automatically generated application_id is the same, > *testLocalFileDeletionAfterUpload* is affected by > *testLocalFileRemainsAfterUploadOnCleanupDisable* > testLocalFileDeletionAfterUpload needs to check that the log of an > application is deleted, and testLocalFileRemainsAfterUploadOnCleanupDisable > regenerates the log of the same application. > Error Message > {code:java} > Directory > [/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/ubuntu-focal/src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/TestLogAggregationService-localLogDir/application_1234_0001] > was not deleted {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17606861#comment-17606861 ] ASF GitHub Bot commented on YARN-11305: --- slfan1989 commented on PR #4893: URL: https://github.com/apache/hadoop/pull/4893#issuecomment-1251794396 @ayushtkn Please help to review the code again, thank you very much! > Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After > YARN-11241(#4703) > - > > Key: YARN-11305 > URL: https://issues.apache.org/jira/browse/YARN-11305 > Project: Hadoop YARN > Issue Type: Bug > Components: log-aggregation >Affects Versions: 3.4.0 >Reporter: fanshilun >Assignee: fanshilun >Priority: Major > Labels: pull-request-available > > Yarn's unit tests, with parallel mode enabled > {code:java} > /usr/bin/mvn --batch-mode > -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/yetus-m2/hadoop-trunk-patch-0 > -Ptest-patch -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests > -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy > -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean > test -fae{code} > Because the automatically generated application_id is the same, > *testLocalFileDeletionAfterUpload* is affected by > *testLocalFileRemainsAfterUploadOnCleanupDisable* > testLocalFileDeletionAfterUpload needs to check that the log of an > application is deleted, and testLocalFileRemainsAfterUploadOnCleanupDisable > regenerates the log of the same application. > Error Message > {code:java} > Directory > [/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/ubuntu-focal/src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/TestLogAggregationService-localLogDir/application_1234_0001] > was not deleted {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605777#comment-17605777 ] ASF GitHub Bot commented on YARN-11305: --- hadoop-yetus commented on PR #4893: URL: https://github.com/apache/hadoop/pull/4893#issuecomment-1249243629 :confetti_ball: **+1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |::|--:|:|::|:---:| | +0 :ok: | reexec | 0m 41s | | 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 1 new or modified test files. | _ trunk Compile Tests _ | | +1 :green_heart: | mvninstall | 39m 29s | | trunk passed | | +1 :green_heart: | compile | 1m 46s | | trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | compile | 1m 41s | | trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | checkstyle | 0m 52s | | trunk passed | | +1 :green_heart: | mvnsite | 1m 1s | | trunk passed | | +1 :green_heart: | javadoc | 0m 58s | | trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | javadoc | 0m 48s | | trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | spotbugs | 1m 50s | | trunk passed | | +1 :green_heart: | shadedclient | 21m 25s | | branch has no errors when building and testing our client artifacts. | _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 42s | | the patch passed | | +1 :green_heart: | compile | 1m 30s | | the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | javac | 1m 30s | | the patch passed | | +1 :green_heart: | compile | 1m 30s | | the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | javac | 1m 30s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | +1 :green_heart: | checkstyle | 0m 31s | | the patch passed | | +1 :green_heart: | mvnsite | 0m 48s | | the patch passed | | +1 :green_heart: | javadoc | 0m 42s | | the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | javadoc | 0m 35s | | the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | spotbugs | 1m 35s | | the patch passed | | +1 :green_heart: | shadedclient | 20m 56s | | patch has no errors when building and testing our client artifacts. | _ Other Tests _ | | +1 :green_heart: | unit | 24m 10s | | hadoop-yarn-server-nodemanager in the patch passed. | | +1 :green_heart: | asflicense | 0m 49s | | The patch does not generate ASF License warnings. | | | | 124m 47s | | | | Subsystem | Report/Notes | |--:|:-| | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4893/4/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/4893 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets | | uname | Linux ea2e7072eb9c 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / b62f0abdd6bd86bd7f75958250258b50c9ed5297 | | Default Java | Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4893/4/testReport/ | | Max. process+thread count | 698 (vs. ulimit of 5500) | | modules | C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager | | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4893/4/console | | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 | | Powered by | Apache Yetus 0.14.0
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605775#comment-17605775 ] ASF GitHub Bot commented on YARN-11305: --- hadoop-yetus commented on PR #4893: URL: https://github.com/apache/hadoop/pull/4893#issuecomment-1249241864 :confetti_ball: **+1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |::|--:|:|::|:---:| | +0 :ok: | reexec | 1m 1s | | 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 1 new or modified test files. | _ trunk Compile Tests _ | | +1 :green_heart: | mvninstall | 39m 15s | | trunk passed | | +1 :green_heart: | compile | 1m 39s | | trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | compile | 1m 35s | | trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | checkstyle | 0m 50s | | trunk passed | | +1 :green_heart: | mvnsite | 0m 55s | | trunk passed | | +1 :green_heart: | javadoc | 1m 0s | | trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | javadoc | 0m 47s | | trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | spotbugs | 1m 54s | | trunk passed | | +1 :green_heart: | shadedclient | 21m 20s | | branch has no errors when building and testing our client artifacts. | _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 39s | | the patch passed | | +1 :green_heart: | compile | 1m 36s | | the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | javac | 1m 36s | | the patch passed | | +1 :green_heart: | compile | 1m 23s | | the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | javac | 1m 23s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | +1 :green_heart: | checkstyle | 0m 32s | | the patch passed | | +1 :green_heart: | mvnsite | 0m 44s | | the patch passed | | +1 :green_heart: | javadoc | 0m 38s | | the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | javadoc | 0m 38s | | the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | spotbugs | 1m 43s | | the patch passed | | +1 :green_heart: | shadedclient | 20m 39s | | patch has no errors when building and testing our client artifacts. | _ Other Tests _ | | +1 :green_heart: | unit | 23m 57s | | hadoop-yarn-server-nodemanager in the patch passed. | | +1 :green_heart: | asflicense | 0m 43s | | The patch does not generate ASF License warnings. | | | | 123m 41s | | | | Subsystem | Report/Notes | |--:|:-| | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4893/3/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/4893 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets | | uname | Linux ca6005ffa7d9 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / b62f0abdd6bd86bd7f75958250258b50c9ed5297 | | Default Java | Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4893/3/testReport/ | | Max. process+thread count | 685 (vs. ulimit of 5500) | | modules | C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager | | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4893/3/console | | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 | | Powered by | Apache Yetus 0.14.0
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605740#comment-17605740 ] ASF GitHub Bot commented on YARN-11305: --- slfan1989 commented on PR #4893: URL: https://github.com/apache/hadoop/pull/4893#issuecomment-1249127003 @ayushtkn Please help to review the code again, thank you very much! > Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After > YARN-11241(#4703) > - > > Key: YARN-11305 > URL: https://issues.apache.org/jira/browse/YARN-11305 > Project: Hadoop YARN > Issue Type: Bug > Components: log-aggregation >Affects Versions: 3.4.0 >Reporter: fanshilun >Assignee: fanshilun >Priority: Major > Labels: pull-request-available > > Yarn's unit tests, with parallel mode enabled > {code:java} > /usr/bin/mvn --batch-mode > -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/yetus-m2/hadoop-trunk-patch-0 > -Ptest-patch -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests > -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy > -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean > test -fae{code} > Because the automatically generated application_id is the same, > *testLocalFileDeletionAfterUpload* is affected by > *testLocalFileRemainsAfterUploadOnCleanupDisable* > testLocalFileDeletionAfterUpload needs to check that the log of an > application is deleted, and testLocalFileRemainsAfterUploadOnCleanupDisable > regenerates the log of the same application. > Error Message > {code:java} > Directory > [/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/ubuntu-focal/src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/TestLogAggregationService-localLogDir/application_1234_0001] > was not deleted {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605718#comment-17605718 ] fanshilun commented on YARN-11305: -- Yarn's unit tests, with parallel mode enabled ``` /usr/bin/mvn --batch-mode -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/yetus-m2/hadoop-trunk-patch-0 -Ptest-patch -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean test -fae ``` Because the automatically generated application_id is the same, testLocalFileDeletionAfterUpload is affected by testLocalFileRemainsAfterUploadOnCleanupDisable testLocalFileDeletionAfterUpload needs to check that the log of an application is deleted, and testLocalFileRemainsAfterUploadOnCleanupDisable regenerates the log of the same application. > Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After > YARN-11241(#4703) > - > > Key: YARN-11305 > URL: https://issues.apache.org/jira/browse/YARN-11305 > Project: Hadoop YARN > Issue Type: Bug > Components: log-aggregation >Affects Versions: 3.4.0 >Reporter: fanshilun >Assignee: fanshilun >Priority: Major > Labels: pull-request-available > > Yarn's unit tests, with parallel mode enabled > {code:java} > /usr/bin/mvn --batch-mode > -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/yetus-m2/hadoop-trunk-patch-0 > -Ptest-patch -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests > -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy > -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean > test -fae{code} > Because the automatically generated application_id is the same, > *testLocalFileDeletionAfterUpload* is affected by > *testLocalFileRemainsAfterUploadOnCleanupDisable* > testLocalFileDeletionAfterUpload needs to check that the log of an > application is deleted, and testLocalFileRemainsAfterUploadOnCleanupDisable > regenerates the log of the same application. > Error Message > {code:java} > Directory > [/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/ubuntu-focal/src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/TestLogAggregationService-localLogDir/application_1234_0001] > was not deleted {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605714#comment-17605714 ] ASF GitHub Bot commented on YARN-11305: --- slfan1989 commented on code in PR #4893: URL: https://github.com/apache/hadoop/pull/4893#discussion_r972771072 ## hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/TestLogAggregationService.java: ## @@ -324,7 +324,7 @@ public void testLocalFileRemainsAfterUploadOnCleanupDisable() throws Exception { this.remoteRootLogDir.getAbsolutePath()); LogAggregationService logAggregationService = spy( new LogAggregationService(dispatcher, this.context, this.delSrvc, super.dirsHandler)); -verifyLocalFileDeletion(logAggregationService); +verifyLocalFileDeletion(logAggregationService, 4321L); Review Comment: Thanks for the suggestion, I also think it would be better to use random numbers. > Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After > YARN-11241(#4703) > - > > Key: YARN-11305 > URL: https://issues.apache.org/jira/browse/YARN-11305 > Project: Hadoop YARN > Issue Type: Bug > Components: log-aggregation >Affects Versions: 3.4.0 >Reporter: fanshilun >Assignee: fanshilun >Priority: Major > Labels: pull-request-available > > Yarn's unit tests, with parallel mode enabled > {code:java} > /usr/bin/mvn --batch-mode > -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/yetus-m2/hadoop-trunk-patch-0 > -Ptest-patch -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests > -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy > -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean > test -fae{code} > Because the automatically generated application_id is the same, > *testLocalFileDeletionAfterUpload* is affected by > *testLocalFileRemainsAfterUploadOnCleanupDisable* > testLocalFileDeletionAfterUpload needs to check that the log of an > application is deleted, and testLocalFileRemainsAfterUploadOnCleanupDisable > regenerates the log of the same application. > Error Message > {code:java} > Directory > [/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/ubuntu-focal/src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/TestLogAggregationService-localLogDir/application_1234_0001] > was not deleted {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605709#comment-17605709 ] ASF GitHub Bot commented on YARN-11305: --- slfan1989 commented on code in PR #4893: URL: https://github.com/apache/hadoop/pull/4893#discussion_r972762585 ## hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/TestLogAggregationService.java: ## @@ -252,7 +252,7 @@ private void verifyLocalFileDeletion( count = 0; while ((f.exists()) && (count < maxAttempts)) { count++; - Thread.sleep(100); + Thread.sleep(1000); Review Comment: Thank you very much for your help reviewing the code, I will use `GenericTestUtils.waitFor` for code refactoring. > Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After > YARN-11241(#4703) > - > > Key: YARN-11305 > URL: https://issues.apache.org/jira/browse/YARN-11305 > Project: Hadoop YARN > Issue Type: Bug > Components: log-aggregation >Affects Versions: 3.4.0 >Reporter: fanshilun >Assignee: fanshilun >Priority: Major > Labels: pull-request-available > > Yarn's unit tests, with parallel mode enabled > {code:java} > /usr/bin/mvn --batch-mode > -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/yetus-m2/hadoop-trunk-patch-0 > -Ptest-patch -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests > -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy > -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean > test -fae{code} > Because the automatically generated application_id is the same, > *testLocalFileDeletionAfterUpload* is affected by > *testLocalFileRemainsAfterUploadOnCleanupDisable* > testLocalFileDeletionAfterUpload needs to check that the log of an > application is deleted, and testLocalFileRemainsAfterUploadOnCleanupDisable > regenerates the log of the same application. > Error Message > {code:java} > Directory > [/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/ubuntu-focal/src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/TestLogAggregationService-localLogDir/application_1234_0001] > was not deleted {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605640#comment-17605640 ] ASF GitHub Bot commented on YARN-11305: --- ayushtkn commented on code in PR #4893: URL: https://github.com/apache/hadoop/pull/4893#discussion_r972661977 ## hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/TestLogAggregationService.java: ## @@ -252,7 +252,7 @@ private void verifyLocalFileDeletion( count = 0; while ((f.exists()) && (count < maxAttempts)) { count++; - Thread.sleep(100); + Thread.sleep(1000); Review Comment: Is there some scope to change this hard-coded sleep with ``GenericTestUtils.waitFor``? ## hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/TestLogAggregationService.java: ## @@ -324,7 +324,7 @@ public void testLocalFileRemainsAfterUploadOnCleanupDisable() throws Exception { this.remoteRootLogDir.getAbsolutePath()); LogAggregationService logAggregationService = spy( new LogAggregationService(dispatcher, this.context, this.delSrvc, super.dirsHandler)); -verifyLocalFileDeletion(logAggregationService); +verifyLocalFileDeletion(logAggregationService, 4321L); Review Comment: Is there some logic behind these numbers? If not I think we should generate random numbers instead, else someone adding a new tests, unaware of these numbers will landup into the same mess. But I am ok to do the present way if others feel this is better approach > Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After > YARN-11241(#4703) > - > > Key: YARN-11305 > URL: https://issues.apache.org/jira/browse/YARN-11305 > Project: Hadoop YARN > Issue Type: Bug > Components: log-aggregation >Affects Versions: 3.4.0 >Reporter: fanshilun >Assignee: fanshilun >Priority: Major > Labels: pull-request-available > > Yarn's unit tests, with parallel mode enabled > {code:java} > /usr/bin/mvn --batch-mode > -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/yetus-m2/hadoop-trunk-patch-0 > -Ptest-patch -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests > -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy > -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean > test -fae{code} > Because the automatically generated application_id is the same, > *testLocalFileDeletionAfterUpload* is affected by > *testLocalFileRemainsAfterUploadOnCleanupDisable* > testLocalFileDeletionAfterUpload needs to check that the log of an > application is deleted, and testLocalFileRemainsAfterUploadOnCleanupDisable > regenerates the log of the same application. > Error Message > {code:java} > Directory > [/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/ubuntu-focal/src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/TestLogAggregationService-localLogDir/application_1234_0001] > was not deleted {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605420#comment-17605420 ] ASF GitHub Bot commented on YARN-11305: --- hadoop-yetus commented on PR #4893: URL: https://github.com/apache/hadoop/pull/4893#issuecomment-1248273239 :confetti_ball: **+1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |::|--:|:|::|:---:| | +0 :ok: | reexec | 0m 38s | | Docker mode activated. | _ Prechecks _ | | +1 :green_heart: | dupname | 0m 0s | | No case conflicting files found. | | +0 :ok: | codespell | 0m 0s | | codespell was not available. | | +0 :ok: | detsecrets | 0m 0s | | 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 1 new or modified test files. | _ trunk Compile Tests _ | | +1 :green_heart: | mvninstall | 40m 27s | | trunk passed | | +1 :green_heart: | compile | 1m 47s | | trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | compile | 1m 42s | | trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | checkstyle | 0m 52s | | trunk passed | | +1 :green_heart: | mvnsite | 1m 5s | | trunk passed | | +1 :green_heart: | javadoc | 0m 58s | | trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | javadoc | 0m 45s | | trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | spotbugs | 1m 45s | | trunk passed | | +1 :green_heart: | shadedclient | 21m 2s | | branch has no errors when building and testing our client artifacts. | _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 40s | | the patch passed | | +1 :green_heart: | compile | 1m 27s | | the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | javac | 1m 27s | | the patch passed | | +1 :green_heart: | compile | 1m 25s | | the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | javac | 1m 25s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | +1 :green_heart: | checkstyle | 0m 34s | | the patch passed | | +1 :green_heart: | mvnsite | 0m 46s | | the patch passed | | +1 :green_heart: | javadoc | 0m 37s | | the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | javadoc | 0m 37s | | the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | spotbugs | 1m 35s | | the patch passed | | +1 :green_heart: | shadedclient | 20m 39s | | patch has no errors when building and testing our client artifacts. | _ Other Tests _ | | +1 :green_heart: | unit | 24m 7s | | hadoop-yarn-server-nodemanager in the patch passed. | | +1 :green_heart: | asflicense | 0m 44s | | The patch does not generate ASF License warnings. | | | | 124m 33s | | | | Subsystem | Report/Notes | |--:|:-| | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4893/2/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/4893 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets | | uname | Linux 53f8eeb216ee 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / 1c89c3cbc5900bd46fad129129debb8e2c0f43d9 | | Default Java | Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4893/2/testReport/ | | Max. process+thread count | 633 (vs. ulimit of 5500) | | modules | C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager | | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4893/2/console | | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 | | Powered by | Apache Yetus 0.14.0
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605362#comment-17605362 ] ASF GitHub Bot commented on YARN-11305: --- hadoop-yetus commented on PR #4893: URL: https://github.com/apache/hadoop/pull/4893#issuecomment-1248140980 :confetti_ball: **+1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |::|--:|:|::|:---:| | +0 :ok: | reexec | 0m 53s | | Docker mode activated. | _ Prechecks _ | | +1 :green_heart: | dupname | 0m 0s | | No case conflicting files found. | | +0 :ok: | codespell | 0m 0s | | codespell was not available. | | +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available. | | +1 :green_heart: | @author | 0m 1s | | 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 | 38m 49s | | trunk passed | | +1 :green_heart: | compile | 1m 38s | | trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | compile | 1m 41s | | trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | checkstyle | 0m 49s | | trunk passed | | +1 :green_heart: | mvnsite | 0m 56s | | trunk passed | | +1 :green_heart: | javadoc | 1m 5s | | trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | javadoc | 0m 44s | | trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | spotbugs | 1m 47s | | trunk passed | | +1 :green_heart: | shadedclient | 21m 23s | | branch has no errors when building and testing our client artifacts. | _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 41s | | the patch passed | | +1 :green_heart: | compile | 1m 28s | | the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | javac | 1m 28s | | the patch passed | | +1 :green_heart: | compile | 1m 22s | | the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | javac | 1m 22s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | -0 :warning: | checkstyle | 0m 31s | [/results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4893/1/artifact/out/results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt) | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager: The patch generated 1 new + 112 unchanged - 0 fixed = 113 total (was 112) | | +1 :green_heart: | mvnsite | 0m 46s | | the patch passed | | +1 :green_heart: | javadoc | 0m 39s | | the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 | | +1 :green_heart: | javadoc | 0m 34s | | the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | +1 :green_heart: | spotbugs | 1m 34s | | the patch passed | | +1 :green_heart: | shadedclient | 20m 59s | | patch has no errors when building and testing our client artifacts. | _ Other Tests _ | | +1 :green_heart: | unit | 24m 25s | | hadoop-yarn-server-nodemanager in the patch passed. | | +1 :green_heart: | asflicense | 0m 49s | | The patch does not generate ASF License warnings. | | | | 124m 12s | | | | Subsystem | Report/Notes | |--:|:-| | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4893/1/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/4893 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets | | uname | Linux db6c6bfcbefa 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / 748fa05119f192c6a92794f4b4aeea51aae62520 | | Default Java | Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4893/1/testReport/ | | Max. process+thread
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605304#comment-17605304 ] ASF GitHub Bot commented on YARN-11305: --- ashutoshcipher commented on PR #4893: URL: https://github.com/apache/hadoop/pull/4893#issuecomment-1248031693 FYI - This failure is observed with parallel mode enabled, hence was uncaught in [YARN-11241](https://issues.apache.org/jira/browse/YARN-11241)(https://github.com/apache/hadoop/pull/4703) > Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After > YARN-11241(#4703) > - > > Key: YARN-11305 > URL: https://issues.apache.org/jira/browse/YARN-11305 > Project: Hadoop YARN > Issue Type: Bug > Components: log-aggregation >Affects Versions: 3.4.0 >Reporter: fanshilun >Assignee: fanshilun >Priority: Major > Labels: pull-request-available > > Yarn's unit tests, with parallel mode enabled > {code:java} > /usr/bin/mvn --batch-mode > -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/yetus-m2/hadoop-trunk-patch-0 > -Ptest-patch -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests > -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy > -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean > test -fae{code} > Because the automatically generated application_id is the same, > *testLocalFileDeletionAfterUpload* is affected by > *testLocalFileRemainsAfterUploadOnCleanupDisable* > testLocalFileDeletionAfterUpload needs to check that the log of an > application is deleted, and testLocalFileRemainsAfterUploadOnCleanupDisable > regenerates the log of the same application. > Error Message > {code:java} > Directory > [/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/ubuntu-focal/src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/TestLogAggregationService-localLogDir/application_1234_0001] > was not deleted {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605292#comment-17605292 ] ASF GitHub Bot commented on YARN-11305: --- slfan1989 commented on PR #4893: URL: https://github.com/apache/hadoop/pull/4893#issuecomment-1248002545 @ashutoshcipher @aajisaka Please help to review the code, I found that in parallel test mode, YARN-11241 will cause junit test to fail. I let different junit tests use different application_id to avoid mutual influence. > Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After > YARN-11241(#4703) > - > > Key: YARN-11305 > URL: https://issues.apache.org/jira/browse/YARN-11305 > Project: Hadoop YARN > Issue Type: Bug > Components: log-aggregation >Affects Versions: 3.4.0 >Reporter: fanshilun >Assignee: fanshilun >Priority: Major > Labels: pull-request-available > > Yarn's unit tests, with parallel mode enabled > {code:java} > /usr/bin/mvn --batch-mode > -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/yetus-m2/hadoop-trunk-patch-0 > -Ptest-patch -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests > -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy > -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean > test -fae{code} > Because the automatically generated application_id is the same, > *testLocalFileDeletionAfterUpload* is affected by > *testLocalFileRemainsAfterUploadOnCleanupDisable* > testLocalFileDeletionAfterUpload needs to check that the log of an > application is deleted, and testLocalFileRemainsAfterUploadOnCleanupDisable > regenerates the log of the same application. > Error Message > {code:java} > Directory > [/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/ubuntu-focal/src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/TestLogAggregationService-localLogDir/application_1234_0001] > was not deleted {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-11305) Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703)
[ https://issues.apache.org/jira/browse/YARN-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17605289#comment-17605289 ] ASF GitHub Bot commented on YARN-11305: --- slfan1989 opened a new pull request, #4893: URL: https://github.com/apache/hadoop/pull/4893 YARN-11305. Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After YARN-11241(#4703). > Fix TestLogAggregationService#testLocalFileDeletionAfterUpload Failed After > YARN-11241(#4703) > - > > Key: YARN-11305 > URL: https://issues.apache.org/jira/browse/YARN-11305 > Project: Hadoop YARN > Issue Type: Bug > Components: log-aggregation >Affects Versions: 3.4.0 >Reporter: fanshilun >Assignee: fanshilun >Priority: Major > > Yarn's unit tests, with parallel mode enabled > {code:java} > /usr/bin/mvn --batch-mode > -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/yetus-m2/hadoop-trunk-patch-0 > -Ptest-patch -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests > -P!shelltest -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy > -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean > test -fae{code} > Because the automatically generated application_id is the same, > *testLocalFileDeletionAfterUpload* is affected by > *testLocalFileRemainsAfterUploadOnCleanupDisable* > testLocalFileDeletionAfterUpload needs to check that the log of an > application is deleted, and testLocalFileRemainsAfterUploadOnCleanupDisable > regenerates the log of the same application. > Error Message > {code:java} > Directory > [/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-4846/ubuntu-focal/src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/TestLogAggregationService-localLogDir/application_1234_0001] > was not deleted {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org