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

Binary analysis fails for a JAR file that has no external dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • MTA 7.0.3
    • MTA 7.0.2
    • Application Analysis
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No
    • Important

      Description of problem:

      Binary analysis fails for JAR file (attached)
       

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

      7.0.2

      How reproducible:

       Always

      Steps to Reproduce:
      1. Run analysis by uploading local binary file attached
      2. Select target cloud-readiness

      3. Run analysis

      Actual results:

      Analysis fails

      ```
      time=2024-04-19T10:41:24Z level=info msg=[addon] Addon reported: activity. entry=[CMD] /usr/bin/konveyor-analyzer succeeded. time=2024-04-19T10:41:24Z level=info msg=[binding] |200| PUT /tasks/2/report time=2024-04-19T10:41:24Z level=info msg=[binding] |204| PATCH /files/344 time=2024-04-19T10:41:24Z level=info msg=[binding] |201| POST /files/konveyor-analyzer-dep.output time=2024-04-19T10:41:24Z level=info msg=[addon] Addon reported: activity. entry=[CMD] Running: /usr/bin/konveyor-analyzer-dep --provider-settings /addon/opt/settings.json --output-file /addon/deps.yaml time=2024-04-19T10:41:24Z level=info msg=[binding] |200| PUT /tasks/2/report time=2024-04-19T10:41:24Z level=info msg=[addon] Addon attached: %s activity=39 path=/buckets/.file/f31233d7-1f95-4cfd-8589-ba4a456c0c76 time=2024-04-19T10:41:24Z level=info msg=[binding] |200| PUT /tasks/2/report time=2024-04-19T10:41:45Z level=info msg=[addon] Addon reported: activity. entry=[CMD] /usr/bin/konveyor-analyzer-dep failed: exit status 1 time=2024-04-19T10:41:45Z level=info msg=[binding] |200| PUT /tasks/2/report time=2024-04-19T10:41:45Z level=info msg=[binding] |204| PATCH /files/345 time=2024-04-19T10:41:45Z level=info msg=[addon] Addon reported: error. error={Error exit status 1} time=2024-04-19T10:41:45Z level=info msg=[binding] |200| PUT /tasks/2/report time=2024-04-19T10:41:45Z level=info msg=[addon] Addon reported: failed. reason=exit status 1
      ```

      Expected results:

       Analysis shouldn't fail

      Additional info:

            pgaikwad1@redhat.com Pranav Gaikwad
            pgaikwad1@redhat.com Pranav Gaikwad
            mohamed idays mohamed idays
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: