[BFN] Fixed SONiC fwutil exec time#31
Merged
akokhan merged 3 commits intoakokhan:bfn_psu_sigtermfrom May 13, 2022
Merged
Conversation
added 3 commits
May 13, 2022 06:16
Signed-off-by: Taras Keryk <[email protected]>
Signed-off-by: Taras Keryk <[email protected]>
Signed-off-by: Taras Keryk <[email protected]>
akokhan
approved these changes
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
Signed-off-by: Taras Keryk <[email protected]>
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)