Hdmi audio 410c : checkbox

Earlier when i used the checkbox v2.2 (manifest.has_audio_playback == ‘True’" evaluates to true) for this job (com.canonical.certification::audio/detect-playback-devices)

Name Version Rev Developer Notes
checkbox-snappy 2.2 860 ce-certification-qa devmode

Now i am using the latest built checkbox https://code.launchpad.net/checkbox-snappy , but job audio/detect-playback-devices is failing.

vinaysimha@localhost:~$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: DB410c [DB410c], device 0: WCD msm8x16_wcd_i2s_rx1-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: DB410c [DB410c], device 1: ADV7533 adv7511-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

please suggest.

Built version of https://code.launchpad.net/checkbox-snappy , audio detection failing.

id: audio/detect-playback-devices
_summary: Check that at least one audio playback device exits
plugin: shell
category_id: audio
flags: also-after-suspend
imports: from com.canonical.plainbox import manifest
requires:
manifest.has_audio_playback == ‘True’
command:
COUNT=$(alsa_pcm_info | grep Playback | wc -l)
echo “Count: $COUNT”
if [ $COUNT -eq 0 ]; then
exit 1
fi
estimated_duration: 1s

i do not see any command alsa_pcm_info in my alsa-utils.

vinaysimha@localhost:~$ snap list
Name             Version        Rev   Developer  Notes
alsa-utils       1.1.2-5        70    canonical  devmode
bluez            5.44-3         123   canonical  devmode
checkbox-snappy  edge           x10              devmode
classic          16.04          26    canonical  devmode
core             16-2.28.1      3026  canonical  core
ifc6309-gadget   16.04-0.18     x1               gadget
ifc6309-kernel   4.4.0-1077.82  x1               kernel
lxd              2.18           4490  canonical  devmode
vinaysimha@localhost:~$ 

please suggest

alsa_pcm_info is shipped with a provider.

if there’s a bin directory in the provider, all executable files from that dir are available for jobs to use.

If you want to use the program directly, use the path:
/snap/checkbox-snappy/current/providers/plainbox-provider-snappy/bin/alsa_pcm_info

Could you provide a bit more information about that failure? Maybe some logs.

BTW.

If you wish to run one concrete job, without having to go through all the UI, you can invoke:
checkbox-snappy.checkbox-cli run JOB_NAME
e.g.
checkbox-snappy.checkbox-cli run com.canonical.certification::after-suspend-audio/detect-playback-devices

i am able to resolve by running the manifest job (com.canonical.plainbox::collect-manifest)

set true for has_audio_playback.
“com.canonical.certification::has_audio_playback”: true

i need help on this topic.