go-autorest: Cannot bump dependencies in Kubernetes projects due to census-instrumentation/opencensus-proto
I’ve tried several combinations of versions of azure-sdk-for-go
and go-autorest
but have been unsuccessful in updating dependencies for the cluster-api-provider-azure
Kubernetes project.
Here are the output logs for the current PR I have open to test (https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/216):
$ time make test
GOPATH=/home/augustus/go bazel run //:generate
Starting local Bazel server and connecting to it...
INFO: Analysed target //:generate (17 packages loaded, 168 targets configured).
INFO: Found 1 target...
Target //:generate up-to-date:
bazel-bin/generate_script
bazel-bin/generate
INFO: Elapsed time: 21.646s, Critical Path: 0.14s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
make dep-ensure
make[1]: Entering directory '/home/augustus/go/src/sigs.k8s.io/cluster-api-provider-azure'
Repository is set up correctly
INFO: Analysed target //:dep (57 packages loaded, 7728 targets configured).
INFO: Found 1 target...
Target //:dep up-to-date:
bazel-bin/dep_script
bazel-bin/dep
INFO: Elapsed time: 5.101s, Critical Path: 0.28s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
make gazelle
make[2]: Entering directory '/home/augustus/go/src/sigs.k8s.io/cluster-api-provider-azure'
bazel run //:gazelle
INFO: Analysed target //:gazelle (25 packages loaded, 124 targets configured).
INFO: Found 1 target...
Target //:gazelle up-to-date:
bazel-bin/gazelle-runner.bash
bazel-bin/gazelle
INFO: Elapsed time: 2.352s, Critical Path: 0.33s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
gazelle: open /home/augustus/go/src/sigs.k8s.io/cluster-api-provider-azure/vendor/k8s.io/kubernetes/BUILD.bazel: no such file or directory
make[2]: Leaving directory '/home/augustus/go/src/sigs.k8s.io/cluster-api-provider-azure'
make[1]: Leaving directory '/home/augustus/go/src/sigs.k8s.io/cluster-api-provider-azure'
bazel build //pkg/cloud/azure/mocks:mocks \
//pkg/cloud/azure/services/disks/mock_disks:mocks \
//pkg/cloud/azure/services/availabilityzones/mock_availabilityzones:mocks \
//pkg/cloud/azure/services/groups/mock_groups:mocks \
//pkg/cloud/azure/services/internalloadbalancers/mock_internalloadbalancers:mocks \
//pkg/cloud/azure/services/networkinterfaces/mock_networkinterfaces:mocks \
//pkg/cloud/azure/services/publicips/mock_publicips:mocks \
//pkg/cloud/azure/services/publicloadbalancers/mock_publicloadbalancers:mocks \
//pkg/cloud/azure/services/routetables/mock_routetables:mocks \
//pkg/cloud/azure/services/securitygroups/mock_securitygroups:mocks \
//pkg/cloud/azure/services/subnets/mock_subnets:mocks \
//pkg/cloud/azure/services/virtualmachineextensions/mock_virtualmachineextensions:mocks \
//pkg/cloud/azure/services/virtualmachines/mock_virtualmachines:mocks \
//pkg/cloud/azure/services/virtualnetworks/mock_virtualnetworks:mocks
INFO: Analysed 14 targets (173 packages loaded, 2271 targets configured).
INFO: Found 14 targets...
ERROR: /home/augustus/go/src/sigs.k8s.io/cluster-api-provider-azure/vendor/contrib.go.opencensus.io/exporter/ocagent/BUILD.bazel:3:1: GoCompile vendor/contrib.go.opencensus.io/exporter/ocagent/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/contrib.go.opencensus.io/exporter/ocagent.a failed (Exit 1) builder failed: error executing command
(cd /home/augustus/.cache/bazel/_bazel_augustus/bd8987116252386267e76c13b740e64e/sandbox/linux-sandbox/2/execroot/__main__ && \
exec env - \
CGO_ENABLED=1 \
GOARCH=amd64 \
GOOS=linux \
GOROOT=external/go_sdk \
GOROOT_FINAL=GOROOT \
PATH=/usr/bin:/bin \
bazel-out/host/bin/external/go_sdk/builder compile -sdk external/go_sdk -installsuffix linux_amd64 -src vendor/contrib.go.opencensus.io/exporter/ocagent/common.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/connection.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/nodeinfo.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/ocagent.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/options.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/transform_spans.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/transform_stats_to_metrics.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/version.go -arc 'github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1=bazel-out/host/bin/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1.a=' -arc 'github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1=bazel-out/host/bin/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1.a=' -arc 'github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1=bazel-out/host/bin/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1.a=' -arc 'github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1=bazel-out/host/bin/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1.a=' -arc 'github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1=bazel-out/host/bin/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1.a=' -arc 'github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1=bazel-out/host/bin/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1.a=' -arc 'github.com/golang/protobuf/ptypes/timestamp=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/golang/protobuf/ptypes/timestamp=bazel-out/host/bin/vendor/github.com/golang/protobuf/ptypes/timestamp/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/golang/protobuf/ptypes/timestamp.a=' -arc 'go.opencensus.io=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io=bazel-out/host/bin/vendor/go.opencensus.io/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io.a=' -arc 'go.opencensus.io/plugin/ocgrpc=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/plugin/ocgrpc=bazel-out/host/bin/vendor/go.opencensus.io/plugin/ocgrpc/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/plugin/ocgrpc.a=' -arc 'go.opencensus.io/resource=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/resource=bazel-out/host/bin/vendor/go.opencensus.io/resource/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/resource.a=' -arc 'go.opencensus.io/stats=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/stats=bazel-out/host/bin/vendor/go.opencensus.io/stats/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/stats.a=' -arc 'go.opencensus.io/stats/view=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/stats/view=bazel-out/host/bin/vendor/go.opencensus.io/stats/view/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/stats/view.a=' -arc 'go.opencensus.io/tag=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/tag=bazel-out/host/bin/vendor/go.opencensus.io/tag/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/tag.a=' -arc 'go.opencensus.io/trace=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/trace=bazel-out/host/bin/vendor/go.opencensus.io/trace/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/trace.a=' -arc 'go.opencensus.io/trace/tracestate=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/trace/tracestate=bazel-out/host/bin/vendor/go.opencensus.io/trace/tracestate/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/trace/tracestate.a=' -arc 'google.golang.org/api/support/bundler=sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/api/support/bundler=bazel-out/host/bin/vendor/google.golang.org/api/support/bundler/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/api/support/bundler.a=' -arc 'google.golang.org/grpc=sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/grpc=bazel-out/host/bin/vendor/google.golang.org/grpc/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/grpc.a=' -arc 'google.golang.org/grpc/credentials=sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/grpc/credentials=bazel-out/host/bin/vendor/google.golang.org/grpc/credentials/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/grpc/credentials.a=' -arc 'google.golang.org/grpc/metadata=sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/grpc/metadata=bazel-out/host/bin/vendor/google.golang.org/grpc/metadata/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/grpc/metadata.a=' -o bazel-out/host/bin/vendor/contrib.go.opencensus.io/exporter/ocagent/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/contrib.go.opencensus.io/exporter/ocagent.a -package_list bazel-out/host/bin/external/go_sdk/packages.txt -p sigs.k8s.io/cluster-api-provider-azure/vendor/contrib.go.opencensus.io/exporter/ocagent -- -trimpath .)
Execution platform: @bazel_tools//platforms:host_platform
Use --sandbox_debug to see verbose messages from the sandbox: builder failed: error executing command
(cd /home/augustus/.cache/bazel/_bazel_augustus/bd8987116252386267e76c13b740e64e/sandbox/linux-sandbox/2/execroot/__main__ && \
exec env - \
CGO_ENABLED=1 \
GOARCH=amd64 \
GOOS=linux \
GOROOT=external/go_sdk \
GOROOT_FINAL=GOROOT \
PATH=/usr/bin:/bin \
bazel-out/host/bin/external/go_sdk/builder compile -sdk external/go_sdk -installsuffix linux_amd64 -src vendor/contrib.go.opencensus.io/exporter/ocagent/common.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/connection.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/nodeinfo.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/ocagent.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/options.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/transform_spans.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/transform_stats_to_metrics.go -src vendor/contrib.go.opencensus.io/exporter/ocagent/version.go -arc 'github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1=bazel-out/host/bin/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1.a=' -arc 'github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1=bazel-out/host/bin/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1.a=' -arc 'github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1=bazel-out/host/bin/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1.a=' -arc 'github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1=bazel-out/host/bin/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1.a=' -arc 'github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1=bazel-out/host/bin/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1.a=' -arc 'github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1=bazel-out/host/bin/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1.a=' -arc 'github.com/golang/protobuf/ptypes/timestamp=sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/golang/protobuf/ptypes/timestamp=bazel-out/host/bin/vendor/github.com/golang/protobuf/ptypes/timestamp/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/golang/protobuf/ptypes/timestamp.a=' -arc 'go.opencensus.io=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io=bazel-out/host/bin/vendor/go.opencensus.io/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io.a=' -arc 'go.opencensus.io/plugin/ocgrpc=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/plugin/ocgrpc=bazel-out/host/bin/vendor/go.opencensus.io/plugin/ocgrpc/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/plugin/ocgrpc.a=' -arc 'go.opencensus.io/resource=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/resource=bazel-out/host/bin/vendor/go.opencensus.io/resource/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/resource.a=' -arc 'go.opencensus.io/stats=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/stats=bazel-out/host/bin/vendor/go.opencensus.io/stats/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/stats.a=' -arc 'go.opencensus.io/stats/view=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/stats/view=bazel-out/host/bin/vendor/go.opencensus.io/stats/view/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/stats/view.a=' -arc 'go.opencensus.io/tag=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/tag=bazel-out/host/bin/vendor/go.opencensus.io/tag/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/tag.a=' -arc 'go.opencensus.io/trace=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/trace=bazel-out/host/bin/vendor/go.opencensus.io/trace/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/trace.a=' -arc 'go.opencensus.io/trace/tracestate=sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/trace/tracestate=bazel-out/host/bin/vendor/go.opencensus.io/trace/tracestate/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/go.opencensus.io/trace/tracestate.a=' -arc 'google.golang.org/api/support/bundler=sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/api/support/bundler=bazel-out/host/bin/vendor/google.golang.org/api/support/bundler/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/api/support/bundler.a=' -arc 'google.golang.org/grpc=sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/grpc=bazel-out/host/bin/vendor/google.golang.org/grpc/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/grpc.a=' -arc 'google.golang.org/grpc/credentials=sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/grpc/credentials=bazel-out/host/bin/vendor/google.golang.org/grpc/credentials/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/grpc/credentials.a=' -arc 'google.golang.org/grpc/metadata=sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/grpc/metadata=bazel-out/host/bin/vendor/google.golang.org/grpc/metadata/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/google.golang.org/grpc/metadata.a=' -o bazel-out/host/bin/vendor/contrib.go.opencensus.io/exporter/ocagent/linux_amd64_stripped/go_default_library%/sigs.k8s.io/cluster-api-provider-azure/vendor/contrib.go.opencensus.io/exporter/ocagent.a -package_list bazel-out/host/bin/external/go_sdk/packages.txt -p sigs.k8s.io/cluster-api-provider-azure/vendor/contrib.go.opencensus.io/exporter/ocagent -- -trimpath .)
Execution platform: @bazel_tools//platforms:host_platform
Use --sandbox_debug to see verbose messages from the sandbox
compile: error running compiler: exit status 2
/home/augustus/.cache/bazel/_bazel_augustus/bd8987116252386267e76c13b740e64e/sandbox/linux-sandbox/2/execroot/__main__/vendor/contrib.go.opencensus.io/exporter/ocagent/ocagent.go:299:38: undefined: "sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1".ConstantSampler_ALWAYS_ON
/home/augustus/.cache/bazel/_bazel_augustus/bd8987116252386267e76c13b740e64e/sandbox/linux-sandbox/2/execroot/__main__/vendor/contrib.go.opencensus.io/exporter/ocagent/transform_stats_to_metrics.go:52:3: unknown field 'MetricDescriptor' in struct literal of type "sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1".Metric
INFO: Elapsed time: 3.869s, Critical Path: 0.70s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
Makefile:165: recipe for target 'generate' failed
make: *** [generate] Error 1
real 0m56.523s
user 0m12.150s
sys 0m13.008s
Let me know if I can provide additional information!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (15 by maintainers)
Commits related to this issue
- Fix Go module ambiguous import errors (#528) * Fix Go module ambiguous import errors This is an extension of the mitigations introduced in #455. Unfortunately, the original mitigations didn't add... — committed to Azure/go-autorest by miquella 4 years ago
- Dev -> Master (#532) * Deserialize additionalInfo in ARM error * Allow a new authorizer to be created from a configuration file by specifying a resource instead of a base url. This enables reso... — committed to Azure/go-autorest by jhendrixMSFT 4 years ago
- autorest: remove testing.T.Fatal() from test goroutine (#511) * Deserialize additionalInfo in ARM error * Allow a new authorizer to be created from a configuration file by specifying a resource in... — committed to Azure/go-autorest by alrs 4 years ago
- Merge dev into master (#545) * Deserialize additionalInfo in ARM error * Allow a new authorizer to be created from a configuration file by specifying a resource instead of a base url. This enab... — committed to Azure/go-autorest by jhendrixMSFT 4 years ago
@jhendrixMSFT , to see this problem, you can clone pharmer/cloud repo and follow the instructions here:
https://github.com/pharmer/cloud/commit/01456392c26d0b7d548187040e5c4a71a51bb306
You will see that either go complains about ambiguity or does not vendor correctly.
I am using go 1.12.7
I found how to fix the problems I was facing. I have opened a pr to add instructions for that. https://github.com/Azure/go-autorest/pull/431