Skip to content

Conversation

@laurit
Copy link
Contributor

@laurit laurit commented Jul 18, 2025

* What went wrong:
Some problems were found with the configuration of task ':smoke-tests:images:quarkus:checkstyleMain' (type 'Checkstyle').
  - Gradle detected a problem with the following location: '/Users/ltulmin/dev/opentelemetry-java-instrumentation/smoke-tests/images/quarkus/build/classes/java/quarkus-generated-sources'.

    Reason: Task ':smoke-tests:images:quarkus:checkstyleMain' uses this output of task ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' as an input of ':smoke-tests:images:quarkus:checkstyleMain'.
      2. Declare an explicit dependency on ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' from ':smoke-tests:images:quarkus:checkstyleMain' using Task#dependsOn.
      3. Declare an explicit dependency on ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' from ':smoke-tests:images:quarkus:checkstyleMain' using Task#mustRunAfter.

    For more information, please refer to https://docs.gradle.org/8.14.3/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
  - Gradle detected a problem with the following location: '/Users/ltulmin/dev/opentelemetry-java-instrumentation/smoke-tests/images/quarkus/build/classes/java/quarkus-generated-sources/grpc'.

    Reason: Task ':smoke-tests:images:quarkus:checkstyleMain' uses this output of task ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' as an input of ':smoke-tests:images:quarkus:checkstyleMain'.
      2. Declare an explicit dependency on ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' from ':smoke-tests:images:quarkus:checkstyleMain' using Task#dependsOn.
      3. Declare an explicit dependency on ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' from ':smoke-tests:images:quarkus:checkstyleMain' using Task#mustRunAfter.

    For more information, please refer to https://docs.gradle.org/8.14.3/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
  - Gradle detected a problem with the following location: '/Users/ltulmin/dev/opentelemetry-java-instrumentation/smoke-tests/images/quarkus/build/classes/java/quarkus-generated-sources/avdl'.

    Reason: Task ':smoke-tests:images:quarkus:checkstyleMain' uses this output of task ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' as an input of ':smoke-tests:images:quarkus:checkstyleMain'.
      2. Declare an explicit dependency on ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' from ':smoke-tests:images:quarkus:checkstyleMain' using Task#dependsOn.
      3. Declare an explicit dependency on ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' from ':smoke-tests:images:quarkus:checkstyleMain' using Task#mustRunAfter.

    For more information, please refer to https://docs.gradle.org/8.14.3/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
  - Gradle detected a problem with the following location: '/Users/ltulmin/dev/opentelemetry-java-instrumentation/smoke-tests/images/quarkus/build/classes/java/quarkus-generated-sources/avpr'.

    Reason: Task ':smoke-tests:images:quarkus:checkstyleMain' uses this output of task ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' as an input of ':smoke-tests:images:quarkus:checkstyleMain'.
      2. Declare an explicit dependency on ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' from ':smoke-tests:images:quarkus:checkstyleMain' using Task#dependsOn.
      3. Declare an explicit dependency on ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' from ':smoke-tests:images:quarkus:checkstyleMain' using Task#mustRunAfter.

    For more information, please refer to https://docs.gradle.org/8.14.3/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
  - Gradle detected a problem with the following location: '/Users/ltulmin/dev/opentelemetry-java-instrumentation/smoke-tests/images/quarkus/build/classes/java/quarkus-generated-sources/avsc'.

    Reason: Task ':smoke-tests:images:quarkus:checkstyleMain' uses this output of task ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' as an input of ':smoke-tests:images:quarkus:checkstyleMain'.
      2. Declare an explicit dependency on ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' from ':smoke-tests:images:quarkus:checkstyleMain' using Task#dependsOn.
      3. Declare an explicit dependency on ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' from ':smoke-tests:images:quarkus:checkstyleMain' using Task#mustRunAfter.

    For more information, please refer to https://docs.gradle.org/8.14.3/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

* Try:
> Declare task ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' as an input of ':smoke-tests:images:quarkus:checkstyleMain'
> Declare an explicit dependency on ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' from ':smoke-tests:images:quarkus:checkstyleMain' using Task#dependsOn
> Declare an explicit dependency on ':smoke-tests:images:quarkus:compileQuarkusGeneratedSourcesJava' from ':smoke-tests:images:quarkus:checkstyleMain' using Task#mustRunAfter

@laurit laurit requested a review from a team as a code owner July 18, 2025 15:04
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we missing a CI job that exercises this, or is it sporadic?

@laurit
Copy link
Contributor Author

laurit commented Jul 18, 2025

are we missing a CI job that exercises this, or is it sporadic?

I think it is sporadic

@trask trask merged commit 715303f into open-telemetry:main Jul 18, 2025
90 checks passed
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

Successfully merging this pull request may close these issues.

2 participants