New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 909813 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Dec 11
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Audio tests are failing since M72-11303.0.0 with "Error.UnknownMethod: Method "SetOutputNodeVolume" with signature "vi" on interface.."

Project Member Reported by sontis@chromium.org, Nov 28

Issue description

Tests: audio_AudioBasicInternalSpeaker , audio_AudioBasicUSBPlayback and audio_AudioBasicUSBRecord

Error message: Unhandled Exception: DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "SetOutputNodeVolume" with signature "vi" on interface "org.chromium.cras.Control" doesn't exist (RPC: audio.set_selected_output_volume)

link: https://screenshot.googleplex.com/Hk7v02XSt2E

https://stainless.corp.google.com/search?view=matrix&row=model&col=build&first_date=2018-11-22&last_date=2018-11-28&suite=chameleon_audio_perbuild&test=%5Eaudio_AudioBasicUSB*&exclude_cts=false&exclude_not_run=true&exclude_non_release=true&exclude_au=true&exclude_acts=true&exclude_retried=true&exclude_non_production=true


From debug logs: 
===================================================
/28 07:47:31.710 DEBUG|             utils:0287| [stdout] 501
11/28 07:47:31.710 DEBUG|             utils:0287| [stdout] 31648
11/28 07:47:31.712 INFO |rpc_server_tracker:0284| Shut down RPC server.
11/28 07:47:31.713 DEBUG|      abstract_ssh:0959| Terminated tunnel, pid 1893
11/28 07:47:31.713 WARNI|              test:0606| The test failed with the following exception
Traceback (most recent call last):
  File "/usr/local/autotest/client/common_lib/test.py", line 600, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 806, in _call_test_function
    raise error.UnhandledTestFail(e)
UnhandledTestFail: Unhandled Exception: DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "SetOutputNodeVolume" with signature "vi" on interface "org.chromium.cras.Control" doesn't exist (RPC: audio.set_selected_output_volume)
Traceback (most recent call last):
  File "/usr/local/autotest/client/common_lib/test.py", line 800, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 464, in execute
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 371, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autotest/server/site_tests/audio_AudioBasicUSBRecord/audio_AudioBasicUSBRecord.py", line 66, in run_once
    audio_facade.set_selected_output_volume(70)
  File "/usr/local/autotest/server/cros/multimedia/audio_facade_adapter.py", line 162, in set_selected_output_volume
    self._audio_proxy.set_selected_output_volume(volume)
  File "/usr/local/autotest/server/cros/multimedia/remote_facade_factory.py", line 60, in __call__
    return self.__call_method(self.__name, *args, **dargs)
  File "/usr/local/autotest/server/cros/multimedia/remote_facade_factory.py", line 171, in __call_proxy
    return call_rpc_with_log()
  File "/usr/local/autotest/server/cros/multimedia/remote_facade_factory.py", line 155, in call_rpc_with_log
    raise Exception('%s: %s' % (keyword, reason))
Exception: DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "SetOutputNodeVolume" with signature "vi" on interface "org.chromium.cras.Control" doesn't exist (RPC: audio.set_selected_output_volume)

11/28 07:47:31.714 DEBUG|              test:0611| Running cleanup for test.
11/28 07:47:31.715 DEBUG|   logging_manager:0627| Logging subprocess finished
====================================================-=====


AIs:
    --Reproduce manually and update logs.

 
Cc: paulhsia@chromium.org
Owner: hychao@chromium.org
Summary: [Chameleon_audio] Audio tests are failing since M72-11303.0.0 with "Error.UnknownMethod: Method "SetOutputNodeVolume" with signature "vi" on interface.." (was: [Chameleon_audio] Audio tests are failing with "Error.UnknownMethod: Method "SetOutputNodeVolume" with signature "vi" on interface..")
+Audio sheriff
CrOs diff - https://crosland.corp.google.com/log/11302.0.0..11303.0.0
Chrome did not update.
Two cras changes come with R72-11303.0.0 but they did not change anything, and just added new stuff.
Summary: Audio tests are failing since M72-11303.0.0 with "Error.UnknownMethod: Method "SetOutputNodeVolume" with signature "vi" on interface.." (was: [Chameleon_audio] Audio tests are failing since M72-11303.0.0 with "Error.UnknownMethod: Method "SetOutputNodeVolume" with signature "vi" on interface..")
Some 'audio' suite tests also fail with the same reason - https://screenshot.googleplex.com/QPytF33FXdE
- audio_AlsaLoopback
- audio_CRASFormatConversion
- audio_CrasLoopback
- audio_SeekAudioFeedback
- desktopui_AudioFeedback

Not able to reproduce this issue manually on M72_11307.0.0 build.
Audio(onboard, usb, 3.5 and HDMI) is working fine.
Project Member

Comment 4 by bugdroid1@chromium.org, Nov 29

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/adhd/+/4353637025b85e4a918f6f10ff7ac114dea305ab

commit 4353637025b85e4a918f6f10ff7ac114dea305ab
Author: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Date: Thu Nov 29 20:11:01 2018

CRAS: cras_dbus_control - Fix mismatched tag in XML

This bug causes a lot of test errors.
Fix mismatched tag in XML.

BUG= chromium:907917 ,  chromium:909813 
TEST=Can pass audio_Aplay test.

Change-Id: I8d32f4c7c5033039fcb13da9b9cb4c5072d96a2f
Reviewed-on: https://chromium-review.googlesource.com/1351972
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Per Åhgren <peah@chromium.org>

[modify] https://crrev.com/4353637025b85e4a918f6f10ff7ac114dea305ab/cras/src/server/cras_dbus_control.c

Project Member

Comment 6 by bugdroid1@chromium.org, Dec 12

Labels: merge-merged-stabilize-11306.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/adhd/+/9598d9b5ab07ae4198a8247c505a097e25121a97

commit 9598d9b5ab07ae4198a8247c505a097e25121a97
Author: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Date: Wed Dec 12 02:01:36 2018

CRAS: cras_dbus_control - Fix mismatched tag in XML

This bug causes a lot of test errors.
Fix mismatched tag in XML.

BUG= chromium:907917 ,  chromium:909813 
TEST=Can pass audio_Aplay test.

Change-Id: I8d32f4c7c5033039fcb13da9b9cb4c5072d96a2f
Reviewed-on: https://chromium-review.googlesource.com/1351972
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Per Åhgren <peah@chromium.org>
(cherry picked from commit 4353637025b85e4a918f6f10ff7ac114dea305ab)
Reviewed-on: https://chromium-review.googlesource.com/c/1369988
Commit-Queue: Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com>
Tested-by: Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com>
Reviewed-by: Paris Yeh <pyeh@chromium.org>
Reviewed-by: Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com>
Reviewed-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>

[modify] https://crrev.com/9598d9b5ab07ae4198a8247c505a097e25121a97/cras/src/server/cras_dbus_control.c

Sign in to add a comment