Bug 1307185

Summary: Hardware CPU scaling cert fails when Intel cpu pstate is enabled
Product: Red Hat Certification Program Reporter: Surendra Beechagonda <subg>
Component: redhat-certification-hardwareAssignee: Nobody <nobody>
Status: NEW --- QA Contact: rhcert qe <rhcert-qe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.0CC: gnichols, rhsu5, subg
Target Milestone: ---Flags: brose: needinfo? (subg)
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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
failure results none

Description Surendra Beechagonda 2016-02-12 23:46:20 UTC
Created attachment 1123676 [details]
failure results

Description of problem:
Hardware CPU scaling cert fails when Intel cpu pstate is enabled

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

How reproducible:


Steps to Reproduce:
1.Run rhcert tool to test cpu scaling
2.
3.

Actual results:


Expected results:


Additional info:
Test suite should be enhanced to assume intel pstate is on.

Comment 1 Surendra Beechagonda 2016-02-12 23:48:46 UTC
Comments from our development team

The documentation seems to indicate the the test is using the file /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies for find the available freqs for the test. That file is not present in the QA host running RHEL 7.2
There is a driver that is compiled by default with the RHEL 7.2 kernel. The driver is named INTEL_PSTATE. If I disable this driver using the kernel command line parameter 'intel_pstate=disable' then the file 'scaling_available_frequencies' is present in the system.
Re-running the scaling test with the intel_pstate driver disabled it passes the test.
  So, given this result we need to ask RedHat about running this test on RHEL 7.2. Their default kernel for this version of the OS is coming with the intel_pstate driver enabled.
  We also see that the frequencies/scaling frequencies files and their contents under '/sys/devices/system/cpu/cpuX/cpufreq' in RHEL 7.2 and RHEL 6.7 are similar when the intel_pstate driver is disabled.

Comment 2 brose 2017-04-19 02:10:37 UTC
Are you still experiencing this issue with the latest released redhat-certification-backend, redhat-certification, and redhat-certification-hardware packages?

Thanks