distribworks / dkron

Dkron - Distributed, fault tolerant job scheduling system https://dkron.io
GNU Lesser General Public License v3.0
4.33k stars 386 forks source link

Cannot "go get" dkron #974

Closed Rob4t closed 3 years ago

Rob4t commented 3 years ago

Describe the bug While trying to call go get the dependency github.com/tencentcloud/tencentcloud-sdk-go/go.mod at revision v3.0.83 is unknown

To Reproduce Steps to reproduce the behavior:

  1. go get github.com/distribworks/dkron/v3

Expected behavior Go get loads module with dependencies

Screenshots

$ go get github.com/distribworks/dkron/v3
go: github.com/distribworks/dkron/v3@v3.1.6 requires
    github.com/hashicorp/go-discover@v0.0.0-20201029210230-738cb3105cd0 requires
    github.com/tencentcloud/tencentcloud-sdk-go@v3.0.83+incompatible: reading github.com/tencentcloud/tencentcloud-sdk-go/go.mod at revision v3.0.83: unknown revision v3.0.83

Specifications:

Additional context

yvanoers commented 3 years ago

Seems to work here, see below. I'm suspecting your Go version may not be up to date (v1.16), but that is just a wild guess.

$ go get github.com/distribworks/dkron/v3
go: downloading github.com/distribworks/dkron v1.2.5
go: downloading github.com/distribworks/dkron/v3 v3.1.6
go: downloading github.com/hashicorp/go-plugin v1.4.0
go: downloading github.com/hashicorp/serf v0.9.5
go: downloading github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0
go: downloading github.com/ryanuber/columnize v2.1.2+incompatible
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading github.com/spf13/cobra v1.1.3
go: downloading github.com/spf13/viper v1.7.1
go: downloading google.golang.org/grpc v1.36.0
go: downloading github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2
go: downloading github.com/armon/go-metrics v0.3.6
go: downloading github.com/devopsfaith/krakend-usage v0.0.0-20210223224348-1ff8aabbd5bb
go: downloading github.com/gin-contrib/expvar v0.0.1
go: downloading github.com/gin-contrib/cors v1.3.1
go: downloading github.com/gin-contrib/multitemplate v0.0.0-20200226145339-3e397ee01bc6
go: downloading github.com/gin-gonic/gin v1.6.3
go: downloading github.com/golang/protobuf v1.4.3
go: downloading github.com/hashicorp/go-discover v0.0.0-20201029210230-738cb3105cd0
go: downloading github.com/hashicorp/go-hclog v0.15.0
go: downloading github.com/hashicorp/go-sockaddr v1.0.2
go: downloading github.com/hashicorp/go-uuid v1.0.2
go: downloading github.com/hashicorp/go-version v1.2.1
go: downloading github.com/hashicorp/memberlist v0.2.2
go: downloading github.com/hashicorp/raft v1.2.0
go: downloading github.com/hashicorp/raft-boltdb v0.0.0-20191021154308-4207f1bf0617
go: downloading github.com/jordan-wright/email v0.0.0-20180115032944-94ae17dedda2
go: downloading github.com/prometheus/client_golang v1.9.0
go: downloading github.com/robfig/cron/v3 v3.0.1
go: downloading github.com/soheilhy/cmux v0.1.4
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/tidwall/buntdb v1.2.0
go: downloading golang.org/x/net v0.0.0-20210119194325-5f4716e94777
go: downloading github.com/hashicorp/yamux v0.0.0-20190923154419-df201c70410d
go: downloading github.com/mitchellh/go-testing-interface v1.14.1
go: downloading github.com/oklog/run v1.0.0
go: downloading golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading google.golang.org/protobuf v1.25.0
go: downloading github.com/hashicorp/go-msgpack v0.5.5
go: downloading github.com/fsnotify/fsnotify v1.4.7
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: downloading github.com/pelletier/go-toml v1.2.0
go: downloading github.com/spf13/afero v1.2.2
go: downloading github.com/spf13/cast v1.3.0
go: downloading github.com/spf13/jwalterweatherman v1.0.0
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading gopkg.in/ini.v1 v1.51.0
go: downloading github.com/DataDog/datadog-go v4.0.0+incompatible
go: downloading github.com/hashicorp/go-immutable-radix v1.3.0
go: downloading github.com/gin-contrib/sse v0.1.0
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/fatih/color v1.9.0
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading github.com/hashicorp/go-multierror v1.1.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading k8s.io/api v0.18.2
go: downloading k8s.io/apimachinery v0.18.2
go: downloading k8s.io/client-go v0.18.2
go: downloading github.com/hashicorp/errwrap v1.0.0
go: downloading github.com/boltdb/bolt v1.3.1
go: downloading github.com/google/btree v1.0.0
go: downloading github.com/miekg/dns v1.1.26
go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529
go: downloading google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/prometheus/common v0.15.0
go: downloading github.com/tidwall/btree v0.3.0
go: downloading github.com/tidwall/gjson v1.6.8
go: downloading github.com/tidwall/grect v0.1.0
go: downloading github.com/tidwall/match v1.0.3
go: downloading github.com/tidwall/rtred v0.1.2
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading golang.org/x/text v0.3.5
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/prometheus/procfs v0.2.0
go: downloading github.com/catalinc/hashcash v0.0.0-20161205220751-e6bc29ff4de9
go: downloading github.com/ugorji/go v1.1.7
go: downloading github.com/ugorji/go/codec v1.1.7
go: downloading github.com/go-playground/validator/v10 v10.2.0
go: downloading github.com/json-iterator/go v1.1.10
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: downloading github.com/denverdino/aliyungo v0.0.0-20170926055100-d3308649c661
go: downloading github.com/aws/aws-sdk-go v1.36.31
go: downloading github.com/Azure/go-autorest v14.2.0+incompatible
go: downloading github.com/Azure/azure-sdk-for-go v44.0.0+incompatible
go: downloading github.com/digitalocean/godo v1.7.5
go: downloading github.com/Azure/go-autorest/autorest v0.11.0
go: downloading golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43
go: downloading github.com/Azure/go-autorest/autorest/azure/auth v0.5.0
go: downloading google.golang.org/api v0.35.0
go: downloading github.com/linode/linodego v0.7.1
go: downloading github.com/hashicorp/mdns v1.0.1
go: downloading github.com/gophercloud/gophercloud v0.1.0
go: downloading github.com/packethost/packngo v0.1.1-0.20180711074735-b9cb5096f54c
go: downloading github.com/nicolai86/scaleway-sdk v1.10.2-0.20180628010248-798f60e20bb2
go: downloading github.com/softlayer/softlayer-go v0.0.0-20180806151055-260589d94c7d
go: downloading github.com/tencentcloud/tencentcloud-sdk-go v3.0.83+incompatible
go: downloading github.com/joyent/triton-go v0.0.0-20180628001255-830d2b111e62
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading github.com/google/gofuzz v1.1.0
go: downloading github.com/hashicorp/vic v1.5.1-0.20190403131502-bbfe86ec9443
go: downloading github.com/vmware/govmomi v0.18.0
go: downloading github.com/imdario/mergo v0.3.6
go: downloading golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/tidwall/pretty v1.0.2
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading github.com/go-playground/universal-translator v0.17.0
go: downloading github.com/leodido/go-urn v1.2.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/google/go-querystring v0.0.0-20170111101155-53e6ce116135
go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.0
go: downloading github.com/Azure/go-autorest/logger v0.2.0
go: downloading github.com/Azure/go-autorest/tracing v0.6.0
go: downloading cloud.google.com/go v0.65.0
go: downloading google.golang.org/appengine v1.6.6
go: downloading github.com/Azure/go-autorest/autorest/azure/cli v0.4.0
go: downloading github.com/dimchansky/utfbom v1.1.0
go: downloading gopkg.in/resty.v1 v1.12.0
go: downloading golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208
go: downloading github.com/renier/xmlrpc v0.0.0-20170708154548-ce4a1a486c03
go: downloading github.com/pkg/errors v0.9.1
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading sigs.k8s.io/structured-merge-diff/v3 v3.0.0
go: downloading github.com/googleapis/gnostic v0.2.0
go: downloading golang.org/x/time v0.0.0-20191024005414-555d28b269f0
go: downloading k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/tidwall/tinyqueue v0.1.1
go: downloading github.com/go-playground/locales v0.13.0
go: downloading github.com/jmespath/go-jmespath v0.4.0
go: downloading github.com/Azure/go-autorest/autorest/date v0.3.0
go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading go.opencensus.io v0.22.4
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/Azure/go-autorest/autorest/validation v0.3.0
go: downloading github.com/Azure/go-autorest/autorest/to v0.4.0
go: downloading github.com/Azure/azure-sdk-for-go v0.2.0-beta
go: downloading github.com/dgrijalva/jwt-go v1.0.2
go: downloading github.com/ryanuber/columnize v1.1.1
go: downloading github.com/tencentcloud/tencentcloud-sdk-go v1.0.172
go: downloading k8s.io/client-go v1.5.2
Rob4t commented 3 years ago

Seems to work here, see below. I'm suspecting your Go version may not be up to date (v1.16), but that is just a wild guess.

Thanks! I pinned it down to my GOPROXY env being set to "direct". Had to change it to "https://proxy.golang.org,direct"