Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[show_tech] modify generate_dump to includes BERT data and also the platform specified hw-mgmt info #101

Open
wants to merge 1 commit into
base: 202405
Choose a base branch
from

Conversation

arlakshm
Copy link
Contributor

@arlakshm arlakshm commented Jan 7, 2025

What I did

Modify the generate_dump to include the BERT data and the platform specified hw-mgmt info

How I did it

  1. Introduced a new function save_sys() which save the /sys/firmware/acpi/tables folder which container the BERT info.
  2. Follow the consistency to modify the collect_broadcom to the platform specified script hw-management-generate_dump.sh if this script exists.
  3. Enhance generate_dump to create log/files.timestamp.info to gather modification timestamp of all log files in the /var/log directory.

How to verify it

  1. Execute the "show techsupport" on both Supervisor and Linecard
  2. Download and open the show_tech file to verify the following info
  • folder hw-mgmt exists and contains the platform specified info
  • folder sys/ exists and contains the BERT info
  • file log/files.timestamp.info.gz should exist.

…latform specified hw-mgmt info (#3676)

What I did
Modify the generate_dump to include the BERT data and the platform specified hw-mgmt info

How I did it
Introduced a new function save_sys() which save the /sys/firmware/acpi/tables folder which container the BERT info.
Follow the consistency to modify the collect_broadcom to the platform specified script hw-management-generate_dump.sh if this script exists.
Enhance generate_dump to create log/files.timestamp.info to gather modification timestamp of all log files in the /var/log directory.
How to verify it
Execute the "show techsupport" on both Supervisor and Linecard
Download and open the show_tech file to verify the following info
folder hw-mgmt exists and contains the platform specified info
folder sys/ exists and contains the BERT info
file log/files.timestamp.info.gz should exist.

---------

Signed-off-by: mlok <[email protected]>
@arlakshm
Copy link
Contributor Author

arlakshm commented Jan 7, 2025

port sonic-net/sonic-utilities#3676

@mlok-nokia
Copy link
Contributor

@arlakshm This PR requires a new NDK. Please not to merge 202405 yet

@liushilongbuaa
Copy link
Contributor

/azp run

Copy link

No pipelines are associated with this pull request.

@liushilongbuaa
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

4 participants