use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:14:15 ] :: [ BEGIN ] :: Load kernel module snd-dummy :: actually running 'modprobe snd-dummy' :: [ 14:14:16 ] :: [ LOG ] :: Output of 'modprobe snd-dummy': :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:16 ] :: [ PASS ] :: Load kernel module snd-dummy (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: user-ctl :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:14:16 ] :: [ BEGIN ] :: Create new CTL elemenents :: actually running 'alsactl -f dummy.state restore' alsa-lib main.c:1559:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 alsa-lib main.c:1559:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 Found hardware: "Dummy" "Dummy Mixer" "" "" "" Hardware is initialized using a generic method alsa-lib main.c:1559:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2 No state is present for card Loopback alsa-lib main.c:1559:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2 Found hardware: "Loopback" "Loopback Mixer" "" "" "" Hardware is initialized using a generic method No state is present for card Loopback :: [ 14:14:16 ] :: [ LOG ] :: Output of 'alsactl -f dummy.state restore': :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:16 ] :: [ LOG ] :: alsa-lib main.c:1559:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 :: [ 14:14:16 ] :: [ LOG ] :: alsa-lib main.c:1559:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 :: [ 14:14:16 ] :: [ LOG ] :: Found hardware: "Dummy" "Dummy Mixer" "" "" "" :: [ 14:14:16 ] :: [ LOG ] :: Hardware is initialized using a generic method :: [ 14:14:16 ] :: [ LOG ] :: alsa-lib main.c:1559:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2 :: [ 14:14:16 ] :: [ LOG ] :: No state is present for card Loopback :: [ 14:14:16 ] :: [ LOG ] :: alsa-lib main.c:1559:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2 :: [ 14:14:16 ] :: [ LOG ] :: Found hardware: "Loopback" "Loopback Mixer" "" "" "" :: [ 14:14:16 ] :: [ LOG ] :: Hardware is initialized using a generic method :: [ 14:14:16 ] :: [ LOG ] :: No state is present for card Loopback :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:16 ] :: [ PASS ] :: Create new CTL elemenents (Expected 0,99, got 99) :: [ 14:14:16 ] :: [ BEGIN ] :: Running 'amixer -c Dummy cset name='User CTL Switch' 0,0' numid=12,iface=MIXER,name='User CTL Switch' ; type=BOOLEAN,access=rw----W-,values=2 : values=off,off :: [ 14:14:16 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Switch' 0,0': :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:16 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 14:14:16 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 14:14:16 ] :: [ LOG ] :: : values=off,off :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:16 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Switch' 0,0' (Expected 0, got 0) :: [ 14:14:16 ] :: [ BEGIN ] :: Running 'amixer -c Dummy cget name='User CTL Switch'' numid=12,iface=MIXER,name='User CTL Switch' ; type=BOOLEAN,access=rw----W-,values=2 : values=off,off :: [ 14:14:16 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Switch'': :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:16 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 14:14:16 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 14:14:16 ] :: [ LOG ] :: : values=off,off :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:16 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Switch'' (Expected 0, got 0) :: [ 14:14:16 ] :: [ BEGIN ] :: Running 'amixer -c Dummy cset name='User CTL Switch' 1,1' numid=12,iface=MIXER,name='User CTL Switch' ; type=BOOLEAN,access=rw----W-,values=2 : values=on,on :: [ 14:14:16 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Switch' 1,1': :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:17 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 14:14:17 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 14:14:17 ] :: [ LOG ] :: : values=on,on :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:17 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Switch' 1,1' (Expected 0, got 0) :: [ 14:14:17 ] :: [ BEGIN ] :: Running 'amixer -c Dummy cget name='User CTL Switch'' numid=12,iface=MIXER,name='User CTL Switch' ; type=BOOLEAN,access=rw----W-,values=2 : values=on,on :: [ 14:14:17 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Switch'': :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:17 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 14:14:17 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 14:14:17 ] :: [ LOG ] :: : values=on,on :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:17 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Switch'' (Expected 0, got 0) :: [ 14:14:17 ] :: [ BEGIN ] :: Running 'amixer -c Dummy cset name='User CTL Volume' 10,11' numid=13,iface=MIXER,name='User CTL Volume' ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 : values=10,11 :: [ 14:14:17 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Volume' 10,11': :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:17 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 14:14:17 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 14:14:17 ] :: [ LOG ] :: : values=10,11 :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:17 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Volume' 10,11' (Expected 0, got 0) :: [ 14:14:17 ] :: [ BEGIN ] :: Running 'amixer -c Dummy cget name='User CTL Volume'' numid=13,iface=MIXER,name='User CTL Volume' ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 : values=10,11 :: [ 14:14:17 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Volume'': :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:17 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 14:14:17 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 14:14:17 ] :: [ LOG ] :: : values=10,11 :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:17 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Volume'' (Expected 0, got 0) :: [ 14:14:17 ] :: [ BEGIN ] :: Running 'amixer -c Dummy cset name='User CTL Volume' 80,90' numid=13,iface=MIXER,name='User CTL Volume' ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 : values=80,90 :: [ 14:14:17 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Volume' 80,90': :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:17 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 14:14:17 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 14:14:17 ] :: [ LOG ] :: : values=80,90 :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:17 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Volume' 80,90' (Expected 0, got 0) :: [ 14:14:17 ] :: [ BEGIN ] :: Running 'amixer -c Dummy cget name='User CTL Volume'' numid=13,iface=MIXER,name='User CTL Volume' ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 : values=80,90 :: [ 14:14:17 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Volume'': :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:17 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 14:14:17 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 14:14:17 ] :: [ LOG ] :: : values=80,90 :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:17 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Volume'' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 9 good, 0 bad :: RESULT: PASS (user-ctl) ** user-ctl PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: sound/user-ctl-elem :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Phases: 2 good, 0 bad :: OVERALL RESULT: PASS (sound/user-ctl-elem) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 21 Package : user-ctl-elem beakerlib RPM : beakerlib-1.27-3.el9.noarch Test name : sound/user-ctl-elem Test started : 2023-01-12 14:14:15 EST Test finished : 2023-01-12 14:14:18 EST Test duration : 3 seconds Distro : CentOS Stream release 9 Hostname : kvm-04-guest14.lab.eng.rdu2.redhat.com Architecture : x86_64 CPUs : 1 x Intel Xeon Processor (Skylake, IBRS) RAM size : 3346 MB HDD size : 50.19 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The main purpose of this script is to ensure the kernel sound subsystem is basically working. The test creates user space elements for the dummy soundcard and test read/write operations. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:14:16 ] :: [ LOG ] :: Output of 'modprobe snd-dummy': :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:16 ] :: [ PASS ] :: Load kernel module snd-dummy (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: user-ctl :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:14:16 ] :: [ LOG ] :: Output of 'alsactl -f dummy.state restore': :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:16 ] :: [ LOG ] :: alsa-lib main.c:1559:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 :: [ 14:14:16 ] :: [ LOG ] :: alsa-lib main.c:1559:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 :: [ 14:14:16 ] :: [ LOG ] :: Found hardware: "Dummy" "Dummy Mixer" "" "" "" :: [ 14:14:16 ] :: [ LOG ] :: Hardware is initialized using a generic method :: [ 14:14:16 ] :: [ LOG ] :: alsa-lib main.c:1559:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2 :: [ 14:14:16 ] :: [ LOG ] :: No state is present for card Loopback :: [ 14:14:16 ] :: [ LOG ] :: alsa-lib main.c:1559:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2 :: [ 14:14:16 ] :: [ LOG ] :: Found hardware: "Loopback" "Loopback Mixer" "" "" "" :: [ 14:14:16 ] :: [ LOG ] :: Hardware is initialized using a generic method :: [ 14:14:16 ] :: [ LOG ] :: No state is present for card Loopback :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:16 ] :: [ PASS ] :: Create new CTL elemenents (Expected 0,99, got 99) :: [ 14:14:16 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Switch' 0,0': :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:16 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 14:14:16 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 14:14:16 ] :: [ LOG ] :: : values=off,off :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:16 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Switch' 0,0' (Expected 0, got 0) :: [ 14:14:16 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Switch'': :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:16 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 14:14:16 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 14:14:16 ] :: [ LOG ] :: : values=off,off :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:16 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Switch'' (Expected 0, got 0) :: [ 14:14:16 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Switch' 1,1': :: [ 14:14:16 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:17 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 14:14:17 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 14:14:17 ] :: [ LOG ] :: : values=on,on :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:17 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Switch' 1,1' (Expected 0, got 0) :: [ 14:14:17 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Switch'': :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:17 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 14:14:17 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 14:14:17 ] :: [ LOG ] :: : values=on,on :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:17 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Switch'' (Expected 0, got 0) :: [ 14:14:17 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Volume' 10,11': :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:17 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 14:14:17 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 14:14:17 ] :: [ LOG ] :: : values=10,11 :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:17 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Volume' 10,11' (Expected 0, got 0) :: [ 14:14:17 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Volume'': :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:17 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 14:14:17 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 14:14:17 ] :: [ LOG ] :: : values=10,11 :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:17 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Volume'' (Expected 0, got 0) :: [ 14:14:17 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Volume' 80,90': :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:17 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 14:14:17 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 14:14:17 ] :: [ LOG ] :: : values=80,90 :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:17 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Volume' 80,90' (Expected 0, got 0) :: [ 14:14:17 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Volume'': :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 14:14:17 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 14:14:17 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 14:14:17 ] :: [ LOG ] :: : values=80,90 :: [ 14:14:17 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 14:14:17 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Volume'' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 9 good, 0 bad :: RESULT: PASS (user-ctl) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: sound/user-ctl-elem :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Phases: 2 good, 0 bad :: OVERALL RESULT: PASS (sound/user-ctl-elem)