Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-5877

CLI is totally broken and analysis always fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • MTA 8.0.0
    • MTA 8.0.0
    • MTA CLI
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • Critical
    • None

      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

              emcmulla@redhat.com Emily McMullan
              ibragins@redhat.com Igor Braginsky
              Igor Braginsky Igor Braginsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: