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

test/e2e: wait for CRD deletion to complete #1116

Merged

Conversation

marquiz
Copy link
Contributor

@marquiz marquiz commented Apr 5, 2023

Wait for the deletion of NFD CRDs to complete before trying to re-create them. Prevents errors in case CRDs already exist on the cluster when e2e-tests are launched.

Wait for the deletion of NFD CRDs to complete before trying to re-create
them. Prevents errors in case CRDs already exist on the cluster when
e2e-tests are launched.
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: marquiz

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 requested review from fmuyassarov and kad April 5, 2023 12:58
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 5, 2023
@netlify
Copy link

netlify bot commented Apr 5, 2023

Deploy Preview for kubernetes-sigs-nfd ready!

Name Link
🔨 Latest commit 5793207
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-nfd/deploys/642d706566add7000782e4dd
😎 Deploy Preview https://deploy-preview-1116--kubernetes-sigs-nfd.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 5, 2023
@marquiz
Copy link
Contributor Author

marquiz commented Apr 5, 2023

/assign @ArangoGutierrez

@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 5, 2023
@ArangoGutierrez
Copy link
Contributor

Got this error while running the e2e locally, weird... given this patch doesn't touch that section

Summarizing 1 Failure:
  [FAIL] [kubernetes-sigs] NFD master and worker when running NFD with NodeFeature CRD API enabled when deploying a single nfd-master pod and NodeFeature objects deployed [It] denied labels should not be created by the NodeFeature object
  /home/eduardo/SDK/github/kubernetes-sigs/node-feature-discovery/test/e2e/node_feature_discovery_test.go:659

Ran 12 of 263 Specs in 381.548 seconds
FAIL! -- 11 Passed | 1 Failed | 0 Pending | 251 Skipped
--- FAIL: TestE2E (381.55s)

@ArangoGutierrez
Copy link
Contributor

Got this error while running the e2e locally, weird... given this patch doesn't touch that section

Summarizing 1 Failure:
  [FAIL] [kubernetes-sigs] NFD master and worker when running NFD with NodeFeature CRD API enabled when deploying a single nfd-master pod and NodeFeature objects deployed [It] denied labels should not be created by the NodeFeature object
  /home/eduardo/SDK/github/kubernetes-sigs/node-feature-discovery/test/e2e/node_feature_discovery_test.go:659

Ran 12 of 263 Specs in 381.548 seconds
FAIL! -- 11 Passed | 1 Failed | 0 Pending | 251 Skipped
--- FAIL: TestE2E (381.55s)

After rebasing this patch on top of current master, all works as expected
/lgtm

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

LGTM label has been added.

Git tree hash: 9845be64bc76f92ff36242661f28a881d3b09236

@k8s-ci-robot k8s-ci-robot merged commit 60f052f into kubernetes-sigs:master Apr 5, 2023
@marquiz marquiz deleted the devel/e2e-crd-deletion branch April 5, 2023 19:20
@marquiz marquiz mentioned this pull request Apr 12, 2023
24 tasks
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. 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. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants