-
Notifications
You must be signed in to change notification settings - Fork 67
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
Sporadic Gradle failure: access-filter.json already exists #626
Comments
Please use |
I have the same kind of issue with the version 0.10.4. The processAot tasks is run in the context of a multi project Gradle build wih parallel feature enabled. It seems to be not supported. Can you confirm @dnestoro ?
|
It seems task are really run in // at the same millisecond :).
|
Can you please replace milliseconds with nanoseconds in the current implementation and run your tests again to see if the problem still occurs? |
The Native Build Tools Gradle plugin is used in the OpenTelemetry Java instrumentation Github repository.
Sometimes the plugin fails. A failure report example: https://ge.opentelemetry.io/s/2rq2vt7d7bsng/failure?expanded-stacktrace=WyIwLTEtMi0zLTQiXQ#1
The root case:
The problem seems to come from the recent changes in the AgentConfiguration class, and released in 0.10.3.
The native agent is not enabled from our build.gradle.kts file or a command line (
./gradlew -Pagent
). Perhaps some code related to the agent could only be executed if the agent is enabled.Would you have any workaround to recommend?
Thanks.
The text was updated successfully, but these errors were encountered: