Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

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

Closed
felipejfc opened this issue Apr 29, 2017 · 22 comments
Closed
Labels

Comments

@felipejfc
Copy link

felipejfc commented Apr 29, 2017

$ 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...

@sdboyer sdboyer added the bug label Apr 29, 2017
@sdboyer
Copy link
Member

sdboyer commented Apr 29, 2017

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.

@felipejfc
Copy link
Author

felipejfc commented Apr 29, 2017

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

@sdboyer
Copy link
Member

sdboyer commented Apr 29, 2017

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

keep us posted!

@carolynvs
Copy link
Collaborator

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.1485827954.workers.dev-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.1485827954.workers.dev-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.1485827954.workers.dev-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.1485827954.workers.dev-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.1485827954.workers.dev-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.

@sdboyer
Copy link
Member

sdboyer commented May 4, 2017

Should be fixed now - thanks so much, @carolynvs 😄

@paulwalker
Copy link

paulwalker commented Aug 25, 2017

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.

@sdboyer
Copy link
Member

sdboyer commented Aug 27, 2017

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?

@u007
Copy link

u007 commented Oct 12, 2017

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

@sdboyer
Copy link
Member

sdboyer commented Oct 12, 2017

@u007

there are a couple things that can cause that, but it's generally cache corruption 😢 . try rm -rf $GOPATH/pkg/dep/https---github.1485827954.workers.dev-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.

@roadrunner
Copy link

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.

@sdboyer
Copy link
Member

sdboyer commented Nov 11, 2017 via email

@roadrunner
Copy link

@sdboyer, release v0.3.2

@sdboyer
Copy link
Member

sdboyer commented Nov 14, 2017

@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 😁

@dustingraham
Copy link

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

@ahrtr
Copy link

ahrtr commented May 22, 2018

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

@gregdferrell
Copy link

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.
$ 

@dustingraham
Copy link

dustingraham commented Jul 5, 2018

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.

@sdboyer
Copy link
Member

sdboyer commented Jul 5, 2018

"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.

@dustingraham
Copy link

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.

@sdboyer
Copy link
Member

sdboyer commented Jul 5, 2018

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 🙂

@dustingraham
Copy link

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.

@dustingraham
Copy link

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.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

9 participants