Skip to content

Fix system_with_kernel applicability on Amazon Linux 2023#14819

Open
0intro wants to merge 1 commit into
ComplianceAsCode:masterfrom
0intro:fix-al2023-system-with-kernel
Open

Fix system_with_kernel applicability on Amazon Linux 2023#14819
0intro wants to merge 1 commit into
ComplianceAsCode:masterfrom
0intro:fix-al2023-system-with-kernel

Conversation

@0intro

@0intro 0intro commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

The system_with_kernel CPE OVAL tested for the kernel-core package, which Amazon Linux 2023 does not provide (it ships kernel). system_with_kernel therefore evaluated false on AL2023, and every rule gated on it (the bulk of the profile) was marked not applicable.

Mirror the logic already used by the bash and ansible conditionals in system_with_kernel.yml: test kernel-core on Fedora and RHEL, and kernel elsewhere (including AL2023).

The system_with_kernel CPE OVAL tested for the kernel-core package, which
Amazon Linux 2023 does not provide (it ships kernel). system_with_kernel
therefore evaluated false on AL2023, and every rule gated on it (the bulk
of the profile) was marked not applicable.

Mirror the logic already used by the bash and ansible conditionals in
system_with_kernel.yml: test kernel-core on Fedora and RHEL, and kernel
elsewhere (including AL2023).
@openshift-ci

openshift-ci Bot commented Jun 23, 2026

Copy link
Copy Markdown

Hi @0intro. Thanks for your PR.

I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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-sigs/prow repository.

@openshift-ci openshift-ci Bot added the needs-ok-to-test Used by openshift-ci bot. label Jun 23, 2026
@Mab879 Mab879 added this to the 0.1.82 milestone Jun 23, 2026
@Mab879

Mab879 commented Jun 23, 2026

Copy link
Copy Markdown
Member

/ok-to-test

@openshift-ci openshift-ci Bot added ok-to-test Used by openshift-ci bot. and removed needs-ok-to-test Used by openshift-ci bot. labels Jun 23, 2026
@openshift-ci

openshift-ci Bot commented Jun 23, 2026

Copy link
Copy Markdown

@0intro: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-openshift-node-compliance 8fe590e link true /test e2e-aws-openshift-node-compliance
ci/prow/e2e-aws-openshift-platform-compliance 8fe590e link true /test e2e-aws-openshift-platform-compliance

Full PR test history. Your PR dashboard.

Details

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Used by openshift-ci bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants