hashicorp / packer

Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
http://www.packer.io
Other
15.03k stars 3.32k forks source link

New setup checksum mismatch #7242

Closed davividal closed 5 years ago

davividal commented 5 years ago

I just cloned this repo. I'm on master branch.

I'm pretty new to Go and packer.

$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
$ go version
go version go1.11.5 darwin/amd64

When I try to run make test I get some checksum mismatch messages. Is this an issue? If so, can I fix it?

$ make test
==> Checking that code complies with gofmt requirements...
Check passed.
find: -executable: unknown primary or operator
find: -executable: unknown primary or operator
==> Checking that only certain files are executable...
Check passed.
go: verifying github.com/hashicorp/go-rootcerts@v0.0.0-20160503143440-6bb64b370b90: checksum mismatch
    downloaded: h1:VBj0QYQ0u2MCJzBfeYXGexnAl17GsH1yidnoxCqqD9E=
    go.sum:     h1:9HVkPxOpo+yO93Ah4yrO67d/qh0fbLLWbKqhYjyHq9A=
go: verifying github.com/hashicorp/go-rootcerts@v0.0.0-20160503143440-6bb64b370b90: checksum mismatch
    downloaded: h1:VBj0QYQ0u2MCJzBfeYXGexnAl17GsH1yidnoxCqqD9E=
    go.sum:     h1:9HVkPxOpo+yO93Ah4yrO67d/qh0fbLLWbKqhYjyHq9A=
make: *** [test] Error 1

I'm doing this because I want to submit a (non-related) PR. But I'm unable to run tests on my PR without fixing these checksum messages. If I fix these, some tests are failing, and I don't know if the tests are failing because of my changes.

Any ideas?

rickard-von-essen commented 5 years ago

What OS do you run?

davividal commented 5 years ago

Sorry. I'm on MacOS Mojave 10.14.2.

$ uname -a
Darwin admins-mbp.ms  18.2.0 Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4903.231.4~2/RELEASE_X86_64 x86_64
rickard-von-essen commented 5 years ago

I have a similar setup, same OS and Go 1.11.4 and I can't repro. I'll try and upgrade my Go version. brb

davividal commented 5 years ago

I made a small Makefile change to debug.

$ git diff
diff --git a/Makefile b/Makefile
index b65b6f500..61d14abaf 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ GOPATH=$(shell go env GOPATH)
 # gofmt
 UNFORMATTED_FILES=$(shell find . -not -path "./vendor/*" -name "*.go" | xargs gofmt -s -l)

-EXECUTABLE_FILES=$(shell find . -type f -executable | egrep -v '^\./(website/[vendor|tmp]|vendor/|\.git|bin/|scripts/|pkg/)' | egrep -v '.*(\.sh|\.bats|\.git)' | egrep -v './provisioner/ansible/test-fixtures/exit1')
+EXECUTABLE_FILES=$(shell find . -type f -perm -a+x | egrep -v '^\./(website/[vendor|tmp]|vendor/|\.git|bin/|scripts/|pkg/)' | egrep -v '.*(\.sh|\.bats|\.git)' | egrep -v './provisioner/ansible/test-fixtures/exit1')

 # Get the git commit
 GIT_DIRTY=$(shell test -n "`git status --porcelain`" && echo "+CHANGES" || true)

No change:

$ make test
==> Checking that code complies with gofmt requirements...
Check passed.
==> Checking that only certain files are executable...
Check passed.
go: verifying github.com/hashicorp/go-rootcerts@v0.0.0-20160503143440-6bb64b370b90: checksum mismatch
    downloaded: h1:VBj0QYQ0u2MCJzBfeYXGexnAl17GsH1yidnoxCqqD9E=
    go.sum:     h1:9HVkPxOpo+yO93Ah4yrO67d/qh0fbLLWbKqhYjyHq9A=
go: verifying github.com/hashicorp/go-rootcerts@v0.0.0-20160503143440-6bb64b370b90: checksum mismatch
    downloaded: h1:VBj0QYQ0u2MCJzBfeYXGexnAl17GsH1yidnoxCqqD9E=
    go.sum:     h1:9HVkPxOpo+yO93Ah4yrO67d/qh0fbLLWbKqhYjyHq9A=
make: *** [test] Error 1
davividal commented 5 years ago

I installed 1.11.4. No success:

$ asdf install golang 1.11.4
Platform 'darwin' supported!
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  117M  100  117M    0     0  21.3M      0  0:00:05  0:00:05 --:--:-- 23.9M
$ asdf reshim golang 1.11.4
$ asdf global golang 1.11.4
$ asdf reshim golang 1.11.4
$ make test
==> Checking that code complies with gofmt requirements...
Check passed.
==> Checking that only certain files are executable...
Check passed.
go: finding github.com/stretchr/testify v1.2.2
go: finding github.com/dylanmei/iso8601 v0.1.0
go: finding github.com/Jeffail/gabs v1.1.1
go: finding github.com/prometheus/client_golang v0.9.2
go: finding github.com/hashicorp/go-sockaddr v0.0.0-20180320115054-6d291a969b86
go: finding github.com/1and1/oneandone-cloudserver-sdk-go v1.0.1
go: finding github.com/google/go-cmp v0.0.0-20180328201512-5411ab924f9f
go: finding github.com/rwtodd/Go.Sed v0.0.0-20170507045331-d6d5d585814e
go: finding github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce
go: finding github.com/keybase/go-crypto v0.0.0-20181127160227-255a5089e85a
go: finding github.com/google/go-querystring v0.0.0-20151028211038-2a60fc2ba6c1
go: finding github.com/dustin/go-humanize v0.0.0-20170228161531-259d2a102b87
go: finding github.com/patrickmn/go-cache v2.1.0+incompatible
go: finding github.com/bgentry/speakeasy v0.0.0-20150902231413-36e9cfdd6909
go: finding github.com/go-ini/ini v1.25.4
go: finding github.com/go-sql-driver/mysql v1.4.1
go: finding github.com/Azure/go-autorest v10.12.0+incompatible
go: finding gopkg.in/h2non/gock.v1 v1.0.12
go: finding gopkg.in/vmihailenco/msgpack.v2 v2.9.1
go: finding gopkg.in/jarcoal/httpmock.v1 v1.0.0-20181117152235-275e9df93516
go: finding github.com/containerd/continuity v0.0.0-20181203112020-004b46473808
go: finding github.com/masterzen/winrm v0.0.0-20180224160350-7e40f93ae939
go: finding github.com/hashicorp/serf v0.0.0-20180530155958-984a73625de3
go: finding github.com/go-test/deep v1.0.1
go: finding github.com/miekg/dns v1.1.1
go: finding github.com/mitchellh/reflectwalk v1.0.0
go: finding github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20170113022742-e6dbea820a9f
go: finding github.com/opencontainers/image-spec v1.0.1
go: finding github.com/pierrec/xxHash v0.0.0-20160112165351-5a004441f897
go: finding gotest.tools v2.2.0+incompatible
go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding github.com/hashicorp/go-uuid v0.0.0-20160329185618-73d19cdc2bf0
go: finding github.com/Microsoft/go-winio v0.4.11
go: finding github.com/ugorji/go v0.0.0-20151218193438-646ae4a518c1
go: finding github.com/google/shlex v0.0.0-20150127133951-6f45313302b9
go: finding github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973
go: finding github.com/antchfx/xpath v0.0.0-20170728053731-b5c552e1acbd
go: finding github.com/posener/complete v0.0.0-20170908125245-88e59760adad
go: finding github.com/gotestyourself/gotestyourself v2.2.0+incompatible
go: finding github.com/circonus-labs/circonus-gometrics v2.2.5+incompatible
go: finding github.com/ory/dockertest v3.3.2+incompatible
go: finding github.com/golang/protobuf v1.2.0
go: finding github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db
go: finding github.com/ChrisTrenkamp/goxpath v0.0.0-20170625215350-4fe035839290
go: finding github.com/vmware/govmomi v0.0.0-20170707011325-c2105a174311
go: finding github.com/kr/pretty v0.1.0
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding github.com/mitchellh/go-testing-interface v1.0.0
go: finding github.com/jtolds/gls v4.2.1+incompatible
go: finding github.com/hashicorp/go-oracle-terraform v0.0.0-20181016190316-007121241b79
go: finding github.com/onsi/ginkgo v1.7.0
go: finding google.golang.org/grpc v1.17.0
go: finding github.com/cheggaaa/pb v1.0.26
go: finding github.com/tencentcloud/tencentcloud-sdk-go v0.0.0-20181220135002-f1744d40d346
go: finding github.com/klauspost/cpuid v0.0.0-20160106104451-349c67577817
go: finding github.com/satori/go.uuid v0.0.0-20170321230731-5bf94b69c6b6
go: finding github.com/jefferai/jsonx v0.0.0-20160721235117-9cc31c3135ee
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926
go: finding github.com/ulikunitz/xz v0.0.0-20180703112113-636d36a76670
go: finding github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5
go: finding github.com/mitchellh/copystructure v1.0.0
go: finding github.com/hashicorp/go-memdb v0.0.0-20181108192425-032f93b25bec
go: finding github.com/marstr/guid v0.0.0-20170427235115-8bdf7d1a087c
go: finding github.com/denverdino/aliyungo v0.0.0-20180417075537-ebad04655e03
go: finding google.golang.org/api v0.0.0-20180818000503-e21acd801f91
go: finding github.com/SAP/go-hdb v0.13.1
go: finding github.com/antchfx/xquery v0.0.0-20170730121040-eb8c3c172607
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding github.com/hashicorp/consul v0.0.0-20180807174550-3e6313bebbf0
go: finding github.com/lib/pq v1.0.0
go: finding github.com/mattn/go-runewidth v0.0.0-20170510074858-97311d9f7767
go: finding github.com/SermoDigital/jose v0.9.1
go: finding github.com/opencontainers/runc v0.1.1
go: finding github.com/klauspost/crc32 v0.0.0-20160114101742-999f3125931f
go: finding github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed
go: finding github.com/abdullin/seq v0.0.0-20160510034733-d5467c17e7af
go: finding github.com/hashicorp/go-immutable-radix v0.0.0-20180129170900-7f3cd4390caa
go: finding github.com/DataDog/datadog-go v0.0.0-20180822151419-281ae9f2d895
go: finding golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52
go: finding github.com/gophercloud/utils v0.0.0-20180806215700-d6e28a8b3199
go: finding golang.org/x/text v0.3.0
go: finding github.com/nbio/st v0.0.0-20140626010706-e9e8d9816f32
go: finding github.com/hashicorp/go-checkpoint v0.0.0-20171009173528-1545e56e46de
go: finding github.com/circonus-labs/circonusllhist v0.1.3
go: finding github.com/hashicorp/vault v0.0.0-20180724215049-b9adaf9c6959
go: finding github.com/gorilla/websocket v0.0.0-20170319172727-a91eba7f9777
go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c
go: finding golang.org/x/crypto v0.0.0-20180322175230-88942b9c40a4
go: finding github.com/gophercloud/gophercloud v0.0.0-20180815020510-83835c772d1a
go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529
go: finding golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2
go: finding gopkg.in/cheggaaa/pb.v1 v1.0.27
go: finding github.com/xanzy/go-cloudstack v2.1.4+incompatible
go: finding github.com/joyent/triton-go v0.0.0-20180116165742-545edbe0d564
go: finding github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c
go: finding github.com/klauspost/pgzip v0.0.0-20151221113845-47f36e165cec
go: finding github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb
go: finding github.com/cenkalti/backoff v2.1.0+incompatible
go: finding github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869
go: finding github.com/olekukonko/tablewriter v0.0.0-20180105111133-96aac992fc8b
go: finding github.com/pkg/errors v0.0.0-20171216070316-e881fd58d78e
go: finding github.com/hashicorp/go-multierror v0.0.0-20150916205742-d30f09973e19
go: finding golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3
go: finding gopkg.in/ldap.v2 v2.5.1
go: finding github.com/docker/go-connections v0.4.0
go: finding github.com/fatih/structs v1.1.0
go: finding golang.org/x/sys v0.0.0-20180830151530-49385e6e1522
go: finding github.com/kr/text v0.1.0
go: finding github.com/hashicorp/go-version v0.0.0-20160119211326-7e3c02b30806
go: finding github.com/google/go-github v17.0.0+incompatible
go: finding github.com/hashicorp/golang-lru v0.0.0-20180201235237-0fb14efe8c47
go: finding github.com/approvals/go-approval-tests v0.0.0-20160714161514-ad96e53bea43
go: finding github.com/pierrec/lz4 v0.0.0-20160112163551-383c0d87b5dd
go: finding github.com/kardianos/osext v0.0.0-20170510131534-ae77be60afb1
go: finding github.com/kisielk/gotool v1.0.0
go: finding golang.org/x/net v0.0.0-20180826012351-8a410e7b638d
go: finding github.com/mitchellh/go-homedir v0.0.0-20151025052427-d682a8f0cf13
go: finding github.com/Azure/azure-sdk-for-go v17.3.1+incompatible
go: finding github.com/hashicorp/go-retryablehttp v0.0.0-20180718195005-e651d75abec6
go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce
go: finding github.com/digitalocean/godo v0.0.0-20170407151542-4c04abe183f4
go: finding github.com/packer-community/winrmcp v0.0.0-20180921204643-0fd363d6159a
go: finding github.com/client9/misspell v0.3.4
go: finding github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910
go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: finding github.com/hashicorp/go-plugin v0.0.0-20181030172320-54b6ff97d818
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding github.com/fatih/color v1.7.0
go: finding github.com/gogo/protobuf v1.2.0
go: finding github.com/hashicorp/memberlist v0.1.0
go: finding github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce
go: finding github.com/scaleway/scaleway-cli v0.0.0-20180921094345-7b12c9699d70
go: finding github.com/dnaeon/go-vcr v1.0.0
go: finding github.com/mitchellh/cli v0.0.0-20170908181043-65fcae5817c8
go: finding github.com/oracle/oci-go-sdk v1.8.0
go: finding github.com/hashicorp/go-rootcerts v0.0.0-20160503143440-6bb64b370b90
go: finding github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: finding github.com/NaverCloudPlatform/ncloud-sdk-go v0.0.0-20180110055012-c2e73f942591
go: finding github.com/docker/go-units v0.3.3
go: finding github.com/onsi/gomega v1.4.3
go: finding github.com/creack/goselect v0.0.0-20180210034346-528c74964609
go: finding github.com/opencontainers/go-digest v1.0.0-rc1
go: finding github.com/denisenkom/go-mssqldb v0.0.0-20181014144952-4e0d7dc8888f
go: finding github.com/mitchellh/prefixedio v0.0.0-20151214002211-6e6954073784
go: finding github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a
go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc
go: finding github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348
go: finding github.com/hashicorp/go-msgpack v0.0.0-20150518234257-fa3f63826f7c
go: finding github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d
go: finding github.com/ryanuber/go-glob v0.0.0-20170128012129-256dc444b735
go: finding github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d
go: finding github.com/NYTimes/gziphandler v1.0.1
go: finding github.com/mitchellh/iochan v0.0.0-20150529224432-87b45ffd0e95
go: finding github.com/duosecurity/duo_api_golang v0.0.0-20181210160733-61e0defebf22
go: finding github.com/hetznercloud/hcloud-go v1.12.0
go: finding github.com/pkg/sftp v0.0.0-20160118190721-e84cc8c755ca
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/armon/go-radix v0.0.0-20160115234725-4239b77079c7
go: finding golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
go: finding github.com/armon/go-metrics v0.0.0-20180713145231-3c58d8115a78
go: finding github.com/kr/pty v1.1.1
go: finding github.com/hashicorp/vault-plugin-secrets-kv v0.0.0-20181106190520-2236f141171e
go: finding google.golang.org/grpc v1.14.0
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding github.com/oklog/run v1.0.0
go: finding github.com/moul/gotty-client v0.0.0-20180327180212-b26a57ebc215
go: finding github.com/renstrom/fuzzysearch v0.0.0-20160331204855-2d205ac6ec17
go: finding github.com/masterzen/simplexml v0.0.0-20140219194429-95ba30457eb1
go: finding github.com/hashicorp/go-cleanhttp v0.0.0-20160217214820-875fb671b3dd
go: finding github.com/mattn/go-isatty v0.0.0-20151211000621-56b76bdf51f7
go: finding github.com/sirupsen/logrus v0.0.0-20180315010703-90150a8ed11b
go: finding github.com/masterzen/azure-sdk-for-go v0.0.0-20161014135628-ee4f0065d00c
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding github.com/elazarl/go-bindata-assetfs v1.0.0
go: finding github.com/golang/mock v1.1.1
go: finding github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd
go: finding github.com/dylanmei/winrmtest v0.0.0-20170819153634-c2fbb09e6c08
go: finding github.com/profitbricks/profitbricks-sdk-go v4.0.2+incompatible
go: finding github.com/google/uuid v0.0.0-20171129191014-dec09d789f3d
go: finding github.com/mitchellh/go-fs v0.0.0-20180402234041-7b48fa161ea7
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77
go: finding github.com/prometheus/common v0.0.0-20181126121408-4724e9255275
go: finding github.com/docker/docker v0.0.0-20170406124027-fa3e2d5ab9b5
go: finding github.com/mitchellh/panicwrap v0.0.0-20170106182340-fce601fe5557
go: finding github.com/moul/anonuuid v0.0.0-20160222162117-609b752a95ef
go: finding google.golang.org/appengine v1.1.0
go: finding google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8
go: finding github.com/bitly/go-hostpool v0.0.0-20171023180738-a3a6125de932
go: finding github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e
go: finding github.com/aws/aws-sdk-go v1.16.24
go: finding github.com/gocql/gocql v0.0.0-20181124151448-70385f88b28b
go: finding github.com/hashicorp/go-hclog v0.0.0-20181001195459-61d530d6c27f
go: finding honnef.co/go/tools v0.0.0-20180728063816-88497007e858
go: finding github.com/davecgh/go-spew v1.1.1
go: finding github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding golang.org/x/sync v0.0.0-20181108010431-42b317875d0f
go: finding github.com/biogo/hts v0.0.0-20160420073057-50da7d4131a3
go: finding github.com/go-ldap/ldap v2.5.1+incompatible
go: finding github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed
go: finding cloud.google.com/go v0.26.0
go: finding github.com/golang/snappy v0.0.0-20170215233205-553a64147049
go: finding gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d
go: finding github.com/tent/http-link-go v0.0.0-20130702225549-ac974c61c2f9
go: finding github.com/kr/fs v0.0.0-20131111012553-2788f0dbd169
go: finding github.com/Azure/go-ntlmssp v0.0.0-20180810175552-4a21cbd618b4
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/klauspost/compress v0.0.0-20160131094358-f86d2e6d8a77
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/mitchellh/mapstructure v0.0.0-20180111000720-b4575eea38cc
go: finding gopkg.in/inf.v0 v0.9.1
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: finding github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
go: downloading github.com/pkg/errors v0.0.0-20171216070316-e881fd58d78e
go: downloading github.com/hashicorp/go-multierror v0.0.0-20150916205742-d30f09973e19
go: downloading github.com/ulikunitz/xz v0.0.0-20180703112113-636d36a76670
go: downloading github.com/pierrec/lz4 v0.0.0-20160112163551-383c0d87b5dd
go: downloading github.com/mitchellh/mapstructure v0.0.0-20180111000720-b4575eea38cc
go: downloading github.com/joyent/triton-go v0.0.0-20180116165742-545edbe0d564
go: downloading github.com/hashicorp/go-version v0.0.0-20160119211326-7e3c02b30806
go: downloading github.com/hetznercloud/hcloud-go v1.12.0
go: downloading github.com/mitchellh/reflectwalk v1.0.0
go: downloading github.com/tencentcloud/tencentcloud-sdk-go v0.0.0-20181220135002-f1744d40d346
go: downloading github.com/mitchellh/cli v0.0.0-20170908181043-65fcae5817c8
go: downloading github.com/mitchellh/prefixedio v0.0.0-20151214002211-6e6954073784
go: downloading github.com/denverdino/aliyungo v0.0.0-20180417075537-ebad04655e03
go: downloading github.com/masterzen/winrm v0.0.0-20180224160350-7e40f93ae939
go: downloading golang.org/x/sync v0.0.0-20181108010431-42b317875d0f
go: downloading github.com/Azure/go-autorest v10.12.0+incompatible
go: downloading github.com/hashicorp/go-oracle-terraform v0.0.0-20181016190316-007121241b79
go: downloading github.com/1and1/oneandone-cloudserver-sdk-go v1.0.1
go: downloading github.com/digitalocean/godo v0.0.0-20170407151542-4c04abe183f4
go: downloading github.com/hashicorp/vault v0.0.0-20180724215049-b9adaf9c6959
go: downloading github.com/armon/go-radix v0.0.0-20160115234725-4239b77079c7
go: downloading github.com/masterzen/simplexml v0.0.0-20140219194429-95ba30457eb1
go: downloading golang.org/x/crypto v0.0.0-20180322175230-88942b9c40a4
go: downloading github.com/klauspost/pgzip v0.0.0-20151221113845-47f36e165cec
go: downloading github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce
go: downloading github.com/Azure/azure-sdk-for-go v17.3.1+incompatible
go: downloading github.com/kardianos/osext v0.0.0-20170510131534-ae77be60afb1
go: downloading github.com/klauspost/crc32 v0.0.0-20160114101742-999f3125931f
go: downloading golang.org/x/net v0.0.0-20181201002055-351d144fa1fc
go: downloading github.com/aws/aws-sdk-go v1.16.24
go: downloading github.com/rwtodd/Go.Sed v0.0.0-20170507045331-d6d5d585814e
go: downloading github.com/pkg/sftp v0.0.0-20160118190721-e84cc8c755ca
go: downloading github.com/biogo/hts v0.0.0-20160420073057-50da7d4131a3
go: downloading github.com/google/shlex v0.0.0-20150127133951-6f45313302b9
go: downloading github.com/google/go-querystring v0.0.0-20151028211038-2a60fc2ba6c1
go: downloading github.com/google/uuid v0.0.0-20171129191014-dec09d789f3d
go: downloading github.com/gophercloud/gophercloud v0.0.0-20180815020510-83835c772d1a
go: downloading github.com/kr/fs v0.0.0-20131111012553-2788f0dbd169
go: downloading github.com/mitchellh/go-fs v0.0.0-20180402234041-7b48fa161ea7
go: downloading github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed
go: downloading github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d
go: downloading github.com/posener/complete v0.0.0-20170908125245-88e59760adad
go: downloading github.com/oracle/oci-go-sdk v1.8.0
go: downloading github.com/klauspost/compress v0.0.0-20160131094358-f86d2e6d8a77
go: downloading golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
go: downloading github.com/masterzen/azure-sdk-for-go v0.0.0-20161014135628-ee4f0065d00c
go: downloading github.com/tent/http-link-go v0.0.0-20130702225549-ac974c61c2f9
go: downloading github.com/ChrisTrenkamp/goxpath v0.0.0-20170625215350-4fe035839290
go: downloading github.com/hashicorp/go-checkpoint v0.0.0-20171009173528-1545e56e46de
go: downloading github.com/packer-community/winrmcp v0.0.0-20180921204643-0fd363d6159a
go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: downloading github.com/hashicorp/go-retryablehttp v0.0.0-20180718195005-e651d75abec6
go: downloading github.com/mitchellh/panicwrap v0.0.0-20170106182340-fce601fe5557
go: downloading github.com/xanzy/go-cloudstack v2.1.4+incompatible
go: downloading github.com/pierrec/xxHash v0.0.0-20160112165351-5a004441f897
go: downloading github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce
go: downloading github.com/google/go-cmp v0.0.0-20180328201512-5411ab924f9f
go: downloading github.com/ugorji/go v0.0.0-20151218193438-646ae4a518c1
go: downloading github.com/Azure/go-ntlmssp v0.0.0-20180810175552-4a21cbd618b4
go: downloading github.com/bgentry/speakeasy v0.0.0-20150902231413-36e9cfdd6909
go: downloading google.golang.org/api v0.0.0-20180818000503-e21acd801f91
go: downloading github.com/hashicorp/go-uuid v0.0.0-20160329185618-73d19cdc2bf0
go: downloading github.com/hashicorp/go-rootcerts v0.0.0-20160503143440-6bb64b370b90
go: downloading golang.org/x/text v0.3.0
go: verifying github.com/hashicorp/go-rootcerts@v0.0.0-20160503143440-6bb64b370b90: checksum mismatch
    downloaded: h1:VBj0QYQ0u2MCJzBfeYXGexnAl17GsH1yidnoxCqqD9E=
    go.sum:     h1:9HVkPxOpo+yO93Ah4yrO67d/qh0fbLLWbKqhYjyHq9A=
go: downloading github.com/mattn/go-isatty v0.0.0-20151211000621-56b76bdf51f7
go: downloading github.com/mitchellh/iochan v0.0.0-20150529224432-87b45ffd0e95
go: downloading github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb
go: downloading github.com/cheggaaa/pb v1.0.26
go: downloading github.com/hashicorp/consul v0.0.0-20180807174550-3e6313bebbf0
go: downloading github.com/vmware/govmomi v0.0.0-20170707011325-c2105a174311
go: downloading google.golang.org/api v0.0.0-20180818000503-e21acd801f91
go: downloading github.com/hashicorp/go-cleanhttp v0.0.0-20160217214820-875fb671b3dd
go: downloading github.com/Azure/azure-sdk-for-go v17.3.1+incompatible
go: downloading github.com/hashicorp/go-rootcerts v0.0.0-20160503143440-6bb64b370b90
go: verifying github.com/hashicorp/go-rootcerts@v0.0.0-20160503143440-6bb64b370b90: checksum mismatch
    downloaded: h1:VBj0QYQ0u2MCJzBfeYXGexnAl17GsH1yidnoxCqqD9E=
    go.sum:     h1:9HVkPxOpo+yO93Ah4yrO67d/qh0fbLLWbKqhYjyHq9A=
make: *** [test] Error 1
$ asdf list golang
  1.11.4
davividal commented 5 years ago

Downgrading go to 1.11.3 made the checksum issue go away.

Thanks to https://github.com/golang/go/issues/29278#issuecomment-447537558 .

Should we close this ticket then?

rickard-von-essen commented 5 years ago

Yes, let's close since it seems like an Go issue.

rickard-von-essen commented 5 years ago

Or rather we need to fix those checksums, it seems.

davividal commented 5 years ago

Can I help with that? It looks for me that just changing the checksum in go.sum is enough.

rickard-von-essen commented 5 years ago

That's probably the only thing to do. Please submit a PR for that if you want.

davividal commented 5 years ago

Just created PR for this. Sorry for taking so long. Thank you for your support.

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.