-
Notifications
You must be signed in to change notification settings - Fork 194
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
Access to the tycho .cache directory is not properly synchronized #663
Comments
@urld please try out the current tycho snapshot build to check if your issue is solved there. |
There seem to be other regressions with 2.7.0-SNAPSHOT. I get e few errors during
I'll have to check later whats wrong here with my configuration. |
You best upgrade to 2.5 first then to 2.6 (with non parallel) and then 2.7 |
@urld could you provide any more information on this or does it works now for you? |
I was busy with other issues that were introduced with my target platform upgrade, so i could not test this with 2.7.0 yet. |
I'm experiencing the same problem with Version 2.7.0 |
You you provide a reproducer or provide an integration-test to demonstrate the issue? |
Could be difficult, b/c the problem only occurs sporadically in a fairly complex build. |
The it is difficult to analyze as well... could you test if the current tycho snapshot build (3.0.0-SNAPSHOT) might has fixes for this issue? |
I cant test with 2.7.0 because the changes for mixed reactor builds require me to change too much in the current build structure of my project which i cant do right now because of deadlines. But a hint for the reproducer:
Where The more child projects that depend on Edit: The error never happens on Windows for me, probably because the filesystem is too slow or file locking works differently there. |
You should not ned to adjust anything for an existing build so maybe you can explain / open a seperate ticket for that issue?
Thanks this seems to explain it I haven't noticed that this is actually an OS error rather than an application error.... |
The interesting codepath is this with nested jars of the same name:
|
I think the problem is on my side here. I have a pom dependency on bundles that have a pom dependency on an eclipse bundle via maven central with |
Alright, if you still thinks this is a valid use case, please provide an integration-test to demonstrate the issue and we might support this use case again. |
That matches exactly my project's structure, therefor it is plausible that we have a common bug cause here. |
What I'm wondering: Is the content of |
In my case its the same content. Its declared as a pom dependency and the manifests refer to it via Require-Bundle. The software component comes from a proprietary vendor. I don't really know why they do it that way, since all the nested jars are publicly available open source libs. But since their other bundles are hard wired to the thirdparty.jar bundle I cant work around the issue. |
…roperly synchronized Signed-off-by: Christoph Läubrich <laeubi@laeubi-soft.de>
@urld @wimjongman @montanero I created a patch that should appear in about an hour in the snapshots (see this build) please try out the current tycho snapshot build and check if this fixes your problem |
synchronized Signed-off-by: Christoph Läubrich <laeubi@laeubi-soft.de>
I am just upgrading from tycho 2.2.0 to 2.6.0 and now my CI build (using maven parallel builds with
-T 1C
) sporadically fails with this error during dependency resolution:somedependency-1.2.3.jar
is a proprietary lib which includes a bunch of other third party jars.It looks like a concurrency issue somewhere in the dependency resolution when using parallel builds and multiple plugins have the same dependency but in a different target platform?
The text was updated successfully, but these errors were encountered: