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

[CLI] Some tests are failing with error about output.yaml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • MTA 7.0.3
    • MTA 7.0.3
    • MTA CLI
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description of problem:

      Some tests are failing due to output.yaml is expected to be located in /opt/output/output.yaml instead of path specified in CLI options

      Version-Release number of selected component (if applicable):

       7.0.3-8

      How reproducible:

      100%

      Steps to Reproduce:
      1. Run command as /home/igor/bin/mta-cli analyze --overwrite --input /home/igor/github.com/kantra-cli-tests/data/applications/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar --output /home/igor/MTA/reports --target quarkus
      2.
      3.

      Actual results:

       ERRO[0295] container run error error="exit status 1"

      ERRO[0295] failed to generate static report error="2024/04/16 14:10:27 failed to load provider settings open /opt/output/output.yaml: no such file or directory\n"
      Error: 2024/04/16 14:10:27 failed to load provider settings open /opt/output/output.yaml: no such file or directory

      Expected results:

       Output.yaml should be search by the proper path

      Additional info:
      This was reproduced both on MAC and Linux, didn't try on Windows

              pgaikwad1@redhat.com Pranav Gaikwad
              ibragins@redhat.com Igor Braginsky
              Igor Braginsky Igor Braginsky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: