Red Hat Bugzilla – Bug 825188
make scsi-testsuite pass
Last modified: 2013-12-06 03:32:23 EST
The testsuite at git://github.com/bonzini/scsi-testsuite.git has four failing tests (1,2,5,6 - reported by mrezanin). Backport enough fixes from upstream QEMU to make it succeed.
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
hi Paolo Bonzini,
I test it on qemu-kvm-0.12.1.2-2.311.el6.x86_64 with scsi-hd system and data disk, the result is that the 001,002,003,004,005,006 can pass, but the 007 fails.
# uname -r && rpm -q qemu-kvm
# uname -r
in the guest:
[1:0:0:0] cd/dvd QEMU QEMU DVD-ROM 0.12 /dev/sr0
[2:0:0:0] disk QEMU QEMU HARDDISK 0.12 /dev/sda
[3:0:1:1] disk QEMU QEMU HARDDISK 0.12 /dev/sdb
[root@localhost scsi-testsuite]# ./check
PLATFORM -- Linux/x86_64 localhost 2.6.32-279.el6.x86_64
001 0s ...
002 0s ...
003 0s ...
004 0s ...
005 0s ...
006 0s ...
007 - output mismatch (see 007.out.bad)
--- 007.out 2012-09-06 18:00:58.974196308 +0800
+++ 007.out.bad 2012-09-06 18:23:21.333197168 +0800
@@ -2,11 +2,15 @@
0x0 Supported VPD pages
0x83 Device identification
cdb to send: 12 01 83 00 02 00
-SCSI Status: Good
+SCSI Status: Check Condition
-sense buffer empty
+ Fixed format, current; Sense key: Illegal Request
+ Additional sense: Invalid field in cdb
+ Raw sense data (in hex):
+ 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00
+ 00 00
Received 2 bytes of data:
- 00 00 83 ..
+ 00 00 00 ..
Failed 1 of 7 tests
above all, re-assigned this bug to fix this issue, pls let me know if any problem.
Best Regards & thx,
Due to shortening names of patch files when committing into dist-git, two of the required patches had same name so one of them is masked and not included in the build. Need to solve this with minovotn.
Missing patch was added on qemu-kvm-0.12.1.2-2.316.el6.src.rpm.
Verified on qemu-kvm-rhev-0.12.1.2-2.348.el6.x86_64:
all 7 tests pass.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.