Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:
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