"audio/valid-sof-firmware-sig" Should not be tested with the machine does not use Intel DMIC to PCH or Soundwire feature
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Expired
|
Critical
|
Jonathan Cave |
Bug Description
Not all machines use Intel DMIC to PCH or Soundwire Feature. When this test is run on those machines, it always fail. The test case needs to add more resource check to make sure it only run on the machine which uses DMIC or Soundwire.
plugin: shell
category_id: com.canonical.
id: audio/valid-
requires:
device.category == 'AUDIO'
package.name == 'linux-firmware'
command:
fail=0
for fw in /lib/firmware/
do
# shellcheck disable=SC2016
if xxd "${fw}" | grep -q '$CPD'; then
if ! sof_ri_info.py --valid "${fw}";
then
fail=1
fi
fi
done
exit $fail
_description: Valid sof firmware signature
Changed in plainbox-provider-checkbox: | |
importance: | Undecided → Critical |
assignee: | nobody → Jonathan Cave (jocave) |
summary: |
"audio/valid-sof-firmware-sig" Should not be tested with the machine - does not use Intel DMIC or Soundwire feature + does not use Intel DMIC to PCH or Soundwire feature |
description: | updated |
tags: | added: cbox-5 |
This test job does not depends on the hardware features of DMIC, SoF, but simply checking if the firmware shipped with the image is signed with the correct key from Intel.