Skip to content

CI: pr-cve-check broken - cve-check.bbclass removed from OE-core master #15461

@rpcme

Description

@rpcme

Problem

The pr-cve-check workflow fails on all PRs targeting master-next with:

ParseError in configuration INHERITs: Could not inherit file classes/cve-check.bbclass

Root Cause

OE-core master removed cve-check.bbclass on March 31, 2026 in commit 00de455 by Ross Burton. The class has been replaced by sbom-cve-check (Bootlin).

Our workflow clones OE-core at master HEAD and uses INHERIT += "cve-check", which no longer exists.

Impact

  • All PRs to master-next have a failing pr-cve-check status
  • No CVE scanning on PRs until fixed
  • The nightly-cve-check workflow is likely also affected

Fix

Migrate pr-cve-check.yml (and nightly-cve-check.yml if affected) to use sbom-cve-check which is now integrated into OE-core via the SPDX classes.

Key changes needed:

  • Replace INHERIT += "cve-check" with the sbom-cve-check equivalent
  • Replace bitbake -c cve_check with the new scanning command
  • Update result parsing (output format may differ)

Workaround

The pr-cve-check workflow has been temporarily disabled until migration is complete.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingciCI/CD workflows and automation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions