Skip to content

Add a description to the SystemReady Devicetree categories#635

Open
vstehle wants to merge 2 commits intoARM-software:mainfrom
vstehle:cats
Open

Add a description to the SystemReady Devicetree categories#635
vstehle wants to merge 2 commits intoARM-software:mainfrom
vstehle:cats

Conversation

@vstehle
Copy link
Contributor

@vstehle vstehle commented Feb 6, 2026

This is done in two steps:

  1. Add a schema to capture the original format of test_categoryDT.json as it is
  2. Add the descriptions while updating the schema

Ultimately those descriptions should end up into the tests results JSON and HTML files, to be visible by test engineers.

The schema is not applicable to test_category.json as the formats differ.

Add a JSON schema describing the format of test_categoryDT.json.

The following example command can be used for validation, from the
common/log_parser folder:

  $ check-jsonschema --schemafile test_categoryDT-schema.json \
      test_categoryDT.json

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Add a `Description' field to each test suite in test_categoryDT.json.

This is meant to help test engineers better understand the implication of
each test suite's failures on system quality.

The JSON format does not allow to break long lines. Therefore, to keep the
file human-readable, the description is recorded as an array of strings,
with one string corresponding to one sentence.

While at it, update the schema.

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
@vstehle
Copy link
Contributor Author

vstehle commented Feb 6, 2026

Hi @chetan-rathore and @pergar01, could you please have a look?

Test suites are never perfectly documented regarding what they test exactly. Therefore, feel free to add even more details.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks @vstehle for adding the schema. The schema should be placed in common/tools directory.

"The Base Boot Requirements (BBR) Platform Design Document specifies requirements for boot and runtime services that operating systems and hypervisors can rely on.",
"The SystemReady Devicetree band recommends compliance with BBR requirements on SMBIOS data structures.",
"Failures are not expected to prevent an OS from booting.",
"https://github.com/ARM-software/arm-systemready/blob/main/common/log_parser/standalone_tests/logs_to_json.py"
Copy link
Contributor

Choose a reason for hiding this comment

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

Since SMBIOS test is run as part of SCT, this link should point to https://github.com/tianocore/edk2-test

"Description": [
"The SystemReady Devicetree band recommends network boot support.",
"Failures may have only minor effects, or may prevent an OS to boot from the network.",
"https://github.com/ARM-software/arm-systemready/blob/main/common/log_parser/standalone_tests/logs_to_json.py"
Copy link
Contributor

Choose a reason for hiding this comment

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

"Description": [
"The SystemReady Devicetree band defines requirements on the Devicetree presented to an OS.",
"Failures may have only minor effects, or may prevent an OS to boot.",
"https://github.com/ARM-software/arm-systemready/blob/main/common/log_parser/standalone_tests/logs_to_json.py"
Copy link
Contributor

Choose a reason for hiding this comment

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

As part of Peripherals standalone, the linux DT kselftest is run..we can point to https://docs.kernel.org/dev-tools/testing-devices.html

"Description": [
"The SystemReady Devicetree band recommends support for A/B firmware update.",
"Failures may have only minor effects, or may prevent reliable firmware update.",
"https://github.com/ARM-software/arm-systemready/blob/main/common/log_parser/standalone_tests/logs_to_json.py"
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not tested by ACS at this point, we can specify that

"The EBBR specification defines a subset of UEFI provided to an OS.",
"This comprises requirements when firmware is updated in-band.",
"Failures may have only minor effects, or may prevent firmware update.",
"https://github.com/ARM-software/arm-systemready/blob/main/common/log_parser/standalone_tests/logs_to_json.py"
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

@chetan-rathore chetan-rathore left a comment

Choose a reason for hiding this comment

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

Thanks Vincent for adding description for each test category. There are some minor comments from acs side, if its fine with you ACS can make the changes on top of the PR

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.

2 participants