Skip to contentSkip to conversation

How to get detailed system information between running tests

LTP [email protected] 1 participant 1 message May 13, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

Quoted 11 lines

Recently I met some fails in RHEL7.0Beta by running "./runltp", the fails are below:
------------------------------------------
hugemmap01 FAIL 2
hugemmap03 FAIL 2
hugemmap04 FAIL 2
------------------------------------------
After some investigation, I found that it is "echo 128 > /proc/sys/vm/nr_hugepages" causing these fails. By catting /proc/buddyinfo or catting /proc/pagetypeinfo, I found that the system has too many memory fragments and was not able to allocate 128 hugepages. So I also want to know which test cases results in these too many memory fragments.

Quoted 7 lines

It seems that LTP does not provide a method to get the system's status information between these tests. I think we may add patches to support providing a shell script to ltp-pan, which will be called before and after every test case, to record some system status information. In this shell script, you can collect system information you has interests in, then save these information to files. Then we can analysis these files to know which case causing the big system status changes.

Anybody has some better ideas, thanks.

That sounds more like a job for MMTests[1]. The upside of MMTests is that all the scripts for collection system information are allready written along with exporters to html and comparsion tools. The downside is that there is not much of documentation and LTP support is untested.

[1] https://github.com/gormanm/mmtests

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list