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

[CLI] [KANTRA] Triggering an analysis for openJDK target shows missing file error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • MTA 7.0.0
    • MTA 7.0.0
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description

      When triggering an analysis and the target is set to opendJDK11/17/21 the analysis fails and shows the error:

      time="2023-11-15T15:24:18Z" level=info msg="rule returned" rule=java-removals-00030
      
      time="2023-11-15T15:24:18Z" level=error msg="failed to evaluate rule" error="open /opt/input/source/pom.xml: no such file or directory" ruleID=java-removals-00030
       

      How reproducible

      Always

      Steps to reproduce

      1. Run an analysus
        1. kantra analyze --input ~/Documents/projects/windup-rulesets/rules/rules-reviewed/openjdk21/openjdk17/tests/data --source openjdk17 --target openjdk21 -o out-dir

      Actual results

      The analysis fails

      Expected results

      The analysis should be completed successfully

       

        1. Screenshot_20231231_171918.png
          Screenshot_20231231_171918.png
          59 kB
        2. mta-cli-report-test-jdk.zip
          9.87 MB
        3. image-2024-01-12-16-02-16-245.png
          image-2024-01-12-16-02-16-245.png
          81 kB
        4. dependency.log
          0.7 kB
        5. analysis.log
          56 kB

              emcmulla@redhat.com Emily McMullan
              midays mohamed idays
              mohamed idays mohamed idays
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: