Skip to content

Conversation

nikita-dubrovskii
Copy link
Contributor

@nikita-dubrovskii nikita-dubrovskii commented Sep 26, 2025

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.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a 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.

aaradhak
aaradhak previously approved these changes Sep 26, 2025
Copy link
Member

@aaradhak aaradhak left a comment

Choose a reason for hiding this comment

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

/lgtm

@aaradhak aaradhak enabled auto-merge (rebase) September 26, 2025 14:09
@nikita-dubrovskii
Copy link
Contributor Author

Looks like this change doesn't prevent running on scos.

@aaradhak
Copy link
Member

Ref :coreos/rhel-coreos-config#76

@jbtrystram
Copy link
Member

Looks like this change doesn't prevent running on scos.

Yeah , right now kola makes scos == rhcos.

if kola.Options.Distribution == "" {
kola.Options.Distribution = kolaDistros[0]
} else if kola.Options.Distribution == "scos" {
// Consider SCOS the same as RHCOS for now
kola.Options.Distribution = "rhcos"
} else if err := validateOption("distro", kola.Options.Distribution, kolaDistros); err != nil {
return err

Maybe it's time to change that ?

jbtrystram added a commit to jbtrystram/rhel-coreos-config that referenced this pull request Sep 29, 2025
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
@nikita-dubrovskii nikita-dubrovskii changed the title kola: run luks.cex test only on RHCOS.s390x kola: separate SCOS and RHCOS distros Sep 29, 2025

// TargetDistroFromName returns the distribution given
// the path to an artifact (usually a disk image).
func TargetDistroFromName(artifact string) string {
Copy link
Contributor Author

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.
@nikita-dubrovskii
Copy link
Contributor Author

related to this: #4338

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.

3 participants