Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Target release17.1.1
Epic

PP-302 - Getting issue details... STATUS

Document status
DRAFT
Document owner
DesignerHiren Vadalia (Deactivated)
DevelopersHiren Vadalia (Deactivated)
QA
Forum discussion Click here


Interface: New option (--post-analysis-data=<dir>) in pbs_benchpress command

  • 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"
        • pbsnodes -av
        • qstat -tf
    • 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)
  • No labels