Bug 1330459

Summary: Virtual Floppy test fail in IBM PowerPC8 ppc64le
Product: Red Hat Certification Program Reporter: Jarvis <Jarvis_Zhou>
Component: redhat-certification-hardwareAssignee: brose
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.0CC: gnichols
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-23 03:09:38 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:
Attachments:
Description Flags
Storage for Virtual floppy test fail none

Description Jarvis 2016-04-26 09:42:23 UTC
Created attachment 1150788 [details]
Storage for Virtual floppy test fail

Description of problem:
Using a USB floppy mount to the SUT with KVM, the hwcert/storage host3 test failed, this test will be report below the error:
----test device is sdx----
*** Testing buffered filesystem (xfs) performance on sdx
Error: mkfs on sdx failed.
*** Testing raw I/O performance on sdx
Testing device size 1440
--- sequential write/read

Write Statistics:
     Total records processed: 22 @ 512 bytes/record (0.500 Kbytes)
     Total bytes transferred: 11264 (11.000 Kbytes, 0.011 Mbytes)
      Average transfer rates: 4876 bytes/sec, 4.762 Kbytes/sec
     Number I/O's per second: 9.524
      Total passes completed: 0/1
       Total errors detected: 0/1
          Total elapsed time: 00m02.31s
           Total system time: 00m00.00s
             Total user time: 00m00.00s
               Starting time: Tue Apr 26 16:25:52 2016
                 Ending time: Tue Apr 26 16:25:55 2016


Read Statistics:
     Total records processed: 0 @ 512 bytes/record (0.500 Kbytes)
     Total bytes transferred: 0 (0.000 Kbytes, 0.000 Mbytes)
      Average transfer rates: 0 bytes/sec, 0.000 Kbytes/sec
     Number I/O's per second: 0.000
      Total passes completed: 1/1
       Total errors detected: 0/1
          Total elapsed time: 00m00.00s
           Total system time: 00m00.00s
             Total user time: 00m00.00s
               Starting time: Tue Apr 26 16:25:52 2016
                 Ending time: Tue Apr 26 16:25:55 2016


Total Statistics:
     Output device/file name: /dev/sdx (device type=disk)
     Type of I/O's performed: sequential (forward)
   Data pattern read/written: 0xdeadbeef
     Total records processed: 22 @ 512 bytes/record (0.500 Kbytes)
     Total bytes transferred: 11264 (11.000 Kbytes, 0.011 Mbytes)
      Average transfer rates: 4349 bytes/sec, 4.247 Kbytes/sec
     Number I/O's per second: 8.494
      Total passes completed: 1/1
       Total errors detected: 0/1
          Total elapsed time: 00m02.59s
           Total system time: 00m00.00s
             Total user time: 00m00.00s
               Starting time: Tue Apr 26 16:25:52 2016
                 Ending time: Tue Apr 26 16:25:55 2016

returns 65024
Error: dt error !
--- random write/read
dt: lseek failed (fd 5, offset 262144000, whence 0)
dt: 'lseek', errno = 22 - Invalid argument
dt: Error number 1 occurred on Tue Apr 26 16:25:56 2016

Total Statistics:
     Output device/file name: /dev/sdx (device type=disk)
     Type of I/O's performed: random (rseed=0x3f36)
       Random I/O Parameters: position=0, ralign=512, rlimit=1474560
   Data pattern read/written: 0xdeadbeef
     Total records processed: 0 @ 512 bytes/record (0.500 Kbytes)
     Total bytes transferred: 0 (0.000 Kbytes, 0.000 Mbytes)
      Average transfer rates: 0 bytes/sec, 0.000 Kbytes/sec
     Number I/O's per second: 0.000
      Total passes completed: 0/1
       Total errors detected: 1/1
          Total elapsed time: 11955h28m06.27s
           Total system time: 00m00.00s
             Total user time: 00m00.00s
               Starting time: Tue Apr 26 16:25:56 2016
                 Ending time: Tue Apr 26 16:25:56 2016

returns 65280
Error: dt error !
Error: raw I/O test failed !

Storage test on device sdx failed
<summary>FAIL</summary>
</output>
</output> 
 

Version-Release number of selected component (if applicable):
RHEL7.2 ppcx64le GA
3.10.0-327.10.1.el7.ppc64le
redhat-certification-hardware-1.7.1-20160210.el7.noarch
redhat-certification-backend-2.2-20160202.el7.noarch
redhat-certification-2.2-20160202.el7.noarch
redhat-certification-information-1.7.1-20160210.el7.noarch

How reproducible:
Yes

Steps to Reproduce:
1.Plug a USB floppy to the LTS
2.Mount the USB Floppy to the SUT via KVM
3.Select the Hwcert/storage host3 to test in the web UI for control server

Actual results:
storage     host3   /devices/pci0004:00/0004:00:00.0/0004:01:00.0/0004:02:09.0/0004:09:00.0/usb1/1-3/1-3.2/1-3.2:1.0/host3/target3:0:0/3:0:0:0/block/sdx - FAIL

Expected results:
storage     host3   /devices/pci0004:00/0004:00:00.0/0004:01:00.0/0004:02:09.0/0004:09:00.0/usb1/1-3/1-3.2/1-3.2:1.0/host3/target3:0:0/3:0:0:0/block/sdx - PASS

Additional info:
Detail information as attachment (output.log)

Comment 1 Jarvis 2016-04-28 02:42:51 UTC
An example, the following is a list SUT Storage equipment, and the test item is targeted at virtual Floppy0:
[root@saba /]# lsscsi
[0:0:0:0]    disk    HGST     HUC101830CSS200  A703  /dev/sda
[0:0:1:0]    disk    HGST     HUC101830CSS200  A703  /dev/sdb
[0:0:2:0]    disk    HGST     HUC101830CSS200  A703  /dev/sdc
[0:0:3:0]    disk    HGST     HUC101830CSS200  A703  /dev/sdd
[0:0:4:0]    disk    HGST     HUC101830CSS200  A703  /dev/sde
[0:0:5:0]    disk    HGST     HUC101830CSS200  A703  /dev/sdf
[0:0:6:0]    disk    HGST     HUC101830CSS200  A703  /dev/sdg
[0:0:7:0]    disk    HGST     HUC101830CSS200  A703  /dev/sdh
[0:0:8:0]    disk    HGST     HUC101830CSS200  A703  /dev/sdi
[0:0:9:0]    disk    HGST     HUC101830CSS200  A703  /dev/sdj
[0:0:10:0]   disk    HGST     HUC101830CSS200  A703  /dev/sdk
[0:0:11:0]   disk    IBM-ESXS PX04SVQ160       6101  /dev/sdl
[0:0:12:0]   disk    IBM-ESXS PX04SVQ160       6101  /dev/sdm
[0:0:13:0]   disk    IBM-ESXS PX04SVQ160       6101  /dev/sdn
[0:0:14:0]   disk    IBM-ESXS PX04SVQ160       6101  /dev/sdo
[0:0:15:0]   disk    IBM-ESXS PX04SVQ160       6101  /dev/sdp
[0:0:16:0]   enclosu IBM      Saba-MP          0103  -
[1:0:0:0]    disk    IBM-ESXS PX04SVQ160       6101  /dev/sdq
[1:0:1:0]    disk    IBM-ESXS PX04SVQ160       6101  /dev/sdr
[1:0:2:0]    disk    IBM-ESXS PX04SVQ160       6101  /dev/sds
[1:0:3:0]    disk    IBM-ESXS PX04SVQ160       6101  /dev/sdt
[1:0:4:0]    disk    IBM-ESXS PX04SVQ160       6101  /dev/sdu
[1:0:5:0]    disk    IBM-ESXS PX04SVQ160       6101  /dev/sdv
[1:0:6:0]    disk    IBM-ESXS PX04SVQ160       6101  /dev/sdw
[1:0:7:0]    disk    IBM-ESXS PX04SVQ160       6101  /dev/sdag
[2:0:0:0]    cd/dvd  AMI      Virtual CDROM0   1.00  /dev/sr0
[2:0:0:1]    cd/dvd  AMI      Virtual CDROM1   1.00  /dev/sr1
[2:0:0:2]    cd/dvd  AMI      Virtual CDROM2   1.00  /dev/sr2
[2:0:0:3]    cd/dvd  AMI      Virtual CDROM3   1.00  /dev/sr3
[3:0:0:0]    disk    AMI      Virtual Floppy0  1.00  /dev/sdx
[3:0:0:1]    disk    AMI      Virtual Floppy1  1.00  /dev/sdy
[3:0:0:2]    disk    AMI      Virtual Floppy2  1.00  /dev/sdz
[3:0:0:3]    disk    AMI      Virtual Floppy3  1.00  /dev/sdaa
[4:0:0:0]    disk    AMI      Virtual HDisk0   1.00  /dev/sdab
[4:0:0:1]    disk    AMI      Virtual HDisk1   1.00  /dev/sdac
[4:0:0:2]    disk    AMI      Virtual HDisk2   1.00  /dev/sdad
[4:0:0:3]    disk    AMI      Virtual HDisk3   1.00  /dev/sdae
[4:0:0:4]    disk    AMI      Virtual HDisk4   1.00  /dev/sdaf
[root@saba /]#

Comment 2 Jarvis 2016-05-05 07:04:06 UTC
Hi Sir.
For this issue. Please kindly confirm.
Is it required when officially certified?