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

resolved ginkgo deprecation message #9365

Merged
merged 1 commit into from
Dec 4, 2022

Conversation

SaumyaBhushan
Copy link
Contributor

@SaumyaBhushan SaumyaBhushan commented Dec 4, 2022

workerB

fix ginkgo deprecations

What this PR does / why we need it:

change the args with the latest args in v2 of ginkgo . #9337

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • CVE Report (Scanner found CVE and adding report)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation only

Which issue/s this PR fixes

#9337

How Has This Been Tested?

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have added unit and/or e2e tests to cover my changes.
  • All new and existing tests passed.
  • Added Release Notes.

Does my pull request need a release note?

Any user-visible or operator-visible change qualifies for a release note. This could be a:

  • CLI change
  • API change
  • UI change
  • configuration schema change
  • behavioral change
  • change in non-functional attributes such as efficiency or availability, availability of a new platform
  • a warning about a deprecation
  • fix of a previous Known Issue
  • fix of a vulnerability (CVE)

No release notes are required for changes to the following:

  • Tests
  • Build infrastructure
  • Fixes for unreleased bugs

For more tips on writing good release notes, check out the Release Notes Handbook

PLACE RELEASE NOTES HERE

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 4, 2022
@k8s-ci-robot
Copy link
Contributor

Hi @SaumyaBhushan. Thanks for your PR.

I'm waiting for a kubernetes 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/test-infra repository.

@k8s-ci-robot k8s-ci-robot added needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-priority labels Dec 4, 2022
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 4, 2022
@longwuyuan
Copy link
Contributor

longwuyuan commented Dec 4, 2022

@tao12345666333 , you can see that even this contributor is getting new go.mod & go.sum because of slim-sprig and pprof. Its not only me. Please lets meet again and look at the 2 dependencies on a Zoom meeting, by creating an environment in a VM with go v1.19.2 .

@SaumyaBhushan , what is the go version in your local environment ? Also do you have ginkgo installed locally ? If yes, what is the version of ginkgo on your local environment ?

cc @rikatz

@longwuyuan
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 4, 2022
@SaumyaBhushan
Copy link
Contributor Author

@tao12345666333 It is go1.19.3 and I haven't installed ginkgo locally

@longwuyuan
Copy link
Contributor

/triage accepted
/priority important-soon
/area stabilization

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. area/stabilization Work for increasing stabilization of the ingress-nginx codebase and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority labels Dec 4, 2022
"-slow-spec-threshold=${SLOW_E2E_THRESHOLD}"
"--show-node-events"
"--poll-progress-after=180s"
# "-slow-spec-threshold=${SLOW_E2E_THRESHOLD}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this commented out? https://onsi.github.io/ginkgo/MIGRATING_TO_V2#changed--slowspecthreshold this is still supported right?

@rikatz
Copy link
Contributor

rikatz commented Dec 4, 2022

/lgtm
/approve
Thanks

@longwuyuan @SaumyaBhushan let's just keep an eye if this starts flaking the tests :)

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 4, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rikatz, SaumyaBhushan

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 4, 2022
@k8s-ci-robot k8s-ci-robot merged commit dbb765a into kubernetes:main Dec 4, 2022
@longwuyuan
Copy link
Contributor

@rikatz , I have been talking to Jintao but we did not move ahead on the topic of go.mod+go.sum changes. Now here I see this has already merged so just hoping to get an ack from you on the new indirectly dependency modules added to go.mod in this PR.

@SaumyaBhushan although this has merged, I too had that same question that Ricardo asked but I was waiting to ask it after we closed the go.mod changes topic. Now, can you please help me clearly understand why you commented out "-slow-spec-threshold=${SLOW_E2E_THRESHOLD}" . I have not checked the docs or the link that Ricardo posted yet. I hope to check myself after you comment on this.

@longwuyuan
Copy link
Contributor

@SaumyaBhushan, ignore my prrvious comment. I saw just now that the feature deprecation message is printed right there, in the very example output from a live test, that I myself posted in the issue description ;

--ginkgo.slow-spec-threshold is deprecated 

all good on that topic now.

@rikatz just discovered that that flag is deprecated in ginkgo v2.5.0 https://github.com/onsi/ginkgo/releases and we are now on v2.5.1

@SaumyaBhushan
Copy link
Contributor Author

@SaumyaBhushan, ignore my prrvious comment. I saw just now that the feature deprecation message is printed right there, in the very example output from a live test, that I myself posted in the issue description ;

--ginkgo.slow-spec-threshold is deprecated 

all good on that topic now.

@rikatz just discovered that that flag is deprecated in ginkgo v2.5.0 https://github.com/onsi/ginkgo/releases and we are now on v2.5.1

Right @longwuyuan

jaehnri pushed a commit to jaehnri/ingress-nginx that referenced this pull request Jan 2, 2023
@SaumyaBhushan SaumyaBhushan deleted the issue#9337 branch March 18, 2023 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/stabilization Work for increasing stabilization of the ingress-nginx codebase cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants