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
Refactor testiso by breaking tests and adding denylist #3298
Conversation
f8e26f3
to
5f1f7a8
Compare
@jlebon The only missing pattern is when we have "skip all" at the first field |
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.
A lot going on here. Sorry for so many comments.
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.
I'll let Dusty's comments get addressed before doing another full review.
6b4dace
to
cd7ac6b
Compare
2 global comments:
|
6ae6d9f
to
9c0e1bb
Compare
Now, should we go ahead and change the kolaTestIso in coreos-ci-lib? Or try to keep old/new style? |
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.
LGTM - a few last suggestions
Definitely something we're going to have to figure out before we merge this. Maybe we should get together to discuss the implications and best path forward. |
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.
I only gave this a superficial skim, but I like the direction!
- Make hasString and parseDenyListYaml public accessible, in order to use it as part of testiso too. Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
- This is an initial step in order to try to merge kola tests and testiso, much more work will be needed to create a final solution. Nonetheless, for now let's start by breaking the tests and adding the same denylist for both. - kola testiso now allows: - multipath, 4k, iso, pxe and firmware explicit tests; - Denylist for the pattern above and by test. Example: Add the following patterns in `kola-denylist.yaml` to deny it: - pattern: iso-as-disk.* - pattern: iso-as-iso-live-login.*.4k - pattern: iso-offline-install.ppcfw.* Signed-off-by: Renata Andrade Matos Ravanelli <rravanel@redhat.com>
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.
Rebased to fix trivial conflict! There's one last piece missing and otherwise I think we're ready to go! To summarize, all the following PRs will be merged at the same time:
- Refactor testiso by breaking tests and adding denylist #3298 (this PR)
- [4.12] Backport: Refactor testiso by breaking tests and adding denylist #3343
- [4.11] Backport: Refactor testiso by breaking tests and adding denylist #3342
- [4.10] Backport: Refactor testiso by breaking tests and adding #3338
- [4.9] Backport: Refactor testiso by breaking tests and adding denylist #3320
- kolaTestIso: Update to reflect new kola testiso in coreos-assembler coreos-ci-lib#143
- ci/prow-entrypoint: simplify
kola testiso
invocation openshift/os#1172
Discussed this with @ravanelli. To lower the risk, we're going to do this early next week, after the FCOS releases are built.
Restarted CoreOS CI, which failed on a flake. Prow failure is unrelated, but actually we will also need to update https://github.com/openshift/os/blob/b7f60fc65851cdb01e21edfbcf0213d3aac4eebf/ci/prow-entrypoint.sh#L136-L149 as part of this. /test rhcos |
We've reworked `kola testiso` so that things like BIOS, UEFI, Secure Boot, multipath, metal4k variants are tested by default when you just call `kola testiso`: coreos/coreos-assembler#3298 This will increase the number of tests this code currently runs. We can always trim it back down with `--denylist-test` in the future if wanted.
Opened openshift/os#1172 and added it to #3298 (review). |
/retest |
🎉 Let's merge this so that we can sanity-check it in the pipelines and then merge the backports. Nice work @ravanelli! |
- This is an initial step in order to try to merge kola tests and testiso, much more work will be needed to create a final solution. Nonetheless, for now let's start by breaking the tests and adding the same denylist for both. - kola testiso now allows: - multipath, 4k, iso, pxe and firmware explicit tests; - Denylist for the pattern above and by test. Example: Add the following patterns in `kola-denylist.yaml` to deny it: - pattern: iso-as-disk.* - pattern: iso-as-iso-live-login.*.4k - pattern: iso-offline-install.ppcfw.* This patch is a backport of: #3298 Backport: * Patch refresh - no functional change. Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
- This is an initial step in order to try to merge kola tests and testiso, much more work will be needed to create a final solution. Nonetheless, for now let's start by breaking the tests and adding the same denylist for both. - kola testiso now allows: - multipath, 4k, iso, pxe and firmware explicit tests; - Denylist for the pattern above and by test. Example: Add the following patterns in `kola-denylist.yaml` to deny it: - pattern: iso-as-disk.* - pattern: iso-as-iso-live-login.*.4k - pattern: iso-offline-install.ppcfw.* This patch is a backport of: #3298 Backport: * Patch refresh - no functional change. Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
It seems this broke coreos-installer upstream CI by removing |
This patch is a backport of #3298 Backport: * Patch refresh - no functional change. Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
- This is an initial step in order to try to merge kola tests and testiso, much more work will be needed to create a final solution. Nonetheless, for now let's start by breaking the tests and adding the same denylist for both. - kola testiso now allows: - multipath, 4k, iso, pxe and firmware explicit tests; - Denylist for the pattern above and by test. Example: Add the following patterns in `kola-denylist.yaml` to deny it: - pattern: iso-as-disk.* - pattern: iso-as-iso-live-login.*.4k - pattern: iso-offline-install.ppcfw.* This patch is a backport of: #3298 Backport: * Patch refresh - no functional change. Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
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.
edited... just looking at code.
This patch is a backport of #3298 Backport: * Patch refresh - no functional change. Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
- This is an initial step in order to try to merge kola tests and testiso, much more work will be needed to create a final solution. Nonetheless, for now let's start by breaking the tests and adding the same denylist for both. - kola testiso now allows: - multipath, 4k, iso, pxe and firmware explicit tests; - Denylist for the pattern above and by test. Example: Add the following patterns in `kola-denylist.yaml` to deny it: - pattern: iso-as-disk.* - pattern: iso-as-iso-live-login.*.4k - pattern: iso-offline-install.ppcfw.* This patch is a backport of: #3298 Backport: * Patch refresh - no functional change. Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
Submitted PRs to upstream CIs that used non-default options in: |
We've reworked `kola testiso` so that things like BIOS, UEFI, Secure Boot, multipath, metal4k variants are tested by default when you just call `kola testiso`: coreos/coreos-assembler#3298 This will increase the number of tests this code currently runs. We can always trim it back down with `--denylist-test` in the future if wanted.
We've reworked `kola testiso` so that things like BIOS, UEFI, Secure Boot, multipath, metal4k variants are tested by default when you just call `kola testiso`: coreos/coreos-assembler#3298 This will increase the number of tests this code currently runs. We can always trim it back down with `--denylist-test` in the future if wanted.
We've reworked `kola testiso` so that things like BIOS, UEFI, Secure Boot, multipath, metal4k variants are tested by default when you just call `kola testiso`: coreos/coreos-assembler#3298 This will increase the number of tests this code currently runs. We can always trim it back down with `--denylist-test` in the future if wanted. (cherry picked from commit b67ab07)
Fix #3177
Refactor testiso tests
This is an initial step in order to try to merge kola tests and testiso,
much more work will be needed to create a final solution. Nonetheless,
for now let's start by breaking the tests and adding the same denylist
for both.
kola testiso now allows:
Example:
Add the following in
kola-denylist.yaml
to deny it: