gcp-filestore-csi-driver icon indicating copy to clipboard operation
gcp-filestore-csi-driver copied to clipboard

Fix GCP tags UTs to not look for auth

Open bharath-b-rh opened this issue 1 year ago • 11 comments

What type of PR is this?

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

/kind api-change /kind bug /kind cleanup /kind design /kind documentation /kind failing-test /kind feature /kind flake

What this PR does / why we need it: Unit tests written for GCP tags was expecting the creds to be present which should not be case and hence the dependency is removed. And instead for UTs WithoutAuthentication is used.

Which issue(s) this PR fixes:

Fixes

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

None

bharath-b-rh avatar Jul 15 '24 11:07 bharath-b-rh

Hi @bharath-b-rh. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

k8s-ci-robot avatar Jul 15 '24 11:07 k8s-ci-robot

@mattcary Could I request your review, PTAL. Thank you in advance!

bharath-b-rh avatar Jul 30 '24 05:07 bharath-b-rh

/ok-to-test

leiyiz avatar Jul 31 '24 17:07 leiyiz

@leiyiz Could you please add cherry-pick release-1.6 label too, if the changes are satisfactory.

bharath-b-rh avatar Aug 01 '24 06:08 bharath-b-rh

@leiyiz ^^

bharath-b-rh avatar Aug 06 '24 10:08 bharath-b-rh

Hi, similar to what I said on the cherry-pick CL, is this necessary to cherry-pick?

mattcary avatar Aug 06 '24 15:08 mattcary

Hi, similar to what I said on the cherry-pick CL, is this necessary to cherry-pick?

Yeah, this would be helpful to check unit tests in environment where GCP auth is not provided and since the changes are specific to unit tests, it will not change the actual behavior.

bharath-b-rh avatar Aug 06 '24 15:08 bharath-b-rh

Yeah, this would be helpful to check unit tests in environment where GCP auth is not provided and since the changes are specific to unit tests, it will not change the actual behavior.

Ok, we'll have to take a close look, the GKE backport policy is strict.

mattcary avatar Aug 06 '24 16:08 mattcary

Yeah, this would be helpful to check unit tests in environment where GCP auth is not provided and since the changes are specific to unit tests, it will not change the actual behavior.

Ok, we'll have to take a close look, the GKE backport policy is strict.

Thank you!

bharath-b-rh avatar Aug 07 '24 13:08 bharath-b-rh

@leiyiz Could you please take a look.

bharath-b-rh avatar Aug 27 '24 03:08 bharath-b-rh

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Nov 25 '24 04:11 k8s-triage-robot

/remove-lifecycle stale

bharath-b-rh avatar Nov 25 '24 06:11 bharath-b-rh

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Feb 23 '25 07:02 k8s-triage-robot

/remove-lifecycle stale

bharath-b-rh avatar Feb 24 '25 04:02 bharath-b-rh

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar May 25 '25 05:05 k8s-triage-robot

/remove-lifecycle stale

bharath-b-rh avatar May 26 '25 11:05 bharath-b-rh

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Aug 24 '25 12:08 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle rotten
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Sep 23 '25 12:09 k8s-triage-robot

@mattcary Could we merge this to master? This has appeared in OpenShift also. We don't need cherry-pick to older versions.

dfajmon avatar Sep 30 '25 15:09 dfajmon

/remove-lifecycle rotten

jsafrane avatar Sep 30 '25 15:09 jsafrane

/ok-to-test

riteshghorse avatar Oct 17 '25 07:10 riteshghorse

@savirg can you please take a look at https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/kubernetes-sigs_gcp-filestore-csi-driver/905/pull-gcp-filestore-csi-driver-verify/1979090876411940864

riteshghorse avatar Oct 17 '25 07:10 riteshghorse

/retest

riteshghorse avatar Oct 17 '25 07:10 riteshghorse

/lgtm

riteshghorse avatar Oct 17 '25 07:10 riteshghorse

/test pull-gcp-filestore-csi-driver-verify

bharath-b-rh avatar Oct 17 '25 11:10 bharath-b-rh

The verify job is failing due to a change made in a different commit which is being flagged now by the linter.

bharath-b-rh avatar Oct 17 '25 11:10 bharath-b-rh

@savirg can you please take a look at https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/kubernetes-sigs_gcp-filestore-csi-driver/905/pull-gcp-filestore-csi-driver-verify/1979090876411940864

Raised https://github.com/kubernetes-sigs/gcp-filestore-csi-driver/pull/1178 to fix this.

savirg avatar Oct 21 '25 10:10 savirg

@bharath-b-rh could you rebase the pr and try to run the tests again?

savirg avatar Oct 23 '25 16:10 savirg

@savirg I have rebased the PR. PTAL. Thank you!

bharath-b-rh avatar Oct 27 '25 04:10 bharath-b-rh

/test pull-gcp-filestore-csi-driver-kubernetes-integration

bharath-b-rh avatar Oct 27 '25 07:10 bharath-b-rh