test: remove programmatic skips #4271
Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign aglitke for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
<details open>
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
</details>
<!-- META={"approvers":["aglitke"]} -->
/test pull-containerized-data-importer-e2e-ceph
/test pull-containerized-data-importer-e2e-ceph
/test pull-containerized-data-importer-e2e-ceph
/test pull-containerized-data-importer-e2e-ceph
/test pull-containerized-data-importer-e2e-ceph
/test pull-containerized-data-importer-e2e-ceph
/test pull-containerized-data-importer-e2e-ceph-wffc pull-containerized-data-importer-e2e-hpp-latest pull-containerized-data-importer-e2e-istio

coverage: 49.774% (+0.04%) from 49.738% — dsanatar:remove-test-skips into kubevirt:main
Instead of doing the
if cloneType == "copy" {
...
And the other clone types. Would it make sense to simply define a few more targeted functions, and call those from the appropriate location?
I guess no named label for this one since it is just the one?
yea agreed, I think that would look cleaner
yea exactly, I can add in a new one even if it's just for this one instance if you'd like. I was probably just being lazy here
PR needs rebase.
<details>
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.
</details>
awels
dsanatar
<!-- Thanks for sending a pull request! Here are some tips for you:
1. Follow the instructions for writing a release note from k8s: https://git.k8s.io/community/contributors/guide/release-notes.md
-->
What this PR does / why we need it:
Removes all remaining programmatic skips in our functional tests and replaces them with ginkgo labels. We can use these labels to skip tests before they run rather than having to perform test setup and potentially skip and exit early.
Updates to the runner script
run-functional-tests.shto dynamically query the capabilities of the running cluster prior to test execution. From these capabilities, we can build a list label groupings that should be skipped based on whether the cluster will fail to meet the requirements of a given test. These labels will then be passed in to the ginkgo--label-filterargumentWhich issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note:
<!-- Write your release note:
1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required".
2. If no release note is required, just write "NONE".
-->
``
release-note
``NONE