HTX is a suite of test tools for stressing system hardware. It is routinely used by the test suites under systest/
. Refer to README
Pre-requisite: A Power Linux system is required to build the tools.
Obtaining SEL parser tools:
$ tar -xvf host_fw_debug.tar
$ for file_name in host_fw_debug* ; do mv $file_name ${file_name#host_fw_debug} ; done
The files of interest are as follows: eSEL.pl hbotStringFile hbicore.syms
An error log binary parser is also required:
opal-elog-parse
binary.Generating error log from SEL binary data:
Run the following command:
Create a directory and copy all the required binaries and script.
$ export PATH=$PATH:<path to directory>
$ eSEL.pl -l SEL_data -p decode_obmc_data --op
where SEL_data
is the file containing SEL binary data and option "--op" will refer "opal-elog-parse" instead or errl.
This command will generate a SEL_data.txt file.
opal-prd is a tool used by the Energy Scale and RAS tests. It should be installed on the OS of the system under test before running those tests. opal-prd may be installed on Ubuntu with: ``` apt install opal-prd ``` and on RedHat with: ``` yum install opal-prd ```
Note: You will be prompted to enter your GitHub password.
Usage:
$ cd tools/ $ python github_issues_to_csv <github user> <github repo>
Example for getting openbmc issues:
$ python github_issues_to_csv <github user> openbmc/openbmc
Example for getting openbmc-test-automation issues:
$ python github_issues_to_csv <github user> openbmc/openbmc-test-automation
Usage:
$ ./tools/generate_test_document <Robot test directory path> <test case document file path>
Example for generating tests cases documentation for tests directory:
$ ./tools/generate_test_document tests testsdirectoryTCdocs.html
Example for generating tests cases documentation: Note: Invoke the tool without arguments:
$ ./tools/generate_test_document