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

tests/trust-cpu: support v6.x kernels #1286

Merged
merged 1 commit into from
May 18, 2023

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented May 18, 2023

RHEL 10 will have a v6.x kernel (and RHEL 9.6 and onwards as an option). We'd like to do some early testing of RHCOS and OCP with that kernel since it also includes other major changes such as a new RPM name (kernel-redhat).

Adapt this test to run fine on 6.x kernels, automatically noop'ing on versions where we know CONFIG_RANDOM_TRUST_CPU was removed as per coreos/fedora-coreos-tracker#1369.

While we're here, use architectures to gate the whole test on x86_64 rather than noop'ing at runtime.

RHEL 10 will have a v6.x kernel (and RHEL 9.6 and onwards as an option).
We'd like to do some early testing of RHCOS and OCP with that kernel
since it also includes other major changes such as a new RPM name
(`kernel-redhat`).

Adapt this test to run fine on 6.x kernels, automatically noop'ing on
versions where we know `CONFIG_RANDOM_TRUST_CPU` was removed as per
coreos/fedora-coreos-tracker#1369.

While we're here, use `architectures` to gate the whole test on x86_64
rather than noop'ing at runtime.
@openshift-ci openshift-ci bot requested review from ashcrow and bgilbert May 18, 2023 19:46
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 18, 2023
fi
ok "random trust cpu" ;;
*) echo "Don't know how to test hardware RNG state on arch=$(arch)" ;;
*) echo "CPU trusting is always enabled" ;;
Copy link
Member

Choose a reason for hiding this comment

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

We're just trusting the trusting here...

@cgwalters
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 18, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 18, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, jlebon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

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

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 18, 2023

@jlebon: all tests passed!

Full PR test history. Your PR dashboard.

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/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit 2fe5aff into openshift:master May 18, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants