History log of /openbmc/openbmc-test-automation/lib/code_update_utils.robot (Results 1 – 25 of 65)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8f72e20e 28-Feb-2024 George Keishing <gkeishin@in.ibm.com>

Increase image upload time out to 5 minutes

Changes:
- Noticed due to firmware image size increasing causing
few instance of code update to time out. Bumping up the
time out from 4

Increase image upload time out to 5 minutes

Changes:
- Noticed due to firmware image size increasing causing
few instance of code update to time out. Bumping up the
time out from 4 to 5 minutes to increase success rate.

Tested:
- NA

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

show more ...


Revision tags: v4.0-stable
# a703780f 20-Oct-2023 Sushil Singh <susilsi7@in.ibm.com>

Moved Redfish update key to lib file

Changes:
- Moved keyword to lib file,
"Redfish Update Firmware"

Tested:
- Ran Successfully
Redfish Update Firmware.

Change-Id: I9853d84e7c85619

Moved Redfish update key to lib file

Changes:
- Moved keyword to lib file,
"Redfish Update Firmware"

Tested:
- Ran Successfully
Redfish Update Firmware.

Change-Id: I9853d84e7c856195738dc3b334bbddc3ff75ab89
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

show more ...


# 1ee3c939 24-Feb-2023 Sushil Singh <susilsi7@in.ibm.com>

Automated Code update scenario

Changes:
- Automated code update in progress then update
http certificate
- Added parameter that is https_certificate to
"Redfish Code Update With Diff

Automated Code update scenario

Changes:
- Automated code update in progress then update
http certificate
- Added parameter that is https_certificate to
"Redfish Code Update With Different Interrupted Operation"

Tested:
- Ran successfully
redfish/update_service/test_redfish_bmc_code_update.robot

Change-Id: Icb5410f6abea42291162771cc25b2b64b08cbae1
Signed-off-by: Sushil Singh <susilsi7@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 ...


# f0d5ae7c 24-Feb-2022 George Keishing <gkeishin@in.ibm.com>

Provision image upload timeout

Changes:
- Add IMAGE_UPLOAD_WAIT_TIMEOUT and default to 4 minutes

Usage:
User can specify -v IMAGE_UPLOAD_WAIT_TIMEOUT:10

Change-Id: I53e52213bf5215b714aaf744

Provision image upload timeout

Changes:
- Add IMAGE_UPLOAD_WAIT_TIMEOUT and default to 4 minutes

Usage:
User can specify -v IMAGE_UPLOAD_WAIT_TIMEOUT:10

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

show more ...


# ffa2d4b5 25-Oct-2021 Sushil Singh <susilsi7@in.ibm.com>

Automation code to check task progress state

changes:
- Keywords "Get All Task",
"Get Task Objects",
"Check Task Attribute",
"Check Task Progress State"

Automation code to check task progress state

changes:
- Keywords "Get All Task",
"Get Task Objects",
"Check Task Attribute",
"Check Task Progress State"

Change-Id: Ia88d06eaa0b348997f6d40fd1b7dc9d9f6d62b0f
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

show more ...


# e25113a0 18-Jun-2021 George Keishing <gkeishin@in.ibm.com>

Add logic to get image ID from Redfish firmware inventory

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


# 5fe1e02f 13-Jun-2021 Sushil Singh <susilsi7@in.ibm.com>

Automation code update utility function to get image id

Change-Id: I6d1105ceb171109c254cf92f421462969ca549cb
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>


Revision tags: v2.10-Hardknott
# 36db996e 13-May-2021 George Keishing <gkeishin@in.ibm.com>

Bump up redfish image upload timedout

This is to add more time for cases where network or responses are
slower than expected and improved update success rate

Change-Id: Ie27ad26

Bump up redfish image upload timedout

This is to add more time for cases where network or responses are
slower than expected and improved update success rate

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

show more ...


# f617c30a 23-Jul-2020 Sushil Singh <susilsi7@in.ibm.com>

Automation fix to print apply time

Change-Id: I4172b7ecf34dea01f1987a198dff1385837622b6
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>


Revision tags: v2.8.0-stable
# 20ccfc71 19-Jun-2020 Marissa Garza <garzam@us.ibm.com>

Updated FOR loop syntax to new robot version

Signed-off-by: Marissa Garza <garzam@us.ibm.com>
Change-Id: Iad394c40eef9508db6840ed9692d102910a5c5df


# 2b4ef608 19-Jun-2020 George Keishing <gkeishin@in.ibm.com>

Remove TODO action items from the codes

These comments are no longer valid or lost in time. The fixes
are resilience so far and changing could lead to wider impacts.
Removing them fo

Remove TODO action items from the codes

These comments are no longer valid or lost in time. The fixes
are resilience so far and changing could lead to wider impacts.
Removing them for good and we will fix as an when it is reported.

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

show more ...


# ec4ab93c 08-Jun-2020 Sushil Singh <susilsi7@in.ibm.com>

Address issue for deprecated syntax

Change-Id: Ib81b1d1e133607e00c2de834db4451e3e175123d
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>


# 8d8ce965 05-Jun-2020 Sushil Singh <susilsi7@in.ibm.com>

Address issue for deprecated syntax

Change-Id: I15a1f420e4f515f04c10061391b6d4b59abc88f1
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>


# 89e12bf3 13-Jan-2020 George Keishing <gkeishin@in.ibm.com>

Add timeout for uploading image file to BMC

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


# 8a32bcdf 12-Jan-2020 George Keishing <gkeishin@in.ibm.com>

Increase redfish image upload timed out

Network and image file size could result in image upload failure.
The changes is made to improve chance of upload success rate.

Change-Id

Increase redfish image upload timed out

Network and image file size could result in image upload failure.
The changes is made to improve chance of upload success rate.

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

show more ...


# 65a7f162 30-Oct-2019 George Keishing <gkeishin@in.ibm.com>

Increase timedout and retry wait time for code upload

The change is to facilitate increasing BMC image size, that the
assumed timedout is needed to be increased as well else it fails

Increase timedout and retry wait time for code upload

The change is to facilitate increasing BMC image size, that the
assumed timedout is needed to be increased as well else it fails
during file upload due to insufficient time windows to transfer
to the BMC /tmp/images/ location.

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

show more ...


# ca0bc3b2 17-Oct-2019 Sushil Singh <susilsi7@in.ibm.com>

Get Current Applytime And Verify

Scenario:
Added code to get current Applytime and verify

Change-Id: Id9737d41d6c5e2c8da6ba73f95e9317b1b54e319
Signed-off-by: Sushil Singh

Get Current Applytime And Verify

Scenario:
Added code to get current Applytime and verify

Change-Id: Id9737d41d6c5e2c8da6ba73f95e9317b1b54e319
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

show more ...


# 56f590a5 25-Sep-2019 Sushil Singh <susilsi7@in.ibm.com>

New structure data to pass for ApplyTime

Change-Id: Ic2401fcf497b003bbe5d8451de381803a44754fb
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>


# c51eee7d 01-Sep-2019 Sushil Singh <susilsi7@in.ibm.com>

TFTP Bad firmware update for BMC/Host

Resolves openbmc/openbmc-test-automation#1898

Change-Id: Ie3bf4a5d9c2e9381632189c3fad8ee11febb7b43
Signed-off-by: Sushil Singh <susilsi7@in

TFTP Bad firmware update for BMC/Host

Resolves openbmc/openbmc-test-automation#1898

Change-Id: Ie3bf4a5d9c2e9381632189c3fad8ee11febb7b43
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

show more ...


# e7edb22c 19-Aug-2019 Michael Walsh <micwalsh@us.ibm.com>

Change Rvalid to Valid

Change all references to keywords like "Rvalid Values" to "Valid Values".
"Rvalid Values" has been deprecated.

Change-Id: I1b418fa69e5753c8bfb9e6a06a8b566

Change Rvalid to Valid

Change all references to keywords like "Rvalid Values" to "Valid Values".
"Rvalid Values" has been deprecated.

Change-Id: I1b418fa69e5753c8bfb9e6a06a8b566359e10cae
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


# 2e9d9cf9 12-Aug-2019 Adriana Kobylak <anoo@us.ibm.com>

code_update_utils: s/delete/Delete

The method name is Delete, not delete.

Tested: Verified the Delete_Host_Image was successful.

Change-Id: Iba19f1ea8809714e40bbbc6787e37ff

code_update_utils: s/delete/Delete

The method name is Delete, not delete.

Tested: Verified the Delete_Host_Image was successful.

Change-Id: Iba19f1ea8809714e40bbbc6787e37ff2589904d4
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...


# 9ed85723 12-Aug-2019 Adriana Kobylak <anoo@us.ibm.com>

code_update_utils: Don't delete software object twice

There is no need to remove the software object twice, the backend
code has been fixed.

Change-Id: Id41aa5e5ad07688783a4779b

code_update_utils: Don't delete software object twice

There is no need to remove the software object twice, the backend
code has been fixed.

Change-Id: Id41aa5e5ad07688783a4779bb45c042b2fc521a2
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...


# 5ea86d02 11-Jul-2019 Sushil Singh <susilsi7@in.ibm.com>

redfish code update keyword

Resolves openbmc/openbmc-test-automation#1612

Change-Id: I9b6cea5e0b6b2424ed347ea0e6e44275baeac7c0
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>

redfish code update keyword

Resolves openbmc/openbmc-test-automation#1612

Change-Id: I9b6cea5e0b6b2424ed347ea0e6e44275baeac7c0
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# cfa950c7 18-Jul-2019 George Keishing <gkeishin@in.ibm.com>

ImageURI TFTP download and install for BMC and Host image

Changes:
- Added test for the following use cases:
1. TFTP update with OnReset
2. TFTP update with I

ImageURI TFTP download and install for BMC and Host image

Changes:
- Added test for the following use cases:
1. TFTP update with OnReset
2. TFTP update with Immediate
3. ImageURI update with OnReset
4. ImageURI update with Immediate
- Added keyword to set ApplyTime
- Added logic to wait for boot to standby
- New tftp utils file

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

show more ...


123