Skip to content

[BFN] Fixed SONiC fwutil exec time#31

Merged
akokhan merged 3 commits intoakokhan:bfn_psu_sigtermfrom
taras-keryk:tk_fwutil_tmout
May 13, 2022
Merged

[BFN] Fixed SONiC fwutil exec time#31
akokhan merged 3 commits intoakokhan:bfn_psu_sigtermfrom
taras-keryk:tk_fwutil_tmout

Conversation

@taras-keryk
Copy link
Copy Markdown

Signed-off-by: Taras Keryk [email protected]

Why I did it

The execution time of the SONiC fwutil command is more than 30s if the BFN SDK is not updated to the latest version

How I did it

Added a wrapper to platform_utils to limit function execution time

How to verify it

The execution time of the SONiC fwutil command without updating SDK to the latest version should be a maximum of a few seconds

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

Taras Keryk added 3 commits May 13, 2022 06:16
Signed-off-by: Taras Keryk <[email protected]>
Signed-off-by: Taras Keryk <[email protected]>
@taras-keryk taras-keryk requested a review from lguohan as a code owner May 13, 2022 13:48
@akokhan akokhan merged this pull request into akokhan:bfn_psu_sigterm May 13, 2022
akokhan pushed a commit that referenced this pull request Aug 12, 2022
f00efef Longxiang Lyu Wed Mar 16 09:12:46 2022 +0800 Add a command line option to store logs into a separate file (sonic-net#41)
ff2e67d Longxiang Lyu Tue Mar 15 09:10:59 2022 +0800 Add default port cable type (sonic-net#39)
ebbb4d8 Jing Zhang Mon Mar 14 15:41:11 2022 -0700 Prevent switching MUX to "Unknown" (sonic-net#36)
c779b8f Longxiang Lyu Thu Mar 10 21:35:11 2022 +0800 [nonfunctional] Use LinkProberStateMachineBase (sonic-net#38)
b9fedd0 Longxiang Lyu Wed Mar 9 13:03:58 2022 +0800 [NONFUNCTIONAL] Add LinkProberStateMachineBase (sonic-net#37)
bedd42b Longxiang Lyu Wed Mar 9 10:03:00 2022 +0800 Add .clang-format file to format code (#28)
9fe4fc6 Guohan Lu Thu Mar 3 17:51:43 2022 -0800 [doc]: add lgtm badge in README.md
c1249d9 Longxiang Lyu Wed Mar 2 18:05:18 2022 +0800 Enable lgtm (sonic-net#33)
b8514c6 Longxiang Lyu Wed Mar 2 13:34:39 2022 +0800 Collect port cable type to use corresponding state machine (#31)
9b59ef9 Longxiang Lyu Wed Mar 2 07:19:33 2022 +0800 Improve make clean (sonic-net#32)
akokhan pushed a commit that referenced this pull request Sep 11, 2022
akokhan pushed a commit that referenced this pull request Sep 30, 2022
* [BFN] Canceling PSU platform API calls on SIGTERM

Signed-off-by: Andriy Kokhan <[email protected]>

* [BFN] Fixed SONiC fwutil exec time (#31)

Signed-off-by: Taras Keryk <[email protected]>

Signed-off-by: Andriy Kokhan <[email protected]>
Signed-off-by: Taras Keryk <[email protected]>
Co-authored-by: Taras Keryk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants