-
Notifications
You must be signed in to change notification settings - Fork 183
kola: separate SCOS and RHCOS distros #4334
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
base: main
Are you sure you want to change the base?
Conversation
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.
Code Review
This pull request correctly restricts the luks.cex
test to run only on the RHCOS distribution, which aligns with the stated goal. The change is simple and effective. The removal of a blank line in mantle/kola/tests/ignition/qemufailure.go
is a minor, harmless stylistic cleanup.
1704772
to
7c7e030
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.
/lgtm
Looks like this change doesn't prevent running on |
Yeah , right now kola makes scos == rhcos. coreos-assembler/mantle/cmd/kola/options.go Lines 371 to 377 in e2f878d
Maybe it's time to change that ? |
This test requires some magic that only exists on RHCOS s390x builders. Let's denylist these tests to unblock the pipeline until we fix cosa to know to ignore centos for this. Tracking issue coreos#76 See coreos/coreos-assembler#4334
7c7e030
to
a986e45
Compare
mantle/util/distros.go
Outdated
|
||
// TargetDistroFromName returns the distribution given | ||
// the path to an artifact (usually a disk image). | ||
func TargetDistroFromName(artifact string) string { |
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.
This function looks unused, maybe drop it?
Despite SCOS and RHCOS being largely similar, certain features (such as s390x Secure Execution and LUKS-CEX) are only supported on RHCOS. It does not make sense to run RHCOS-only tests on SCOS.
Test requires some magic https://github.com/coreos/fedora-coreos-pipeline/blob/main/multi-arch-builders/coreos-s390x-rhcos-builder.bu#L107, which only exists on RHCOS builders.
a986e45
to
ba70ffc
Compare
related to this: #4338 |
Despite SCOS and RHCOS being largely similar, certain features (such as s390x Secure Execution and LUKS-CEX) are only supported on RHCOS.
It does not make sense to run RHCOS-only tests on SCOS, as they may fail, specially on s390x, where some magic is required.