Hi!
> When I run cpuhotplug05 cases on our platform(powerpc), it failed:
> Name:   cpuhotplug05
> Date:   Wed Oct 16 10:49:31 UTC 2013
> Desc:   Does sar behave properly during CPU hotplug events?
> 
> CPU is 1
> cpuhotplug05    1  TFAIL  :  CPU1 Not Found on SAR!
> 
> After some investigation:
> 
> the following code:
> 
>         while ! grep -iq nan $TMP/log_$$; do
> 
>                 tst_resm TFAIL "CPU${CPU_TO_TEST} Not Found on SAR!"
> 
>                 exit_clean 1
> 
>         done
> 
> root cause:
> output of command "sar" has been changed, the log from "sar" output did NOT 
> include "nan".
> 
> Enrionment:
> Sysstat version: 10.1.4
> Ltp version: 20130109-r0

It looks like the sar parameters and output changes from time to time.
On my system (systat 10.0.5) sar does not accept zero as a inifinte
count and needs to be executed as 'sar -P ALL 1' instead of
'sar -P ALL 1 0'.

I guess that the only solution is to switch on systat version and change
expectations accordingly. Feel free to send a patch.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to