Dep: Unable to update checked out version: fatal: reference is not a tree

Created on 29 Apr 2017  ยท  22Comments  ยท  Source: golang/dep

$ dep ensure github.com/topfreegames/[email protected]
solve error: No versions of github.com/topfreegames/extensions met constraints:
    v2.1.0: Unable to update checked out version: fatal: reference is not a tree: b6670618482fee2e320b92c8aaabaa18d805ff20

thing is: b6670618482fee2e320b92c8aaabaa18d805ff20 exists and have been pushed, any hints?

I'm using dep from header, just updated it.

Edit
After some retries, it worked, yet that's an annoying bug...

bug

Most helpful comment

Should be fixed now - thanks so much, @carolynvs ๐Ÿ˜„

All 22 comments

If retrying worked, then it suggests a stale repo cache not getting updated like it should. That's a big ๐Ÿ˜ข - unfortunately, very difficult to reproduce.

If you run into this again, please take as detailed notes as possible about what happened throughout the process; run all dep commands with -v, record all output, and dump it back up here.

should not be that hard, me and my coworkers have seen that many times today, when it happens once it tends to keep happening for a while from our experience... I will try to do a -v if it happens again.
It happened to us in a scenario that you keep upgrading the same package in short whiles, in our case github.com/topfreegames/extensions

@cscatolini

awesome! well, for us anyway - if we can reproduce, we can fix. i'm sorry it's happening to you :/

keep us posted!

I just saw this happen today. I pulled in the gps merge and suddenly dep ensure was reverting github.com/Masterminds/vcs to an older version than specified in the lock because the cache was out of date. Here is the output:

Realize something is wrong:

dep ensure -v -n
Root project is "github.com/golang/dep"
 73 transitively valid internal packages
 6 external packages imported from 6 projects
(0)   โœ“ select (root)
(1) ? attempt github.com/Masterminds/semver with 1 pkgs; at least 1 versions to try
(1)     try github.com/Masterminds/[email protected]
(1) โœ“ select github.com/Masterminds/[email protected] w/1 pkgs
(2) ? attempt github.com/Masterminds/vcs with 1 pkgs; at least 1 versions to try
(2)     try github.com/Masterminds/[email protected]
(2) โœ—   Unable to update checked out version: fatal: reference is not a tree: 3084677c2c188840777bff30054f2b553729d329
(2)     try github.com/Masterminds/[email protected]
(2) โœ“ select github.com/Masterminds/[email protected] w/1 pkgs
(3) ? attempt github.com/armon/go-radix with 1 pkgs; at least 1 versions to try
(3)     try github.com/armon/go-radix@master
(3) โœ“ select github.com/armon/go-radix@master w/1 pkgs
(4) ? attempt github.com/pkg/errors with 1 pkgs; at least 1 versions to try
(4)     try github.com/pkg/[email protected]
(4) โœ“ select github.com/pkg/[email protected] w/1 pkgs
(5) ? attempt github.com/pelletier/go-toml with 1 pkgs; at least 1 versions to try
(5)     try github.com/pelletier/go-toml@master
(5) โœ“ select github.com/pelletier/go-toml@master w/1 pkgs
(6) ? attempt github.com/pelletier/go-buffruneio with 1 pkgs; at least 1 versions to try
(6)     try github.com/pelletier/[email protected]
(6) โœ“ select github.com/pelletier/[email protected] w/1 pkgs
(7) ? attempt github.com/sdboyer/constext with 1 pkgs; at least 1 versions to try
(7)     try github.com/sdboyer/constext@master
(7) โœ“ select github.com/sdboyer/constext@master w/1 pkgs
  โœ“ found solution with 7 packages from 7 projects

Solver wall times by segment:
     b-source-exists: 2.595713069s
         b-list-pkgs: 1.297329298s
              b-gmal:  1.09232401s
         select-root:    3.36582ms
            new-atom:    493.467ยตs
             satisfy:     416.08ยตs
         select-atom:    412.136ยตs
  b-deduce-proj-root:     86.969ยตs
     b-list-versions:     53.194ยตs
               other:     29.549ยตs

  TOTAL: 4.990223592s

Would have written the following changes to Gopkg.lock:
Modify:
[[projects]]
  name = "github.com/Masterminds/vcs"
  revision = "3084677c2c188840777bff30054f2b553729d329 -> 795e20f901c3d561de52811fb3488a2cb2c8588b"
  version = "v1.11.1 -> v1.11.0"


Would have written the following projects to the vendor directory:
github.com/Masterminds/vcs@795e20f901c3d561de52811fb3488a2cb2c8588b
github.com/armon/go-radix@4239b77079c7b5d1243b7b4736304ce8ddb6f0f2
github.com/pkg/errors@645ef00459ed84a119197bfb8d8205042c6df63d
github.com/pelletier/go-toml@fe206efb84b2bc8e8cfafe6b4c1826622be969e3
github.com/pelletier/go-buffruneio@c37440a7cf42ac63b919c752ca73a85067e05992
github.com/sdboyer/constext@836a144573533ea4da4e6929c235fd348aed1c80
github.com/Masterminds/semver@94ad6eaf8457cf85a68c9b53fa42e9b1b8683783

I noticed that I have github.com/Masterminds/vcs in my GOPATH, so I tried pulling latest and rerunning dep ensure but that didn't fix it.

Then I remembered that dep has a cache! So I poked around in it:

~/go/pkg/dep/sources/https---github.com-Masterminds-vcs ((v1.11.0))$ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
~/go/pkg/dep/sources/https---github.com-Masterminds-vcs (master)$ git remote -vv
origin  https://github.com/Masterminds/vcs (fetch)
origin  https://github.com/Masterminds/vcs (push)
~/go/pkg/dep/sources/https---github.com-Masterminds-vcs (master)$ git pull
remote: Counting objects: 41, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 41 (delta 21), reused 16 (delta 16), pack-reused 11
Unpacking objects: 100% (41/41), done.
From https://github.com/Masterminds/vcs
   795e20f..3084677  master     -> origin/master
 * [new tag]         v1.11.1    -> v1.11.1
Updating 795e20f..3084677
Fast-forward
 CHANGELOG.md |   5 +++++
 git.go       |  32 ++++++++++++++++++++++++++++++--
 git_test.go  | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 150 insertions(+), 2 deletions(-)

Then I ran dep ensure again and it worked:

dep ensure -v -n
Root project is "github.com/golang/dep"
 73 transitively valid internal packages
 6 external packages imported from 6 projects
(0)   โœ“ select (root)
(1) ? attempt github.com/Masterminds/semver with 1 pkgs; at least 1 versions to try
(1)     try github.com/Masterminds/[email protected]
(1) โœ“ select github.com/Masterminds/[email protected] w/1 pkgs
(2) ? attempt github.com/Masterminds/vcs with 1 pkgs; at least 1 versions to try
(2)     try github.com/Masterminds/[email protected]
(2) โœ“ select github.com/Masterminds/[email protected] w/1 pkgs
(3) ? attempt github.com/armon/go-radix with 1 pkgs; at least 1 versions to try
(3)     try github.com/armon/go-radix@master
(3) โœ“ select github.com/armon/go-radix@master w/1 pkgs
(4) ? attempt github.com/pkg/errors with 1 pkgs; at least 1 versions to try
(4)     try github.com/pkg/[email protected]
(4) โœ“ select github.com/pkg/[email protected] w/1 pkgs
(5) ? attempt github.com/pelletier/go-toml with 1 pkgs; at least 1 versions to try
(5)     try github.com/pelletier/go-toml@master
(5) โœ“ select github.com/pelletier/go-toml@master w/1 pkgs
(6) ? attempt github.com/pelletier/go-buffruneio with 1 pkgs; at least 1 versions to try
(6)     try github.com/pelletier/[email protected]
(6) โœ“ select github.com/pelletier/[email protected] w/1 pkgs
(7) ? attempt github.com/sdboyer/constext with 1 pkgs; at least 1 versions to try
(7)     try github.com/sdboyer/constext@master
(7) โœ“ select github.com/sdboyer/constext@master w/1 pkgs
  โœ“ found solution with 7 packages from 7 projects

Solver wall times by segment:
     b-source-exists: 2.425301865s
         b-list-pkgs: 1.296215432s
              b-gmal: 1.173928419s
         select-root:   1.915534ms
            new-atom:    479.223ยตs
         select-atom:    424.783ยตs
             satisfy:    356.619ยตs
  b-deduce-proj-root:     69.468ยตs
               other:     25.316ยตs

  TOTAL: 4.898716659s

Would have written the following Gopkg.lock:
memo = "932b7b1663f6eecccb1fada1d3670ae24cd8aa7c8b61e3b224edfefebe25954e"

[[projects]]
  branch = "2.x"
  name = "github.com/Masterminds/semver"
  packages = ["."]
  revision = "94ad6eaf8457cf85a68c9b53fa42e9b1b8683783"

[[projects]]
  name = "github.com/Masterminds/vcs"
  packages = ["."]
  revision = "3084677c2c188840777bff30054f2b553729d329"
  version = "v1.11.1"

[[projects]]
  branch = "master"
  name = "github.com/armon/go-radix"
  packages = ["."]
  revision = "4239b77079c7b5d1243b7b4736304ce8ddb6f0f2"

[[projects]]
  name = "github.com/pelletier/go-buffruneio"
  packages = ["."]
  revision = "c37440a7cf42ac63b919c752ca73a85067e05992"
  version = "v0.2.0"

[[projects]]
  branch = "master"
  name = "github.com/pelletier/go-toml"
  packages = ["."]
  revision = "fe206efb84b2bc8e8cfafe6b4c1826622be969e3"

[[projects]]
  name = "github.com/pkg/errors"
  packages = ["."]
  revision = "645ef00459ed84a119197bfb8d8205042c6df63d"
  version = "v0.8.0"

[[projects]]
  branch = "master"
  name = "github.com/sdboyer/constext"
  packages = ["."]
  revision = "836a144573533ea4da4e6929c235fd348aed1c80"

Not sure if it's helpful but here's the cache reflog

~/go/pkg/dep/sources/https---github.com-Masterminds-vcs (master)$ git reflog
3084677 HEAD@{0}: checkout: moving from master to 3084677c2c188840777bff30054f2b553729d329
3084677 HEAD@{1}: pull: Fast-forward
795e20f HEAD@{2}: checkout: moving from 795e20f901c3d561de52811fb3488a2cb2c8588b to master
795e20f HEAD@{3}: checkout: moving from fbe9fb6ad5b5f35b3e82a7c21123cfc526cbf895 to 795e20f901c3d561de52811fb3488a2cb2c8588b
fbe9fb6 HEAD@{4}: checkout: moving from 795e20f901c3d561de52811fb3488a2cb2c8588b to fbe9fb6ad5b5f35b3e82a7c21123cfc526cbf895
795e20f HEAD@{5}: checkout: moving from fbe9fb6ad5b5f35b3e82a7c21123cfc526cbf895 to 795e20f901c3d561de52811fb3488a2cb2c8588b
fbe9fb6 HEAD@{6}: checkout: moving from 795e20f901c3d561de52811fb3488a2cb2c8588b to fbe9fb6ad5b5f35b3e82a7c21123cfc526cbf895
795e20f HEAD@{7}: checkout: moving from fbe9fb6ad5b5f35b3e82a7c21123cfc526cbf895 to 795e20f901c3d561de52811fb3488a2cb2c8588b
fbe9fb6 HEAD@{8}: checkout: moving from 795e20f901c3d561de52811fb3488a2cb2c8588b to fbe9fb6ad5b5f35b3e82a7c21123cfc526cbf895
795e20f HEAD@{9}: checkout: moving from fbe9fb6ad5b5f35b3e82a7c21123cfc526cbf895 to 795e20f901c3d561de52811fb3488a2cb2c8588b
fbe9fb6 HEAD@{10}: checkout: moving from master to fbe9fb6ad5b5f35b3e82a7c21123cfc526cbf895
795e20f HEAD@{11}: clone: from https://github.com/Masterminds/vcs

I tried resetting the cache back to a point where it didn't have that commit anymore. Originally when I looked for the commit in the cache I got an error:

~/go/pkg/dep/sources/https---github.com-Masterminds-vcs ((v1.11.0))$ git branch --contains 3084677c2c188840777bff30054f2b553729d329
error: no such commit 3084677c2c188840777bff30054f2b553729d329

I'm missing the magic git calls to get back to that state. None of the branches or tags have that commit (--contains returns nothing) but git show 3084677c2c188840777bff30054f2b553729d329 is able to find it. Not quite sure how to completely erase all traces of that commit, but I think that would help reproduce this bug.

Should be fixed now - thanks so much, @carolynvs ๐Ÿ˜„

We have been experiencing this as well:

$ vg ensure -- -v
Running "dep ensure -v"
Root project is "github.com/eyecuelab/lub-api"
 19 transitively valid internal packages
 33 external packages imported from 18 projects
...
...
(15)  ? revisit github.com/jinzhu/gorm to add 1 pkgs
(15)  โœ—   Unable to update checked out version: fatal: reference is not a tree: 5092ef2980c3f1881f3cdfadec712cbde51da71d
(15)    โ† could not add 1 pkgs to github.com/jinzhu/gorm; begin backtrack
(14)  โ† backtrack: no more versions of github.com/facebookgo/clock to try
...
...
(1) โ† backtrack: no more versions of github.com/Davmuz/gqt to try
  โœ— solving failed

Solver wall times by segment:
     b-source-exists: 10.285946476s
         b-list-pkgs:  5.197417882s
              b-gmal:  3.955145831s
  b-deduce-proj-root:  1.241671504s
            unselect:    2.015062ms
         select-atom:    1.454022ms
             satisfy:    1.447907ms
         select-root:     877.405ยตs
            new-atom:      756.14ยตs
           backtrack:     124.974ยตs
               other:      23.899ยตs
            add-atom:       9.329ยตs

  TOTAL: 20.686890431s

ensure Solve(): Unable to update checked out version: fatal: reference is not a tree: 5092ef2980c3f1881f3cdfadec712cbde51da71d

Like @carolynvs, I had to mess with dep's cache. In my case, the culprit was a forked repository:

[[constraint]]
  branch = "public_dialect_map"
  name = "github.com/jinzhu/gorm"
  source = "github.com/eyecuelab/gorm"

I had to add the forked branch and pull from it.

I had to add the forked branch and pull from it.

whoa - this really shouldn't happen.

could you please open a fresh issue, ideally including steps to reproduce?

iam having the same problem.
and why does dep init generates version?
if yes, why cant it be '^x.x.x' instead of 'x.x.x' ?

dep ensure -v 
Root project is "projectname"
 28 transitively valid internal packages
 44 external packages imported from 36 projects
(0)   โœ“ select (root)
(1) ? attempt github.com/SebastiaanKlippert/go-wkhtmltopdf with 1 pkgs; at least 1 versions to try
(1)     try github.com/SebastiaanKlippert/go-wkhtmltopdf@master
(1) โœ“ select github.com/SebastiaanKlippert/go-wkhtmltopdf@master w/1 pkgs
(2) ? attempt github.com/aymerick/douceur with 1 pkgs; at least 1 versions to try
(2)     try github.com/aymerick/[email protected]
(2) โœ“ select github.com/aymerick/[email protected] w/3 pkgs
(3) ? attempt github.com/PuerkitoBio/goquery with 1 pkgs; at least 1 versions to try
(3)     try github.com/PuerkitoBio/[email protected]
(3) โœ“ select github.com/PuerkitoBio/[email protected] w/1 pkgs
(4) ? attempt github.com/andybalholm/cascadia with 1 pkgs; at least 1 versions to try
(4)     try github.com/andybalholm/cascadia@master
(4) โœ“ select github.com/andybalholm/cascadia@master w/1 pkgs
(5) ? attempt github.com/benmanns/goworker with 1 pkgs; at least 1 versions to try
(5)     try github.com/benmanns/[email protected]
(5) โœ“ select github.com/benmanns/[email protected] w/1 pkgs
(6) ? attempt github.com/didip/tollbooth with 2 pkgs; at least 1 versions to try
(6)     try github.com/didip/[email protected]
(6) โœ“ select github.com/didip/[email protected] w/4 pkgs
(7) ? attempt github.com/bearbin/go-age with 1 pkgs; at least 1 versions to try
(7)     try github.com/bearbin/go-age@master
(7) โœ“ select github.com/bearbin/go-age@master w/1 pkgs
(8) ? attempt github.com/go-errors/errors with 1 pkgs; at least 1 versions to try
(8)     try github.com/go-errors/errors@master
(8) โœ“ select github.com/go-errors/errors@master w/1 pkgs
(9) ? attempt github.com/cihub/seelog with 1 pkgs; at least 1 versions to try
(9)     try github.com/cihub/seelog@master
(9) โœ“ select github.com/cihub/seelog@master w/5 pkgs
(10)  ? attempt github.com/gobuffalo/makr with 1 pkgs; at least 1 versions to try
(10)      try github.com/gobuffalo/[email protected]
(10)  โœ—   unable to update checked out version: : command failed: [git checkout b741e6545d4605d7d8595423a00b89bdfed3572d]: exit status 128
(10)      try github.com/gobuffalo/makr@master
(10)  โœ—   unable to update checked out version: : command failed: [git checkout b741e6545d4605d7d8595423a00b89bdfed3572d]: exit status 128
(10)    โ† no more versions of github.com/gobuffalo/makr to try; begin backtrack
(9) โ† backtrack: no more versions of github.com/cihub/seelog to try
(8) โ† backtrack: no more versions of github.com/go-errors/errors to try
(7) โ† backtrack: no more versions of github.com/bearbin/go-age to try
(6) โ† backtrack: no more versions of github.com/didip/tollbooth to try
(5) โ† backtrack: no more versions of github.com/benmanns/goworker to try
(4) โ† backtrack: no more versions of github.com/andybalholm/cascadia to try
(3) โ† backtrack: no more versions of github.com/PuerkitoBio/goquery to try
(2) โ† backtrack: no more versions of github.com/aymerick/douceur to try
(1) โ† backtrack: no more versions of github.com/SebastiaanKlippert/go-wkhtmltopdf to try
  โœ— solving failed

Solver wall times by segment:
     b-source-exists: 12.024591097s
         b-list-pkgs:  3.522675786s
              b-gmal:  2.160387243s
  b-deduce-proj-root:  494.193453ms
         select-root:   13.715579ms
             satisfy:     946.825ยตs
         select-atom:     903.921ยตs
            new-atom:     714.212ยตs
            unselect:     491.754ยตs
           backtrack:      75.253ยตs
     b-list-versions:      30.337ยตs
               other:      16.814ยตs
          b-pair-rev:       5.105ยตs
           b-matches:       4.177ยตs

  TOTAL: 18.218751556s

ensure Solve(): No versions of github.com/gobuffalo/makr met constraints:
    v1.0.0: unable to update checked out version: : command failed: [git checkout b741e6545d4605d7d8595423a00b89bdfed3572d]: exit status 128
    master: unable to update checked out version: : command failed: [git checkout b741e6545d4605d7d8595423a00b89bdfed3572d]: exit status 128

@u007

there are a couple things that can cause that, but it's generally cache corruption ๐Ÿ˜ข . try rm -rf $GOPATH/pkg/dep/https---github.com-gobuffalo-makr, and then re-running.

and why does dep init generates version?
if yes, why cant it be '^x.x.x' instead of 'x.x.x' ?

these are very different, unrelated questions - please, we need to deal with things one at a time.

i think cache corruption is still happening.

Solver wall times by segment:
              b-gmal: 8.195051225s
         b-list-pkgs: 3.525748667s
     b-list-versions: 3.178189184s
     b-source-exists: 670.437286ms
             satisfy:  41.444956ms
            unselect:  33.011194ms
         select-atom:  23.776166ms
            new-atom:   1.609525ms
           backtrack:   1.474227ms
         select-root:    988.551ยตs
  b-deduce-proj-root:    497.385ยตs
            add-atom:    172.254ยตs
               other:     82.242ยตs
          b-pair-rev:     35.447ยตs
           b-matches:     29.491ยตs
      b-pair-version:      3.502ยตs

  TOTAL: 15.672551302s
ensure Solve(): No versions of golang.org/x/text met constraints:
    master: unable to update checked out version: : command failed: [git checkout 88f656faf3f37f690df1a32515b479415e1a6769]: exit status 1
    master: unable to update checked out version: : command failed: [git checkout 88f656faf3f37f690df1a32515b479415e1a6769]: exit status 1
 ~ cd ~/go/pkg/dep/sources/https---go.googlesource.com-text
 https---go.googlesource.com-text (44f4f65) โœ— git checkout 88f656faf3f37f690df1a32515b479415e1a6769                                                               (44f4f65) โœ— -!?
error: Your local changes to the following files would be overwritten by checkout:
    .gitignore
    cases/cases.go
    cases/gen.go
    cases/tables.go
    cases/tables_test.go
    cases/trieval.go
    collate/build/builder.go
    collate/build/colelem_test.go
    collate/build/contract.go
    collate/collate.go
    collate/tables.go
    collate/tools/colcmp/colcmp.go
    collate/tools/colcmp/icu.go
    currency/common.go
    currency/tables.go
    encoding/charmap/charmap.go
    encoding/charmap/charmap_test.go
    encoding/charmap/maketables.go
    encoding/charmap/tables.go
    encoding/encoding_test.go
    encoding/htmlindex/gen.go
    encoding/htmlindex/htmlindex.go
    encoding/htmlindex/tables.go
    encoding/ianaindex/example_test.go
    encoding/ianaindex/ianaindex.go
    encoding/internal/identifier/identifier.go
    encoding/internal/identifier/mib.go
    encoding/japanese/all_test.go
    encoding/japanese/eucjp.go
    encoding/japanese/iso2022jp.go
    encoding/japanese/shiftjis.go
    encoding/korean/all_test.go
    encoding/korean/euckr.go
    encoding/simplifiedchinese/all_test.go
    encoding/simplifiedchinese/gbk.go
    encoding/simplifiedchinese/hzgb2312.go
    encoding/traditionalchinese/all_test.go
    encoding/traditionalchinese/big5.go
    encoding/unicode/unicode_test.go
    encoding/unicode/utf32/utf32_test.go
    gen.go
    internal/colltab/collelem.go
    internal/export/idna/common_test.go
    internal/export/idna/gen.go
    internal/export/idna/gen_test.go
    internal/export/idna/gen_trieval.go
    internal/export/idna/idna.go
    internal/export/idna/idna_test.go
    internal/export/idna/tables.go
    internal/export/idna/trie.go
    internal/export/idna/trieval.go
    internal/format/format.go
    internal/gen/gen.go
    internal/number/common.go
    internal/number/decimal.go
    internal/number/gen.go
    internal/number/gen_common.go
    internal/number/number.go
    internal/number/number_test.go
    internal/number/pattern.go
    internal/number/pattern_test.go
    internal/number/tables.go
    internal/tables.go
    internal/ucd/ucd.go
    language/common.go
Please commit your changes or stash them before you switch branches.
error: The following untracked working tree files would be overwritten by checkout:
    README.md
    date/data_test.go
    date/gen.go
    date/gen_test.go
    date/tables.go
    encoding/ianaindex/gen.go
    encoding/ianaindex/ianaindex_test.go
    encoding/ianaindex/tables.go
    encoding/internal/enctest/enctest.go
    feature/plural/common.go
    feature/plural/data_test.go
    feature/plural/example_test.go
    feature/plural/gen.go
    feature/plural/gen_common.go
    feature/plural/message.go
    feature/plural/message_test.go
    feature/plural/plural.go
    feature/plural/plural_test.go
    feature/plural/tables.go
    internal/catmsg/catmsg.go
    internal/catmsg/catmsg_test.go
    internal/catmsg/codec.go
    internal/catmsg/varint.go
    internal/catmsg/varint_test.go
    internal/cldrtree/cldrtree.go
    internal/cldrtree/cldrtree_test.go
    internal/cldrtree/generate.go
    internal/cldrtree/option.go
    internal/cldrtree/testdata/test1/common/main/root.xml
    internal/cldrtree/testdata/test1/output.go
    internal/cldrtree/testdata/test2/common/main/en.xml
    internal/cldrtree/testdata/test2/common/main/en_001.xml
    internal/cldrtree/testdata/test2/common/main/en_GB.xml
    internal/cldrtree/testdata/test2/common/main/root.xml
    internal/cldrtree/testdata/test2/output.go
    internal/cldrtree/tree.go
    internal/cldrtree/type.go
    internal/export/idna/example_test.go
    internal/number/decimal_test.go
    internal/number/format.go
    internal/number/format_test.go
    internal/number/roundingmode_string.go
Please move or remove them before you switch branches.
Aborting
 https---go.googlesource.com-text (44f4f65) โœ—

i don't mind to clear manually for local development, but might be a noticeable issue for CI pipelines.

that's with dep's latest master?

On November 11, 2017 7:28:01 AM CST, Engin Dumlu notifications@github.com wrote:

i think cache corruption is still happening.

Solver wall times by segment:
             b-gmal: 8.195051225s
        b-list-pkgs: 3.525748667s
    b-list-versions: 3.178189184s
    b-source-exists: 670.437286ms
            satisfy:  41.444956ms
           unselect:  33.011194ms
        select-atom:  23.776166ms
           new-atom:   1.609525ms
          backtrack:   1.474227ms
        select-root:    988.551ยตs
 b-deduce-proj-root:    497.385ยตs
           add-atom:    172.254ยตs
              other:     82.242ยตs
         b-pair-rev:     35.447ยตs
          b-matches:     29.491ยตs
     b-pair-version:      3.502ยตs

 TOTAL: 15.672551302s
ensure Solve(): No versions of golang.org/x/text met constraints:
  master: unable to update checked out version: : command failed: [git
checkout 88f656faf3f37f690df1a32515b479415e1a6769]: exit status 1
  master: unable to update checked out version: : command failed: [git
checkout 88f656faf3f37f690df1a32515b479415e1a6769]: exit status 1
~ cd ~/go/pkg/dep/sources/https---go.googlesource.com-text
https---go.googlesource.com-text (44f4f65) โœ— git checkout
88f656faf3f37f690df1a32515b479415e1a6769                               
                              (44f4f65) โœ— -!?
error: Your local changes to the following files would be overwritten
by checkout:
  .gitignore
  cases/cases.go
  cases/gen.go
  cases/tables.go
  cases/tables_test.go
  cases/trieval.go
  collate/build/builder.go
  collate/build/colelem_test.go
  collate/build/contract.go
  collate/collate.go
  collate/tables.go
  collate/tools/colcmp/colcmp.go
  collate/tools/colcmp/icu.go
  currency/common.go
  currency/tables.go
  encoding/charmap/charmap.go
  encoding/charmap/charmap_test.go
  encoding/charmap/maketables.go
  encoding/charmap/tables.go
  encoding/encoding_test.go
  encoding/htmlindex/gen.go
  encoding/htmlindex/htmlindex.go
  encoding/htmlindex/tables.go
  encoding/ianaindex/example_test.go
  encoding/ianaindex/ianaindex.go
  encoding/internal/identifier/identifier.go
  encoding/internal/identifier/mib.go
  encoding/japanese/all_test.go
  encoding/japanese/eucjp.go
  encoding/japanese/iso2022jp.go
  encoding/japanese/shiftjis.go
  encoding/korean/all_test.go
  encoding/korean/euckr.go
  encoding/simplifiedchinese/all_test.go
  encoding/simplifiedchinese/gbk.go
  encoding/simplifiedchinese/hzgb2312.go
  encoding/traditionalchinese/all_test.go
  encoding/traditionalchinese/big5.go
  encoding/unicode/unicode_test.go
  encoding/unicode/utf32/utf32_test.go
  gen.go
  internal/colltab/collelem.go
  internal/export/idna/common_test.go
  internal/export/idna/gen.go
  internal/export/idna/gen_test.go
  internal/export/idna/gen_trieval.go
  internal/export/idna/idna.go
  internal/export/idna/idna_test.go
  internal/export/idna/tables.go
  internal/export/idna/trie.go
  internal/export/idna/trieval.go
  internal/format/format.go
  internal/gen/gen.go
  internal/number/common.go
  internal/number/decimal.go
  internal/number/gen.go
  internal/number/gen_common.go
  internal/number/number.go
  internal/number/number_test.go
  internal/number/pattern.go
  internal/number/pattern_test.go
  internal/number/tables.go
  internal/tables.go
  internal/ucd/ucd.go
  language/common.go
Please commit your changes or stash them before you switch branches.
error: The following untracked working tree files would be overwritten
by checkout:
  README.md
  date/data_test.go
  date/gen.go
  date/gen_test.go
  date/tables.go
  encoding/ianaindex/gen.go
  encoding/ianaindex/ianaindex_test.go
  encoding/ianaindex/tables.go
  encoding/internal/enctest/enctest.go
  feature/plural/common.go
  feature/plural/data_test.go
  feature/plural/example_test.go
  feature/plural/gen.go
  feature/plural/gen_common.go
  feature/plural/message.go
  feature/plural/message_test.go
  feature/plural/plural.go
  feature/plural/plural_test.go
  feature/plural/tables.go
  internal/catmsg/catmsg.go
  internal/catmsg/catmsg_test.go
  internal/catmsg/codec.go
  internal/catmsg/varint.go
  internal/catmsg/varint_test.go
  internal/cldrtree/cldrtree.go
  internal/cldrtree/cldrtree_test.go
  internal/cldrtree/generate.go
  internal/cldrtree/option.go
  internal/cldrtree/testdata/test1/common/main/root.xml
  internal/cldrtree/testdata/test1/output.go
  internal/cldrtree/testdata/test2/common/main/en.xml
  internal/cldrtree/testdata/test2/common/main/en_001.xml
  internal/cldrtree/testdata/test2/common/main/en_GB.xml
  internal/cldrtree/testdata/test2/common/main/root.xml
  internal/cldrtree/testdata/test2/output.go
  internal/cldrtree/tree.go
  internal/cldrtree/type.go
  internal/export/idna/example_test.go
  internal/number/decimal_test.go
  internal/number/format.go
  internal/number/format_test.go
  internal/number/roundingmode_string.go
Please move or remove them before you switch branches.
Aborting
https---go.googlesource.com-text (44f4f65) โœ—

i don't mind to clear manually for local development, but might be a
noticeable issue for CI pipelines.

--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
https://github.com/golang/dep/issues/484#issuecomment-343664742

@sdboyer, release v0.3.2

@roadrunner we've got adaptive healing of basic problems like this in the latest tip, and it will be in the next release.

if you could confirm it fixes your problem, that'd be lovely - but I'm 99% sure it will ๐Ÿ˜

Ran into the same issue today. Glad to find this thread. Checked the cache. The source folder was in a "detached head" doing git checkout master then allowed everything to work smoothly.

$ dep version
dep:
 version     : v0.4.1
 build date  : 2018-01-24
 git hash    : 37d9ea0a
 go version  : go1.9.1
 go compiler : gc
 platform    : linux/amd64

I wonder why doesn't "dep ensure -update github.com/XXX/XXX" try to sync the repo in $GOPATH/pkg/dep/sources/https-github.com/XXX/XXX if it complains that the revision(commit id) doesn't exist.

I ran into the same issue today trying to dep init -v on a new project with a single Go file and this dependency: github.com/gruntwork-io/terratest/modules/terraform.

The solution that worked for me was removing $GOPATH/pkg/dep/sources then trying again.

Dep Version

$ dep version
dep:
 version     : v0.4.1
 build date  : 2018-01-24
 git hash    : 37d9ea0a
 go version  : go1.9.1
 go compiler : gc
 platform    : linux/amd64

Dep Init Output

$ dep init -v
Getting direct dependencies...
Checked 2 directories for packages.
Found 1 direct dependencies.
Root project is "x/y/z" (obscured)
 1 transitively valid internal packages
 2 external packages imported from 1 projects
(0)   โœ“ select (root)
(1)     ? attempt github.com/gruntwork-io/terratest with 2 pkgs; 77 versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 76 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 75 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 74 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 73 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 72 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 71 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 70 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 69 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 68 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 67 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 66 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 65 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 64 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 63 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 62 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(1)     โœ“ select github.com/gruntwork-io/[email protected] w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/[email protected]
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 61 more versions to try
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.14 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.13 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).     github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.12 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).     github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.11 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.10 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.9 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.8 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.7 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.6 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.5 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.4 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.3 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.2 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.1 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.7.0 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.6.4 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.6.3 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.6.2 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).     github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.6.1 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.6.0 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.5.5 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.5.4 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.5.3 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.5.2 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.5.1 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.5.0 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.4.1 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).     github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.4.0 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.3.2 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.3.1 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.3.0 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.2.6 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.2.5 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.2.4 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.2.3 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.2.2 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).     github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.2.1 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.18 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.17 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.16 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).     github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.15 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.14 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.13 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.12 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.11 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.10 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.9 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.8 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.7 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.6 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.5 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.4 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.3 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.2 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.1 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.1.0 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/[email protected]
(2)     โœ—   github.com/gruntwork-io/terratest at v0.0.1 has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)         try github.com/gruntwork-io/terratest@master
(1)     โœ—   unable to update checked out version: fatal: reference is not a tree: daf1535afd9fc970c8b5625232b731c63ec94576
(1)       : command failed: [git checkout daf1535afd9fc970c8b5625232b731c63ec94576]: exit status 128
(1)         try github.com/gruntwork-io/terratest@docker
(2)     โœ—   github.com/gruntwork-io/terratest at docker has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).     github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).
(1)         try github.com/gruntwork-io/terratest@docs
(1)     โœ“ select github.com/gruntwork-io/terratest@docs w/5 pkgs
(2)     ? attempt golang.org/x/net with 1 pkgs; 6 versions to try
(2)         try golang.org/x/net@master
(2)     โœ—   unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
(2)       : command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/terratest@docs
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/terratest@docs
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/terratest@docs
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/terratest@docs
(2)         try golang.org/x/[email protected]
(3)     โœ—   golang.org/x/[email protected] not allowed by constraint master:
(3)         master from github.com/gruntwork-io/terratest@docs
(2)       โ† no more versions of golang.org/x/net to try; begin backtrack
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
(1)       ? continue github.com/gruntwork-io/terratest with 5 pkgs; 1 more versions to try
(1)         try github.com/gruntwork-io/terratest@region-override
(2)     โœ—   github.com/gruntwork-io/terratest at region-override has problem subpkg(s):
(2)             github.com/gruntwork-io/terratest/modules/logger is missing; required by (root).        github.com/gruntwork-io/terratest/modules/terraform is missing; required by (root).
(1)     โ† backtrack: no more versions of github.com/gruntwork-io/terratest to try
  โœ— solving failed

Solver wall times by segment:
         b-list-pkgs: 5.082037393s
     b-source-exists: 1.315406156s
              b-gmal: 848.375785ms
             satisfy:   12.21711ms
            unselect:   5.213341ms
         select-atom:   4.650603ms
           backtrack:   1.619714ms
            new-atom:   1.440933ms
          b-pair-rev:    300.876ยตs
               other:     199.86ยตs
           b-matches:    184.529ยตs
     b-list-versions:    158.885ยตs
         select-root:      58.18ยตs
      b-pair-version:     29.726ยตs
  b-deduce-proj-root:      2.616ยตs

  TOTAL: 7.271895707s

init failed: unable to solve the dependency graph: Solving failure: No versions of golang.org/x/net met constraints:
        master: unable to update checked out version: fatal: reference is not a tree: ed29d75add3d7c4bf7ca65aac0c6df3d1420216f
: command failed: [git checkout ed29d75add3d7c4bf7ca65aac0c6df3d1420216f]: exit status 128
        release-branch.go1.10: Could not introduce golang.org/x/[email protected], as it is not allowed by constraint master from project github.com/gruntwork-io/terratest.
        release-branch.go1.6: Could not introduce golang.org/x/[email protected], as it is not allowed by constraint master from project github.com/gruntwork-io/terratest.
        release-branch.go1.7: Could not introduce golang.org/x/[email protected], as it is not allowed by constraint master from project github.com/gruntwork-io/terratest.
        release-branch.go1.8: Could not introduce golang.org/x/[email protected], as it is not allowed by constraint master from project github.com/gruntwork-io/terratest.
        release-branch.go1.9: Could not introduce golang.org/x/[email protected], as it is not allowed by constraint master from project github.com/gruntwork-io/terratest.
$ 

Happened to me again today. A coworker shared a new golang project. I did a git checkout, then dep ensure, and it failed.

$ dep ensure
grouped write of manifest, lock and vendor: error while writing out vendor tree: failed to write dep tree: failed to export golang.org/x/sys: fatal: failed to unpack tree object 151529c776cdc58ddbe7963ba9af779f3577b419
: exit status 128

I had to rm -rf $GOPATH/pkg/dep/sources then dep ensure worked just fine.

"failed to unpack tree object" is a surprising one - seems like deeper corruption than I've seen reported before.

in general though, the only case I'm aware of us not automatically recovering from is when the target dir exists, but it's empty. we haven't fixed that yet just because it requires a bit of a refactor in the adaptive recovery logic.

You understand the internals better than I do, but in the previous case it was a detached head. There was definitely stuff in there. I forgot about this thread so I didn't go into the subfolder to look today, but I would speculate something happened again with the status of the git repo in the dep sources folder.

detached HEAD is also interesting - we've generally aimed the command set to not rely on any assumptions about that state, as it's one that we intentionally enter under a number of circumstances.

would def be interested in repro steps, and/or a tarball of repo state when things go wrong ๐Ÿ™‚

I can try to tarball everything in pkg/dep/sources/<wherever the failure is> next time it happens. Unfortunately the steps to reproduce are to dep ensure, then wait a month or two then dep ensure again, and some how one of the upstream/dependencies (in my opinion) did something weird so stuff breaks.

https://drive.google.com/file/d/12DBvgQO9P4Jj6XYXU7ZOYx72YF8RyADt/view?usp=sharing

Here's a link to download my sources.

You can see in the folder https---go.googlesource.com-crypto/ it has a git status of

# HEAD detached at 88942b9
nothing to commit, working directory clean

Which yields

grouped write of manifest, lock and vendor: error while writing out vendor tree: failed to write dep tree: failed to export golang.org/x/sys: fatal: failed to unpack tree object 98c5dad5d1a0e8a73845ecc8897d0bd56586511d
: exit status 128

(Duplicating post as I posted it on the wrong issue yesterday.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

michael-go picture michael-go  ยท  3Comments

deejross picture deejross  ยท  3Comments

jeffwillette picture jeffwillette  ยท  3Comments

cemremengu picture cemremengu  ยท  3Comments

angryrobot picture angryrobot  ยท  3Comments