Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v5.0-stable, v4.0-stable
# 6fb70d98 24-Oct-2023 Matt Fischer <matthew.fischer@hpe.com>

Switch from Force Tags to Test Tags

Force Tags is deprecated in Robot 7.0 and will eventually
warn and then after that stop working. Test Tags performs
the same function per docs.

Change-Id: I7cf30

Switch from Force Tags to Test Tags

Force Tags is deprecated in Robot 7.0 and will eventually
warn and then after that stop working. Test Tags performs
the same function per docs.

Change-Id: I7cf305754b247b995a05d8da3b9de9ed613ecae2
Signed-off-by: Matt Fischer <matthew.fischer@hpe.com>

show more ...


# 409df05d 17-Jan-2024 George Keishing <gkeishin@in.ibm.com>

Robot Framework 7.0 changes

Update robot code syntax overall in the repo

Changes:
- Update the requirement.txt package version for robot
- The '[Return]' setting is deprecated.
Use the

Robot Framework 7.0 changes

Update robot code syntax overall in the repo

Changes:
- Update the requirement.txt package version for robot
- The '[Return]' setting is deprecated.
Use the 'RETURN' statement instead.
- Singular section headers like '*** Test Case ***'
are deprecated. Use plural format like
'*** Test Cases ***' instead.
- Singular section headers like '*** Variable ***'
are deprecated

Tested:
- Ran from sandbox with the version
$ robot --version
Robot Framework 7.0 (Python 3.10.12 on linux)

and also tested on latest python version

Robot Framework 7.0 (Python 3.11.9 on linux)

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

show more ...


# 02d32765 07-Mar-2024 Yi Hu <yih@supermicro.com>

Fix for redfishtool certificate, snmp and session management

Changes:
- Set cert_id as test variable
- Remove colon in snmp destination when the snmp port is empty
- Fix redfish_delete_session

Fix for redfishtool certificate, snmp and session management

Changes:
- Set cert_id as test variable
- Remove colon in snmp destination when the snmp port is empty
- Fix redfish_delete_sessions assign location
- Set REDFISH_DELETE_SESSIONS to 0 in suite setup
- Set REDFISH_DELETE_SESSIONS back to 1 in suite teardown

Tested:
- redfish/service_root/test_sessions_management.robot
- redfish/dmtf_tools/test_redfishtool_certificate.robot
- redfish/events/test_bmc_snmp_trap.robot

Change-Id: Ibb16d52b5874484f8cf169456e2feb4ba7593e71
Signed-off-by: Wilson Suen <wilsons@supermicro.com>

show more ...


# 41e5ad25 10-Nov-2023 Alagiridhilipank <alagiridhilipank@ami.com>

Changes: Added expected error argument

- Added argument name expected_error for the status code

Tested:
- Ran and Executed test_redfishtool_certificate.robot script

Change-Id: I83aa6a71081176bcf6b

Changes: Added expected error argument

- Added argument name expected_error for the status code

Tested:
- Ran and Executed test_redfishtool_certificate.robot script

Change-Id: I83aa6a71081176bcf6be9829abfbf6e7c09ccb62
Signed-off-by: ALAGIRI DHILIPAN K <alagiridhilipank@ami.com>

show more ...


# 5431685f 16-Oct-2023 George Keishing <gkeishin@in.ibm.com>

Add new force tags for test suites

Comments:
- Added new tags for the test suites

Tested:
- NA

Change-Id: Ibd7eb9e821290c44bd1255d47a52e596e6135cbf
Signed-off-by: George Keishing <gkeishin@i

Add new force tags for test suites

Comments:
- Added new tags for the test suites

Tested:
- NA

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

show more ...


# 365dd46d 12-Oct-2023 George Keishing <gkeishin@in.ibm.com>

Fix code syntax and warning errors

Changes:
- Fixes the following warnings
Line has trailing whitespace (TrailingWhitespace)
Non-existing setting 'Foce Tags'

Tested:
- Tested usin

Fix code syntax and warning errors

Changes:
- Fixes the following warnings
Line has trailing whitespace (TrailingWhitespace)
Non-existing setting 'Foce Tags'

Tested:
- Tested using robot --dryrun option and rflint tools.

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

show more ...


# 28af00af 18-Aug-2023 manashsarma <manashsarma@in.ibm.com>

Fix testcase to verify replace certificate error

Changes: - Corrected expected error code in keyword
'Verify Redfishtool Replace Certificate'

Tested: - Ran the testcases for replacing ce

Fix testcase to verify replace certificate error

Changes: - Corrected expected error code in keyword
'Verify Redfishtool Replace Certificate'

Tested: - Ran the testcases for replacing certificate with
error from sandbox successfully.

Change-Id: Ie93d9a59bcc100bf03af123f7e60f2ac5762df5a
Signed-off-by: manashsarma <manashsarma@in.ibm.com>

show more ...


# 785b0431 24-Aug-2023 manashsarma <manashsarma@in.ibm.com>

Added fix in testcase for cert installation with redfishtool

Changes:
- Removed wrong argument passing to library method 'Redfishtool Post'

Tested:
- Ran the testcase 'Install Server

Added fix in testcase for cert installation with redfishtool

Changes:
- Removed wrong argument passing to library method 'Redfishtool Post'

Tested:
- Ran the testcase 'Install Server Certificate Using Redfishtool And Verify Via OpenSSL'
from sandbox successfully.

Change-Id: Id3eee4bf59dff41ce4efd8cbc82c3a7536023473
Signed-off-by: manashsarma <manashsarma@in.ibm.com>

show more ...


# 53ccf4d4 29-Aug-2023 manashsarma <manashsarma@in.ibm.com>

Fix for CSR related tests in redfishtool certificate suite

Changes:
- keybit_length is suppose to have interger value. So now setting
keybit_length variable to an interger value of 2048.

Fix for CSR related tests in redfishtool certificate suite

Changes:
- keybit_length is suppose to have interger value. So now setting
keybit_length variable to an interger value of 2048.

Tested:
- Ran below test cases from sandbox successfully
Verify CSR Generation For Server Certificate Via Redfishtool
Verify CSR Generation For Client Certificate Via Redfishtool

Change-Id: Ie364b9fe9bab461804f0c50ba2e39037f915c0cb
Signed-off-by: manashsarma <manashsarma@in.ibm.com>

show more ...


# 85c22656 22-Apr-2023 ganesanb <ganesanb@ami.com>

Update redfish rsp code for cert update/install

Changes:
- Updated redfish response code to expect either 200 or 204
while updating or installing certificate via redfish.
- Both client

Update redfish rsp code for cert update/install

Changes:
- Updated redfish response code to expect either 200 or 204
while updating or installing certificate via redfish.
- Both client / server certificate response code updated.

Tested:
- Ran All The Scripts Successfully

Change-Id: Iae3c9c68b433e78c7c51a8891c0df1ac084b8595
Signed-off-by: ganesanb <ganesanb@ami.com>

show more ...


# 4d430283 27-Apr-2023 ganesanb <ganesanb@ami.com>

Managers ID : Introduced variable to declare Managers ID in resource.robot and updated all the scripts in openbmc-test-automation

Changes:
- Introduced ${MANAGER_ID} variable in resource.robot

Managers ID : Introduced variable to declare Managers ID in resource.robot and updated all the scripts in openbmc-test-automation

Changes:
- Introduced ${MANAGER_ID} variable in resource.robot
- Replaced all the Managers/bmc to Managers/${MANAGER_ID} across all the scripts
- Also in data/variables.py updated chassis id for the few redfish uri.

Tested:
- Ran All The Scripts Successfully

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

show more ...


# 8d31f15e 27-Apr-2023 ganesanb <ganesanb@ami.com>

Certificate: Hardcoded keybit length was removed and an keyword was introduced to have keybit length in variables section

Changes:
- ${keybit_length} keyword was introduced in variables section.

Certificate: Hardcoded keybit length was removed and an keyword was introduced to have keybit length in variables section

Changes:
- ${keybit_length} keyword was introduced in variables section.
- keybit length(2048) declared inside test case was renamed to ${keybit_length}.
- Introduced ${keybit_length} variable in lib/certificate_utils.robot file.
- Renamed hardcoded keybit length in "Generate Certificate File Via Openssl" keyword.

Tested:
- Ran Following Scripts Successfully
- redfish/dmtf_tools/test_redfishtool_certificate.robot
- redfish/managers/test_certificate.robot

Change-Id: I9f6490acb468a61d4cd35b5082b770016f293005
Signed-off-by: ganesanb <ganesanb@ami.com>

show more ...


# e7b5c04b 25-Apr-2023 manashsarma <manashsarma@in.ibm.com>

Fix redfishtool automation testcase for certificate

Changes:
- Added Fix in keyword 'Verify Redfishtool Replace Certificate'

Tested:
- Ran the related test cases with fix from sandbo

Fix redfishtool automation testcase for certificate

Changes:
- Added Fix in keyword 'Verify Redfishtool Replace Certificate'

Tested:
- Ran the related test cases with fix from sandbox successfully.

Change-Id: Icc1cdab151dd6d74f0eb4a32954ddc73437124fa
Signed-off-by: manashsarma <manashsarma@in.ibm.com>

show more ...


# 03fcac19 05-Apr-2023 manashsarma <manashsarma@in.ibm.com>

Fix redfishtool certificate test automation issues

Changes:
- Added fix for redfishtool certificate replacement automation test case

Tested:
- Ran the testcases with fix from sandbo

Fix redfishtool certificate test automation issues

Changes:
- Added fix for redfishtool certificate replacement automation test case

Tested:
- Ran the testcases with fix from sandbox successfully.

Change-Id: I2c0a6065311a9cde447705e4d9da3051b3392259
Signed-off-by: manashsarma <manashsarma@in.ibm.com>

show more ...


# 8e6ebd25 20-Feb-2023 rramyasr-in <rramyasr@in.ibm.com>

Updated Organization to xyz

Changes:
- redfish/dmtf_tools/test_redfishtool_certificate.robot
- redfish/managers/test_certificate.robot

Change-Id: If80160e9f2d0fd8ca4f3963595bc7ffae6476f35
S

Updated Organization to xyz

Changes:
- redfish/dmtf_tools/test_redfishtool_certificate.robot
- redfish/managers/test_certificate.robot

Change-Id: If80160e9f2d0fd8ca4f3963595bc7ffae6476f35
Signed-off-by: rramyasr-in <rramyasr@in.ibm.com>

show more ...


# 7ffc3a54 18-Aug-2022 George Keishing <gkeishin@in.ibm.com>

HTTPError 500 POST on Session raises an exception

To handle 500 Server Error: Internal Server Error for URL
when the test suite is executed for the error scenario.

Changes:
- Added expect_stat

HTTPError 500 POST on Session raises an exception

To handle 500 Server Error: Internal Server Error for URL
when the test suite is executed for the error scenario.

Changes:
- Added expect_status to handle error response.
Without this, it raises exceptions and fails.

Tested:
Ran test suite
redfish/dmtf_tools/test_redfishtool_certificate.robot

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

show more ...


Revision tags: robotframework-requests
# fbd67007 01-Aug-2022 George Keishing <gkeishin@in.ibm.com>

Robotframework request package upgrade changes

Current working package version
robotframework-requests 0.7.2

To Test:
pip3 install robotframework-requests -U
or

Robotframework request package upgrade changes

Current working package version
robotframework-requests 0.7.2

To Test:
pip3 install robotframework-requests -U
or
# Once this commit is merged.
pip3 install -r requirements.txt

Version latest:
robotframework-requests 0.9.3

Refer Documentation:
https://marketsquare.github.io/robotframework-requests/doc/RequestsLibrary.html

What is not changed:
- The test cases under directory tests/ is not modified and is
deprecated but you can continue using it with older package
and configuration using

git clone -b v3.0-stable https://github.com/openbmc/openbmc-test-automation

Tested:
Upstream HW_CI test list, firmware code update and few other
test suite like ipmi, certificate, dumps, ffdc and redfish
test suites.

Note: I have not tested end to end, so it is likely there could be
grey areas where it could fail but should be minor w.r.t
response data format.

Resolves: openbmc/openbmc-test-automation#2105

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

show more ...


# 5236ec54 31-Jan-2022 George Keishing <gkeishin@in.ibm.com>

Fix test cases name tags under redfish directory

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


# d4ba2493 10-Jan-2022 George Keishing <gkeishin@in.ibm.com>

Fix HTTPS_PORT user define port input

Resolves openbmc/openbmc-test-automation#2145

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


Revision tags: v2.10-Hardknott
# 16b3c7bf 28-Jan-2021 George Keishing <gkeishin@in.ibm.com>

Fix typo in the code and documentation

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


# 2843e39e 05-Oct-2020 Tony Lee <tony.lee@quantatw.com>

Fixed the duplicated tags name

Some tags names in test_redfishtool_certificate.robot are the same as
test_certificate.robot.

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

Fixed the duplicated tags name

Some tags names in test_redfishtool_certificate.robot are the same as
test_certificate.robot.

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

show more ...


# e12c8479 24-Jul-2020 manashsarma <manashsarma@in.ibm.com>

Add certficate csr test cases

Change-Id: I342f5cf328884c5aafeef41b4ab78f9302309bac
Signed-off-by: manashsarma <manashsarma@in.ibm.com>


Revision tags: v2.8.0-stable
# c0efe585 15-Jun-2020 manashsarma <manashsarma@in.ibm.com>

Add test cases for local user and cert management

Test cases added:
- Verify Redfishtool CA Certificate Install Errors
- Verify Error While Uploding Same CA Certificate Via Red

Add test cases for local user and cert management

Test cases added:
- Verify Redfishtool CA Certificate Install Errors
- Verify Error While Uploding Same CA Certificate Via Redfishtool
- Verify Server Certificate View With Openssl Via Redfishtool
- Verify Error While Running Redfishtool With Incorrect Password

Change-Id: I53ffc4d78fe67d1d986320f09320cf67dfd8963e
Signed-off-by: Manash Sarma <manashsarma@in.ibm.com>

show more ...


# f510346d 18-Jun-2020 Anusha Dathatri <adathatr@in.ibm.com>

Fixed code length to be under 110 characters

Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
Change-Id: I3228f8830589cbc49a8ada1260106793e544e9cb


# 579d8253 28-May-2020 manashsarma <manashsarma@in.ibm.com>

Add redfishtool utility library file and related changes

Change-Id: Ida402a7c8d188603f085f5a3740bdb3e0efea3a4
Signed-off-by: manashsarma <manashsarma@in.ibm.com>


12