Bug 1038945

Summary: make scsi-testsuite pass
Product: Red Hat Enterprise Linux 7 Reporter: xhan
Component: qemu-kvmAssignee: Miroslav Rezanina <mrezanin>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, areis, bsarathy, dyasny, hhuang, juzhang, michen, mkenneth, mrezanin, pbonzini, shu, sluo, tburke, virt-maint, wdai
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 825188 Environment:
Last Closed: 2014-01-15 11:19:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 825188    
Bug Blocks: 833566    
Attachments:
Description Flags
Fix for scsi-testsuite on RHEL7 none

Comment 1 Paolo Bonzini 2013-12-06 08:46:32 UTC
Looks like the output of sg_* changed from RHEL6 to RHEL7.  Just patch the 00?.out files to remove the lines that were removed.

Comment 4 Miroslav Rezanina 2014-01-15 11:17:30 UTC
Created attachment 850443 [details]
Fix for scsi-testsuite on RHEL7

RHEL-7 sg3_utils do not print following lines:

Sense Information:
sense buffer empty

With this patch all tests pass (run in guest on qemu-kvm-1.5.3-36.el7)

Comment 5 Sibiao Luo 2014-03-13 06:56:43 UTC
(In reply to Miroslav Rezanina from comment #4)
> Created attachment 850443 [details]
> Fix for scsi-testsuite on RHEL7
> RHEL-7 sg3_utils do not print following lines:
> 
> Sense Information:
> sense buffer empty
Yes, thanks for your kindly reminds and patch. I will make a note to our TCMS case.
> With this patch all tests pass (run in guest on qemu-kvm-1.5.3-36.el7)

I also test it pass with your instructions.

host info:
# uname -r && rpm -q qemu-kvm-rhev
3.10.0-100.el7.x86_64
qemu-kvm-rhev-1.5.3-50.el7.x86_64

scsi-testsuite]# ./check
PLATFORM      -- Linux/x86_64 localhost 3.10.0-100.el7.x86_64

001 0s ...
002 0s ...
003 0s ...
004 0s ...
005 0s ...
006 0s ...
007 0s ...
Passed all 7 tests

Best Regards,
sluo