opensearch-project/performance-analyzer

[BUG] Rebase Main Branch w/ Refactors from upstream core

nknize opened this issue · 2 comments

nknize commented

What is the bug?
Build fails with some latest namespace and library refactoring from core (e.g., opensearch-project/OpenSearch#9005). This was caught by the compatibility checker on opensearch-project/OpenSearch#9073.

How can one reproduce the bug?
Steps to reproduce the behavior:
Build with the latest core snapshot

What is the expected behavior?
Build should pass without any "Class Not Found" or "package does not exist" failures.

Do you have any screenshots?

Checking compatibility for: https://github.com/opensearch-project/performance-analyzer.git with ref: main

2023-08-02T18:11:21.0603693Z FAILURE: Build failed with an exception.
2023-08-02T18:11:21.0610134Z 
2023-08-02T18:11:21.0616763Z * What went wrong:
2023-08-02T18:11:21.0657754Z Execution failed for task ':updateShas'.
2023-08-02T18:11:21.0665800Z > Could not resolve all dependencies for configuration ':runtimeClasspath'.
2023-08-02T18:11:21.0671961Z    > Conflict(s) found for the following module(s):
2023-08-02T18:11:21.0685566Z        - org.apache.logging.log4j:log4j-api between versions 2.20.0 and 2.17.1
2023-08-02T18:11:21.0690490Z        - org.apache.logging.log4j:log4j-core between versions 2.20.0 and 2.17.1
2023-08-02T18:11:21.0695003Z      Run with:
2023-08-02T18:11:21.0702739Z          --scan or
2023-08-02T18:11:21.0708545Z          :dependencyInsight --configuration runtimeClasspath --dependency org.apache.logging.log4j:log4j-api
2023-08-02T18:11:21.0728976Z      to get more insight on how to solve the conflict.
2023-08-02T18:11:21.0729521Z 
2023-08-02T18:11:21.0737442Z * Try:
2023-08-02T18:11:21.0748836Z > Run with --stacktrace option to get the stack trace.
2023-08-02T18:11:21.0749759Z > Run with --info or --debug option to get more log output.
2023-08-02T18:11:21.0764745Z > Run with --scan to get full insights.

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

#5910

Related #500