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

[upstream] Source analysis is failing on most of the rules

XMLWordPrintable

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

      None

      Show
      None
    • False
    • Critical
    • No

      Description of problem:

      Source analysis is failing on most of the rules

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

      Upstream

      How reproducible:

      ~100%

      Steps to Reproduce:
      1. Add an app (Tried both with test-app and with book-server
      2. Run source analysis (Tried to use rules: OpenJDK11, Containerisation, Quarkus)

      Actual results:

      Analysis fails, task pod is in `OOMKilled` state. Error log contains records that not-selected rules are missing, etc.

      Expected results:

      Analysis should work

      Additional info:
      From task pod log:
      ```
      time=2023-09-18T11:22:43Z level=info msg=[addon] Addon reported: activity. entry=> time="2023-09-18T11:22:02Z" level=info msg="one or more selectors did not match for rule, skipping" rule="

      {\"ruleID\":\"connect-01400\",\"description\":\"Embedded Resource Adapter\\nThe application embeds a resource adapter.\\n\",\"labels\":[\"konveyor.io/source\",\"konveyor.io/target\"]}

      "
      time=2023-09-18T11:22:43Z level=info msg=[addon] Addon reported: activity. entry=> time="2023-09-18T11:22:02Z" level=info msg="one or more selectors did not match for rule, skipping" rule="

      {\"ruleID\":\"connect-01500\",\"description\":\"Embedded library - ActiveMQ\\nThe application embeds an ActiveMQ client library.\\n\",\"labels\":[\"konveyor.io/source\",\"konveyor.io/target\"]}

      "
      ```
      ```
      time=2023-09-18T11:22:43Z level=info msg=[addon] Addon reported: activity. entry=> time="2023-09-18T11:22:02Z" level=info msg="one or more selectors did not match for rule, skipping" rule="

      {\"ruleID\":\"windup-discover-ejb-configuration\",\"labels\":[\"discovery\",\"konveyor.io/source\",\"konveyor.io/target\"]}

      "
      time=2023-09-18T11:22:43Z level=info msg=[addon] Addon reported: activity. entry=> time="2023-09-18T11:22:02Z" level=info msg="one or more selectors did not match for rule, skipping" rule="

      {\"ruleID\":\"windup-discover-spring-configuration\",\"labels\":[\"discovery\",\"konveyor.io/source\",\"konveyor.io/target\"]}

      "
      ```

              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: