-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[VOQ] 'portstat -j' generates invalid output #15439
Closed
Comments
Add @arlakshm @wenyiz2021 for visiblity. |
abdosi
pushed a commit
to sonic-net/sonic-utilities
that referenced
this issue
Jun 13, 2023
This was referenced Jun 13, 2023
pdhruv-marvell
pushed a commit
to pdhruv-marvell/sonic-utilities
that referenced
this issue
Aug 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
We observed this issue in T2 testing with recent 202205 image.
portstat -j
produced the following line that is not able parsed by json.This seems a regression from sonic-net/sonic-utilities#2851. The offending line is https://github.com/sonic-net/sonic-utilities/blob/dbcaaf8aa27b37dfba1b088e2fa59fd94b8dc683/scripts/portstat#L341
With the above condition,
Reminder: Please execute 'show interface counters -d all' to include internal links
is printed even when use_json isTrue
.Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: