golang / dep

Go dependency management tool experiment (deprecated)
https://golang.github.io/dep/
BSD 3-Clause "New" or "Revised" License
12.84k stars 1.05k forks source link

dep ensure slow(1h21m34.111780143s) #1833

Closed XCapsule closed 4 years ago

XCapsule commented 6 years ago

dep version dep: version : v0.4.1 build date : 2018-04-26 git hash : 37d9ea0 go version : go1.10.1 go compiler : gc platform : darwin/amd64

dep ensure

waiting for lockfile /Users/vince/go/pkg/dep/sm.lock: Locked by other process
waiting for lockfile /Users/vince/go/pkg/dep/sm.lock: Locked by other process
Root project is "github.com/bzy-ai/rpc-mesh"
 80 transitively valid internal packages
 53 external packages imported from 36 projects
(0)   ✓ select (root)
(1)     ? attempt github.com/DATA-DOG/go-txdb with 1 pkgs; at least 1 versions to try
(1)         try github.com/DATA-DOG/go-txdb@v0.1.0
(1)     ✓ select github.com/DATA-DOG/go-txdb@v0.1.0 w/1 pkgs
(2)     ? attempt github.com/aliyun/aliyun-oss-go-sdk with 1 pkgs; at least 1 versions to try
(2)         try github.com/aliyun/aliyun-oss-go-sdk@1.8.0
(2)     ✓ select github.com/aliyun/aliyun-oss-go-sdk@1.8.0 w/1 pkgs
(3)     ? attempt github.com/aliyun/aliyun-log-go-sdk with 1 pkgs; at least 1 versions to try
(3)         try github.com/aliyun/aliyun-log-go-sdk@master
(3)     ✓ select github.com/aliyun/aliyun-log-go-sdk@master w/1 pkgs
(4)     ? attempt github.com/dgrijalva/jwt-go with 1 pkgs; at least 1 versions to try
(4)         try github.com/dgrijalva/jwt-go@v3.1.0
(4)     ✓ select github.com/dgrijalva/jwt-go@v3.1.0 w/1 pkgs
(5)     ? attempt github.com/garyburd/redigo with 1 pkgs; at least 1 versions to try
(5)         try github.com/garyburd/redigo@v1.4.0
(5)     ✓ select github.com/garyburd/redigo@v1.4.0 w/2 pkgs
(6)     ? attempt github.com/go-sql-driver/mysql with 1 pkgs; at least 1 versions to try
(6)         try github.com/go-sql-driver/mysql@v1.3
(6)     ✓ select github.com/go-sql-driver/mysql@v1.3 w/1 pkgs
(7)     ? attempt github.com/asaskevich/govalidator with 1 pkgs; at least 1 versions to try
(7)         try github.com/asaskevich/govalidator@v8
(7)     ✓ select github.com/asaskevich/govalidator@v8 w/1 pkgs
(8)     ? attempt github.com/fogleman/gg with 1 pkgs; at least 1 versions to try
(8)         try github.com/fogleman/gg@v1.0.0
(8)     ✓ select github.com/fogleman/gg@v1.0.0 w/1 pkgs
(9)     ? attempt github.com/golang/protobuf with 1 pkgs; at least 1 versions to try
(9)         try github.com/golang/protobuf@master
(9)     ✓ select github.com/golang/protobuf@master w/1 pkgs
(10)  ? attempt golang.org/x/crypto with 1 pkgs; at least 1 versions to try
(10)      try golang.org/x/crypto@master
(10)  ✓ select golang.org/x/crypto@master w/2 pkgs
(11)  ? attempt github.com/golang/glog with 1 pkgs; at least 1 versions to try
(11)      try github.com/golang/glog@master
(11)  ✓ select github.com/golang/glog@master w/1 pkgs
(12)  ? attempt github.com/hashicorp/consul with 1 pkgs; at least 1 versions to try
(12)      try github.com/hashicorp/consul@v1.0.3
(12)  ✓ select github.com/hashicorp/consul@v1.0.3 w/1 pkgs
(13)  ? attempt github.com/julienschmidt/httprouter with 1 pkgs; at least 1 versions to try
(13)      try github.com/julienschmidt/httprouter@v1.1
(13)  ✓ select github.com/julienschmidt/httprouter@v1.1 w/1 pkgs
(14)  ? attempt github.com/kat-co/vala with 1 pkgs; at least 1 versions to try
(14)      try github.com/kat-co/vala@v1
(14)  ✓ select github.com/kat-co/vala@v1 w/1 pkgs
(15)  ? attempt github.com/eclipse/paho.mqtt.golang with 1 pkgs; at least 1 versions to try
(15)      try github.com/eclipse/paho.mqtt.golang@v1.1.0
(15)  ✓ select github.com/eclipse/paho.mqtt.golang@v1.1.0 w/2 pkgs
(16)  ? attempt github.com/gogo/protobuf with 1 pkgs; at least 1 versions to try
(16)      try github.com/gogo/protobuf@v0.5
(16)  ✓ select github.com/gogo/protobuf@v0.5 w/1 pkgs
(17)  ? attempt github.com/gocraft/work with 1 pkgs; at least 1 versions to try
(17)      try github.com/gocraft/work@v0.5.0
(17)  ✓ select github.com/gocraft/work@v0.5.0 w/1 pkgs
(18)  ? attempt gopkg.in/mcuadros/go-defaults.v1 with 1 pkgs; at least 1 versions to try
(18)      try gopkg.in/mcuadros/go-defaults.v1@v1.1.0
(18)  ✓ select gopkg.in/mcuadros/go-defaults.v1@v1.1.0 w/1 pkgs
(19)  ? attempt github.com/grpc-ecosystem/grpc-gateway with 3 pkgs; at least 1 versions to try
(19)      try github.com/grpc-ecosystem/grpc-gateway@v1.3.1
(19)  ✓ select github.com/grpc-ecosystem/grpc-gateway@v1.3.1 w/4 pkgs
(20)  ? revisit github.com/golang/protobuf to add 5 pkgs
(20)    ✓ include 7 more pkgs from github.com/golang/protobuf@master
(20)  ? attempt golang.org/x/net with 1 pkgs; at least 1 versions to try
(21)      try golang.org/x/net@master
(21)  ✓ select golang.org/x/net@master w/1 pkgs
(21)  ? attempt github.com/jinzhu/gorm with 3 pkgs; at least 1 versions to try
(22)      try github.com/jinzhu/gorm@v1.0
(22)  ✓ select github.com/jinzhu/gorm@v1.0 w/3 pkgs
(22)  ? attempt github.com/golang/freetype with 2 pkgs; at least 1 versions to try
(23)      try github.com/golang/freetype@master
(23)  ✓ select github.com/golang/freetype@master w/2 pkgs
(23)  ? attempt golang.org/x/image with 3 pkgs; at least 1 versions to try
(24)      try golang.org/x/image@master
(24)  ✓ select golang.org/x/image@master w/4 pkgs
(24)  ? attempt github.com/jinzhu/inflection with 1 pkgs; at least 1 versions to try
(25)      try github.com/jinzhu/inflection@master
(25)  ✓ select github.com/jinzhu/inflection@master w/1 pkgs
(25)  ? attempt github.com/hashicorp/go-cleanhttp with 1 pkgs; at least 1 versions to try
(26)      try github.com/hashicorp/go-cleanhttp@master
(26)  ✓ select github.com/hashicorp/go-cleanhttp@master w/1 pkgs
(26)  ? attempt github.com/hashicorp/go-rootcerts with 1 pkgs; at least 1 versions to try
(27)      try github.com/hashicorp/go-rootcerts@master
(27)  ✓ select github.com/hashicorp/go-rootcerts@master w/1 pkgs
(27)  ? attempt github.com/lib/pq with 2 pkgs; at least 1 versions to try
(28)      try github.com/lib/pq@master
(28)  ✓ select github.com/lib/pq@master w/3 pkgs
(28)  ? attempt github.com/mitchellh/go-homedir with 1 pkgs; at least 1 versions to try
(29)      try github.com/mitchellh/go-homedir@master
(29)  ✓ select github.com/mitchellh/go-homedir@master w/1 pkgs
(29)  ? attempt github.com/stretchr/testify with 2 pkgs; at least 1 versions to try
(30)      try github.com/stretchr/testify@v1.2.0
(30)  ✓ select github.com/stretchr/testify@v1.2.0 w/3 pkgs
(30)  ? attempt github.com/davecgh/go-spew with 1 pkgs; at least 1 versions to try
(31)      try github.com/davecgh/go-spew@v1.1.0
(31)  ✓ select github.com/davecgh/go-spew@v1.1.0 w/1 pkgs
(31)  ? attempt github.com/pmezard/go-difflib with 1 pkgs; at least 1 versions to try
(32)      try github.com/pmezard/go-difflib@v1.0.0
(32)  ✓ select github.com/pmezard/go-difflib@v1.0.0 w/1 pkgs
(32)  ? attempt github.com/volatiletech/sqlboiler with 6 pkgs; at least 1 versions to try
(33)      try github.com/volatiletech/sqlboiler@v2.6.0
(33)  ✓ select github.com/volatiletech/sqlboiler@v2.6.0 w/8 pkgs
(33)  ? revisit github.com/lib/pq to add 1 pkgs
(34)    ✓ include 2 more pkgs from github.com/lib/pq@master
(33)  ? attempt github.com/denisenkom/go-mssqldb with 1 pkgs; at least 1 versions to try
(35)      try github.com/denisenkom/go-mssqldb@master
(35)  ✓ select github.com/denisenkom/go-mssqldb@master w/1 pkgs
(34)  ? revisit golang.org/x/crypto to add 1 pkgs
(36)    ✓ include 1 more pkgs from golang.org/x/crypto@master
(34)  ? attempt gopkg.in/yaml.v2 with 1 pkgs; at least 1 versions to try
(37)      try gopkg.in/yaml.v2@v2
(37)  ✓ select gopkg.in/yaml.v2@v2 w/1 pkgs
(35)  ? attempt github.com/spf13/cobra with 1 pkgs; at least 1 versions to try
(38)      try github.com/spf13/cobra@v0.0.1
(38)  ✓ select github.com/spf13/cobra@v0.0.1 w/1 pkgs
(36)  ? attempt github.com/inconshreveable/mousetrap with 1 pkgs; at least 1 versions to try
(39)      try github.com/inconshreveable/mousetrap@v1.0
(39)  ✓ select github.com/inconshreveable/mousetrap@v1.0 w/1 pkgs
(37)  ? attempt github.com/spf13/viper with 1 pkgs; at least 1 versions to try
(40)      try github.com/spf13/viper@v1.0.0
(40)  ✓ select github.com/spf13/viper@v1.0.0 w/1 pkgs
(38)  ? attempt github.com/fsnotify/fsnotify with 1 pkgs; at least 1 versions to try
(41)      try github.com/fsnotify/fsnotify@v1.4.7
(41)  ✓ select github.com/fsnotify/fsnotify@v1.4.7 w/1 pkgs
(39)  ? attempt github.com/hashicorp/hcl with 1 pkgs; at least 1 versions to try
(42)      try github.com/hashicorp/hcl@master
(42)  ✓ select github.com/hashicorp/hcl@master w/9 pkgs
(40)  ? attempt github.com/pierrec/lz4 with 1 pkgs; at least 1 versions to try
(43)      try github.com/pierrec/lz4@v1.1
(43)  ✓ select github.com/pierrec/lz4@v1.1 w/1 pkgs
(41)  ? attempt github.com/sirupsen/logrus with 1 pkgs; at least 1 versions to try
(44)      try github.com/sirupsen/logrus@v1.0.4
(44)  ✓ select github.com/sirupsen/logrus@v1.0.4 w/1 pkgs
(42)  ? revisit golang.org/x/crypto to add 1 pkgs
(45)    ✓ include 1 more pkgs from golang.org/x/crypto@master
(42)  ? attempt github.com/magiconair/properties with 1 pkgs; at least 1 versions to try
(46)      try github.com/magiconair/properties@v1.7.4
(46)  ✓ select github.com/magiconair/properties@v1.7.4 w/1 pkgs
(43)  ? attempt github.com/satori/go.uuid with 1 pkgs; at least 1 versions to try
(47)      try github.com/satori/go.uuid@v1.2.0
(47)  ✗   ssh://git@github.com/satori/go.uuid does not exist in the local cache and fetching failed: uable to get repository: Cloning into '/Users/vince/go/pkg/dep/sources/ssh---git@github.com-satori-go.uuid'...
(47)    ssh_exchange_identification: Connection closed by remote host
(47)    fatal: Could not read from remote repository.
(47)    
(47)    Please make sure you have the correct access rights
(47)    and the repository exists.
(47)    : command failed: [git clone --recursive -v --progress ssh://git@github.com/satori/go.uuid /Users/vince/go/pkg/dep/sources/ssh---git@github.com-satori-go.uuid]: exit status 128
(47)      try github.com/satori/go.uuid@v1.1.0
(47)  ✓ select github.com/satori/go.uuid@v1.1.0 w/1 pkgs
(44)  ? attempt gopkg.in/olivere/elastic.v5 with 2 pkgs; at least 1 versions to try
(48)      try gopkg.in/olivere/elastic.v5@v5.0.62
(48)  ✓ select gopkg.in/olivere/elastic.v5@v5.0.62 w/3 pkgs
(45)  ? attempt github.com/pkg/errors with 1 pkgs; at least 1 versions to try
(49)      try github.com/pkg/errors@v0.8.0
(49)  ✓ select github.com/pkg/errors@v0.8.0 w/1 pkgs
(46)  ? attempt github.com/pelletier/go-toml with 1 pkgs; at least 1 versions to try
(50)      try github.com/pelletier/go-toml@v1.1.0
(50)  ✓ select github.com/pelletier/go-toml@v1.1.0 w/1 pkgs
(47)  ? attempt github.com/mitchellh/mapstructure with 1 pkgs; at least 1 versions to try
(51)      try github.com/mitchellh/mapstructure@master
(51)  ✓ select github.com/mitchellh/mapstructure@master w/1 pkgs
(48)  ? attempt github.com/volatiletech/inflect with 1 pkgs; at least 1 versions to try
(52)      try github.com/volatiletech/inflect@master
(52)  ✓ select github.com/volatiletech/inflect@master w/1 pkgs
(49)  ? attempt github.com/hashicorp/serf with 1 pkgs; at least 1 versions to try
(53)      try github.com/hashicorp/serf@v0.8.1
(53)  ✓ select github.com/hashicorp/serf@v0.8.1 w/1 pkgs
(50)  ? revisit golang.org/x/net to add 2 pkgs
(54)    ✓ include 2 more pkgs from golang.org/x/net@master
(50)  ? attempt github.com/robfig/cron with 1 pkgs; at least 1 versions to try
(55)      try github.com/robfig/cron@v1
(55)  ✓ select github.com/robfig/cron@v1 w/1 pkgs
(51)  ? attempt github.com/spf13/pflag with 1 pkgs; at least 1 versions to try
(56)      try github.com/spf13/pflag@v1.0.0
(56)  ✓ select github.com/spf13/pflag@v1.0.0 w/1 pkgs
(52)  ? attempt github.com/disintegration/imaging with 1 pkgs; 11 versions to try
(57)      try github.com/disintegration/imaging@v1.4.1
(57)  ✓ select github.com/disintegration/imaging@v1.4.1 w/1 pkgs
(53)  ? revisit golang.org/x/image to add 2 pkgs
(58)    ✓ include 3 more pkgs from golang.org/x/image@master
(53)  ? attempt github.com/spf13/afero with 1 pkgs; at least 1 versions to try
(59)      try github.com/spf13/afero@v1.0.2
(59)  ✓ select github.com/spf13/afero@v1.0.2 w/2 pkgs
(54)  ? attempt github.com/mailru/easyjson with 3 pkgs; at least 1 versions to try
(60)      try github.com/mailru/easyjson@master
(60)  ✓ select github.com/mailru/easyjson@master w/4 pkgs
(55)  ? attempt gopkg.in/volatiletech/null.v6 with 1 pkgs; at least 1 versions to try
(61)      try gopkg.in/volatiletech/null.v6@v6.4
(61)  ✓ select gopkg.in/volatiletech/null.v6@v6.4 w/2 pkgs
(56)  ? attempt google.golang.org/genproto with 1 pkgs; at least 1 versions to try
(62)      try google.golang.org/genproto@master
(62)  ✓ select google.golang.org/genproto@master w/1 pkgs
(57)  ? attempt google.golang.org/grpc with 7 pkgs; at least 1 versions to try
(63)      try google.golang.org/grpc@v1.9.2
(63)  ✓ select google.golang.org/grpc@v1.9.2 w/22 pkgs
(58)  ? revisit github.com/golang/protobuf to add 1 pkgs
(64)    ✓ include 5 more pkgs from github.com/golang/protobuf@master
(58)  ? revisit golang.org/x/net to add 3 pkgs
(65)    ✓ include 7 more pkgs from golang.org/x/net@master
(58)  ? attempt gopkg.in/go-playground/pool.v3 with 1 pkgs; at least 1 versions to try
(66)      try gopkg.in/go-playground/pool.v3@v3.1.1
(66)  ✓ select gopkg.in/go-playground/pool.v3@v3.1.1 w/1 pkgs
(67)    ← no more versions of golang.org/x/sys to try; begin backtrack
(66)  ← backtrack: no more versions of gopkg.in/go-playground/pool.v3 to try
(65)  ← backtrack: popped 7 pkgs from golang.org/x/net
(64)  ← backtrack: popped 5 pkgs from github.com/golang/protobuf
(63)  ← backtrack: no more versions of google.golang.org/grpc to try
(62)  ← backtrack: no more versions of google.golang.org/genproto to try
(61)  ← backtrack: no more versions of gopkg.in/volatiletech/null.v6 to try
(60)  ← backtrack: no more versions of github.com/mailru/easyjson to try
(59)  ← backtrack: no more versions of github.com/spf13/afero to try
(58)  ← backtrack: popped 3 pkgs from golang.org/x/image
(57)  ← backtrack: no more versions of github.com/disintegration/imaging to try
(56)  ← backtrack: no more versions of github.com/spf13/pflag to try
(55)  ← backtrack: no more versions of github.com/robfig/cron to try
(54)  ← backtrack: popped 2 pkgs from golang.org/x/net
(53)  ← backtrack: no more versions of github.com/hashicorp/serf to try
(52)  ← backtrack: no more versions of github.com/volatiletech/inflect to try
(51)  ← backtrack: no more versions of github.com/mitchellh/mapstructure to try
(50)  ← backtrack: no more versions of github.com/pelletier/go-toml to try
(49)  ← backtrack: no more versions of github.com/pkg/errors to try
(48)  ← backtrack: no more versions of gopkg.in/olivere/elastic.v5 to try
(47)  ← backtrack: no more versions of github.com/satori/go.uuid to try
(46)  ← backtrack: no more versions of github.com/magiconair/properties to try
(45)  ← backtrack: popped 1 pkgs from golang.org/x/crypto
(44)  ← backtrack: no more versions of github.com/sirupsen/logrus to try
(43)  ← backtrack: no more versions of github.com/pierrec/lz4 to try
(42)  ← backtrack: no more versions of github.com/hashicorp/hcl to try
(41)  ← backtrack: no more versions of github.com/fsnotify/fsnotify to try
(40)  ← backtrack: no more versions of github.com/spf13/viper to try
(39)  ← backtrack: no more versions of github.com/inconshreveable/mousetrap to try
(38)  ← backtrack: no more versions of github.com/spf13/cobra to try
(37)  ← backtrack: no more versions of gopkg.in/yaml.v2 to try
(36)  ← backtrack: popped 1 pkgs from golang.org/x/crypto
(35)  ← backtrack: no more versions of github.com/denisenkom/go-mssqldb to try
(34)  ← backtrack: popped 2 pkgs from github.com/lib/pq
(33)  ← backtrack: no more versions of github.com/volatiletech/sqlboiler to try
(32)  ← backtrack: no more versions of github.com/pmezard/go-difflib to try
(31)  ← backtrack: no more versions of github.com/davecgh/go-spew to try
(30)  ← backtrack: no more versions of github.com/stretchr/testify to try
(29)  ← backtrack: no more versions of github.com/mitchellh/go-homedir to try
(28)  ← backtrack: no more versions of github.com/lib/pq to try
(27)  ← backtrack: no more versions of github.com/hashicorp/go-rootcerts to try
(26)  ← backtrack: no more versions of github.com/hashicorp/go-cleanhttp to try
(25)  ← backtrack: no more versions of github.com/jinzhu/inflection to try
(24)  ← backtrack: no more versions of golang.org/x/image to try
(23)  ← backtrack: no more versions of github.com/golang/freetype to try
(22)  ← backtrack: no more versions of github.com/jinzhu/gorm to try
(21)  ← backtrack: no more versions of golang.org/x/net to try
(20)  ← backtrack: popped 7 pkgs from github.com/golang/protobuf
(19)  ← backtrack: no more versions of github.com/grpc-ecosystem/grpc-gateway to try
(18)  ← backtrack: no more versions of gopkg.in/mcuadros/go-defaults.v1 to try
(17)  ← backtrack: no more versions of github.com/gocraft/work to try
(16)  ← backtrack: no more versions of github.com/gogo/protobuf to try
(15)  ← backtrack: no more versions of github.com/eclipse/paho.mqtt.golang to try
(14)  ← backtrack: no more versions of github.com/kat-co/vala to try
(13)  ← backtrack: no more versions of github.com/julienschmidt/httprouter to try
(12)  ← backtrack: no more versions of github.com/hashicorp/consul to try
(11)  ← backtrack: no more versions of github.com/golang/glog to try
(10)  ← backtrack: no more versions of golang.org/x/crypto to try
(9)     ← backtrack: no more versions of github.com/golang/protobuf to try
(8)     ← backtrack: no more versions of github.com/fogleman/gg to try
(7)     ← backtrack: no more versions of github.com/asaskevich/govalidator to try
(6)     ← backtrack: no more versions of github.com/go-sql-driver/mysql to try
(5)     ← backtrack: no more versions of github.com/garyburd/redigo to try
(4)     ← backtrack: no more versions of github.com/dgrijalva/jwt-go to try
(3)     ← backtrack: no more versions of github.com/aliyun/aliyun-log-go-sdk to try
(2)     ← backtrack: no more versions of github.com/aliyun/aliyun-oss-go-sdk to try
(1)     ← backtrack: no more versions of github.com/DATA-DOG/go-txdb to try
  ✗ solving failed

Solver wall times by segment:
     b-source-exists: 1h10m49.013437298s
         b-list-pkgs:   10m29.271881553s
              b-gmal:       12.60676889s
  b-deduce-proj-root:        3.14470712s
             satisfy:        21.307051ms
         select-atom:        17.307581ms
         select-root:        15.225715ms
            unselect:        14.355433ms
            new-atom:         5.915388ms
           backtrack:          455.039µs
               other:          320.426µs
     b-list-versions:           53.016µs
            add-atom:           45.633µs

  TOTAL: 1h21m34.111780143s
otiszv commented 5 years ago

stuck usually and no idea why

mvdan commented 4 years ago

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!