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

Bug 1072209

Summary: In CPUSCLAING test "Single CPU Power Save Test" section, all cpus will be load test
Product: [Retired] Red Hat Hardware Certification Program Reporter: Yunlong Xue <yxue>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.7.0CC: bbrock, brose, qcai, rlandry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hwcert-client 1.7.0-20140328.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-13 14:35:26 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
log sample
none
patch fixing power save test to load only one cpu none

Description Yunlong Xue 2014-03-04 06:28:00 UTC
Created attachment 870261 [details]
log sample

In CPUSCLAING test "Single CPU Power Save Test" section, all cpus will be load test.
But seems this section intend to load test on a single cpu.

Here is a log sample:

Comment 1 Yunlong Xue 2014-03-04 06:28:49 UTC
log sample:
https://bugzilla.redhat.com/attachment.cgi?id=870261

Comment 2 Yunlong Xue 2014-03-04 06:33:41 UTC
test on 1.7.0-20140212.1

Comment 3 Yunlong Xue 2014-03-05 07:45:49 UTC
I found one more problem today:

In the "Summary" Scetion, after
*********************************

On Demand

-------- --------------

*********************************

Only info of cpu0 printed, is this expected?

Comment 4 Greg Nichols 2014-03-26 20:05:44 UTC
Created attachment 879211 [details]
patch fixing power save test to load only one cpu

Also, will attempt to test max boost frequency

Comment 6 Brian Brock 2014-04-02 18:58:12 UTC
ran into bug 1083702 while testing this, so I can't verify the bugfix yet.

Comment 7 Brian Brock 2014-04-03 02:57:12 UTC
verified in 20140302.1

Single CPU Power Save Test:
-------------------------------------------------
Setting governor to powersave   (min: 800 MHz, max: 2400 MHz)
Setting cpu: 0
Setting cpu: 1
Setting cpu: 2
Setting cpu: 3
Setting cpu: 4
Setting cpu: 5
Setting cpu: 6
Setting cpu: 7
Waiting 5 seconds... done.
Warning: Could not verify that cpu frequency has settled to the minimum value
Using cpu 1 to test Single CPU On Demand.
Running CPU load test - for only cpu 1
Running load test for package 0
Single CPU Test: Loading only cpu1
starting process for cpu 1
using work process: ./aperf  1
waiting for load processes...
process for cpu 1 is done in 23.67 seconds, at 2299 MHz
process effective frequency: 2294 MHz
processes complete
average worker process time: 23.67 seconds
Running load test for package 0
Single CPU Test: Loading only cpu1
starting process for cpu 1
using work process: ./aperf  1
waiting for load processes...
process for cpu 1 is done in 23.67 seconds, at 2299 MHz
process effective frequency: 2294 MHz
processes complete
average worker process time: 23.67 seconds
Single CPU load test time: 23.67
Single CPU Power Save Speedup: 3.6
<summary>PASS</summary>