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

Revert "[submodule]: Update sonic-swss (#7478)" #7524

Merged
merged 1 commit into from
May 6, 2021
Merged

Revert "[submodule]: Update sonic-swss (#7478)" #7524

merged 1 commit into from
May 6, 2021

Conversation

shlomibitton
Copy link
Contributor

This reverts commit 963e7f4.

Why I did it

This PR sonic-net/sonic-swss#1646 caused COUNTERS_MAP to be empty even after counters are enabled.
It should be reverted.
A fix for this issue will be provided ASAP.

How I did it

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

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

@shlomibitton shlomibitton requested a review from lguohan as a code owner May 5, 2021 15:44
@lguohan
Copy link
Collaborator

lguohan commented May 5, 2021

what is missing here? how to verify the bug?

@shlomibitton
Copy link
Contributor Author

The failing script is port_rates.lua#83, it fails because there are no expected counters for port in counters DB:

E.g:
127.0.0.1:6379[2]> hget COUNTERS_PORT_NAME_MAP Ethernet8
"oid:0x10000000004c5"
127.0.0.1:6379[2]> hgetall COUNTERS:oid:0x10000000004c5

  1. "SAI_PORT_STAT_ETHER_TX_OVERSIZE_PKTS"
  2. "0"

@liat-grozovik liat-grozovik merged commit 557483d into sonic-net:master May 6, 2021
@liat-grozovik
Copy link
Collaborator

once the fix will be available @shlomibitton wil update swss as well

@lguohan
Copy link
Collaborator

lguohan commented May 8, 2021

looks like we are missing unit test case here, otherwise, this should be catched by the vstest or sonic-mgmt test, can you add additional test to prevent this from happening again?

raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-buildimage that referenced this pull request May 23, 2021
@shlomibitton shlomibitton deleted the shlomi_revert branch June 2, 2021 12:35
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
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