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

Occasional error with ProjectBuilder and dependency resolution #11394

Closed
tbroyer opened this issue Nov 18, 2019 · 2 comments
Closed

Occasional error with ProjectBuilder and dependency resolution #11394

tbroyer opened this issue Nov 18, 2019 · 2 comments

Comments

@tbroyer
Copy link
Contributor

tbroyer commented Nov 18, 2019

Dependency resolution through ProjectBuilder randomly fails with a NoSuchFileException while updating the dependency cache.

Expected Behavior

No error.

Current Behavior

Occasional error.

Context

I'm trying to test dependency conflicts through capabilities using a ProjectBuilder. This involves resolving a configuration, and this randomly fails.

I reduced flakiness by reusing a single Gradle user home dir for all the tests, but it still fails from time to time.

Steps to Reproduce

See https://github.com/tbroyer/gradle-logging-framework-plugin/blob/7979e85399fe54cd3661fdf9dc1433d9f7ed53f4/src/test/kotlin/net/ltgt/gradle/logging/LoggingFrameworkPluginTest.kt
The plugin configures capabilities on several dependencies in order to cause conflicts; similar to #11300

Your Environment

Build scan URL: https://scans.gradle.com/s/5hchscj3kgfo6/console-log?task=:test#L266
This is the exact same code being built (I simply reran checks, on the same commit), and this time the test passes: https://scans.gradle.com/s/o44rs2bbcrmes

@stale
Copy link

stale bot commented Dec 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.

@stale stale bot added the stale label Dec 3, 2020
@stale
Copy link

stale bot commented Dec 24, 2020

This issue has been automatically closed due to inactivity. If you can reproduce this on a recent version of Gradle or if you have a good use case for this feature, please feel free to reopen the issue with steps to reproduce, a quick explanation of your use case or a high-quality pull request.

@stale stale bot closed this as completed Dec 24, 2020
@wolfs wolfs closed this as not planned Won't fix, can't repro, duplicate, stale Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants