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

Resolver output not stable... same inputs do not always generate same outputs #2130

Closed
njbartlett opened this issue Aug 24, 2017 · 3 comments

Comments

@njbartlett
Copy link
Member

See title. This can lead to problems when the bnd-[testing|export|resolve]-maven-plugin is used with resolve=true and failOnChanges=true, since it can cause non-deterministic failures of a build that previously built successfully.

I have even seen a scenario where the plugin demanded that I added a bundle to -runbundles in one build, and after doing so and rebuilding it demanded that I remove the same bundle I just added!

I expect this is an issue with non-determinism in the Felix resolver. The spec does not require the resolver to produce deterministic outputs -- only valid ones -- but likewise there is nothing in the spec that would prevent Felix from doing this.

@rotty3000
Copy link
Contributor

While I don't disagree with the issue, here's an issue in the recent past where we've discussed this:

#1833

@rotty3000
Copy link
Contributor

maybe we should close this issue and reopen the other one because it captures a lot of detail already.

@njbartlett
Copy link
Member Author

Thanks @rotty3000 I didn't find that issue. I will do as you suggest.

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

No branches or pull requests

2 participants