Bug 1082080
| Summary: | RHEL7 CPUScaling Userspace Governor Failure | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | HP Enterprise Cert team <redhat_cert> | ||||||||||||||||||||||
| Component: | Test Suite (tests) | Assignee: | Greg Nichols <gnichols> | ||||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||||||||||||||||||||
| Severity: | urgent | Docs Contact: | |||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||
| Version: | 1.7.0 | CC: | brose, ctatman, gnichols, nicholsonr, prarit, qcai, redhat_cert, rlandry | ||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||
| Whiteboard: | |||||||||||||||||||||||||
| Fixed In Version: | hwcert-client 1.7.0-20140413 | Doc Type: | Bug Fix | ||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||
| Last Closed: | 2015-07-13 14:45:01 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: |
|
||||||||||||||||||||||||
Please attach the test results (/var/hwcert/results.xml) Thanks! Created attachment 879983 [details]
results.xml
The BL680cG7 /var/hwcert/results.xml
(In reply to HP Enterprise Cert team from comment #2) > Created attachment 879983 [details] > results.xml > > The BL680cG7 /var/hwcert/results.xml There are no cpuscaling results in this file. Could you attach cpuscaling test results? Thanks! The first attachment, "BL680c G7 results" contains the cpuscaling xml.gz results package. Could you try the following commands to set frequency: cpupower -c all frequency-set --governor powersave --min 1060000 --max 1060000 and also: cpupower -c all frequency-set --governor powersave --min 1064000 --max 1064000 Thanks! Referring to comment 7 the 1st command returned the following error: Setting cpu: 0 Error setting new values. Common errors: - Do you have proper administration rights? (super-user?) - Is the governor you requested available and modprobed? - Trying to set an invalid policy? - Trying to set a specific frequency, but userspace governor is not available, for example because of hardware which cannot be set to a specific frequency or because the userspace governor isn't loaded? The 2nd command was successful. Created attachment 885899 [details]
cpuscaling test patch to use /sys/../available-frequencies if present
Could you test the above patch? - Thanks! I'll test it if you can attach the updated cpuscaling.py file. Created attachment 886314 [details]
patched cpuscaling.py
Created attachment 886315 [details]
patched syscpufreq.py
Here you go! When launching hwcert 1.7.0-20140317 with the two updated files there is a line error at 228. See attachment 'file error' for screenshot of error and the two files which were copied to /usr/share/hwcert/tests/cpuscaling/. Due to code error did not start the test. Created attachment 886900 [details]
file error
(In reply to HP Enterprise Cert team from comment #18) > When launching hwcert 1.7.0-20140317 with the two updated files there is a > line error at 228. See attachment 'file error' for screenshot of error and > the two files which were copied to /usr/share/hwcert/tests/cpuscaling/. Due > to code error did not start the test. It looks like the file was opened and/or edited with some sort of Windows program - control-M's are on each line, causing the error. Could you re-download the file or remove the control-M's retry? Also, please attach a copy of /proc/cpuinfo Thanks! Created attachment 886919 [details]
updated hwcert-client-info package
Created attachment 886920 [details]
updated hwcert-client package
Rather than updating files, please install the updated packages. Thanks! Created attachment 886922 [details]
/proc/cpuinfo for this system
Retest passed using the attached hwcert-client-info-1.7.0-20140415.1 and hwcert-client-1.7.0-20140415.1 kit rpms. Used the same BL680c_G7 setup this issue was originally seen on so it has the same processors as the cpuinfo file in comment 25. See the attached cpuscaling xml.gz passing results package for details. Created attachment 886970 [details]
cpuscaling xml.gz passing results
|
Created attachment 879916 [details] BL680c G7 results Description of problem: On the ProLiant BL680cG7 and DL585G7 servers with RHEL7 snapshot 10 or snapshot 11 the hwcert-client-1.7.0-20140317 cpuscaling test fails b/c it is not able to set the governor to userspace. Error setting new values. Common errors: - Do you have proper administration rights? (super-user?) - Is the governor you requested available and modprobed? - Trying to set an invalid policy? - Trying to set a specific frequency, but userspace governor is not available, for example because of hardware which cannot be set to a specific frequency or because the userspace governor isn't loaded? Error: can't set the governor: The available governors reported via the scaling_available_governors is as follows: conservative userspace powersave ondemand performance All procs can be set to the userspace governor via the following command: cpupower frequency-set -g userspace Governor setting verified as follows: watch more /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor Since the server and OS appear to behave normally, this appears to be a problem with the cpuscaling test, but so far we have only seen this behavior on the BL680cG7 and the DL585G7. Version-Release number of selected component (if applicable): hwcert-client-1.7.0-20140317 with RHEL7 snapshot 10 and 11. hwcert-client-1.7.0-20140220 with RHEL7 snapshot 10. How reproducible: always Steps to Reproduce: 1. Set the RBSU Power Regulator to OS Control Mode 2. Install RHEL7 per cert requirements 3. Install the cert kit dependencies and hwcert-client cert kit. 4. Run the cpuscaling test Actual results: The cpuscaling test fails b/c the governor cannot be set to userspace. Expected results: The cpuscaling test should pass as the userspace governor is available and can be set manually. Additional info: BL680cG7 results package and sosreport in attachment.