Skip to content

test: add coreboot boot log checks - #1272

Open
Spina7 wants to merge 1 commit into
Dasharo:developfrom
Spina7:issue-921-coreboot-base-port-log-checks
Open

test: add coreboot boot log checks#1272
Spina7 wants to merge 1 commit into
Dasharo:developfrom
Spina7:issue-921-coreboot-base-port-log-checks

Conversation

@Spina7

@Spina7 Spina7 commented May 20, 2026

Copy link
Copy Markdown

Summary

  • Adds coreboot base-port checks for common boot-log issues:
    • ASSERTION ERROR
    • missing static PCI devices (not found, disabling it.)
    • resource allocation failures (Resource didn't fit!!!)
    • BUG: messages
    • Check your devicetree.cb warnings
  • Adds a BASE_PORT_LOG_CHECK_SUPPORT flag, defaulting to false and enabled for QEMU.
  • Adds shared Robot keywords to boot Ubuntu, switch to root, collect cbmem -1, and assert that forbidden boot-log patterns are absent.

Closes #921

Verification

  • git diff --check
  • static content assertions for all new CBP test IDs and forbidden patterns
  • Robot parser check with TestSuiteBuilder().build('dasharo-compatibility/coreboot-base-port.robot')
  • python scripts/ci/test_ids/test_ids_legal.py id-valid --print-invalid
  • python scripts/ci/test_ids/test_ids_legal.py os-valid --print-invalid

Note: I could not run the full QEMU/Robot boot flow in this environment because it requires a complete OSFV testbed.

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.

1 participant