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

MTA Analysis panics on SVN repo if SVN clone process errors out

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • MTA 7.0.0
    • MTA 6.2.1
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Customer Facing
    • -
    • No

      When configuring an application with subversion and bypassing SSL verification in the admin menu the addon task pod is erroring out if trunk doesn't exist.

      Error:
      ```
      time=2023-11-21T21:35:28Z level=info msg=[addon] |200|  GET /identities/1
      time=2023-11-21T21:35:28Z level=info msg=[addon] |200|  PUT /tasks/7/report
      time=2023-11-21T21:35:28Z level=info msg=[addon] Addon reported: activity. activity=[Fetching application. [BUCKET] Report deleted:/windup/report duration:2.26711ms. [CMD] Running: /usr/bin/ssh-agent -a /tmp/agent.8 [CMD] succeeded. [SSH] Agent started. [SVN] Cloning: http://3.19.255.219/repos/trunk [SVN] Using credentials (id=1) test.]
      time=2023-11-21T21:35:28Z level=info msg=[addon] |200|  GET /proxies
      time=2023-11-21T21:35:28Z level=info msg=[addon] |200|  PUT /tasks/7/report
      time=2023-11-21T21:35:28Z level=info msg=[addon] Addon reported: activity. activity=[Fetching application. [BUCKET] Report deleted:/windup/report duration:2.26711ms. [CMD] Running: /usr/bin/ssh-agent -a /tmp/agent.8 [CMD] succeeded. [SSH] Agent started. [SVN] Cloning: http://3.19.255.219/repos/trunk [SVN] Using credentials (id=1) test. [FILE] Created /working/.subversion/servers.]
      time=2023-11-21T21:35:28Z level=error msg=[addon] Addon failed.
      exit status 1
      github.com/jortel/go-utils/logr.(*Sink).Error()
          /remote-source/mta-windup-addon/deps/gomod/pkg/mod/github.com/jortel/go-utils@v0.1.1/logr/logger.go:118
      github.com/go-logr/logr.Logger.Error()
          /remote-source/mta-windup-addon/deps/gomod/pkg/mod/github.com/go-logr/logr@v1.2.4/logr.go:299
      github.com/konveyor/tackle2-hub/addon.(*Adapter).Run.func1()
          /remote-source/mta-windup-addon/deps/gomod/pkg/mod/github.com/konveyor/tackle2-hub@v0.1.2-0.20230518195404-5e39c8efad05/addon/adapter.go:79
      github.com/konveyor/tackle2-hub/addon.(*Adapter).Run()
          /remote-source/mta-windup-addon/deps/gomod/pkg/mod/github.com/konveyor/tackle2-hub@v0.1.2-0.20230518195404-5e39c8efad05/addon/adapter.go:94
      main.main()
          /remote-source/mta-windup-addon/app/cmd/main.go:61
      runtime.main()
          /usr/lib/golang/src/runtime/proc.go:250
      runtime.goexit()
          /usr/lib/golang/src/runtime/asm_amd64.s:1594
      time=2023-11-21T21:35:28Z level=info msg=[addon] |200|  PUT /tasks/7/report
      time=2023-11-21T21:35:28Z level=info msg=[addon] Addon reported: failed. error=exit status 1
      ```

      Unable to reproduce this using a github repo with subversion.

              rhn-engineering-dymurray Dylan Murray
              rhn-engineering-dymurray Dylan Murray
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: