-
Notifications
You must be signed in to change notification settings - Fork 70
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? |
Hey @jeanbisutti @ghilainm I recently merged a fix for this issue. Can you try if it resolves the problem on your projects? Since it is already on master, you can build the plugin locally (see this) and apply locally built plugin to your project. |
@dnestoro I have not reproduced the issue locally. The issue was only observed in a CI. Do you have the possibility to publish a snapshot? |
@jeanbisutti unfortunately, we don't have possibility to publish snapshots. Let's wait for standard release then, and see if the issue is solved. Please keep me updated if the issue gets resolved with the incoming release. |
@dnestoro Sorry have no time to test that. Can't easily reproduce sporadic issue. But I will upgrade to next version and check if the issue still happens. |
@ghilainm thanks! I hope next version ( |
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: