XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.11.0
    • Component/s: Go, Package indexer
    • Labels:
      None
    • Regression:
      Yes

      Description

      When installing a package with capitalised name, the following error is returned:

      [Info] Using go: go version go1.12.6 linux/amd64
      
      3go: finding github.com/shenderov/DepTestTwo v1.0.3
      3go: finding github.com/shenderov/DepTestOne v1.0.3
      0go: finding github.com/shenderov/HelloGo v1.0.4
      7go: downloading github.com/shenderov/DepTestTwo v1.0.3
      6go: extracting github.com/shenderov/DepTestTwo v1.0.3
      7go: downloading github.com/shenderov/DepTestOne v1.0.3
      6go: extracting github.com/shenderov/DepTestOne v1.0.3
      4go: downloading github.com/shenderov/HelloGo v1.0.4
      3go: extracting github.com/shenderov/HelloGo v1.0.4
      1[Info] Using go: go version go1.12.6 linux/amd64
      
      3go: finding github.com/shenderov/DepTestTwo v1.0.3
      �go: github.com/shenderov/DepTestTwo@v1.0.3: unexpected status (http://***.***@artifactory:8081/artifactory/api/go/go-virtual/github.com/shenderov/%!d(MISSING)ep%!t(MISSING)est%!t(MISSING)wo/@v/v1.0.3.info): 500 Internal Server Error
      &go: error loading module requirements
      {
        "status": "failure",
      exit status 1
        "totals": {
          "success": 0,
          "failure": 1
        }
      }
      [Info] Searching artifacts...
      [Info] Found 0 artifacts.
      {
        "status": "success",
        "totals": {
          "success": 0,
          "failure": 0
        }
      }
      1[Info] Using go: go version go1.12.6 linux/amd64
      
      3go: finding github.com/shenderov/DepTestTwo v1.0.3
      �go: github.com/shenderov/DepTestTwo@v1.0.3: unexpected status (http://***.***@artifactory:8081/artifactory/api/go/go-virtual/github.com/shenderov/%!d(MISSING)ep%!t(MISSING)est%!t(MISSING)wo/@v/v1.0.3.info): 500 Internal Server Error
      &go: error loading module requirements
      {
        "status": "failure",
        "totals": {
          "success": 0,
          "failure": 1
        }
      }
      exit status 1
      

      Despite 500 Internal Server Error in the client log, there is no error in the request.log:

      20190623152332|7|REQUEST|172.17.0.1|admin|GET|/api/system/ping|HTTP/1.1|200|0
      20190623152332|7|REQUEST|172.17.0.1|admin|GET|/api/system/configuration|HTTP/1.1|200|0
      20190623152332|134|REQUEST|172.17.0.1|admin|POST|/api/system/configuration|HTTP/1.1|200|71091
      20190623152333|80|REQUEST|172.17.0.1|admin|PUT|/api/repositories/go-local|HTTP/1.1|200|282
      20190623152333|82|REQUEST|172.17.0.1|admin|POST|/ui/admin/repositories|HTTP/1.1|200|1735
      20190623152333|97|REQUEST|172.17.0.1|admin|POST|/ui/admin/repositories|HTTP/1.1|200|1123
      20190623152333|157|REQUEST|172.17.0.1|admin|POST|/api/repositories/go-remote|HTTP/1.1|200|60
      20190623152334|2|REQUEST|172.17.0.3|admin|GET|/api/system/version|HTTP/1.1|200|0
      20190623152334|2|REQUEST|172.17.0.3|admin|POST|/api/system/usage|HTTP/1.1|200|70
      20190623152335|1572|REQUEST|172.17.0.3|admin|GET|/api/go/go-virtual/github.com/shenderov/%21dep%21test%21two/@v/v1.0.3.info|HTTP/1.1|200|0
      20190623152336|902|REQUEST|172.17.0.3|admin|GET|/api/go/go-virtual/github.com/shenderov/%21dep%21test%21two/@v/v1.0.3.mod|HTTP/1.1|200|87
      20190623152337|934|REQUEST|172.17.0.3|admin|GET|/api/go/go-virtual/github.com/shenderov/%21dep%21test%21one/@v/v1.0.3.info|HTTP/1.1|200|0
      20190623152338|870|REQUEST|172.17.0.3|admin|GET|/api/go/go-virtual/github.com/shenderov/%21dep%21test%21one/@v/v1.0.3.mod|HTTP/1.1|200|84
      20190623152339|889|REQUEST|172.17.0.3|admin|GET|/api/go/go-virtual/github.com/shenderov/%21hello%21go/@v/v1.0.4.info|HTTP/1.1|200|0
      20190623152340|905|REQUEST|172.17.0.3|admin|GET|/api/go/go-virtual/github.com/shenderov/%21hello%21go/@v/v1.0.4.mod|HTTP/1.1|200|36
      20190623152341|1560|REQUEST|172.17.0.3|admin|GET|/api/go/go-virtual/github.com/shenderov/%21dep%21test%21two/@v/v1.0.3.zip|HTTP/1.1|200|1324
      20190623152343|1570|REQUEST|172.17.0.3|admin|GET|/api/go/go-virtual/github.com/shenderov/%21dep%21test%21one/@v/v1.0.3.zip|HTTP/1.1|200|1330
      20190623152345|1445|REQUEST|172.17.0.3|admin|GET|/api/go/go-virtual/github.com/shenderov/%21hello%21go/@v/v1.0.4.zip|HTTP/1.1|200|1252
      20190623152345|3|REQUEST|172.17.0.3|admin|GET|/api/system/version|HTTP/1.1|200|0
      20190623152345|2|REQUEST|172.17.0.3|admin|POST|/api/system/usage|HTTP/1.1|200|70
      20190623152345|2|REQUEST|172.17.0.3|admin|GET|/api/system/version|HTTP/1.1|200|0
      20190623152345|5|REQUEST|172.17.0.3|admin|POST|/api/search/aql|HTTP/1.1|200|242
      20190623152345|2|REQUEST|172.17.0.3|admin|POST|/api/system/usage|HTTP/1.1|200|76
      20190623152345|2|REQUEST|172.17.0.3|admin|GET|/api/system/version|HTTP/1.1|200|0
      20190623152345|2|REQUEST|172.17.0.3|admin|POST|/api/system/usage|HTTP/1.1|200|70
      

      See exceptions in the attached artifactory.log

      To reproduce:
      Run GoSpec#Install Go Package with Capitalised Name in package indexer tester

        Attachments

          Activity

            People

            Assignee:
            nadavy Nadav Yogev
            Reporter:
            Konstantins Konstantin Shenderov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-19460 -
                SYNCHRONIZED
                • Last Sync Date: