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

[BUG] MacOs JacocoReport test run failed #713

Closed
Hailong-am opened this issue Jul 19, 2023 · 1 comment
Closed

[BUG] MacOs JacocoReport test run failed #713

Hailong-am opened this issue Jul 19, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Hailong-am
Copy link
Collaborator

What is the bug?
https://github.com/opensearch-project/notifications/actions/runs/5586186210/jobs/10209910378

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
* What went wrong:

A problem was found with the configuration of task ':jacocoReport' (type 'JacocoReport').
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
  - Gradle detected a problem with the following location: '/Users/runner/work/notifications/notifications/notifications/core-spi/build/jacoco/test.exec'.

    
See https://docs.gradle.org/8.1.1/userguide/command_line_interface.html#sec:command_line_warnings
    Reason: Task ':jacocoReport' uses this output of task ':opensearch-notifications-core-spi:test' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
39 actionable tasks: 39 executed
    
    Possible solutions:
      1. Declare task ':opensearch-notifications-core-spi:test' as an input of ':jacocoReport'.
      2. Declare an explicit dependency on ':opensearch-notifications-core-spi:test' from ':jacocoReport' using Task#dependsOn.
      3. Declare an explicit dependency on ':opensearch-notifications-core-spi:test' from ':jacocoReport' using Task#mustRunAfter.
    
    Please refer to https://docs.gradle.org/8.1.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

* Try:

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

What is the expected behavior?
A clear and concise description of what you expected to happen.

What is your host/environment?

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
Add any other context about the problem.

@Hailong-am Hailong-am added bug Something isn't working untriaged and removed untriaged labels Jul 19, 2023
@Hailong-am Hailong-am self-assigned this Jul 19, 2023
@Hailong-am
Copy link
Collaborator Author

fixed in #717 , close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant