...
- Visibility: Public
- Change Control: Stable
- Synopsis: A new option added to pbs_benchpress command to enable saving post analysis data on test case failure in PTL
- Details: To enable saving post analysis data on test case failure in PTL, new command line option is introduced called '--post-analysis-data=<dir>' in pbs_benchpress command. By default PTL will not save any post analysis data in failure case. When enabled, PTL will store post analysis data on failure in given <dir> in below format
<dir>/<test suite 1 name>/
<test case 1 name>/
logfile_<status>
commands_output
PBS_<hostname>.tar.gz
...
<test case n name>/
logfile_<status>
commands_output
PBS_<hostname>.tar.gz
...
<test suite n name>/
<test case 1 name>/
logfile_<status>
commands_output
PBS_<hostname>.tar.gz
<test case 2 name>/
logfile_<status>
commands_output
PBS_<hostname>.tar.gz
...
<test case n name>/
logfile_<status>
commands_output
PBS_<hostname>.tar.gz
This post analysis data includes following data:- logfile_<status of test case>
- This file contains PTL logs of current test case for which post analysis data is being stored
- <status of test case> can be one of following:
- PASS
- SKIP
- FAIL
- ERROR
- TIMEDOUT
- Also in last line of this file will have time taken by current test case
- commands_output
- This file will be created only in case if <status of test case> is equal to FAIL, ERROR or TIMEDOUT
- This files contains output of following command run on each host used in current test case
- ps -ef | grep pbs_
- df -h
- vmstat
- uptime
- netstat (ss if availbale) -ap
- And output of following commands on server host used in current test case
- qmgr -c "p s"
- qmgr -c "p h"
- qmgr -c "p pbshook"
- pbsnodes -av
- qstat -tf
- pbs_rstat -f
- PBS_<hostname>.tar.gz
- This file will be created only in case if <status of test case> is equal to FAIL, ERROR or TIMEDOUT
- This file contains compressed PBS_HOME directory on <hostname>
- There will be multiple tarball for each host if multiple host used in current test case (i.e. in case of multinode test case)
- logfile_<status of test case>