:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 03:39:12 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 03:39:13 ] :: [ LOG ] :: ./runtest.sh :: [ 03:39:14 ] :: [ PASS ] :: check the device-mapper-multipath if installed (Expected 0, got 0) :: [ 03:39:15 ] :: [ PASS ] :: check the sg3_utils if installed (Expected 0, got 0) :: [ 03:39:20 ] :: [ PASS ] :: Command 'mpathconf --enable --find_multipaths y --with_module y --with_multipathd y' (Expected 0, got 0) :: [ 03:39:25 ] :: [ LOG ] :: rlServiceStart: Service multipathd started successfully :: [ 03:39:27 ] :: [ PASS ] :: Command 'multipath -l' (Expected 0, got 0) :: [ 03:39:28 ] :: [ PASS ] :: remove scsi_debug (Expected 0-255, got 1) :: [ 03:39:29 ] :: [ LOG ] :: add scsi_debug level 4 :: [ 03:39:29 ] :: [ LOG ] :: Start test using scsi_level 4 :: [ 03:39:30 ] :: [ PASS ] :: Command 'modprobe scsi_debug scsi_level=4' (Expected 0, got 0) :: [ 03:39:31 ] :: [ LOG ] :: Checking if VPD for /dev/sda is exported correctly :: [ 03:39:31 ] :: [ PASS ] :: get message by sg_ing (Expected 0, got 0) :: [ 03:39:32 ] :: [ PASS ] :: get mesage by page=0x80 (Expected 0, got 0) :: [ 03:39:33 ] :: [ PASS ] :: get message by page=0x83 (Expected 0, got 0) :: [ 03:39:34 ] :: [ LOG ] :: VPD exported successfuly for /dev/sda scsi_level 4 :: [ 03:39:34 ] :: [ LOG ] :: remove /dev/sda from multipath :: [ 03:39:35 ] :: [ PASS ] :: try to remove scsi_debug from mp (Expected 0-255, got 1) :: [ 03:39:36 ] :: [ PASS ] :: Command 'multipath -F' (Expected 0, got 0) :: [ 03:39:46 ] :: [ PASS ] :: Command 'systemctl disable multipathd' (Expected 0, got 0) :: [ 03:39:47 ] :: [ PASS ] :: Command 'multipath -F' (Expected 0, got 0) :: [ 03:39:49 ] :: [ PASS ] :: test scsi_debug if removed (Expected 0-255, got 2) :: [ 03:39:50 ] :: [ PASS ] :: remove scsi_debug (Expected 0-255, got 0) :: [ 03:39:51 ] :: [ LOG ] :: test passed scsi_debug 4 level vpd :: [ 03:39:51 ] :: [ LOG ] :: add scsi_debug level 5 :: [ 03:39:51 ] :: [ LOG ] :: Start test using scsi_level 5 :: [ 03:39:52 ] :: [ PASS ] :: Command 'modprobe scsi_debug scsi_level=5' (Expected 0, got 0) :: [ 03:39:53 ] :: [ LOG ] :: Checking if VPD for /dev/sda is exported correctly :: [ 03:39:54 ] :: [ PASS ] :: get message by sg_ing (Expected 0, got 0) :: [ 03:39:55 ] :: [ PASS ] :: get mesage by page=0x80 (Expected 0, got 0) :: [ 03:39:55 ] :: [ PASS ] :: get message by page=0x83 (Expected 0, got 0) :: [ 03:39:56 ] :: [ LOG ] :: VPD exported successfuly for /dev/sda scsi_level 5 :: [ 03:39:56 ] :: [ LOG ] :: remove /dev/sda from multipath :: [ 03:39:58 ] :: [ PASS ] :: try to remove scsi_debug from mp (Expected 0-255, got 1) :: [ 03:39:59 ] :: [ PASS ] :: Command 'multipath -F' (Expected 0, got 0) :: [ 03:40:08 ] :: [ PASS ] :: Command 'systemctl disable multipathd' (Expected 0, got 0) :: [ 03:40:08 ] :: [ PASS ] :: Command 'multipath -F' (Expected 0, got 0) :: [ 03:40:10 ] :: [ PASS ] :: test scsi_debug if removed (Expected 0-255, got 2) :: [ 03:40:12 ] :: [ PASS ] :: remove scsi_debug (Expected 0-255, got 0) :: [ 03:40:12 ] :: [ LOG ] :: test passed scsi_debug 5 level vpd :: [ 03:40:12 ] :: [ LOG ] :: add scsi_debug level 6 :: [ 03:40:12 ] :: [ LOG ] :: Start test using scsi_level 6 :: [ 03:40:13 ] :: [ PASS ] :: Command 'modprobe scsi_debug scsi_level=6' (Expected 0, got 0) :: [ 03:40:14 ] :: [ LOG ] :: Checking if VPD for /dev/sda is exported correctly :: [ 03:40:15 ] :: [ PASS ] :: get message by sg_ing (Expected 0, got 0) :: [ 03:40:16 ] :: [ PASS ] :: get mesage by page=0x80 (Expected 0, got 0) :: [ 03:40:17 ] :: [ PASS ] :: get message by page=0x83 (Expected 0, got 0) :: [ 03:40:17 ] :: [ LOG ] :: VPD exported successfuly for /dev/sda scsi_level 6 :: [ 03:40:17 ] :: [ LOG ] :: remove /dev/sda from multipath :: [ 03:40:19 ] :: [ PASS ] :: try to remove scsi_debug from mp (Expected 0-255, got 1) :: [ 03:40:20 ] :: [ PASS ] :: Command 'multipath -F' (Expected 0, got 0) :: [ 03:40:29 ] :: [ PASS ] :: Command 'systemctl disable multipathd' (Expected 0, got 0) :: [ 03:40:30 ] :: [ PASS ] :: Command 'multipath -F' (Expected 0, got 0) :: [ 03:40:31 ] :: [ PASS ] :: test scsi_debug if removed (Expected 0-255, got 2) :: [ 03:40:33 ] :: [ PASS ] :: remove scsi_debug (Expected 0-255, got 0) :: [ 03:40:33 ] :: [ LOG ] :: test passed scsi_debug 6 level vpd :: [ 03:40:33 ] :: [ LOG ] :: add scsi_debug level 7 :: [ 03:40:33 ] :: [ LOG ] :: Start test using scsi_level 7 :: [ 03:40:34 ] :: [ PASS ] :: Command 'modprobe scsi_debug scsi_level=7' (Expected 0, got 0) :: [ 03:40:35 ] :: [ LOG ] :: Checking if VPD for /dev/sda is exported correctly :: [ 03:40:36 ] :: [ PASS ] :: get message by sg_ing (Expected 0, got 0) :: [ 03:40:37 ] :: [ PASS ] :: get mesage by page=0x80 (Expected 0, got 0) :: [ 03:40:38 ] :: [ PASS ] :: get message by page=0x83 (Expected 0, got 0) :: [ 03:40:38 ] :: [ LOG ] :: VPD exported successfuly for /dev/sda scsi_level 7 :: [ 03:40:38 ] :: [ LOG ] :: remove /dev/sda from multipath :: [ 03:40:40 ] :: [ PASS ] :: try to remove scsi_debug from mp (Expected 0-255, got 1) :: [ 03:40:41 ] :: [ PASS ] :: Command 'multipath -F' (Expected 0, got 0) :: [ 03:40:50 ] :: [ PASS ] :: Command 'systemctl disable multipathd' (Expected 0, got 0) :: [ 03:40:51 ] :: [ PASS ] :: Command 'multipath -F' (Expected 0, got 0) :: [ 03:40:53 ] :: [ PASS ] :: test scsi_debug if removed (Expected 0-255, got 2) :: [ 03:40:54 ] :: [ PASS ] :: remove scsi_debug (Expected 0-255, got 0) :: [ 03:40:54 ] :: [ LOG ] :: test passed scsi_debug 7 level vpd :: [ 03:40:55 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 103s :: Assertions: 47 good, 0 bad :: RESULT: PASS (Test)