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
  3. MTA-3017

[QE] Verify for ( [CLI] Some tests are failing with error about output.yaml )

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • MTA 7.0.3
    • None
    • QE-Task
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False

      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

              ibragins@redhat.com Igor Braginsky
              istein@redhat.com Ilanit Stein
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: