golang / dep

Go dependency management tool experiment (deprecated)

Home Page:https://golang.github.io/dep/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dep very slow when run with atlassian bamboo agent

SavostinVladimir opened this issue · comments

Hi! I try to run a build job on my bambo CI instance. And I need to run dep ensure -update in my build scripts to update some dependencies.
When I try to run dep ensure -update manually from terminal, it`s ok:

Solver wall times by segment:
     b-source-exists: 23.522375003s
              b-gmal:  3.267889256s
         b-list-pkgs:  3.201153864s
  b-deduce-proj-root:   41.573263ms
             satisfy:   20.410968ms
         select-atom:   18.998424ms
            new-atom:    3.394068ms
         select-root:     974.396µs
               other:     250.585µs
            add-atom:     108.896µs
     b-list-versions:       9.997µs

  TOTAL: 30.07713872s

But when the bamboo agent builds the same code, the dep ensure -update stops on the first dependency and I can't wait for the end of the build


Root project is "bitbucket.org/vladimir_savostin/darvin-configurator"
--
28-Jun-2019 09:45:39 | 7 transitively valid internal packages
28-Jun-2019 09:45:39 | 12 external packages imported from 7 projects
28-Jun-2019 09:45:39 | (0)   ✓ select (root)
28-Jun-2019 09:45:41 | (1)        ? attempt bitbucket.org/vladimir_savostin/common with 1 pkgs; at least 1 versions to try
28-Jun-2019 09:45:41 | (1)            try bitbucket.org/vladimir_savostin/common@master

I have no idea how to find out the reason

What version of dep are you using (dep version)?

dep:
version : v0.5.3
build date : 2019-05-13
git hash : 192eb44
go version : go1.12.5
go compiler : gc
platform : linux/amd64
features : ImportDuringSolve=false

What dep command did you run?

dep ensure -update -v <myPackage>

What did you expect to see?

I expect that the update will last no more than a minute

What did you see instead?

The update lasts dozens of minutes and I stop build mannualy

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!