Skip to content

Use more generic JSON reboot cause extra info file#1631

Merged
arlakshm merged 1 commit intoAzure:202405from
ymd-arista:202405-greboot-2-conf-fix
Sep 18, 2025
Merged

Use more generic JSON reboot cause extra info file#1631
arlakshm merged 1 commit intoAzure:202405from
ymd-arista:202405-greboot-2-conf-fix

Conversation

@ymd-arista
Copy link

Use a more structured file format to hold reboot cause information.
Also match the cause and user to that used in the tests.

Cherry picking changes from sonic-net/sonic-buildimage#22638

Why I did it

During design discussion, it was pointed out that having a file with no schema to
hold the reboot cause info is a bad idea. This patch addresses that change.

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

@ymd-arista
Copy link
Author

@microsoft-github-policy-service agree [company="Arista Networks"]

@ymd-arista
Copy link
Author

@microsoft-github-policy-service agree company="Arista Networks"

@arlakshm
Copy link
Contributor

/Azp run Azure.sonic-buildimage-msft.PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Use a more structured file format to hold reboot cause information.
Also match the cause and user to that used in the tests.

Signed-off-by: Mohan Yelugoti <[email protected]>
@Javier-Tan Javier-Tan force-pushed the 202405-greboot-2-conf-fix branch from 97766c6 to 1602730 Compare September 18, 2025 01:21
@Javier-Tan
Copy link

/Azp run Azure.sonic-buildimage-msft.PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@arlakshm arlakshm merged commit 59b3ef3 into Azure:202405 Sep 18, 2025
16 checks passed
bingwang-ms pushed a commit that referenced this pull request Jan 16, 2026
…tically (#23334)

#### Why I did it
src/sonic-sairedis
```
* 7c435771 - (HEAD -> master, origin/master, origin/HEAD) Add missing <array> include to TestSyncdBrcm.cpp (#1632) (2 days ago) [Saikrishna Arcot]
* 80daaa3d - Support for platforms based on Clounix net device (#1618) (2 days ago) [LongWuuu]
* d5a9128a - Ignore SAI_TUNNEL_ATTR_ENCAP_TTL_MODE not implemented error during 202411->202505 warm-upgrade (#1644) (4 days ago) [Ryangwaite]
* 803973ab - Revert "update docker sonic test (#1639)" (#1643) (7 days ago) [jingwenxie]
* a600170d - update docker sonic test (#1639) (2 weeks ago) [jingwenxie]
* 3217d783 - Update SAI to include macsec POST API headers (#1628) (3 weeks ago) [senthil-nexthop]
* d500ae72 - [trim]: Add Packet Trimming Drop Counters to VS lib (#1630) (3 weeks ago) [Nazarii Hnydyn]
* 465bdced - VPP: Update UN_PERF to UN. (#1634) (4 weeks ago) [dypet]
* 0b8ccb1a - [Xsight] update config_syncd_xsight() (#1607) (5 weeks ago) [Eran Dahan]
* 4a96de71 - Temp workaround for sonic-buildimage issue 23387 (#1629) (5 weeks ago) [veronica-arista]
* 2e9c8563 - Use container registry when running tests (#1635) (5 weeks ago) [Saikrishna Arcot]
* ed738699 - Updated SAI version to 1.16.3. (#1631) (5 weeks ago) [mramezani95]
* dcf7573f - Allow missing SAI_MY_SID_ENTRY_ATTR_ENDPOINT_BEHAVIOR_FLAVOR. (#1597) (5 weeks ago) [dypet]
* 5bf346fe - fix the BFD tests for VPP (#1617) (5 weeks ago) [aronovic]
* 7bb53263 - (origin/sai_query_stats_st_capability) Exclude sonic-vpp sai code from code coverage check (#1622) (6 weeks ago) [yue-fred-gao]
* fb5652bd - [meta] do not fail bulk operations if MODE_IGNORE_ERROR (#1613) (6 weeks ago) [Nikola Dancejic]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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.

3 participants