Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1050982

Summary: hwcert-client-1.7.0-62.1 storage tests still use ext3 filesystems for benchmark performance
Product: [Retired] Red Hat Hardware Certification Program Reporter: Adam Ru <aru>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED EOL QA Contact: William Gomeringer <wgomerin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.7.0CC: rlandry, wgomerin
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: hwcert-client 1.7.0-20140331 Doc Type: Bug Fix
Doc Text:
The storage test now uses the xfs file system for testing.
Story Points: ---
Clone Of:
: 1080221 (view as bug list) Environment:
Last Closed: 2020-03-27 15:34:29 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:    
Bug Blocks: 1052374    
Attachments:
Description Flags
patch changing storage to use xfs
none
additional patch changing mkfs from -F to -f none

Description Adam Ru 2014-01-09 13:14:01 UTC
Description of problem:

RHEL7 beta has choose xfs as the default file system while the storage tests in hwcert-client-1.7.0-62.1 still run ext3 filesystems benchmark performance,should the testcases update to test xfs accordingly?

Version-Release number of selected component (if applicable):

[root@prme-swcert-dhcp054 share]# uname -a
Linux prme-swcert-dhcp054.eng.vmware.com 3.10.0-54.0.1.el7.x86_64 #1 SMP Tue Nov 26 16:51:22 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@prme-swcert-dhcp054 share]# rpm -qa | grep hwcert
hwcert-client-1.7.0-62.1.el7.noarch
hwcert-client-info-1.7.0-62.1.el7.noarch



Additional info:

[root@prme-swcert-dhcp054 storage]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Thu Jan  9 05:19:06 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/rhel_prme--swcert--dhcp054-root /                       xfs     defaults        1 1
UUID=52f3bf47-a2b6-4ef7-a73b-1115be1c5897 /boot                   xfs     defaults        1 2
/dev/mapper/rhel_prme--swcert--dhcp054-swap swap                    swap    defaults        0 0


<output name="Test storage I/O for sdd">
Found sdd in /proc/partitions.
----test device is sdd----
*** Testing buffered filesystem (ext3) performance on sdd



[root@prme-swcert-dhcp054 storage]# pwd
/usr/share/hwcert/tests/storage
[root@prme-swcert-dhcp054 storage]# grep ext3 storage.py
        print "*** Testing buffered filesystem (ext3) performance on %s" % testdev
        if os.system("mkfs -t ext3 -F /dev/%s" % testdev) is 0:
            if os.system("mount -t ext3 /dev/%s %s" % (testdev, mountdir)) is 0:

Comment 3 Greg Nichols 2014-03-25 17:21:16 UTC
Created attachment 878593 [details]
patch changing storage to use xfs

also adds better handling to restore swap if test is killed.

Comment 4 Greg Nichols 2014-03-31 17:24:49 UTC
Created attachment 880943 [details]
additional patch changing mkfs from -F to -f