-
Notifications
You must be signed in to change notification settings - Fork 122
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: Create functional test for different KubevirtCI cluster configu… #1253
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @aerosouund. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with 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. |
9c1a2ea
to
35e4c1c
Compare
…rations This should run as a CI lane. It will repetitively up and down clusters with the following features in the order they are named in KSM and Swap ETCD in memory NFS CSI Rook Ceph Signed-off-by: aerosouund <[email protected]>
35e4c1c
to
f3e8560
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 points that come to my mind:
- Why don't we write Go test suite?
- We should add assert (specific to the option)
# Test KSM and Swap | ||
export KUBEVIRT_KSM_ON="true" | ||
export KUBEVIRT_KSM_SLEEP_BETWEEN_SCANS_MS=20 | ||
export KUBEVIRT_KSM_PAGES_TO_SCAN=10 | ||
|
||
export KUBEVIRT_SWAP_ON="true" | ||
export KUBEVIRT_SWAP_SIZE_IN_GB=1 | ||
|
||
trap cleanup EXIT ERR SIGINT SIGTERM SIGQUIT | ||
make cluster-up | ||
${ksh} get nodes | ||
make cluster-down |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can probably use new shell so the envs would be unset?
Add tests for rook and nfs-csi and configure check cluster opts script to build ginkgo from vendor directory and run the tests in separate shell environments Signed-off-by: aerosouund <[email protected]>
@aerosouund: The following tests failed, say
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. I understand the commands that are listed here. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with /lifecycle rotten |
What this PR does / why we need it:
Creates a test script that covers more cases for kubevirtCI cluster configurations to improve bug detection