Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: go mod vendor removes files in 1.13 that were present on 1.12 #33353

Closed
carlosedp opened this issue Jul 29, 2019 · 9 comments
Closed
Labels
FrozenDueToAge modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@carlosedp
Copy link

carlosedp commented Jul 29, 2019

What version of Go are you using (go version)?

Comparing Go 1.13 beta1 with go 1.12.7:

# go version
go version go1.12.7 linux/amd64

vs

 # go version
go version go1.13beta1 linux/amd64

Does this issue reproduce with the latest release?

The problem occurs on latest 1.13 tree.

What operating system and processor architecture are you using (go env)?

go env Output
# On go 1.13:

go env

GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/go/prometheus/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build407703171=/tmp/go-build -gno-record-gcc-switches"

On go 1.12.7:

go env

GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/go/prometheus/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build197139922=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Testing in Docker containers for both versions (docker run -it --rm golang:1.12 bash and docker run -it --rm golang:1.13beta1-alpine3.10 sh), I checked-out Prometheus tree and ran go mod vendor. On 1.12 my module deps were kept intact but on 1.13 many files were removed. Below the walkthru:

Go 1.12

➜ docker run -it --rm golang:1.12
root@20ec4e634251:/go# git clone https://github.com/carlosedp/prometheus --depth=1 -b riscv-support
Cloning into 'prometheus'...
remote: Enumerating objects: 4737, done.
remote: Counting objects: 100% (4737/4737), done.
remote: Compressing objects: 100% (3409/3409), done.
remote: Total 4737 (delta 1199), reused 3635 (delta 1005), pack-reused 0
Receiving objects: 100% (4737/4737), 11.60 MiB | 2.89 MiB/s, done.
Resolving deltas: 100% (1199/1199), done.

root@20ec4e634251:/go# cd prometheus/
root@20ec4e634251:/go/prometheus# git status

On branch riscv-support
Your branch is up to date with 'origin/riscv-support'.

nothing to commit, working tree clean

root@20ec4e634251:/go/prometheus# git log
commit 3cb797864d63da07ad08a8003e127af273bf2425 (grafted, HEAD -> riscv-support, origin/riscv-support)
Author: CarlosEDP <me@carlosedp.com>
Date:   Mon Jul 29 13:05:52 2019 -0400

    Rebase

    Signed-off-by: CarlosEDP <me@carlosedp.com>

root@20ec4e634251:/go/prometheus# go mod vendor
go: finding github.com/google/pprof v0.0.0-20180605153948-8b03ce837f34
go: finding github.com/grpc-ecosystem/grpc-gateway v1.8.5
go: finding github.com/miekg/dns v1.1.10
go: finding github.com/golang/groupcache v0.0.0-20180924190550-6f2cf27854a4
go: finding github.com/oklog/run v1.0.0
go: finding github.com/OneOfOne/xxhash v1.2.5
go: finding github.com/prometheus/common v0.4.1
go: finding github.com/gogo/protobuf v1.2.1
go: finding github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1
go: finding github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf
go: finding github.com/json-iterator/go v1.1.6
go: finding github.com/influxdata/influxdb v1.7.7
go: finding github.com/go-kit/kit v0.8.0
go: finding github.com/prometheus/tsdb v0.10.0
go: finding k8s.io/api v0.0.0-20190718183219-b59d8169aab5
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/aws/aws-sdk-go v1.15.24
go: finding github.com/go-logfmt/logfmt v0.3.0
go: finding github.com/Azure/go-autorest v11.2.8+incompatible
go: finding github.com/go-stack/stack v1.8.0
go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
go: finding github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371
go: finding golang.org/x/net v0.0.0-20190724013045-ca1201d0de80
go: finding github.com/samuel/go-zookeeper v0.0.0-20161028232340-1d7be4effb13
go: finding github.com/opentracing/opentracing-go v1.0.2
go: finding github.com/golang/snappy v0.0.1
go: finding gopkg.in/inf.v0 v0.9.1
go: finding github.com/hashicorp/go-msgpack v0.5.4
go: finding google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8
go: finding gopkg.in/resty.v1 v1.12.0
go: finding github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973
go: finding github.com/Azure/azure-sdk-for-go v23.2.0+incompatible
go: finding github.com/googleapis/gnostic v0.2.0
go: finding golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding golang.org/x/tools v0.0.0-20190312170243-e65039ee4138
go: finding golang.org/x/net v0.0.0-20181114220301-adae6a3d119a
go: finding k8s.io/utils v0.0.0-20190308190857-21c4ce38f2a7
go: finding github.com/golang/protobuf v1.2.0
go: finding gopkg.in/alecthomas/kingpin.v2 v2.2.6
go: finding github.com/ghodss/yaml v1.0.0
go: finding github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: finding github.com/evanphx/json-patch v4.1.0+incompatible
go: finding github.com/gogo/protobuf v1.1.1
go: finding golang.org/x/text v0.3.0
go: finding golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c
go: finding golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2
go: finding golang.org/x/sync v0.0.0-20181108010431-42b317875d0f
go: finding github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a
go: finding golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5
go: finding github.com/stretchr/testify v1.3.0
go: finding github.com/jtolds/gls v4.2.1+incompatible
go: finding github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7
go: finding github.com/gophercloud/gophercloud v0.0.0-20190301152420-fca40860790e
go: finding github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910
go: finding google.golang.org/grpc v1.19.1
go: finding github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: finding github.com/gogo/protobuf v0.0.0-20171007142547-342cbe0a0415
go: finding github.com/prometheus/alertmanager v0.17.0
go: finding github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954
go: finding github.com/soheilhy/cmux v0.1.4
go: finding github.com/sirupsen/logrus v1.2.0
go: finding github.com/shurcooL/vfsgen v0.0.0-20180825020608-02ddb050ef6b
go: finding google.golang.org/api v0.3.2
go: finding github.com/stretchr/testify v1.2.2
go: finding golang.org/x/sys v0.0.0-20180830151530-49385e6e1522
go: finding golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3
go: finding cloud.google.com/go v0.26.0
go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
go: finding github.com/hashicorp/golang-lru v0.5.1
go: finding github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d
go: finding github.com/BurntSushi/toml v0.3.1
go: finding github.com/oklog/ulid v1.3.1
go: finding github.com/go-ini/ini v1.25.4
go: finding golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33
go: finding github.com/prometheus/common v0.2.0
go: finding google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19
go: finding github.com/davecgh/go-spew v1.1.1
go: finding golang.org/x/tools v0.0.0-20190118193359-16909d206f00
go: finding github.com/kr/pretty v0.1.0
go: finding github.com/cespare/xxhash v1.1.0
go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: finding gopkg.in/fsnotify/fsnotify.v1 v1.4.7
go: finding github.com/hashicorp/memberlist v0.1.3
go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
go: finding golang.org/x/sys v0.0.0-20190209173611-3b5209105503
go: finding golang.org/x/text v0.3.1-0.20180805044716-cb6730876b98
go: finding github.com/hashicorp/consul/api v1.1.0
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding golang.org/x/net v0.0.0-20181220203305-927f97764cc3
go: finding github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af
go: finding golang.org/x/net v0.0.0-20180826012351-8a410e7b638d
go: finding github.com/simonpasquier/klog-gokit v0.1.0
go: finding golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961
go: finding github.com/OneOfOne/xxhash v1.2.2
go: finding golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67
go: finding k8s.io/client-go v0.0.0-20190620085101-78d2af792bab
go: finding contrib.go.opencensus.io/exporter/ocagent v0.4.12
go: finding honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099
go: finding github.com/kisielk/errcheck v1.1.0
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding google.golang.org/appengine v1.4.0
go: finding golang.org/x/crypto v0.0.0-20180904163835-0709b304e793
go: finding github.com/cespare/xxhash v0.0.0-20181017004759-096ff4a8a059
go: finding github.com/go-openapi/strfmt v0.19.0
go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da
go: finding golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6
go: finding github.com/spf13/pflag v1.0.3
go: finding google.golang.org/appengine v1.1.0
go: finding github.com/kr/text v0.1.0
go: finding github.com/julienschmidt/httprouter v1.2.0
go: finding github.com/client9/misspell v0.3.4
go: finding github.com/census-instrumentation/opencensus-proto v0.2.0
go: finding github.com/kylelemons/godebug v0.0.0-20160406211939-eadb3ce320cb
go: finding github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb
go: finding github.com/pkg/errors v0.8.1
go: finding github.com/prometheus/prometheus v0.0.0-20180315085919-58e2a31db8de
go: finding github.com/spf13/pflag v1.0.1
go: finding github.com/kr/pty v1.1.1
go: finding k8s.io/apimachinery v0.0.0-20190612205821-1799e75a0719
go: finding github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903
go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c
go: finding github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf
go: finding github.com/konsorten/go-windows-terminal-sequences v1.0.1
go: finding go.opencensus.io v0.20.2
go: finding sigs.k8s.io/yaml v1.1.0
go: finding github.com/jessevdk/go-flags v0.0.0-20180331124232-1c38ed7ad0cc
go: finding golang.org/x/tools v0.0.0-20190226205152-f727befe758c
go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529
go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc
go: finding github.com/go-logfmt/logfmt v0.4.0
go: finding golang.org/x/exp v0.0.0-20190121172915-509febef88a4
go: finding github.com/prometheus/client_golang v1.0.0
go: finding github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8
go: finding github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc
go: finding golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e
go: finding github.com/Azure/go-autorest v11.1.2+incompatible
go: finding github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72
go: finding github.com/gophercloud/gophercloud v0.0.0-20190126172459-c818fa66e4c8
go: finding github.com/dgrijalva/jwt-go v0.0.0-20160705203006-01aeca54ebda
go: finding golang.org/x/tools v0.0.0-20180221164845-07fd8470d635
go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c
go: finding github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
go: finding github.com/modern-go/reflect2 v1.0.1
go: finding github.com/go-openapi/spec v0.17.2
go: finding golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db
go: finding github.com/google/uuid v1.1.1
go: finding github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: finding golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f
go: finding github.com/hashicorp/serf v0.8.2
go: finding gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7
go: finding github.com/go-openapi/errors v0.17.2
go: finding github.com/oklog/ulid v0.0.0-20170117200651-66bb6560562f
go: finding golang.org/x/net v0.0.0-20190311183353-d8887717615a
go: finding github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d
go: finding golang.org/x/sys v0.0.0-20190312061237-fead79001313
go: finding github.com/google/uuid v1.0.0
go: finding go.opencensus.io v0.20.1
go: finding github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd
go: finding github.com/hashicorp/consul/sdk v0.1.1
go: finding github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329
go: finding github.com/google/go-cmp v0.3.0
go: finding k8s.io/utils v0.0.0-20190221042446-c2654d5206da
go: finding github.com/hashicorp/go-sockaddr v1.0.0
go: finding github.com/davecgh/go-spew v1.1.0
go: finding github.com/go-openapi/runtime v0.18.0
go: finding github.com/go-openapi/jsonreference v0.17.0
go: finding golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a
go: finding github.com/hashicorp/go-msgpack v0.5.3
go: finding github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829
go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3
go: finding github.com/prometheus/client_golang v0.9.1
go: finding golang.org/x/tools v0.0.0-20190114222345-bf090417da8b
go: finding google.golang.org/api v0.3.1
go: finding github.com/rs/cors v1.6.0
go: finding github.com/hashicorp/go-multierror v1.0.0
go: finding github.com/go-openapi/jsonreference v0.17.2
go: finding github.com/hashicorp/go-sockaddr v1.0.2
go: finding github.com/google/go-cmp v0.2.0
go: finding github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee
go: finding github.com/stretchr/objx v0.1.1
go: finding golang.org/x/time v0.0.0-20161028155119-f51c12702a4d
go: finding github.com/hashicorp/go-syslog v1.0.0
go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4
go: finding gopkg.in/yaml.v2 v2.2.2
go: finding github.com/hashicorp/golang-lru v0.5.0
go: finding github.com/peterbourgon/diskv v2.0.1+incompatible
go: finding github.com/go-openapi/jsonpointer v0.17.2
go: finding github.com/opentracing-contrib/go-stdlib v0.0.0-20170113013457-1de4cc2120e7
go: finding github.com/mitchellh/go-testing-interface v1.0.0
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding github.com/hashicorp/go-rootcerts v1.0.0
go: finding github.com/go-openapi/swag v0.17.0
go: finding github.com/PuerkitoBio/purell v1.1.0
go: finding github.com/prometheus/client_golang v0.9.2
go: finding github.com/go-openapi/strfmt v0.17.2
go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5
go: finding github.com/onsi/gomega v0.0.0-20190113212917-5533ce8a0da3
go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e
go: finding github.com/apache/thrift v0.12.0
go: finding github.com/hashicorp/errwrap v1.0.0
go: finding github.com/ryanuber/columnize v2.1.0+incompatible
go: finding cloud.google.com/go v0.34.0
go: finding golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3
go: finding github.com/gregjones/httpcache v0.0.0-20170728041850-787624de3eb7
go: finding github.com/go-openapi/analysis v0.17.2
go: finding github.com/hashicorp/logutils v1.0.0
go: finding github.com/go-openapi/loads v0.17.2
go: finding github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1
go: finding github.com/hashicorp/go-immutable-radix v1.0.0
go: finding golang.org/x/net v0.0.0-20180724234803-3673e40ba225
go: finding github.com/beorn7/perks v1.0.0
go: finding github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: finding golang.org/x/net v0.0.0-20190206173232-65e2d4e15006
go: finding gopkg.in/inf.v0 v0.9.0
go: finding github.com/go-openapi/errors v0.17.0
go: finding golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421
go: finding google.golang.org/grpc v1.19.0
go: finding github.com/golang/mock v1.1.1
go: finding github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
go: finding github.com/kisielk/gotool v1.0.0
go: finding github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: finding github.com/google/btree v0.0.0-20160524151835-7d79101e329e
go: finding github.com/hashicorp/go-uuid v1.0.0
go: finding golang.org/x/crypto v0.0.0-20181025213731-e84da0312774
go: finding github.com/openzipkin/zipkin-go v0.1.6
go: finding github.com/go-openapi/loads v0.17.0
go: finding golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519
go: finding github.com/mitchellh/mapstructure v1.1.2
go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e
go: finding github.com/go-openapi/validate v0.17.2
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/mitchellh/gox v0.4.0
go: finding github.com/satori/go.uuid v0.0.0-20160603004225-b111a074d5ef
go: finding github.com/prometheus/common v0.0.0-20181126121408-4724e9255275
go: finding github.com/miekg/dns v1.0.14
go: finding github.com/mitchellh/iochan v1.0.0
go: finding github.com/hashicorp/go-cleanhttp v0.5.1
go: finding google.golang.org/appengine v1.5.0
go: finding golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e
go: finding k8s.io/api v0.0.0-20190620084959-7cf5895f2711
go: finding github.com/mitchellh/go-wordwrap v1.0.0
go: finding github.com/onsi/ginkgo v1.7.0
go: finding github.com/Shopify/toxiproxy v2.1.4+incompatible
go: finding github.com/mitchellh/go-homedir v1.0.0
go: finding github.com/golang/protobuf v1.3.1
go: finding github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a
go: finding github.com/Shopify/sarama v1.19.0
go: finding github.com/hashicorp/mdns v1.0.0
go: finding github.com/imdario/mergo v0.3.5
go: finding github.com/hashicorp/go-uuid v1.0.1
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/google/uuid v1.1.0
go: finding github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a
go: finding github.com/go-openapi/spec v0.17.0
go: finding golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
go: finding github.com/gorilla/context v1.1.1
go: finding github.com/mitchellh/cli v1.0.0
go: finding github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/gorilla/mux v1.6.2
go: finding github.com/go-openapi/swag v0.17.2
go: finding github.com/go-openapi/analysis v0.17.0
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding google.golang.org/grpc v1.17.0
go: finding github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db
go: finding github.com/gogo/protobuf v1.2.0
go: finding github.com/cenkalti/backoff v0.0.0-20181003080854-62661b46c409
go: finding github.com/pierrec/lz4 v2.0.5+incompatible
go: finding github.com/prometheus/procfs v0.0.2
go: finding github.com/pborman/uuid v1.2.0
go: finding k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30
go: finding github.com/eapache/queue v1.1.0
go: finding github.com/eapache/go-resiliency v1.1.0
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding github.com/posener/complete v1.1.1
go: finding github.com/hashicorp/go.net v0.0.1
go: finding github.com/docker/go-units v0.3.3
go: finding github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
go: finding github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21
go: finding golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc
go: finding github.com/onsi/gomega v1.4.3
go: finding golang.org/x/net v0.0.0-20181005035420-146acd28ed58
go: finding github.com/go-openapi/analysis v0.0.0-20180825180245-b006789cd277
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding github.com/go-openapi/runtime v0.0.0-20180920151709-4f900dc2ade9
go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f
go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310
go: finding github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/bgentry/speakeasy v0.1.0
go: finding github.com/fatih/color v1.7.0
go: finding honnef.co/go/tools v0.0.0-20180728063816-88497007e858
go: finding golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52
go: finding golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b
go: finding github.com/go-openapi/strfmt v0.17.0
go: finding github.com/xlab/treeprint v0.0.0-20180616005107-d6fb6747feb6
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding github.com/go-openapi/jsonpointer v0.17.0
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e
go: finding github.com/evanphx/json-patch v0.0.0-20190203023257-5858425f7550
go: downloading github.com/pkg/errors v0.8.1
go: downloading github.com/go-kit/kit v0.8.0
go: downloading github.com/prometheus/common v0.4.1
go: downloading github.com/json-iterator/go v1.1.6
go: downloading github.com/golang/snappy v0.0.1
go: downloading gopkg.in/alecthomas/kingpin.v2 v2.2.6
go: downloading github.com/Azure/go-autorest v11.2.8+incompatible
go: downloading github.com/Azure/azure-sdk-for-go v23.2.0+incompatible
go: downloading github.com/opentracing/opentracing-go v1.0.2
go: extracting github.com/pkg/errors v0.8.1
go: downloading google.golang.org/api v0.3.2
go: extracting gopkg.in/alecthomas/kingpin.v2 v2.2.6
go: downloading github.com/oklog/run v1.0.0
go: extracting github.com/opentracing/opentracing-go v1.0.2
go: downloading github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223
go: extracting github.com/json-iterator/go v1.1.6
go: extracting github.com/golang/snappy v0.0.1
go: downloading github.com/prometheus/client_golang v1.0.0
go: extracting github.com/oklog/run v1.0.0
go: extracting github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223
go: extracting github.com/prometheus/common v0.4.1
go: downloading golang.org/x/tools v0.0.0-20190312170243-e65039ee4138
go: downloading google.golang.org/grpc v1.19.1
go: extracting github.com/Azure/go-autorest v11.2.8+incompatible
go: extracting github.com/prometheus/client_golang v1.0.0
go: downloading github.com/gophercloud/gophercloud v0.0.0-20190301152420-fca40860790e
go: downloading golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a
go: downloading github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf
go: extracting github.com/go-kit/kit v0.8.0
go: extracting github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf
go: downloading gopkg.in/yaml.v2 v2.2.2
go: extracting golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a
go: downloading github.com/stretchr/testify v1.3.0
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.8.5
go: extracting gopkg.in/yaml.v2 v2.2.2
go: downloading github.com/prometheus/procfs v0.0.2
go: extracting github.com/stretchr/testify v1.3.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: extracting github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/influxdata/influxdb v1.7.7
go: extracting github.com/prometheus/procfs v0.0.2
go: extracting google.golang.org/grpc v1.19.1
go: extracting github.com/grpc-ecosystem/grpc-gateway v1.8.5
go: downloading github.com/prometheus/tsdb v0.10.0
go: downloading google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19
go: downloading github.com/gogo/protobuf v1.2.1
go: downloading github.com/hashicorp/consul/api v1.1.0
go: extracting github.com/hashicorp/consul/api v1.1.0
go: downloading golang.org/x/net v0.0.0-20190724013045-ca1201d0de80
go: extracting github.com/gophercloud/gophercloud v0.0.0-20190301152420-fca40860790e
go: extracting github.com/prometheus/tsdb v0.10.0
go: downloading github.com/soheilhy/cmux v0.1.4
go: extracting golang.org/x/net v0.0.0-20190724013045-ca1201d0de80
go: extracting github.com/soheilhy/cmux v0.1.4
go: downloading github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371
go: extracting github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371
go: downloading github.com/opentracing-contrib/go-stdlib v0.0.0-20170113013457-1de4cc2120e7
go: extracting golang.org/x/tools v0.0.0-20190312170243-e65039ee4138
go: extracting github.com/opentracing-contrib/go-stdlib v0.0.0-20170113013457-1de4cc2120e7
go: downloading github.com/golang/protobuf v1.3.1
go: extracting github.com/golang/protobuf v1.3.1
go: downloading gopkg.in/fsnotify/fsnotify.v1 v1.4.7
go: downloading github.com/hashicorp/serf v0.8.2
go: extracting gopkg.in/fsnotify/fsnotify.v1 v1.4.7
go: extracting github.com/gogo/protobuf v1.2.1
go: downloading github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
go: downloading golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e
go: downloading github.com/cespare/xxhash v1.1.0
go: extracting github.com/cespare/xxhash v1.1.0
go: downloading github.com/shurcooL/vfsgen v0.0.0-20180825020608-02ddb050ef6b
go: extracting github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
go: downloading github.com/hashicorp/go-rootcerts v1.0.0
go: extracting github.com/shurcooL/vfsgen v0.0.0-20180825020608-02ddb050ef6b
go: downloading golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2
go: extracting github.com/hashicorp/go-rootcerts v1.0.0
go: extracting golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2
go: extracting github.com/hashicorp/serf v0.8.2
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: extracting github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/mitchellh/go-homedir v1.0.0
go: extracting github.com/mitchellh/go-homedir v1.0.0
go: downloading github.com/samuel/go-zookeeper v0.0.0-20161028232340-1d7be4effb13
go: extracting github.com/samuel/go-zookeeper v0.0.0-20161028232340-1d7be4effb13
go: downloading github.com/go-logfmt/logfmt v0.4.0
go: extracting github.com/go-logfmt/logfmt v0.4.0
go: downloading github.com/simonpasquier/klog-gokit v0.1.0
go: extracting github.com/simonpasquier/klog-gokit v0.1.0
go: downloading github.com/beorn7/perks v1.0.0
go: extracting github.com/beorn7/perks v1.0.0
go: downloading google.golang.org/appengine v1.5.0
go: extracting google.golang.org/appengine v1.5.0
go: downloading github.com/miekg/dns v1.1.10
go: extracting golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e
go: downloading k8s.io/apimachinery v0.0.0-20190612205821-1799e75a0719
go: extracting google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19
go: extracting k8s.io/apimachinery v0.0.0-20190612205821-1799e75a0719
go: downloading k8s.io/client-go v0.0.0-20190620085101-78d2af792bab
go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da
go: downloading github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf
go: downloading k8s.io/api v0.0.0-20190718183219-b59d8169aab5
go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da
go: extracting github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf
go: extracting github.com/miekg/dns v1.1.10
go: downloading github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc
go: downloading github.com/oklog/ulid v1.3.1
go: extracting github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc
go: downloading github.com/davecgh/go-spew v1.1.1
go: extracting github.com/oklog/ulid v1.3.1
go: downloading github.com/hashicorp/go-immutable-radix v1.0.0
go: extracting github.com/hashicorp/go-immutable-radix v1.0.0
go: extracting github.com/davecgh/go-spew v1.1.1
go: downloading cloud.google.com/go v0.34.0
go: extracting github.com/influxdata/influxdb v1.7.7
go: extracting k8s.io/client-go v0.0.0-20190620085101-78d2af792bab
go: downloading golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: downloading go.opencensus.io v0.20.2
go: downloading golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c
go: extracting github.com/mitchellh/mapstructure v1.1.2
go: extracting go.opencensus.io v0.20.2
go: extracting k8s.io/api v0.0.0-20190718183219-b59d8169aab5
go: extracting golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c
go: downloading contrib.go.opencensus.io/exporter/ocagent v0.4.12
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading github.com/google/pprof v0.0.0-20180605153948-8b03ce837f34
go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: extracting contrib.go.opencensus.io/exporter/ocagent v0.4.12
go: downloading github.com/modern-go/reflect2 v1.0.1
go: extracting github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: extracting github.com/modern-go/reflect2 v1.0.1
go: downloading k8s.io/utils v0.0.0-20190308190857-21c4ce38f2a7
go: extracting k8s.io/utils v0.0.0-20190308190857-21c4ce38f2a7
go: downloading github.com/google/go-cmp v0.3.0
go: downloading github.com/census-instrumentation/opencensus-proto v0.2.0
go: extracting github.com/google/go-cmp v0.3.0
go: extracting github.com/census-instrumentation/opencensus-proto v0.2.0
go: extracting cloud.google.com/go v0.34.0
go: downloading github.com/aws/aws-sdk-go v1.15.24
go: extracting github.com/google/pprof v0.0.0-20180605153948-8b03ce837f34
go: extracting google.golang.org/api v0.3.2
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading github.com/hashicorp/golang-lru v0.5.1
go: extracting github.com/ghodss/yaml v1.0.0
go: downloading golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6
go: extracting github.com/hashicorp/golang-lru v0.5.1
go: extracting golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: extracting github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/googleapis/gnostic v0.2.0
go: extracting golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db
go: extracting github.com/googleapis/gnostic v0.2.0
go: downloading github.com/prometheus/alertmanager v0.17.0
go: downloading github.com/evanphx/json-patch v4.1.0+incompatible
go: extracting github.com/evanphx/json-patch v4.1.0+incompatible
go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
go: extracting github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
go: downloading sigs.k8s.io/yaml v1.1.0
go: extracting sigs.k8s.io/yaml v1.1.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: extracting gopkg.in/inf.v0 v0.9.1
go: downloading k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30
go: extracting k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30
go: downloading github.com/pmezard/go-difflib v1.0.0
go: extracting github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/julienschmidt/httprouter v1.2.0
go: extracting github.com/julienschmidt/httprouter v1.2.0
go: downloading github.com/go-openapi/strfmt v0.19.0
go: extracting github.com/go-openapi/strfmt v0.19.0
go: downloading github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329
go: extracting github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329
go: downloading github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
go: extracting github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
go: downloading github.com/go-openapi/errors v0.17.2
go: extracting github.com/go-openapi/errors v0.17.2
go: downloading github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf
go: extracting github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf
go: extracting github.com/Azure/azure-sdk-for-go v23.2.0+incompatible
go: extracting github.com/prometheus/alertmanager v0.17.0
go: downloading github.com/go-openapi/swag v0.17.2
go: downloading github.com/go-openapi/validate v0.17.2
go: extracting github.com/go-openapi/swag v0.17.2
go: extracting github.com/aws/aws-sdk-go v1.15.24
go: extracting github.com/go-openapi/validate v0.17.2
go: downloading github.com/go-openapi/jsonpointer v0.17.2
go: downloading github.com/go-openapi/runtime v0.18.0
go: extracting github.com/go-openapi/jsonpointer v0.17.2
go: downloading github.com/go-openapi/loads v0.17.2
go: extracting github.com/go-openapi/runtime v0.18.0
go: extracting github.com/go-openapi/loads v0.17.2
go: downloading github.com/go-openapi/spec v0.17.2
go: downloading github.com/go-openapi/analysis v0.17.2
go: extracting github.com/go-openapi/analysis v0.17.2
go: extracting github.com/go-openapi/spec v0.17.2
go: downloading github.com/go-openapi/jsonreference v0.17.2
go: extracting github.com/go-openapi/jsonreference v0.17.2
go: downloading github.com/PuerkitoBio/purell v1.1.0
go: extracting github.com/PuerkitoBio/purell v1.1.0
go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: extracting github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: downloading github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7
go: downloading github.com/go-ini/ini v1.25.4
go: extracting github.com/go-ini/ini v1.25.4
go: extracting github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7

root@20ec4e634251:/go/prometheus# git status
On branch riscv-support
Your branch is up to date with 'origin/riscv-support'.

Go 1.13

➜ docker run -it --rm golang:1.13beta1-alpine3.10 sh

/go # git clone https://github.com/carlosedp/prometheus --depth=1 -b riscv-support
Cloning into 'prometheus'...
remote: Enumerating objects: 4426, done.
remote: Counting objects: 100% (4426/4426), done.
remote: Compressing objects: 100% (3140/3140), done.
remote: Total 4426 (delta 1131), reused 3412 (delta 971), pack-reused 0
commit 3cb797864d63da07ad08a8003e127af273bf2425 (grafted, HEAD -> riscv-support, origin/riscv-support)

/go # cd prometheus
/go/prometheus # git log
Author: CarlosEDP <me@carlosedp.com>
Date:   Mon Jul 29 13:05:52 2019 -0400

    Rebase

    Signed-off-by: CarlosEDP <me@carlosedp.com>

/go/prometheus # git status
On branch riscv-support
Your branch is up to date with 'origin/riscv-support'.

nothing to commit, working tree clean

/go/prometheus # go mod vendor
go: downloading github.com/pkg/errors v0.8.1
go: downloading gopkg.in/alecthomas/kingpin.v2 v2.2.6
go: downloading github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371
go: downloading github.com/opentracing/opentracing-go v1.0.2
go: downloading github.com/prometheus/client_golang v1.0.0
go: downloading github.com/shurcooL/vfsgen v0.0.0-20180825020608-02ddb050ef6b
go: downloading github.com/soheilhy/cmux v0.1.4
go: downloading github.com/prometheus/tsdb v0.10.0
go: downloading github.com/miekg/dns v1.1.10
go: downloading github.com/prometheus/common v0.4.1
go: extracting github.com/pkg/errors v0.8.1
go: downloading github.com/go-kit/kit v0.8.0
go: extracting github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371
go: downloading golang.org/x/net v0.0.0-20190724013045-ca1201d0de80
go: extracting github.com/soheilhy/cmux v0.1.4
go: extracting github.com/shurcooL/vfsgen v0.0.0-20180825020608-02ddb050ef6b
go: downloading github.com/aws/aws-sdk-go v1.15.24
go: extracting github.com/opentracing/opentracing-go v1.0.2
go: downloading github.com/influxdata/influxdb v1.7.7
go: extracting github.com/go-kit/kit v0.8.0
go: extracting gopkg.in/alecthomas/kingpin.v2 v2.2.6
go: downloading github.com/gophercloud/gophercloud v0.0.0-20190301152420-fca40860790e
go: extracting github.com/prometheus/common v0.4.1
go: extracting github.com/prometheus/client_golang v1.0.0
go: extracting github.com/miekg/dns v1.1.10
go: extracting github.com/prometheus/tsdb v0.10.0
go: downloading golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6
go: downloading golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a
go: downloading github.com/go-openapi/strfmt v0.19.0
go: extracting golang.org/x/net v0.0.0-20190724013045-ca1201d0de80
go: downloading github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223
go: extracting golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6
go: extracting github.com/gophercloud/gophercloud v0.0.0-20190301152420-fca40860790e
go: extracting github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223
go: downloading github.com/go-logfmt/logfmt v0.4.0
go: extracting github.com/go-openapi/strfmt v0.19.0
go: downloading github.com/gogo/protobuf v1.2.1
go: downloading github.com/beorn7/perks v1.0.0
go: downloading github.com/oklog/ulid v1.3.1
go: downloading github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329
go: extracting golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a
go: extracting github.com/go-logfmt/logfmt v0.4.0
go: downloading github.com/opentracing-contrib/go-stdlib v0.0.0-20170113013457-1de4cc2120e7
go: extracting github.com/aws/aws-sdk-go v1.15.24
go: extracting github.com/opentracing-contrib/go-stdlib v0.0.0-20170113013457-1de4cc2120e7
go: extracting github.com/beorn7/perks v1.0.0
go: downloading gopkg.in/fsnotify/fsnotify.v1 v1.4.7
go: downloading github.com/Azure/go-autorest v11.2.8+incompatible
go: extracting github.com/oklog/ulid v1.3.1
go: downloading github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc
go: extracting github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329
go: downloading github.com/google/pprof v0.0.0-20180605153948-8b03ce837f34
go: extracting gopkg.in/fsnotify/fsnotify.v1 v1.4.7
go: downloading github.com/julienschmidt/httprouter v1.2.0
go: extracting github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc
go: downloading github.com/go-openapi/errors v0.17.2
go: extracting github.com/gogo/protobuf v1.2.1
go: downloading google.golang.org/grpc v1.19.1
go: downloading github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf
go: downloading google.golang.org/appengine v1.5.0
go: extracting github.com/influxdata/influxdb v1.7.7
go: extracting github.com/Azure/go-autorest v11.2.8+incompatible
go: downloading github.com/prometheus/alertmanager v0.17.0
go: extracting github.com/julienschmidt/httprouter v1.2.0
go: downloading github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
go: downloading github.com/stretchr/testify v1.3.0
go: downloading cloud.google.com/go v0.34.0
go: extracting github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf
go: downloading github.com/cespare/xxhash v1.1.0
go: extracting github.com/go-openapi/errors v0.17.2
go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: downloading google.golang.org/api v0.3.2
go: extracting github.com/cespare/xxhash v1.1.0
go: downloading github.com/prometheus/procfs v0.0.2
go: extracting github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
go: extracting github.com/stretchr/testify v1.3.0
go: extracting github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: downloading contrib.go.opencensus.io/exporter/ocagent v0.4.12
go: extracting google.golang.org/grpc v1.19.1
go: downloading github.com/golang/snappy v0.0.1
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.8.5
go: extracting contrib.go.opencensus.io/exporter/ocagent v0.4.12
go: extracting github.com/prometheus/procfs v0.0.2
go: extracting github.com/golang/snappy v0.0.1
go: downloading github.com/census-instrumentation/opencensus-proto v0.2.0
go: downloading go.opencensus.io v0.20.2
go: extracting github.com/grpc-ecosystem/grpc-gateway v1.8.5
go: extracting github.com/prometheus/alertmanager v0.17.0
go: extracting cloud.google.com/go v0.34.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: extracting github.com/census-instrumentation/opencensus-proto v0.2.0
go: downloading github.com/Azure/azure-sdk-for-go v23.2.0+incompatible
go: extracting github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/go-openapi/swag v0.17.2
go: extracting go.opencensus.io v0.20.2
go: downloading golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2
go: downloading golang.org/x/tools v0.0.0-20190312170243-e65039ee4138
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: extracting google.golang.org/appengine v1.5.0
go: downloading github.com/samuel/go-zookeeper v0.0.0-20161028232340-1d7be4effb13
go: extracting github.com/go-openapi/swag v0.17.2
go: extracting golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2
go: downloading github.com/golang/protobuf v1.3.1
go: downloading gopkg.in/yaml.v2 v2.2.2
go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: extracting google.golang.org/api v0.3.2
go: extracting github.com/samuel/go-zookeeper v0.0.0-20161028232340-1d7be4effb13
go: downloading github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf
go: extracting gopkg.in/yaml.v2 v2.2.2
go: extracting github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf
go: downloading github.com/simonpasquier/klog-gokit v0.1.0
go: extracting github.com/golang/protobuf v1.3.1
go: downloading google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: extracting github.com/simonpasquier/klog-gokit v0.1.0
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
go: downloading github.com/ghodss/yaml v1.0.0
go: extracting github.com/mitchellh/mapstructure v1.1.2
go: downloading github.com/go-ini/ini v1.25.4
go: extracting github.com/pmezard/go-difflib v1.0.0
go: downloading golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db
go: extracting github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
go: extracting golang.org/x/tools v0.0.0-20190312170243-e65039ee4138
go: downloading github.com/oklog/run v1.0.0
go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
go: extracting github.com/ghodss/yaml v1.0.0
go: extracting github.com/go-ini/ini v1.25.4
go: downloading golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e
go: extracting github.com/oklog/run v1.0.0
go: downloading github.com/hashicorp/consul/api v1.1.0
go: extracting github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
go: extracting github.com/hashicorp/consul/api v1.1.0
go: extracting golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e
go: extracting github.com/google/pprof v0.0.0-20180605153948-8b03ce837f34
go: extracting google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19
go: downloading github.com/hashicorp/serf v0.8.2
go: extracting golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db
go: downloading github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7
go: downloading github.com/go-openapi/validate v0.17.2
go: downloading github.com/hashicorp/golang-lru v0.5.1
go: downloading k8s.io/apimachinery v0.0.0-20190612205821-1799e75a0719
go: downloading golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c
go: downloading k8s.io/client-go v0.0.0-20190620085101-78d2af792bab
go: extracting github.com/hashicorp/golang-lru v0.5.1
go: extracting github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7
go: extracting github.com/hashicorp/serf v0.8.2
go: downloading k8s.io/api v0.0.0-20190718183219-b59d8169aab5
go: extracting k8s.io/apimachinery v0.0.0-20190612205821-1799e75a0719
go: extracting github.com/go-openapi/validate v0.17.2
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: extracting k8s.io/client-go v0.0.0-20190620085101-78d2af792bab
go: extracting github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/go-openapi/jsonpointer v0.17.2
go: downloading github.com/go-openapi/runtime v0.18.0
go: extracting github.com/Azure/azure-sdk-for-go v23.2.0+incompatible
go: extracting github.com/go-openapi/jsonpointer v0.17.2
go: downloading github.com/go-openapi/spec v0.17.2
go: extracting github.com/go-openapi/runtime v0.18.0
go: extracting github.com/go-openapi/spec v0.17.2
go: downloading k8s.io/utils v0.0.0-20190308190857-21c4ce38f2a7
go: extracting k8s.io/utils v0.0.0-20190308190857-21c4ce38f2a7
go: extracting golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c
go: extracting k8s.io/api v0.0.0-20190718183219-b59d8169aab5
go: downloading github.com/go-openapi/jsonreference v0.17.2
go: downloading github.com/googleapis/gnostic v0.2.0
go: downloading github.com/json-iterator/go v1.1.6
go: downloading github.com/go-openapi/loads v0.17.2
go: downloading github.com/go-openapi/analysis v0.17.2
go: downloading github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da
go: downloading sigs.k8s.io/yaml v1.1.0
go: extracting github.com/go-openapi/jsonreference v0.17.2
go: downloading github.com/modern-go/reflect2 v1.0.1
go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da
go: extracting github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf
go: extracting gopkg.in/inf.v0 v0.9.1
go: extracting sigs.k8s.io/yaml v1.1.0
go: downloading github.com/hashicorp/go-rootcerts v1.0.0
go: downloading github.com/PuerkitoBio/purell v1.1.0
go: downloading github.com/google/go-cmp v0.3.0
go: downloading github.com/hashicorp/go-immutable-radix v1.0.0
go: extracting github.com/go-openapi/loads v0.17.2
go: extracting github.com/json-iterator/go v1.1.6
go: extracting github.com/davecgh/go-spew v1.1.1
go: downloading k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/evanphx/json-patch v4.1.0+incompatible
go: extracting github.com/go-openapi/analysis v0.17.2
go: extracting github.com/modern-go/reflect2 v1.0.1
go: extracting github.com/PuerkitoBio/purell v1.1.0
go: extracting github.com/hashicorp/go-rootcerts v1.0.0
go: extracting github.com/hashicorp/go-immutable-radix v1.0.0
go: downloading github.com/mitchellh/go-homedir v1.0.0
go: extracting github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: extracting github.com/evanphx/json-patch v4.1.0+incompatible
go: extracting github.com/google/go-cmp v0.3.0
go: extracting github.com/mitchellh/go-homedir v1.0.0
go: extracting github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: extracting k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30
go: extracting github.com/googleapis/gnostic v0.2.0

/go/prometheus # git status
On branch riscv-support
Your branch is up to date with 'origin/riscv-support'.

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	deleted:    vendor/github.com/globalsign/mgo/bson/bson_corpus_spec_test_generator.go
	deleted:    vendor/github.com/miekg/dns/duplicate_generate.go
	deleted:    vendor/github.com/miekg/dns/msg_generate.go
	deleted:    vendor/github.com/miekg/dns/types_generate.go
	deleted:    vendor/golang.org/x/net/internal/iana/gen.go
	deleted:    vendor/golang.org/x/net/internal/socket/defs_aix.go
	deleted:    vendor/golang.org/x/net/internal/socket/defs_darwin.go
	deleted:    vendor/golang.org/x/net/internal/socket/defs_dragonfly.go
	deleted:    vendor/golang.org/x/net/internal/socket/defs_freebsd.go
	deleted:    vendor/golang.org/x/net/internal/socket/defs_linux.go
	deleted:    vendor/golang.org/x/net/internal/socket/defs_netbsd.go
	deleted:    vendor/golang.org/x/net/internal/socket/defs_openbsd.go
	deleted:    vendor/golang.org/x/net/internal/socket/defs_solaris.go
	deleted:    vendor/golang.org/x/net/ipv4/defs_aix.go
	deleted:    vendor/golang.org/x/net/ipv4/defs_darwin.go
	deleted:    vendor/golang.org/x/net/ipv4/defs_dragonfly.go
	deleted:    vendor/golang.org/x/net/ipv4/defs_freebsd.go
	deleted:    vendor/golang.org/x/net/ipv4/defs_linux.go
	deleted:    vendor/golang.org/x/net/ipv4/defs_netbsd.go
	deleted:    vendor/golang.org/x/net/ipv4/defs_openbsd.go
	deleted:    vendor/golang.org/x/net/ipv4/defs_solaris.go
	deleted:    vendor/golang.org/x/net/ipv4/gen.go
	deleted:    vendor/golang.org/x/net/ipv6/defs_aix.go
	deleted:    vendor/golang.org/x/net/ipv6/defs_darwin.go
	deleted:    vendor/golang.org/x/net/ipv6/defs_dragonfly.go
	deleted:    vendor/golang.org/x/net/ipv6/defs_freebsd.go
	deleted:    vendor/golang.org/x/net/ipv6/defs_linux.go
	deleted:    vendor/golang.org/x/net/ipv6/defs_netbsd.go
	deleted:    vendor/golang.org/x/net/ipv6/defs_openbsd.go
	deleted:    vendor/golang.org/x/net/ipv6/defs_solaris.go
	deleted:    vendor/golang.org/x/net/ipv6/gen.go
	deleted:    vendor/golang.org/x/sys/unix/mkasm_darwin.go
	deleted:    vendor/golang.org/x/sys/unix/mkpost.go
	deleted:    vendor/golang.org/x/sys/unix/mksyscall.go
	deleted:    vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.go
	deleted:    vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.go
	deleted:    vendor/golang.org/x/sys/unix/mksyscall_solaris.go
	deleted:    vendor/golang.org/x/sys/unix/mksysctl_openbsd.go
	deleted:    vendor/golang.org/x/sys/unix/mksysnum.go
	deleted:    vendor/golang.org/x/sys/unix/types_aix.go
	deleted:    vendor/golang.org/x/sys/unix/types_darwin.go
	deleted:    vendor/golang.org/x/sys/unix/types_dragonfly.go
	deleted:    vendor/golang.org/x/sys/unix/types_freebsd.go
	deleted:    vendor/golang.org/x/sys/unix/types_netbsd.go
	deleted:    vendor/golang.org/x/sys/unix/types_openbsd.go
	deleted:    vendor/golang.org/x/sys/unix/types_solaris.go
	deleted:    vendor/golang.org/x/text/unicode/bidi/gen.go
	deleted:    vendor/golang.org/x/text/unicode/bidi/gen_ranges.go
	deleted:    vendor/golang.org/x/text/unicode/bidi/gen_trieval.go
	deleted:    vendor/golang.org/x/text/unicode/norm/maketables.go
	deleted:    vendor/golang.org/x/text/unicode/norm/triegen.go
	deleted:    vendor/golang.org/x/text/width/gen.go
	deleted:    vendor/golang.org/x/text/width/gen_common.go
	deleted:    vendor/golang.org/x/text/width/gen_trieval.go
	deleted:    vendor/golang.org/x/tools/go/gcexportdata/main.go
	deleted:    vendor/golang.org/x/tools/imports/mkindex.go
	deleted:    vendor/golang.org/x/tools/imports/mkstdlib.go
	modified:   vendor/modules.txt

no changes added to commit (use "git add" and/or "git commit -a")

What did you expect to see?

The modules should be kept intact in vendor dir on version 1.13.

What did you see instead?

Many files removed as seen above in git status command for 1.13.

@zikaeroh
Copy link
Contributor

You may want to look at #31088.

@carlosedp
Copy link
Author

Got it, so to my understanding, projects that will do CI with multiple Go versions including 1.13 and ship the vendor will need to re-vendor? Any flag on 1.13 to keep previous behaviour?

@julieqiu
Copy link
Member

/cc @bcmills @jayconrod

@julieqiu julieqiu added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jul 29, 2019
@julieqiu julieqiu changed the title Go mod vendor removes files in 1.13 that were present on 1.12 cmd/go: go mod vendor removes files in 1.13 that were present on 1.12 Jul 29, 2019
@bcmills
Copy link
Contributor

bcmills commented Jul 29, 2019

You should not need to re-vendor: all go build and go test commands that worked in 1.12 should continue to work as before.

That is: the removed files should be irrelevant to the build. If you find otherwise, please provide more detail.

@bcmills bcmills added modules WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels Jul 29, 2019
@bcmills bcmills added this to the Go1.13 milestone Jul 29, 2019
@carlosedp
Copy link
Author

Currently I've seen this on Prometheus repo where I ran "go mod vendor" on Go 1.13 and pushed the changes. Their CI runs and returns error since they compare a "go mod vendor" ran on 1.11 or 1.12 with the PR that has less files.

@bcmills
Copy link
Contributor

bcmills commented Jul 30, 2019

If that's the only symptom, probably they should update that CI script to not make assumptions about irrelevant files, or update their contributing instructions to be more explicit about the go version to use for pre-commit cleanup.

@carlosedp
Copy link
Author

@bcmills I totally agree with you, I'll try to get in touch with them pointing this out.
Thanks!

@bcmills
Copy link
Contributor

bcmills commented Jul 30, 2019

Thanks. It sounds like everything is working as designed for #31088, but please do let us know if you encounter other symptoms that were not intended (such as broken go build or go test commands).

@simonpasquier
Copy link

If that's the only symptom, probably they should update that CI script to not make assumptions about irrelevant files, or update their contributing instructions to be more explicit about the go version to use for pre-commit cleanup.

Thanks. We already document which Go version should be used but we'll probably issue an extra announcement to our -dev list to raise awareness. As for the CI, it runs against only one version of Go so we'll only have to update the vendor/ directory when we'll be switching the CI to 1.13.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

6 participants