lsb

snd_mixer_selem_get_enum_item, snd_mixer_selem_get_enum_item_name, snd_mixer_selem_set_enum_item FAIL with 'invalid argument'

Bug #1338372 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lsb
In Progress
Medium
Unassigned
Mandriva
In Progress
Medium

Bug Description

These test were originally discussed in bug 3015. On RHEL6 and SLES11, I'd
consistently see this set fail with UNRESOLVED:

/ALSA-t2c/tests/ALSA_Simple_Mixer_Interface/ALSA_Simple_Mixer_Interface 10
UNRESOLVED
/ALSA-t2c/tests/ALSA_Simple_Mixer_Interface/ALSA_Simple_Mixer_Interface 12
UNRESOLVED
/ALSA-t2c/tests/ALSA_Simple_Mixer_Interface/ALSA_Simple_Mixer_Interface 13
UNRESOLVED
/ALSA-t2c/tests/ALSA_Simple_Mixer_Interface/ALSA_Simple_Mixer_Interface 60
UNRESOLVED

After doing some debugging, it would appear for at least a couple of the tests
that loop through 2 iterations, one would be UNRESOLVED, and the other PASS.
After adding code to actually check the result from the target call, it turns
out the tests actual FAIL, with the error 'Invalid argument' (on a system where
they previously appeared to PASS).

snd_mixer_selem_get_enum_item
--------
snd_mixer_selem_get_enum_item failed for CHANNEL 0, with error 'Invalid
argument'
FAIL

/ALSA-t2c/tests/ALSA_Simple_Mixer_Interface/ALSA_Simple_Mixer_Interface 11 FAIL
  Test target(s):
snd_mixer_selem_get_enum_item
--------
snd_mixer_selem_get_enum_item failed for CHANNEL 1, with error 'Invalid
argument'
FAIL

/ALSA-t2c/tests/ALSA_Simple_Mixer_Interface/ALSA_Simple_Mixer_Interface 12 FAIL
  Test target(s):
snd_mixer_selem_get_enum_item_name
--------
snd_mixer_selem_get_enum_item_name failed for MAXLEN 1, with error 'Invalid
argument'
FAIL

/ALSA-t2c/tests/ALSA_Simple_Mixer_Interface/ALSA_Simple_Mixer_Interface 13 FAIL
  Test target(s):
snd_mixer_selem_get_enum_item_name
--------
snd_mixer_selem_get_enum_item_name failed for MAXLEN 0, with error 'Invalid
argument'
FAIL

/ALSA-t2c/tests/ALSA_Simple_Mixer_Interface/ALSA_Simple_Mixer_Interface 60 FAIL
  Test target(s):
snd_mixer_selem_set_enum_item
--------
snd_mixer_selem_set_enum_item failed for CHANNEL 0, with error 'Invalid
argument'
FAIL

/ALSA-t2c/tests/ALSA_Simple_Mixer_Interface/ALSA_Simple_Mixer_Interface 61 FAIL
  Test target(s):
snd_mixer_selem_set_enum_item
--------
snd_mixer_selem_set_enum_item failed for CHANNEL 1, with error 'Invalid
argument'
FAIL

Tests are disabled for the 4.1 build, but we need to look at them again at some
point.

Tags: tests
Changed in mandriva:
importance: Unknown → Medium
status: Unknown → In Progress
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.