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

enable ginkgolinter and fix findings #6421

Merged
merged 1 commit into from
May 18, 2023

Conversation

nunnatsa
Copy link
Contributor

@nunnatsa nunnatsa commented May 6, 2023

Description of the change

enable ginkgolinter and fix findings.

Motivation for the change

Improve test code quality and prevent some bug, when using ginkgo and gomega.

Checklist

If the pull request includes user-facing changes, extra documentation is required:

@openshift-ci openshift-ci bot requested review from grokspawn and oceanc80 May 6, 2023 09:18
@nunnatsa nunnatsa temporarily deployed to deploy May 11, 2023 18:17 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 11, 2023 18:17 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 11, 2023 18:17 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 11, 2023 18:17 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 11, 2023 18:17 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 11, 2023 18:17 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 11, 2023 18:17 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 11, 2023 18:17 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 11, 2023 18:17 — with GitHub Actions Inactive
Copy link
Member

@varshaprasad96 varshaprasad96 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 11, 2023
@varshaprasad96
Copy link
Member

@nunnatsa looks like the scorecard tests are failing. At a glance looks like the changes in scorecard/ files is as expected. This may also be a flake, hence restarting the tests.

@nunnatsa
Copy link
Contributor Author

@varshaprasad96 thsnks. I think this test is broken. It constantly fails in my other pr, and also locally from the master branch.

Copy link
Contributor

@everettraven everettraven left a comment

Choose a reason for hiding this comment

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

Thanks for this PR @nunnatsa! All the changes look good to me!

/lgtm

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label May 16, 2023
@nunnatsa
Copy link
Contributor Author

@grokspawn @varshaprasad96 @everettraven - rebased to unblock the CI. Could you please approve again?

@nunnatsa nunnatsa temporarily deployed to deploy May 16, 2023 14:29 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 16, 2023 14:29 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 16, 2023 14:29 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 16, 2023 14:29 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 16, 2023 14:29 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 16, 2023 14:29 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 16, 2023 14:29 — with GitHub Actions Inactive
Copy link
Contributor

@everettraven everettraven left a comment

Choose a reason for hiding this comment

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

/lgtm

@everettraven everettraven temporarily deployed to deploy May 16, 2023 16:42 — with GitHub Actions Inactive
@everettraven everettraven temporarily deployed to deploy May 16, 2023 16:43 — with GitHub Actions Inactive
@everettraven everettraven temporarily deployed to deploy May 16, 2023 16:43 — with GitHub Actions Inactive
@everettraven everettraven temporarily deployed to deploy May 16, 2023 16:44 — with GitHub Actions Inactive
@everettraven everettraven temporarily deployed to deploy May 16, 2023 16:45 — with GitHub Actions Inactive
@nunnatsa
Copy link
Contributor Author

Not sure closing and reopening is enough. I'll rebase

@everettraven
Copy link
Contributor

@nunnatsa Closing and reopening worked. The current failures are unrelated and shouldn't block this PR

@everettraven
Copy link
Contributor

For reference on the failing tests, I created separate issues to track their fixes (#6434 + #6433) and suggest that for the time being we override them where it makes sense

Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label May 16, 2023
@openshift-ci
Copy link

openshift-ci bot commented May 16, 2023

New changes are detected. LGTM label has been removed.

@nunnatsa
Copy link
Contributor Author

rebased anyway. @everettraven - sorry - missed your coment.

@nunnatsa
Copy link
Contributor Author

@varshaprasad96, @grokspawn - could you please take another look?

@nunnatsa nunnatsa temporarily deployed to deploy May 18, 2023 12:24 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 18, 2023 12:24 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 18, 2023 12:24 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 18, 2023 12:24 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 18, 2023 12:24 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 18, 2023 12:24 — with GitHub Actions Inactive
@nunnatsa nunnatsa temporarily deployed to deploy May 18, 2023 12:24 — with GitHub Actions Inactive
@grokspawn
Copy link
Contributor

/ok-to-test

@openshift-ci openshift-ci bot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label May 18, 2023
@grokspawn
Copy link
Contributor

/override ansible/e2e-molecule
/override sanity/docs

These are unrelated; tracked separately by #6433 and #6434

@openshift-ci
Copy link

openshift-ci bot commented May 18, 2023

@grokspawn: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • ansible/e2e-molecule
  • sanity/docs

Only the following failed contexts/checkruns were expected:

  • DCO
  • docs
  • e2e
  • e2e-molecule
  • goreleaser
  • integration
  • netlify/operator-sdk/deploy-preview
  • unit

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to this:

/override ansible/e2e-molecule
/override sanity/docs

These are unrelated; tracked separately by #6433 and #6434

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.

@grokspawn
Copy link
Contributor

/override docs
/override e2e-molecule

(see above)

@openshift-ci
Copy link

openshift-ci bot commented May 18, 2023

@grokspawn: Overrode contexts on behalf of grokspawn: docs, e2e-molecule

In response to this:

/override docs
/override e2e-molecule

(see above)

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.

@grokspawn grokspawn merged commit 5a1acbf into operator-framework:master May 18, 2023
@nunnatsa
Copy link
Contributor Author

🎉

@nunnatsa nunnatsa deleted the enable-ginkgolinter branch May 18, 2023 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Indicates a non-member PR verified by an org member that is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants