You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "maobaolong (via GitHub)" <gi...@apache.org> on 2024/12/11 01:19:18 UTC

[PR] MINOR] test: Fix ConcurrentModifiedException while use TestAppender [incubator-uniffle]

maobaolong opened a new pull request, #2286:
URL: https://github.com/apache/incubator-uniffle/pull/2286

   ### What changes were proposed in this pull request?
   
   Fix ConcurrentModifiedException while use TestAppender
   
   ### Why are the changes needed?
   
   ```
   [ERROR] testNewAppWhileCheckLeak{ExtensionContext}  Time elapsed: 0.3 s  <<< ERROR!
   java.util.ConcurrentModificationException
       at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:911)
       at java.util.ArrayList$Itr.next(ArrayList.java:861)
       at org.apache.uniffle.common.log.TestLoggerExtension$TestAppender.wasLogged(TestLoggerExtension.java:106)
       at org.apache.uniffle.common.log.TestLoggerExtension.wasLogged(TestLoggerExtension.java:73)
       at org.apache.uniffle.server.storage.LocalStorageManagerTest.testNewAppWhileCheckLeak(LocalStorageManagerTest.java:399)
       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)
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Existing UTs.


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [PR] MINOR] test: Fix ConcurrentModifiedException while use TestAppender [incubator-uniffle]

Posted by "maobaolong (via GitHub)" <gi...@apache.org>.
maobaolong commented on PR #2286:
URL: https://github.com/apache/incubator-uniffle/pull/2286#issuecomment-2533459529

   @jerqi Thanks for your tip, I cherry-picked this commit to the branch-0.10.0


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [PR] MINOR] test: Fix ConcurrentModifiedException while use TestAppender [incubator-uniffle]

Posted by "maobaolong (via GitHub)" <gi...@apache.org>.
maobaolong closed pull request #2286: MINOR] test: Fix ConcurrentModifiedException while use TestAppender
URL: https://github.com/apache/incubator-uniffle/pull/2286


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [PR] MINOR] test: Fix ConcurrentModifiedException while use TestAppender [incubator-uniffle]

Posted by "maobaolong (via GitHub)" <gi...@apache.org>.
maobaolong commented on PR #2286:
URL: https://github.com/apache/incubator-uniffle/pull/2286#issuecomment-2533456577

   @jerqi Oh, i see


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [PR] MINOR] test: Fix ConcurrentModifiedException while use TestAppender [incubator-uniffle]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #2286:
URL: https://github.com/apache/incubator-uniffle/pull/2286#issuecomment-2533432997

   ## Test Results
    2 965 files  + 63   2 965 suites  +63   6h 27m 36s ⏱️ + 20m 8s
    1 096 tests ±  0   1 093 ✅ ±  0   2 💤 ±0  1 ❌ ±0 
   13 734 runs  +123  13 703 ✅ +124  30 💤 ±0  1 ❌  - 1 
   
   For more details on these failures, see [this check](https://github.com/apache/incubator-uniffle/runs/34229256062).
   
   Results for commit e525ae94. ± Comparison against base commit 9a9bc7c2.
   
   [test-results]:data:application/gzip;base64,H4sIAK/uWGcC/02M2w6DIAxAf8XwvIdqKeh+ZmkQEjIvC8KT2b8PdGOmT+e0PbtwfrKbuDfdoOjWiC35eOUxBY5+XYrBjlRWeR/LRQtDxceWjDkd/t3Tv8pfFY79VI6qsCGsIRvIJqTlqKJG+cVaRQ1Y3VnF38+1evA1atZ59jGDsNQR20HqVrMkBuhNS2PvFAOR02CUGvOweH8A+dZQqBQBAAA=
   


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [PR] MINOR] test: Fix ConcurrentModifiedException while use TestAppender [incubator-uniffle]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #2286:
URL: https://github.com/apache/incubator-uniffle/pull/2286#issuecomment-2533416161

   ## [Codecov](https://app.codecov.io/gh/apache/incubator-uniffle/pull/2286?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   All modified and coverable lines are covered by tests :white_check_mark:
   > Project coverage is 51.77%. Comparing base [(`28dc8a2`)](https://app.codecov.io/gh/apache/incubator-uniffle/commit/28dc8a2e04af1e84b42c4b3c99fb1fdc8e000bff?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`e525ae9`)](https://app.codecov.io/gh/apache/incubator-uniffle/commit/e525ae94717a45a008c15d8f6a055f70c66d6d6a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   > Report is 1 commits behind head on branch-0.10.
   
   <details><summary>Additional details and impacted files</summary>
   
   
   ```diff
   @@                Coverage Diff                @@
   ##             branch-0.10    #2286      +/-   ##
   =================================================
   - Coverage          51.96%   51.77%   -0.19%     
   + Complexity          3357     2966     -391     
   =================================================
     Files                529      479      -50     
     Lines              29930    22566    -7364     
     Branches            2580     2068     -512     
   =================================================
   - Hits               15552    11684    -3868     
   + Misses             13366    10146    -3220     
   + Partials            1012      736     -276     
   ```
   
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/incubator-uniffle/pull/2286?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [PR] MINOR] test: Fix ConcurrentModifiedException while use TestAppender [incubator-uniffle]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #2286:
URL: https://github.com/apache/incubator-uniffle/pull/2286#issuecomment-2533455307

   You can commit this to branch-0.10 directly. You don't need to raise a pull request.


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org