use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:45:58 ] :: [ BEGIN ] :: Load kernel module snd-dummy :: actually running 'modprobe snd-dummy' :: [ 19:45:58 ] :: [ LOG ] :: Output of 'modprobe snd-dummy': :: [ 19:45:58 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:45:58 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:45:58 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:46:00 ] :: [ BEGIN ] :: Create new CTL elemenents :: actually running 'alsactl -f dummy.state restore' alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 alsa-lib main.c:1541:(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:1541:(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:1541:(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 :: [ 19:46:00 ] :: [ LOG ] :: Output of 'alsactl -f dummy.state restore': :: [ 19:46:00 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:00 ] :: [ LOG ] :: alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 :: [ 19:46:00 ] :: [ LOG ] :: alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 :: [ 19:46:00 ] :: [ LOG ] :: Found hardware: "Dummy" "Dummy Mixer" "" "" "" :: [ 19:46:00 ] :: [ LOG ] :: Hardware is initialized using a generic method :: [ 19:46:00 ] :: [ LOG ] :: alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2 :: [ 19:46:00 ] :: [ LOG ] :: No state is present for card Loopback :: [ 19:46:00 ] :: [ LOG ] :: alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2 :: [ 19:46:00 ] :: [ LOG ] :: Found hardware: "Loopback" "Loopback Mixer" "" "" "" :: [ 19:46:00 ] :: [ LOG ] :: Hardware is initialized using a generic method :: [ 19:46:00 ] :: [ LOG ] :: No state is present for card Loopback :: [ 19:46:00 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:00 ] :: [ PASS ] :: Create new CTL elemenents (Expected 0,99, got 99) :: [ 19:46:00 ] :: [ 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 :: [ 19:46:00 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Switch' 0,0': :: [ 19:46:00 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:00 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 19:46:00 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 19:46:00 ] :: [ LOG ] :: : values=off,off :: [ 19:46:00 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:00 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Switch' 0,0' (Expected 0, got 0) :: [ 19:46:00 ] :: [ 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 :: [ 19:46:00 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Switch'': :: [ 19:46:00 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:01 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 19:46:01 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 19:46:01 ] :: [ LOG ] :: : values=off,off :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:01 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Switch'' (Expected 0, got 0) :: [ 19:46:01 ] :: [ 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 :: [ 19:46:01 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Switch' 1,1': :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:01 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 19:46:01 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 19:46:01 ] :: [ LOG ] :: : values=on,on :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:01 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Switch' 1,1' (Expected 0, got 0) :: [ 19:46:01 ] :: [ 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 :: [ 19:46:01 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Switch'': :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:01 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 19:46:01 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 19:46:01 ] :: [ LOG ] :: : values=on,on :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:01 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Switch'' (Expected 0, got 0) :: [ 19:46:01 ] :: [ 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 :: [ 19:46:01 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Volume' 10,11': :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:01 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 19:46:01 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 19:46:01 ] :: [ LOG ] :: : values=10,11 :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:02 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Volume' 10,11' (Expected 0, got 0) :: [ 19:46:02 ] :: [ 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 :: [ 19:46:02 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Volume'': :: [ 19:46:02 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:02 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 19:46:02 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 19:46:02 ] :: [ LOG ] :: : values=10,11 :: [ 19:46:02 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:02 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Volume'' (Expected 0, got 0) :: [ 19:46:02 ] :: [ 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 :: [ 19:46:02 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Volume' 80,90': :: [ 19:46:02 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:02 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 19:46:02 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 19:46:02 ] :: [ LOG ] :: : values=80,90 :: [ 19:46:02 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:02 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Volume' 80,90' (Expected 0, got 0) :: [ 19:46:02 ] :: [ 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 :: [ 19:46:02 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Volume'': :: [ 19:46:02 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:02 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 19:46:02 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 19:46:02 ] :: [ LOG ] :: : values=80,90 :: [ 19:46:02 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:03 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Volume'' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Assertions: 9 good, 0 bad :: RESULT: PASS (user-ctl) ** user-ctl PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: sound/user-ctl-elem :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:46:04 ] :: [ LOG ] :: Phases fingerprint: +4gEhNYZ :: [ 19:46:04 ] :: [ LOG ] :: Asserts fingerprint: 4EgrNTvG Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 5s :: Phases: 2 good, 0 bad :: OVERALL RESULT: PASS (sound/user-ctl-elem) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 40 Package : user-ctl-elem beakerlib RPM : beakerlib-1.29.2-1.fc36.noarch Test name : sound/user-ctl-elem Test started : 2022-09-28 19:45:58 EDT Test finished : 2022-09-28 19:46:03 EDT Test duration : 6 seconds Distro : Fedora release 36 (Thirty Six) Hostname : hpe-apollo-cn99xx-15-vm-11.khw4.lab.eng.bos.redhat.com Architecture : aarch64 CPUs : 0 x RAM size : 5905 MB HDD size : 99.97 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:45:58 ] :: [ LOG ] :: Output of 'modprobe snd-dummy': :: [ 19:45:58 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:45:58 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:45:58 ] :: [ PASS ] :: Load kernel module snd-dummy (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: user-ctl :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:46:00 ] :: [ LOG ] :: Output of 'alsactl -f dummy.state restore': :: [ 19:46:00 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:00 ] :: [ LOG ] :: alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 :: [ 19:46:00 ] :: [ LOG ] :: alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 :: [ 19:46:00 ] :: [ LOG ] :: Found hardware: "Dummy" "Dummy Mixer" "" "" "" :: [ 19:46:00 ] :: [ LOG ] :: Hardware is initialized using a generic method :: [ 19:46:00 ] :: [ LOG ] :: alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2 :: [ 19:46:00 ] :: [ LOG ] :: No state is present for card Loopback :: [ 19:46:00 ] :: [ LOG ] :: alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2 :: [ 19:46:00 ] :: [ LOG ] :: Found hardware: "Loopback" "Loopback Mixer" "" "" "" :: [ 19:46:00 ] :: [ LOG ] :: Hardware is initialized using a generic method :: [ 19:46:00 ] :: [ LOG ] :: No state is present for card Loopback :: [ 19:46:00 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:00 ] :: [ PASS ] :: Create new CTL elemenents (Expected 0,99, got 99) :: [ 19:46:00 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Switch' 0,0': :: [ 19:46:00 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:00 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 19:46:00 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 19:46:00 ] :: [ LOG ] :: : values=off,off :: [ 19:46:00 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:00 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Switch' 0,0' (Expected 0, got 0) :: [ 19:46:00 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Switch'': :: [ 19:46:00 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:01 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 19:46:01 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 19:46:01 ] :: [ LOG ] :: : values=off,off :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:01 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Switch'' (Expected 0, got 0) :: [ 19:46:01 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Switch' 1,1': :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:01 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 19:46:01 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 19:46:01 ] :: [ LOG ] :: : values=on,on :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:01 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Switch' 1,1' (Expected 0, got 0) :: [ 19:46:01 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Switch'': :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:01 ] :: [ LOG ] :: numid=12,iface=MIXER,name='User CTL Switch' :: [ 19:46:01 ] :: [ LOG ] :: ; type=BOOLEAN,access=rw----W-,values=2 :: [ 19:46:01 ] :: [ LOG ] :: : values=on,on :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:01 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Switch'' (Expected 0, got 0) :: [ 19:46:01 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Volume' 10,11': :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:01 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 19:46:01 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 19:46:01 ] :: [ LOG ] :: : values=10,11 :: [ 19:46:01 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:02 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Volume' 10,11' (Expected 0, got 0) :: [ 19:46:02 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Volume'': :: [ 19:46:02 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:02 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 19:46:02 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 19:46:02 ] :: [ LOG ] :: : values=10,11 :: [ 19:46:02 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:02 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Volume'' (Expected 0, got 0) :: [ 19:46:02 ] :: [ LOG ] :: Output of 'amixer -c Dummy cset name='User CTL Volume' 80,90': :: [ 19:46:02 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:02 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 19:46:02 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 19:46:02 ] :: [ LOG ] :: : values=80,90 :: [ 19:46:02 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:02 ] :: [ PASS ] :: Command 'amixer -c Dummy cset name='User CTL Volume' 80,90' (Expected 0, got 0) :: [ 19:46:02 ] :: [ LOG ] :: Output of 'amixer -c Dummy cget name='User CTL Volume'': :: [ 19:46:02 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:46:02 ] :: [ LOG ] :: numid=13,iface=MIXER,name='User CTL Volume' :: [ 19:46:02 ] :: [ LOG ] :: ; type=INTEGER,access=rw----W-,values=2,min=0,max=100,step=1 :: [ 19:46:02 ] :: [ LOG ] :: : values=80,90 :: [ 19:46:02 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:46:03 ] :: [ PASS ] :: Command 'amixer -c Dummy cget name='User CTL Volume'' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Assertions: 9 good, 0 bad :: RESULT: PASS (user-ctl) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: sound/user-ctl-elem :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:46:04 ] :: [ LOG ] :: Phases fingerprint: +4gEhNYZ :: [ 19:46:04 ] :: [ LOG ] :: Asserts fingerprint: 4EgrNTvG :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 5s :: Phases: 2 good, 0 bad :: OVERALL RESULT: PASS (sound/user-ctl-elem)