Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tycho-4.0.x] Prevent ConcurrentModificationException in PomInstallableUnitStore #3699

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

eclipse-tycho-bot
Copy link

Backport

This will backport the following commits from main to tycho-4.0.x:

Questions ?

Please refer to the Backport tool documentation

In some rare cases it is possible that a ConcurrentModificationException
occurs in the PomInstallableUnitStore when projects are build in
parallel and as part of this artifacts are attached.

This adds a new safeCopy method to retry the copy operation in such case
and checks for possible null values because of concurrent removals.

(cherry picked from commit 27398a5)
Copy link

Test Results

  591 files  ±0    591 suites  ±0   3h 53m 52s ⏱️ + 1m 53s
  398 tests ±0    391 ✅ +2   6 💤 ±0  1 ❌ ±0 
1 194 runs  ±0  1 174 ✅ +2  19 💤 ±0  1 ❌ ±0 

For more details on these failures, see this check.

Results for commit b7cc31a. ± Comparison against base commit d0f217f.

@eclipse-tycho-bot eclipse-tycho-bot merged commit 8fa411b into tycho-4.0.x Mar 22, 2024
9 of 11 checks passed
@akurtakov akurtakov deleted the backport/tycho-4.0.x/pr-3698 branch May 24, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants