Identifies the CPU (brand, processor number, generation, codename, segment) and reports its socket count, core counts, and frequencies. Optionally checks the CPU against a list of qualified generations or SKUs.
Test suite
test_cpu (src/esq/suites/system/cpu/test_cpu.py)
Integration type
Type 1: generic suite. ESQ checks the system directly, and the profile selects the checks.
Key metric
Only the metrics listed in kpi_refs or key_metrics: cpu_compatibility (1 pass, 0 fail), sockets, physical_cores, logical_cores (cores), max_frequency_mhz, min_frequency_mhz (MHz)
Read the CPU details from the system information cache. The processor number is the last token of the brand string (for example 285K).
Run the compatibility check. The allowlists (processor_numbers, exact_generations, supported_generations) are combined with OR: the CPU passes if it matches any of them. unsupported_generations is used only when no allowlist is set. With no list set, cpu_compatibility is 1 (audit mode).
Keep only the metrics named in kpi_refs or key_metrics. Brand, generation, codename, segment, and check mode are recorded as parameters.
Validate the KPIs. Thresholds are disabled by default and enabled per profile with kpi_override.
Allowlist of processor numbers, for example ["155H", "285K"]. Case-insensitive, whole-token match in the brand string.
exact_generations
[]
Allowlist with exact matching. Each entry is a generation string, a dict with any of generation, codename, product_collection, segment, or a list [generation, product_collection, segment].
supported_generations
[]
Allowlist that also accepts newer generations of the same product family
unsupported_generations
[]
Denylist. The CPU passes if its generation is not listed and not older than a listed entry. Ignored when an allowlist is set.
key_metrics
[]
Metrics to report (horizontal profiles)
kpi_refs, kpi_override
[], unset
Metrics to report and validate, and their thresholds (qualification profiles), see KPI Validation