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

Analysis: "Upload Local Binary" fails if the source repo is empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.0.0.Final
    • None
    • UI
    • None

      1. Create an Application Without a Source Code
      2. Run Analysis and Choos "Upload  Local Binary" (use a valid file, like a valid JAR, so the upload to the bucket is successful).

      Current Behaviour:
      The Analysis files (see attached logs)
      The UI link to not available so attached the hub response with all tasks 

      http://pastebin.test.redhat.com/1050258

       

      will continue a separated issue for the missing error object link 

       

      $ kubectl logs pod/task-11-nnsp4  -nkonveyor-tackle 
      {"level":"info","ts":1652026885.4740245,"logger":"addon","msg":"Addon created.","data":{"mode":

      {"artifact":"/binary/tyrus-spi-1.13.1.jar","binary":false,"withDeps":false}

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

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

      ,"withKnown":false},"sources":[],"targets":["eap7"]}}

      {"level":"info","ts":1652026885.5007346,"logger":"addon","msg":"Addon reported started."} {"level":"info","ts":1652026885.5091753,"logger":"addon","msg":"Addon reported: activity.","activity":["Fetching application."]} {"level":"info","ts":1652026885.5211005,"logger":"addon","msg":"Addon reported: activity.","activity":["Fetching application.","[CMD] Running: /usr/bin/ssh-agent -a /tmp/agent.1"]} {"level":"info","ts":1652026885.5313408,"logger":"addon","msg":"Addon reported: activity.","activity":["Fetching application.","[CMD] Running: /usr/bin/ssh-agent -a /tmp/agent.1","[CMD] succeeded."]} {"level":"info","ts":1652026885.5379214,"logger":"addon","msg":"Addon reported: activity.","activity":["Fetching application.","[CMD] Running: /usr/bin/ssh-agent -a /tmp/agent.1","[CMD] succeeded.","[SSH] Agent started."]} {"level":"info","ts":1652026885.544132,"logger":"addon","msg":"Addon updated: total.","total":2} {"level":"info","ts":1652026885.5511777,"logger":"addon","msg":"Addon reported: failed.","error":"Application repository not defined."}

       

      If it is the expected behaviour then it should be blocked in the UI

       

       

              rhn-engineering-gdubreui Gilles Dubreuil
              amastbau Amos Mastbaum
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: