DP audio testing encountered "No PulseAudio daemon running, or not running as session daemon."(Checkbox RC testing)

Bug #1829827 reported by Ray Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
Medium
Sylvain Pineau

Bug Description

Summary:DP audio testing encountered "No PulseAudio daemon running, or not running as session daemon."

Steps to reproduce:
When testing checkbox-RC from testing PPA encountered "No PulseAudio daemon running, or not running as session daemon." during DP audio testing after switch to garphics card 2

Failure rate:100%

=====error/failed log
DisplayPort audio via USB Type-C port interface verification

Steps:

1. Plug an external DisplayPort device with sound on a USB Type-C port using a "USB Typce-C to DisplayPort" adapter (Use only one HDMI/DisplayPort/Thunderbolt interface at a time for this test)
   2. Commence the test

Pick an action
    => press ENTER to continue
  c => add a comment
  s => skip this job
  q => save the session and quit
[csq]:
... 8< -------------------------------------------------------------------------
INFO:===========================[ Saving audio settings ]============================
INFO:==========================[ HDMI / DisplayPort ports ]==========================
INFO:Card #0 Port: PortWithProfile(name='hdmi-output-0', label='HDMI / DisplayPort', priority=5900, latency_offset=0, availability='available', properties=[Property(name='device.icon_name', value='video-display'), Property(name='device.product.name', value='PA27A')], profile_list=['output:hdmi-stereo', 'output:hdmi-stereo+input:analog-stereo', 'output:hdmi-surround', 'output:hdmi-surround+input:analog-stereo', 'output:hdmi-surround71', 'output:hdmi-surround71+input:analog-stereo'])
INFO:Card #0 Port: PortWithProfile(name='hdmi-output-1', label='HDMI / DisplayPort 2', priority=5800, latency_offset=0, availability='not available', properties=[Property(name='device.icon_name', value='video-display')], profile_list=['output:hdmi-stereo-extra1', 'output:hdmi-stereo-extra1+input:analog-stereo', 'output:hdmi-surround-extra1', 'output:hdmi-surround-extra1+input:analog-stereo', 'output:hdmi-surround71-extra1', 'output:hdmi-surround71-extra1+input:analog-stereo'])
INFO:Card #0 Port: PortWithProfile(name='hdmi-output-2', label='HDMI / DisplayPort 3', priority=5700, latency_offset=0, availability='not available', properties=[Property(name='device.icon_name', value='video-display')], profile_list=['output:hdmi-stereo-extra2', 'output:hdmi-stereo-extra2+input:analog-stereo', 'output:hdmi-surround-extra2', 'output:hdmi-surround-extra2+input:analog-stereo', 'output:hdmi-surround71-extra2', 'output:hdmi-surround71-extra2+input:analog-stereo'])
INFO:Card #0 Port: PortWithProfile(name='hdmi-output-3', label='HDMI / DisplayPort 4', priority=5600, latency_offset=0, availability='not available', properties=[Property(name='device.icon_name', value='video-display')], profile_list=['output:hdmi-stereo-extra3', 'output:hdmi-stereo-extra3+input:analog-stereo', 'output:hdmi-surround-extra3', 'output:hdmi-surround-extra3+input:analog-stereo', 'output:hdmi-surround71-extra3', 'output:hdmi-surround71-extra3+input:analog-stereo'])
INFO:Card #0 Port: PortWithProfile(name='hdmi-output-4', label='HDMI / DisplayPort 5', priority=5500, latency_offset=0, availability='not available', properties=[Property(name='device.icon_name', value='video-display')], profile_list=['output:hdmi-stereo-extra4', 'output:hdmi-stereo-extra4+input:analog-stereo', 'output:hdmi-surround-extra4', 'output:hdmi-surround-extra4+input:analog-stereo', 'output:hdmi-surround71-extra4', 'output:hdmi-surround71-extra4+input:analog-stereo'])
INFO:==============================[ Selected profile ]==============================
INFO:Card #0 Profile: output:hdmi-stereo
INFO:===============================[ Fallback sink ]================================
INFO:Name: alsa_output.pci-0000_00_1f.3.hdmi-stereo
No PulseAudio daemon running, or not running as session daemon.
Traceback (most recent call last):
  File "/tmp/nest-0nk5oao8.b85a6cae30a0ede013ef653affb0d3641d6ace941c8d54c6d11cb94d804213f9/gst_pipeline_test", line 81, in <module>
    sys.exit(main())
  File "/tmp/nest-0nk5oao8.b85a6cae30a0ede013ef653affb0d3641d6ace941c8d54c6d11cb94d804213f9/gst_pipeline_test", line 55, in main
    if not check_state(args.device):
  File "/tmp/nest-0nk5oao8.b85a6cae30a0ede013ef653affb0d3641d6ace941c8d54c6d11cb94d804213f9/gst_pipeline_test", line 21, in check_state
    universal_newlines=True)
  File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['pacmd', 'list-sinks']' returned non-zero exit status 1.
INFO:==========================[ Restoring audio settings ]==========================
------------------------------------------------------------------------- >8 ---
Outcome: job needs verification
Verification:

Did you hear the sound from the DisplayPort device?

Please decide what to do next:
  outcome: job needs verification
  comments: none
Pick an action
  c => add a comment
  p => set outcome to pass
  f => set outcome to fail
  s => set outcome to skip
  r => re-run this job
    => set suggested outcome [job failed]
[cpfsr]:

-----

system-manufacturer: Dell Inc.
Image: somerville-bionic-amd64-iso-hybrid-20180608-47

CPU: Intel(R) Core(TM) i5-9400H CPU @ 2.50GHz (8x)
system-product-name: Latitude 5401
bios-version: 1.0.0
GPU: 00:02.0 VGA compatible controller: Intel Corporation Device 3e9b (rev 02)

Revision history for this message
Ray Chen (ray.chen) wrote :

Automatically attached

Changed in plainbox-provider-checkbox:
status: New → Confirmed
Revision history for this message
Ray Chen (ray.chen) wrote :

Automatically attached

Revision history for this message
Ray Chen (ray.chen) wrote :

Automatically attached

Revision history for this message
Ray Chen (ray.chen) wrote :

Automatically attached

Revision history for this message
Ray Chen (ray.chen) wrote :

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-======================================-============================-============-==========================================
ii checkbox-ng 1.4.0~rc1~ppa~ubuntu18.04.1 all CheckBoxNG test runner
un checkbox-oem <none> <none> (no description available)
ii checkbox-oem-bug 1.14-1-ubuntu1 all Checkbox OEM bug
ii plainbox-provider-certification-client 0.37.0~rc1~ppa~ubuntu18.04.1 all Client Certification provider for Plainbox
ii plainbox-provider-checkbox 0.48.0~rc1~ppa~ubuntu18.04.1 amd64 CheckBox provider for PlainBox
ii plainbox-provider-oem 0.62 all plainbox oem provider
un plainbox-provider-oem-kittyhawk <none> <none> (no description available)
ii plainbox-provider-oem-somerville 0.62 all plainbox oem provider for somerville
un plainbox-provider-oem-stella <none> <none> (no description available)
un plainbox-provider-oem-sutton <none> <none> (no description available)
ii plainbox-provider-resource-generic 0.40.0~rc1~ppa~ubuntu18.04.1 amd64 CheckBox generic resource jobs provider
ii plainbox-provider-sru 1.13.0~rc1~ppa~ubuntu18.04.1 all CheckBox SRU jobs provider
ii plainbox-provider-tpm2 1.10.0~rc1~ppa~ubuntu18.04.1 all TPM 2.0 provider for PlainBox

Revision history for this message
Ray Chen (ray.chen) wrote :

This issue can be workaround by reboot system and launch checkbox again

Changed in plainbox-provider-checkbox:
assignee: nobody → Sylvain Pineau (sylvain-pineau)
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Can you reproduce the bug with checkbox installed from stable ppa?

Revision history for this message
Ray Chen (ray.chen) wrote :
Download full text (5.2 KiB)

Verified on dev PPA
ii plainbox-provider-checkbox 0.48.0~rc1+git201905171650+pkg101~ubuntu18.04.1

This issue still exist after upgrade plainbox-provider-checkbox to dev version, log as below

=====================================================
-------------[ Running job 15 / 136. Estimated time left: unknown ]-------------
---------[ audio/2_playback_type-c_displayport_GP108M__GeForce_MX150_ ]---------
ID: com.canonical.certification::audio/2_playback_type-c_displayport_GP108M__GeForce_MX150_
Category: com.canonical.plainbox::audio
Purpose:

DisplayPort audio via USB Type-C port interface verification

Steps:

1. Plug an external DisplayPort device with sound on a USB Type-C port using a "USB Typce-C to DisplayPort" adapter (Use only one HDMI/DisplayPort/Thunderbolt interface at a time for this test)
   2. Commence the test

Pick an action
    => press ENTER to continue
  c => add a comment
  s => skip this job
  q => save the session and quit
[csq]:
... 8< -------------------------------------------------------------------------
INFO:===========================[ Saving audio settings ]============================
INFO:==========================[ HDMI / DisplayPort ports ]==========================
INFO:Card #0 Port: PortWithProfile(name='hdmi-output-0', label='HDMI / DisplayPort', priority=5900, latency_offset=0, availability='available', properties=[Property(name='device.icon_name', value='video-display'), Property(name='device.product.name', value='PA27A')], profile_list=['output:hdmi-stereo', 'output:hdmi-stereo+input:analog-stereo', 'output:hdmi-surround', 'output:hdmi-surround+input:analog-stereo', 'output:hdmi-surround71', 'output:hdmi-surround71+input:analog-stereo'])
INFO:Card #0 Port: PortWithProfile(name='hdmi-output-1', label='HDMI / DisplayPort 2', priority=5800, latency_offset=0, availability='not available', properties=[Property(name='device.icon_name', value='video-display')], profile_list=['output:hdmi-stereo-extra1', 'output:hdmi-stereo-extra1+input:analog-stereo', 'output:hdmi-surround-extra1', 'output:hdmi-surround-extra1+input:analog-stereo', 'output:hdmi-surround71-extra1', 'output:hdmi-surround71-extra1+input:analog-stereo'])
INFO:Card #0 Port: PortWithProfile(name='hdmi-output-2', label='HDMI / DisplayPort 3', priority=5700, latency_offset=0, availability='not available', properties=[Property(name='device.icon_name', value='video-display')], profile_list=['output:hdmi-stereo-extra2', 'output:hdmi-stereo-extra2+input:analog-stereo', 'output:hdmi-surround-extra2', 'output:hdmi-surround-extra2+input:analog-stereo', 'output:hdmi-surround71-extra2', 'output:hdmi-surround71-extra2+input:analog-stereo'])
INFO:Card #0 Port: PortWithProfile(name='hdmi-output-3', label='HDMI / DisplayPort 4', priority=5600, latency_offset=0, availability='not available', properties=[Property(name='device.icon_name', value='video-display')], profile_list=['output:hdmi-stereo-extra3', 'output:hdmi-stereo-extra3+input:analog-stereo', 'output:hdmi-surround-extra3', 'output:hdmi-surround-extra3+input:analog-stereo', 'output:hdmi-surround71-extra3', 'output:hdmi-surround71-extra3+input:analog-stereo'])
INFO:Card #0 Port: PortWithProfi...

Read more...

Changed in plainbox-provider-checkbox:
milestone: none → 0.48.0
importance: Undecided → Medium
status: Confirmed → Fix Committed
Revision history for this message
Ray Chen (ray.chen) wrote :

This issue was verified on below platforms and checkbox version
#1:201903-26894
#2:201903-26920
#3 201903-26900

||/ Name Version Architecture Description
+++-======================================-============================-============-==========================================
ii checkbox-ng 1.4.0~rc1~ppa~ubuntu18.04.1 all CheckBoxNG test runner
un checkbox-oem <none> <none> (no description available)
ii checkbox-oem-bug 1.14-1-ubuntu1 all Checkbox OEM bug
ii plainbox-provider-certification-client 0.37.0~rc1~ppa~ubuntu18.04.1 all Client Certification provider for Plainbox
ii plainbox-provider-checkbox 0.48.0~rc3~ppa~ubuntu18.04.1 amd64 CheckBox provider for PlainBox
ii plainbox-provider-oem 0.62 all plainbox oem provider
un plainbox-provider-oem-kittyhawk <none> <none> (no description available)
ii plainbox-provider-oem-somerville 0.62 all plainbox oem provider for somerville
un plainbox-provider-oem-stella <none> <none> (no description available)
un plainbox-provider-oem-sutton <none> <none> (no description available)
ii plainbox-provider-resource-generic 0.40.0~rc1~ppa~ubuntu18.04.1 amd64 CheckBox generic resource jobs provider
ii plainbox-provider-sru 1.13.0~rc1~ppa~ubuntu18.04.1 all CheckBox SRU jobs provider
ii plainbox-provider-tpm2 1.10.0~rc1~ppa~ubuntu18.04.1 all TPM 2.0 provider for PlainBox

tags: added: cqa-verified
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.