Description of problem:
CLI is totally broken and analysis always fails
Version-Release number of selected component (if applicable): 8.0.0-22
How reproducible: 100%
Steps to Reproduce:
1. Run any analysis in local mode
Actual results:
fails with output
INFO[0000] --run-local set. running analysis in containerless mode ERRO[0000] cannot open required path, ensure that container-less dependencies are installed error="stat /home/igor/.kantra/jdtls/java-analyzer-bundle/java-analyzer-bundle.core/target/java-analyzer-bundle.core-1.0.0-SNAPSHOT.jar: no such file or directory" ERRO[0000] failed to validate flags error="stat /home/igor/.kantra/jdtls/java-analyzer-bundle/java-analyzer-bundle.core/target/java-analyzer-bundle.core-1.0.0-SNAPSHOT.jar: no such file or directory" Error: stat /home/igor/.kantra/jdtls/java-analyzer-bundle/java-analyzer-bundle.core/target/java-analyzer-bundle.core-1.0.0-SNAPSHOT.jar: no such file or directory
Expected results:
Analysis should work
Additional info:
Emily wrote:
I think I know what happened
We set this arg from the cmd package https://github.com/konveyor/kantra/blob/release-0.6/Dockerfile#L41 but it was recently moved into a util package https://github.com/konveyor/kantra/blob/main/pkg/util/util.go#L20
- links to
-
RHBA-2025:150872 Migration Toolkit for Applications bug fix and enhancement update