History log of /openbmc/openbmc-test-automation/data/model.py (Results 1 – 11 of 11)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 139f1da6 18-Oct-2024 Brian Ma <chma0@nuvoton.com>

Use importlib.util to replace imp

Since the imp module is deprecated and scheduled for removal in
Python 3.12 in favor of importlib, update the relevant libraries to
resolve any ModuleNotFoundError

Use importlib.util to replace imp

Since the imp module is deprecated and scheduled for removal in
Python 3.12 in favor of importlib, update the relevant libraries to
resolve any ModuleNotFoundError issues with Python 3.12.

Changes:
- use import importlib.util instead of import imp

Tested:
- Ran basic test pass with Python 3.10 and 3.12.

Change-Id: I25dde939dd25268b2ae329b0121858bec20ed03c
Signed-off-by: Brian Ma <chma0@nuvoton.com>

show more ...


Revision tags: v5.0-stable, v4.0-stable
# b1d2f495 15-Dec-2022 George Keishing <gkeishin@in.ibm.com>

Fix warning and errors CI

Change-Id: I00689763f9128229382a389826336eb5cd99662d
Signed-off-by: George Keishing <gkeishin@in.ibm.com>


# 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
# 1e303caf 26-Feb-2020 Tony Lee <tony.lee@quantatw.com>

Refactoring the case "Test FRU Info At Power On"

Modularize the way to provide target FRU components which
want to verify.

Example:
robot -v OPENBMC_HOST:x.x.x.x -v CHANNEL_NUMBER:2
-v OPENBMC_MODE

Refactoring the case "Test FRU Info At Power On"

Modularize the way to provide target FRU components which
want to verify.

Example:
robot -v OPENBMC_HOST:x.x.x.x -v CHANNEL_NUMBER:2
-v OPENBMC_MODEL:./data/projectA.py tests/ipmi/test_fru.robot

Content in projectA.py is as follows:

"""
FRU_COMPONENT_NAME = [
"cpu",
"dimm",
]

ipmi_rest_fru_field_map = {
"cpu": {
"board_mfg_date": "BuildDate",
"board_mfg": "Manufacturer",
"board_product": "PrettyName",
"board_serial": "SerialNumber",
"board_part_number": "PartNumber"
},
"dimm": {
"product_manufacturer": "Manufacturer",
"product_name": "PrettyName",
"product_part_number": "Model",
"product_version": "Version",
"product_serial": "SerialNumber"
},
}
"""

Signed-off-by: Tony Lee <tony.lee@quantatw.com>
Change-Id: I69c921750129167c5904574223032f7abad92fa6

show more ...


Revision tags: v2.7-warrior-stable, v2.6-thud-stable
# 0a5a1935 20-Jan-2019 George Keishing <gkeishin@in.ibm.com>

Fix python2.7 and python3.x compatible code

Change-Id: Ifb625daad3bf4073680e669d97570ac9d5096c0a
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
# dca3579b 26-Mar-2018 Gunnar Mills <gmills@us.ibm.com>

Fixed PEP 8 style in /data/ py files

Used autopep8 to correct the styling in /data/ py files.
Of the 10832 style violations in openbmc-test-automation,
~9000 were in this directory.
More information

Fixed PEP 8 style in /data/ py files

Used autopep8 to correct the styling in /data/ py files.
Of the 10832 style violations in openbmc-test-automation,
~9000 were in this directory.
More information on autopep8 can be found here,
https://pypi.python.org/pypi/autopep8

Change-Id: Ie97006525109fbf869cd8ca76426279111112bfa
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...


# b29d2e84 07-Jun-2016 Chris Austen <austenc@us.ibm.com>

Port suite from mkumatag personal repo w/o history

All these files came from https://github.com/mkumatag/openbmc-automation
The decision to remove the commit history was because most of the 122
comm

Port suite from mkumatag personal repo w/o history

All these files came from https://github.com/mkumatag/openbmc-automation
The decision to remove the commit history was because most of the 122
commits did not follow commit comment AND content best practices.
The ability to remove the commit history was possible because all
contributors where from the same company (IBM) making the coordination /
notification/acceptence easy. See all the gory details about the
first try to commit with history here...
https://github.com/openbmc/openbmc-test-automation/pull/1

This suite of tests will run against an OpenBMC based server. It will
run good/bad path testing against the REST interface. There are tests
that will also run ipmitool on the victim BMC too.

If you want to support a new system in to the suite you should only
have to edit two files...
data/<system>.py
tox.ini

The README.md contains details on how to setup for the first time along
with how to execute the test suite

NOTE: some test cases require tools that do not exist on the system.
Currently the ipmitool is needed and if you do not manually copy / link
it in to the tools directory some suites will fail.

show more ...