fwts on armhf is missing many tests used for certification testing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Low
|
Unassigned | ||
Firmware Test Suite |
Fix Released
|
Low
|
Colin Ian King |
Bug Description
fwts on armhf is missing tests that we normally run in certification. For the general fwts test run, we run most of the "batch" tests. some of those (many, perhaps) are Intel or BIOS specific and don't apply to ARM. So we need to sort out WHAT tests ARE useful on arm and modify fwts_test to run one set of arm acceptable tests when arm is detected arch and another set when on intel/AMD systems.
This is the current version we're running on precise on ARM systems:
ubuntu@
fwts, Version V0.25.06precise1, Tue Sep 4 12:56:28 CST 2012
ubuntu@
fwts:
Installed: 0.25.06precise1
Candidate: 0.25.06precise1
Version table:
*** 0.25.06precise1 0
500 http://
100 /var/lib/
0.24.21 0
500 http://
And these are the tests avilable:
ubuntu@
Batch tests:
acpitables ACPI table settings sanity checks.
apicinstance Check for single instance of APIC/MADT table.
aspm PCIe ASPM check.
checksum Check ACPI table checksum.
hda_audio Check HDA Audio Pin Configs.
klog Scan kernel log for errors and warnings.
maxreadreq Checks firmware has set PCI Express MaxReadReq to a higher value on non-motherboard devices.
method ACPI DSDT Method Semantic Tests.
oops Scan kernel log for Oopses.
version Gather kernel system information.
Utilities:
acpidump Dump ACPI tables.
uefidump Dump UEFI variables.
and THESE are the tests we normally run on Intel/AMD systems:
acpiinfo
acpitables
apicedge
apicinstance
bios_info
bios32
checksum
crs
dmesg_common
dmi_decode
ebda
fadt
fan
hda_audio
hpet_check
maxfreq
maxreadreq
microcode
mtrr
nx
os2gap
osilinux
smbios
version
virt
wmi
cstates
dmar
Related branches
Changed in fwts: | |
importance: | Undecided → Low |
assignee: | nobody → Colin King (colin-king) |
status: | New → In Progress |
Changed in fwts: | |
status: | In Progress → Fix Released |
Another missing test from the bug duped to this one:
$ sudo /usr/share/ checkbox/ scripts/ fwts_test -w -l /tmp/fwts- wakealarm. log
No such test 'wakealarm', available tests:
acpidump acpitables aspm checksum crsdump hda_audio klog maxreadreq method oops
securebootcert uefidump uefirtmisc uefirttime uefirtvariable version
use: fwts --show-tests or fwts --show-tests-full for more information.
Since the system does have an rtc, we could test if it works and invoke rtcwake ourselves. We'd have to ask fwts folk whether this is equivalent and whether fwts can analyze the logs post-fact to get the same results we'd normally get.