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

kolaTestIso: add coverage for '--pxe-append-rootfs' PXE tests #162

Closed

Conversation

nikita-dubrovskii
Copy link

The kola testiso command supports --pxe-append-rootfs, let's adds CI coverage for that.

Copy link
Member

@ravanelli ravanelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dustymabe
Copy link
Member

dustymabe commented Feb 27, 2025

This is certainly one way to achieve the goal of coreos/coreos-assembler#4024 but what I was thinking was that when someone runs kola testiso it's encoded in the default set of tests (like all the other permutations are). IOW using the --pxe-append-rootfs is maybe obsoleted by a test name pattern (or two) like: pxe-offline-install.bios.rootfs-appended

@@ -31,6 +32,9 @@ def call(params = [:]) {
// the signatures for the metal images won't have been created yet.
try {
shwrap("cd ${cosaDir} && cosa kola testiso --inst-insecure ${extraArgs} --output-dir ${outputDir}/${id}")
if (!params['skipPxeAppendRootfs']) {
shwrap("cd ${cosaDir} && cosa kola testiso pxe* --pxe-append-rootfs ${extraArgs} --output-dir ${outputDir}/${id}")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pxe*

I would pick one or two and not run them all in order to try to not add too much more time to our already really long runtime for testiso tests.

Copy link
Author

@nikita-dubrovskii nikita-dubrovskii Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's only up to 4 tests depending on arch. We can limit this amount by deny-listing let's say 4k tests, and i'd do it in pipeline repo, not here. Wdyt?

@dustymabe
Copy link
Member

I'm happy to merge this strategy if we think the other way is too hard/not worth the effort.

Though, something like this does make coreos/coreos-assembler#3989 harder once we try to do that.

@nikita-dubrovskii
Copy link
Author

I'm happy to merge this strategy if we think the other way is too hard/not worth the effort.

Though, something like this does make coreos/coreos-assembler#3989 harder once we try to do that.

Folding is in progress, but it won't be fast. IMO it makes sense to have these now.

@jlebon
Copy link
Member

jlebon commented Feb 27, 2025

This is certainly one way to achieve the goal of coreos/coreos-assembler#4024 but what I was thinking was that when someone runs kola testiso it's encoded in the default set of tests (like all the other permutations are). IOW using the --pxe-append-rootfs is maybe obsoleted by a test name pattern (or two) like: pxe-offline-install.bios.rootfs-appended

That would be my preference as well. If it's a switch, then:

  1. it's not possible to denylist
  2. local developers will not pay attention to it

@nikita-dubrovskii
Copy link
Author

Alternative way - coreos/coreos-assembler#4031

@nikita-dubrovskii
Copy link
Author

coreos/coreos-assembler#4031 was merged, closing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants