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

Analysis: addon-windup container fails error":"runtime error: index out of range [0] with length 0"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 2.0.0.Final
    • None
    • None
    • False
    • None
    • False
    • None

      addon-windup  pod fails, log:
       
       
      {"level":"info","ts":1651141823.5897772,"logger":"addon","msg":"Addon created.","data":{"mode":

      {"artifact":"","binary":false,"withDeps":false}

      ,"output":"/windup/report","scope":{"packages":

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

      ,"withKnown":false},"sources":[],"targets":["quarkus"]}}
      2

      {"level":"info","ts":1651141828.609703,"logger":"addon","msg":"Addon reported started."}

      3

      {"level":"info","ts":1651141828.8261716,"logger":"addon","msg":"Addon reported: activity.","activity":["Fetching application."]}

      4

      {"level":"info","ts":1651141828.8353217,"logger":"addon","msg":"Addon updated: total.","total":2}

      5

      {"level":"info","ts":1651141828.8428357,"logger":"addon","msg":"Addon reported: activity.","activity":["Fetching application.","[CMD] Running: /usr/bin/rm -rf /working/source"]}

      6

      {"level":"info","ts":1651141828.852,"logger":"addon","msg":"Addon reported: activity.","activity":["Fetching application.","[CMD] Running: /usr/bin/rm -rf /working/source","[CMD] succeeded."]}

      7

      {"level":"info","ts":1651141828.8590841,"logger":"addon","msg":"Addon reported: activity.","activity":["Fetching application.","[CMD] Running: /usr/bin/rm -rf /working/source","[CMD] succeeded.","[SVN] Cloning: https://github.com/konveyor/tackle-ui-tests/trunk"]}

      8

      {"level":"info","ts":1651141828.869508,"logger":"addon","msg":"Addon reported: activity.","activity":["Fetching application.","[CMD] Running: /usr/bin/rm -rf /working/source","[CMD] succeeded.","[SVN] Cloning: https://github.com/konveyor/tackle-ui-tests/trunk","[SVN] Using credentials (2) amos."]}

      9{"level":"error","ts":1651141829.3724515,"logger":"addon","msg":"Addon failed.","error":"runtime error: index out of range [0] with length 0","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/opt/app-root/pkg/mod/github.com/go-logr/zapr@v0.3.0/zapr.go:132\ngithub.com/konveyor/controller/pkg/logging.(*Logger).Error\n\t/opt/app-root/pkg/mod/github.com/konveyor/controller@v0.8.0/pkg/logging/logger.go:109\ngithub.com/konveyor/tackle2-hub/addon.(*Adapter).Run.func1\n\t/opt/app-root/pkg/mod/github.com/konveyor/tackle2-hub@v0.0.0-20220420221924-763745d1f194/addon/adapter.go:78\nruntime.gopanic\n\t/usr/lib/golang/src/runtime/panic.go:965\nruntime.goPanicIndex\n\t/usr/lib/golang/src/runtime/panic.go:88\nmain.(*Subversion).writePassword\n\t/opt/app-root/src/cmd/svn.go:171\nmain.(*Subversion).Fetch\n\t/opt/app-root/src/cmd/svn.go:67\nmain.main.func1\n\t/opt/app-root/src/cmd/main.go:76\ngithub.com/konveyor/tackle2-hub/addon.(*Adapter).Run\n\t/opt/app-root/pkg/mod/github.com/konveyor/tackle2-hub@v0.0.0-20220...
      10

      {"level":"info","ts":1651141829.3801577,"logger":"addon","msg":"Addon reported: failed.","error":"runtime error: index out of range [0] with length 0"}

      error:

      {


      • id: 12,

      • createUser: "",

      • updateUser: "",

      • createTime: "2022-04-28T10:30:07.089432398Z",

      • name: "amos.58.windup",

      • addon: "windup",
      • data:
          { * mode:   \{ * artifact: "", * binary: false, * withDeps: false}

        ,


      • output: "/windup/report",
      • scope:
          { * packages:   \{ * excluded: [ ], * included: [ ]}

        ,


      • withKnown: false},

      • sources: [ ],
      • targets:
         [ *
        "quarkus"]},
      • application:
          { * id: 58, * name: "amos"}
        ,

      • state: "Failed",

      • image: "quay.io/konveyor/tackle2-addon-windup:latest",
      • bucket: "/buckets/60244f79-c8f0-4e20-8b79-679ce8c8958f",

      • started: "2022-04-28T10:30:20.966844822Z",

      • terminated: "2022-04-28T10:30:32.374831464Z",

      • error: "pod failed.",

      • pod: "konveyor-tackle/task-12-h5k24",

      • retries: 1,
      • report:
          { * id: 15, * createUser: "", * updateUser: "", * createTime: "2022-04-28T10:30:28.602767968Z", * status: "Failed", * error: "runtime error: index out of range [0] with length 0", * total: 2, * completed: 0, * activity:  [ * "Fetching application.", * "[CMD] Running: /usr/bin/rm -rf /working/source", * "[CMD] succeeded.", * "[SVN] Cloning: https://github.com/konveyor/tackle-ui-tests/trunk", * "[SVN] Using credentials (2) amos."], * task: 12}

      }

              rhn-support-nachandr Nandini Chandra
              amastbau Amos Mastbaum
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: