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

Upgrade client-go to v0.19.12 #2155

Merged
merged 1 commit into from
Jun 24, 2021
Merged

Upgrade client-go to v0.19.12 #2155

merged 1 commit into from
Jun 24, 2021

Conversation

cindy52
Copy link
Contributor

@cindy52 cindy52 commented Jun 23, 2021

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking

/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind hotfix

What this PR does / Why we need it:
Update vendored client-go to support Kubernets 1.19.0

Which issue(s) this PR fixes:

Part of issue #2129
Closes #1797

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 039c1a36-cc94-4522-86c4-1e4f29c40f9c

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 5dbc24ee-8435-4f27-8559-f674e679e3ec

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@roberthbailey
Copy link
Member

The lint test is failing:

Already have image: make-docker
mkdir -p ~/.kube/
mkdir -p /workspace/build//.gocache
mkdir -p /workspace/build//.config/gcloud
mkdir -p ~/.config/helm
mkdir -p ~/.cache/helm
/usr/bin/make ensure-image IMAGE_TAG=agones-build:39d4b5cd22 BUILD_TARGET=build-build-image
make[1]: Entering directory '/workspace/build'
make[1]: Leaving directory '/workspace/build'
docker run -t -e "TERM=xterm-256color" -e "GO111MODULE=on" --rm -v /workspace/build//.config/gcloud:/root/.config/gcloud -v ~/.kube/:/root/.kube -v ~/.config/helm:/root/.config/helm -v ~/.cache/helm:/root/.cache/helm -v /workspace:/go/src/agones.dev/agones -v /workspace/build//.gomod:/go/pkg/mod -v /workspace/build//.gocache:/root/.cache/go-build -w /go/src/agones.dev/agones  agones-build:39d4b5cd22 bash -c \
	"golangci-lint run ./examples/... && golangci-lint run --timeout 15m ./..."
WARN [runner] Can't run linter goanalysis_metalinter: bodyclose: failed prerequisites: [[email protected]/agones/cmd/allocator [agones.dev/agones/cmd/allocator.test]: analysis skipped: errors in package: [/go/src/agones.dev/agones/cmd/allocator/main.go:35:2: could not import agones.dev/agones/pkg/gameserverallocations (/go/src/agones.dev/agones/pkg/gameserverallocations/metrics.go:25:5: could not import agones.dev/agones/pkg/metrics (/go/src/agones.dev/agones/pkg/metrics/exporter.go:24:2: could not import contrib.go.opencensus.io/exporter/stackdriver (/go/src/agones.dev/agones/vendor/contrib.go.opencensus.io/exporter/stackdriver/stackdriver.go:57:11: could not import cloud.google.com/go/trace/apiv2 (/go/src/agones.dev/agones/vendor/cloud.google.com/go/trace/apiv2/trace_client.go:29:15: could not import google.golang.org/genproto/googleapis/devtools/cloudtrace/v2 (/go/src/agones.dev/agones/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go:257:12: ClientConnInterface not declared by package grpc))))) /go/src/agones.dev/agones/cmd/allocator/metrics.go:21:2: could not import agones.dev/agones/pkg/metrics (/go/src/agones.dev/agones/pkg/metrics/exporter.go:24:2: could not import contrib.go.opencensus.io/exporter/stackdriver (/go/src/agones.dev/agones/vendor/contrib.go.opencensus.io/exporter/stackdriver/stackdriver.go:57:11: could not import cloud.google.com/go/trace/apiv2 (/go/src/agones.dev/agones/vendor/cloud.google.com/go/trace/apiv2/trace_client.go:29:15: could not import google.golang.org/genproto/googleapis/devtools/cloudtrace/v2 (/go/src/agones.dev/agones/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go:257:12: ClientConnInterface not declared by package grpc))))]] 
WARN [runner] Can't run linter unused: buildir: failed to load package monitoring: could not load export data: no export data for "google.golang.org/genproto/googleapis/monitoring/v3" 
ERRO Running error: buildir: failed to load package monitoring: could not load export data: no export data for "google.golang.org/genproto/googleapis/monitoring/v3" 
Makefile:362: recipe for target 'lint' failed
make: *** [lint] Error 3

@cindy52
Copy link
Contributor Author

cindy52 commented Jun 24, 2021

The lint test is failing:

Already have image: make-docker
mkdir -p ~/.kube/
mkdir -p /workspace/build//.gocache
mkdir -p /workspace/build//.config/gcloud
mkdir -p ~/.config/helm
mkdir -p ~/.cache/helm
/usr/bin/make ensure-image IMAGE_TAG=agones-build:39d4b5cd22 BUILD_TARGET=build-build-image
make[1]: Entering directory '/workspace/build'
make[1]: Leaving directory '/workspace/build'
docker run -t -e "TERM=xterm-256color" -e "GO111MODULE=on" --rm -v /workspace/build//.config/gcloud:/root/.config/gcloud -v ~/.kube/:/root/.kube -v ~/.config/helm:/root/.config/helm -v ~/.cache/helm:/root/.cache/helm -v /workspace:/go/src/agones.dev/agones -v /workspace/build//.gomod:/go/pkg/mod -v /workspace/build//.gocache:/root/.cache/go-build -w /go/src/agones.dev/agones  agones-build:39d4b5cd22 bash -c \
	"golangci-lint run ./examples/... && golangci-lint run --timeout 15m ./..."
WARN [runner] Can't run linter goanalysis_metalinter: bodyclose: failed prerequisites: [[email protected]/agones/cmd/allocator [agones.dev/agones/cmd/allocator.test]: analysis skipped: errors in package: [/go/src/agones.dev/agones/cmd/allocator/main.go:35:2: could not import agones.dev/agones/pkg/gameserverallocations (/go/src/agones.dev/agones/pkg/gameserverallocations/metrics.go:25:5: could not import agones.dev/agones/pkg/metrics (/go/src/agones.dev/agones/pkg/metrics/exporter.go:24:2: could not import contrib.go.opencensus.io/exporter/stackdriver (/go/src/agones.dev/agones/vendor/contrib.go.opencensus.io/exporter/stackdriver/stackdriver.go:57:11: could not import cloud.google.com/go/trace/apiv2 (/go/src/agones.dev/agones/vendor/cloud.google.com/go/trace/apiv2/trace_client.go:29:15: could not import google.golang.org/genproto/googleapis/devtools/cloudtrace/v2 (/go/src/agones.dev/agones/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go:257:12: ClientConnInterface not declared by package grpc))))) /go/src/agones.dev/agones/cmd/allocator/metrics.go:21:2: could not import agones.dev/agones/pkg/metrics (/go/src/agones.dev/agones/pkg/metrics/exporter.go:24:2: could not import contrib.go.opencensus.io/exporter/stackdriver (/go/src/agones.dev/agones/vendor/contrib.go.opencensus.io/exporter/stackdriver/stackdriver.go:57:11: could not import cloud.google.com/go/trace/apiv2 (/go/src/agones.dev/agones/vendor/cloud.google.com/go/trace/apiv2/trace_client.go:29:15: could not import google.golang.org/genproto/googleapis/devtools/cloudtrace/v2 (/go/src/agones.dev/agones/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go:257:12: ClientConnInterface not declared by package grpc))))]] 
WARN [runner] Can't run linter unused: buildir: failed to load package monitoring: could not load export data: no export data for "google.golang.org/genproto/googleapis/monitoring/v3" 
ERRO Running error: buildir: failed to load package monitoring: could not load export data: no export data for "google.golang.org/genproto/googleapis/monitoring/v3" 
Makefile:362: recipe for target 'lint' failed
make: *** [lint] Error 3

Saw it. It related to the old grpc package. Fixing it now.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 1abbc16a-02e8-4336-84ec-880a46ff5ddd

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/2155/head:pr_2155 && git checkout pr_2155
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.16.0-ea89d4a

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 5d11d912-28ac-41f9-96fa-764842ad2bfb

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/2155/head:pr_2155 && git checkout pr_2155
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.16.0-dc4a67a

@cindy52
Copy link
Contributor Author

cindy52 commented Jun 24, 2021

/assign @roberthbailey

@roberthbailey roberthbailey merged commit 75db964 into googleforgames:main Jun 24, 2021
@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cindy52, roberthbailey

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@roberthbailey roberthbailey added this to the 1.16.0 milestone Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade gRPC version
4 participants