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: select node for late binding tests #252

Merged

Conversation

pohly
Copy link
Contributor

@pohly pohly commented Mar 1, 2021

What type of PR is this?
/kind failing-test

What this PR does / why we need it:

The generic ephemeral volume test runs with a variant that uses late
binding and that failed when the selected node didn't have the driver:

E0301 08:28:16.192962       1 controller.go:984] error syncing claim "17c6176b-3ea7-4363-bc35-eb25c2c20f4e": failed to provision volume with StorageClass "ephemeral-9299-e2e-scmtzhx": error generating accessibility requirements: no topology key found on CSINode csi-prow-worker2

The in-tree hostpath driver deployment avoids that by setting the node
on which test pods may run:
https://github.com/kubernetes/kubernetes/blob/793390e13be91d79150b57abad5710477ab96bd7/test/e2e/storage/drivers/csi.go#L193

We need to do the same when testing the driver externally.

Which issue(s) this PR fixes:

https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-csi-alpha-canary-on-kubernetes-master/1366289824465555456

Does this PR introduce a user-facing change?:

NONE

The generic ephemeral volume test runs with a variant that uses late
binding and that failed when the selected node didn't have the driver:

E0301 08:28:16.192962       1 controller.go:984] error syncing claim "17c6176b-3ea7-4363-bc35-eb25c2c20f4e": failed to provision volume with StorageClass "ephemeral-9299-e2e-scmtzhx": error generating accessibility requirements: no topology key found on CSINode csi-prow-worker2

The in-tree hostpath driver deployment avoids that by setting the node
on which test pods may run:
https://github.com/kubernetes/kubernetes/blob/793390e13be91d79150b57abad5710477ab96bd7/test/e2e/storage/drivers/csi.go#L193

We need to do the same when testing the driver externally.
@k8s-ci-robot k8s-ci-robot added kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. release-note-none Denotes a PR that doesn't merit a release note. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 1, 2021
@k8s-ci-robot k8s-ci-robot requested review from msau42 and saad-ali March 1, 2021 10:04
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 1, 2021
@jsafrane
Copy link
Contributor

jsafrane commented Mar 1, 2021

/lgtm
/approve

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jsafrane, pohly

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 Mar 1, 2021
@k8s-ci-robot k8s-ci-robot merged commit 2d6e697 into kubernetes-csi:master Mar 1, 2021
humblec added a commit to humblec/csi-driver-host-path that referenced this pull request May 24, 2024
4967685 Merge pull request kubernetes-csi#254 from bells17/add-github-actions
d9bd160 Update skip list in codespell GitHub Action
adb3af9 Merge pull request kubernetes-csi#252 from bells17/update-go-version
f5aebfc Add GitHub Actions workflows
b82ee38 Merge pull request kubernetes-csi#253 from bells17/fix-typo
c317456 Fix typo
0a78505 Bump to Go 1.22.3
edd89ad Merge pull request kubernetes-csi#251 from jsafrane/add-logcheck
043fd09 Add test-logcheck target
d7535ae Merge pull request kubernetes-csi#250 from jsafrane/go-1.22
b52e7ad Update go to 1.22.2
14fdb6f Merge pull request kubernetes-csi#247 from msau42/prow
9b4352e Update release playbook
c7bb972 Fix release notes script to use fixed tags
463a0e9 Add script to update specific go modules

git-subtree-dir: release-tools
git-subtree-split: 4967685
TerryHowe pushed a commit to TerryHowe/csi-driver-host-path that referenced this pull request Oct 17, 2024
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. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants