Uploaded image for project: 'Konveyor Tackle'
  1. Konveyor Tackle
  2. TACKLE-670

Analysis Report: Report is empty if uploaded an empty rule file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.1.0
    • None
    • None
    • None

      Steps to reproduce:
      1. Login as Admin
      2. Create a new application, fill name and BS and click on create
      3. Select app. and Analyze
      4. Analysis mode: Upload a local binary >>Set targets >> Scope
      Custom Rules >>Add rules: uploaded rules (empty or without rules- files are attached)
      Next and Run the analysis

      Actual Result: Report is empty

      Analysis details:
      {"id":27,"createUser":"","updateUser":"","createTime":"2022-06-09T13:41:36.941712561Z","name":"empty_rule.25.windup","addon":"windup","data":{"mode":

      {"artifact":"/binary/agent.jar","binary":true,"withDeps":false}

      ,"output":"/windup/report","rules":{"path":"/rules","tags":{"excluded":[]}},"scope":{"packages":

      {"excluded":[],"included":[]}

      ,"withKnown":false},"sources":[],"targets":["cloud-readiness"]},"application":

      {"id":25,"name":"empty_rule"}

      ,"state":"Succeeded","image":"quay.io/konveyor/tackle2-addon-windup:v2.0.0","bucket":"/buckets/ffaa80b5-9258-4892-a9ca-7484516773c5","started":"2022-06-09T13:41:37.097985957Z","terminated":"2022-06-09T13:42:02.810452416Z","pod":"konveyor-tackle/task-27-65ljh","report":{"id":45,"createUser":"","updateUser":"","createTime":"2022-06-09T13:41:46.018580194Z","status":"Succeeded","error":"","total":0,"completed":0,"activity":["Fetching application.","[CMD] Running: /usr/bin/ssh-agent -a /tmp/agent.1","[CMD] succeeded.","[SSH] Agent started.","[CMD] Running: /usr/bin/rm -rf /buckets/a136e94f-82cd-4054-ab88-1b0714e1e9b9/windup/report","[CMD] succeeded.","[Windup] created: /buckets/a136e94f-82cd-4054-ab88-1b0714e1e9b9/windup/report.","[CMD] Running: /opt/windup --batchMode --output /buckets/a136e94f-82cd-4054-ab88-1b0714e1e9b9/windup/report --input /buckets/ffaa80b5-9258-4892-a9ca-7484516773c5/binary --target cloud-readiness --userRulesDirectory /buckets/ffaa80b5-9258-4892-a9ca-7484516773c5/rules","[CMD] succeeded."],"task":27}}

        1. Copy.customWebLogic.windup.xml
          3 kB
          Karishma Punwatkar
        2. Screenshot from 2022-06-09 19-25-43.png
          20 kB
          Karishma Punwatkar
        3. Screenshot from 2022-07-27 19-40-34.png
          102 kB
          Karishma Punwatkar

              rhn-engineering-gdubreui Gilles Dubreuil
              rhn-support-kpunwatk Karishma Punwatkar
              Karishma Punwatkar Karishma Punwatkar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: