Revision tags: v5.0-stable, v4.0-stable |
|
#
20f38712 |
| 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Signed-off-by: Patrick Will
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I944f1915ece753f72a3fa654902d445a9749d0f9
show more ...
|
#
e635ddc0 |
| 08-Dec-2022 |
George Keishing <gkeishin@in.ibm.com> |
Revert "black: re-format"
This reverts commit 5731818de0ce446ceaafc7e75ae39da1b69942ae.
Signed-off-by: George Keishing <gkeishin@in.ibm.com> Change-Id: Ie61cdc8c7f2825b0d9d66be87a6a3a058de2b372
|
#
5731818d |
| 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Change-Id: If1010ead857d413
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Change-Id: If1010ead857d41364c024bf8145a979a9377d382 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
Revision tags: robotframework-requests |
|
#
e7e9171e |
| 03-Sep-2021 |
George Keishing <gkeishin@in.ibm.com> |
Update python code for python 3.8 or higher compatibility
Changes: - Update shebang directive to use python3 explicitly. - remove preexec_fn feature which is deprecated in higher py
Update python code for python 3.8 or higher compatibility
Changes: - Update shebang directive to use python3 explicitly. - remove preexec_fn feature which is deprecated in higher python version 3.8 and above. - bufsize fix, from documentation bufsize 1 means line buffered (only usable if universal_newlines=True i.e., in a text mode) refer: https://docs.python.org/3/library/subprocess.html - Fix SyntaxWarning: "is" with "=="
Change-Id: Ib96c1ba8c2327d6774d0d731b48ca7e61a4a297a Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
Revision tags: v2.10-Hardknott, v2.8.0-stable |
|
#
410b1787 |
| 22-Oct-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
Change several python and robot files to 110 chars
Taking advantage of current team limit of 110 chars.
Change-Id: If7ab51fe894889967b8c8bb2f2fa4664f01117d5 Signed-off-by: Michael Walsh <micwalsh@u
Change several python and robot files to 110 chars
Taking advantage of current team limit of 110 chars.
Change-Id: If7ab51fe894889967b8c8bb2f2fa4664f01117d5 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
Revision tags: v2.7-warrior-stable, v2.6-thud-stable |
|
#
36efbc04 |
| 12-Dec-2018 |
George Keishing <gkeishin@in.ibm.com> |
Python 2.7x and 3.xx compatibility fixes
Change-Id: I84eb3bf7691fa867acadf9dae8c4f56a9781bf73 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
|
Revision tags: v2.2-stable, v2.1-stable |
|
#
004ad3c9 |
| 11-Jun-2018 |
Joy Onyerikwu <onyekachukwu.joy.onyerikwu@ibm.com> |
Formatted python files to follow PEP 8 python code standards.
- Changed the python files in the openbmc-test-automation directory to conform to python code style standards with the excepti
Formatted python files to follow PEP 8 python code standards.
- Changed the python files in the openbmc-test-automation directory to conform to python code style standards with the exception of E402 and E501. - Resolves openbmc/openbmc-test-automation#1308
Change-Id: I109995c2d248f5a6bb2c0e3c76a6144c8f3aac2e Signed-off-by: Joy Onyerikwu <onyekachukwu.joy.onyerikwu@ibm.com> Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
Revision tags: v2.0-stable |
|
#
096cd565 |
| 26-Mar-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Fixed PEP 8 style using autopep8
Used autopep8 to correct styling. Ran autopep8 on openbmc-test-automation, autopep8 is not able to fix all styling issues. There is still around 1000 styling violati
Fixed PEP 8 style using autopep8
Used autopep8 to correct styling. Ran autopep8 on openbmc-test-automation, autopep8 is not able to fix all styling issues. There is still around 1000 styling violations in openbmc-test-automation. More information on autopep8 can be found here, https://pypi.python.org/pypi/autopep8
Change-Id: Iddc131da1d74d978eb3dd0fdd6ce5d0a0e49b0f8 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
d690150c |
| 14-Nov-2017 |
Michael Walsh <micwalsh@us.ibm.com> |
Remove hashtag lines from all .py files.
Change-Id: Ib2b52f6ff71c8f553e0cfb1936c8e0917e70c619 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
#
6cd9cbe5 |
| 30-Jun-2017 |
Michael Walsh <micwalsh@us.ibm.com> |
Support for DEBUG_SKIP_INTEGRATED and pep8 fixes.
Change-Id: I389fa5f097530f3ac68bc81d401df015e04d611d Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
#
7423c01a |
| 04-Oct-2016 |
Michael Walsh <micwalsh@us.ibm.com> |
Providing plug-in support:
Typically, a test program is written to perform certain basic tests on a test machine. For example, one might write an "obmc_boot" program that performs various boot test
Providing plug-in support:
Typically, a test program is written to perform certain basic tests on a test machine. For example, one might write an "obmc_boot" program that performs various boot tests on the Open BMC machine.
Experience has shown that over time, additional testing needs often arise. Examples of such additional testing needs might include:
- Data base logging of results - Performance measurements - Memory leak analysis - Hardware verification - Error log (sels) analysis - SOL_console
The developer could add additional parms to obmc_boot and likewise add supporting code in obmc_boot each time a need arises. Users would employ these new functions as follows:
obmc_boot --perf=1 --mem_leak=1 --db_logging=1 --db_userid=xxxx
However, another option would be to add general-purpose plug-in support to obmc_boot. This would allow the user to indicate to obmc_boot which plug-in packages it ought to run. Such plug-in packages could be written in any langauge whatsoever: Robot, python, bash, perl, C++.
An example call to obmc_boot would then look something like this:
obmc_boot --plug_in_dir_paths="Perf:Mem_leak:DB_logging"
Now all the obmc_boot developer needs to do is call the plug-in processing module (process_plug_in_packages.py) at various call points which are agreed upon by the obmc_boot developer and the plug-in developers. Example call points which can be implemented are:
setup - Called at the start of obmc_boot pre_boot - Called before each boot test initiated by obmc_boot post_boot - Called after each boot test initiated by obmc_boot cleanup - Called at the end of obmc_boot
This allows the choice of options to be passed as data to obmc_boot. The advantages of this approach are: - Much less maintenance of the original test program (obmc_boot). - Since plug-ins are separate from the main test program, users are free to have plug-ins that suit their environments. One user may wish to log results to a database that is of no interest to the rest of the world. Such a plug-in can be written and need never be pushed to gerrit/github. - One can even write temporary plug-ins designed just to collect data or stop when a particular defect occurs.
In our current environment, the concept has proven exceedingly useful. We have over 40 permanent plug-ins and in our temp plug-in directory, we still have over 80 plug-ins.
Change-Id: Iee0ea950cffaef202d56da4dae7c044b6366a59c Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|