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

[Bug]: advanceboot_loganalyzer is writing report and summary file to the wrong place #14809

Open
Ryangwaite opened this issue Oct 1, 2024 · 0 comments · May be fixed by #14810
Open

[Bug]: advanceboot_loganalyzer is writing report and summary file to the wrong place #14809

Ryangwaite opened this issue Oct 1, 2024 · 0 comments · May be fixed by #14810
Assignees

Comments

@Ryangwaite
Copy link
Contributor

Issue Description

Following the refactor in https://github.com/sonic-net/sonic-mgmt/pull/14672/files, the *_report.json and *_summary.json files are now being written to a different path. This causes them not to be collected in downstream log collection logic. This was a side-effect of the refactor and should be restored to the original functionality.

Results you see

The paths are:

  • Report file path: sonic-mgmt/tests/common/logs/platform_tests/device-name_report.json
  • Summary file path: sonic-mgmt/tests/common/logs/platform_tests/device-name_summary.json

Results you expected to see

The paths should be:

  • Report file path: sonic-mgmt/tests/logs/platform_tests/device-name_report.json
  • Summary file path: sonic-mgmt/tests/logs/platform_tests/device-name_summary.json

Is it platform specific

generic

Relevant log output

No response

Output of show version

No response

Attach files (if any)

No response

Ryangwaite added a commit to Ryangwaite/sonic-mgmt that referenced this issue Oct 1, 2024
They were getting written to:
    Report file path: sonic-mgmt/tests/common/logs/platform_tests/device-name_report.json
    Summary file path: sonic-mgmt/tests/common/logs/platform_tests/device-name_summary.json

Which should have been:
    Report file path: sonic-mgmt/tests/logs/platform_tests/device-name_report.json
    Summary file path: sonic-mgmt/tests/logs/platform_tests/device-name_summary.json

This commit fixes sonic-net#14809
@Ryangwaite Ryangwaite self-assigned this Oct 1, 2024
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 a pull request may close this issue.

1 participant