crm_stats_ipv6_route_available counter was not decremented#12186
Merged
kevinskwang merged 22 commits intosonic-net:masterfrom Aug 14, 2024
Merged
Conversation
Signed-off-by: Anshul Dubela <[email protected]>
Signed-off-by: Anshul Dubela <[email protected]>
"tests/dualtor/test_standby_tor_upstream_mux_toggle.py:89:121: E501 line too long (123 > 120 characters)"
"tests/dualtor/test_standby_tor_upstream_mux_toggle.py:89:121: E501 line too long (123 > 120 characters)"
# For Cisco-8000 devices, hardware counters are statistical-based with +/- 1 entry tolerance.
# Hence, the available counters may not increase as per initial value for multiple facts collected.
# For Cisco-8000 devices, hardware counters are statistical-based with +/- 1 entry tolerance.
# Hence, the available counter may not increase as per initial value.
Removed the extra line.
Fix below pre-commit error: tests/dualtor/test_standby_tor_upstream_mux_toggle.py:95:39: E225 missing whitespace around operator
Fixed Below pre-commit issue: trim trailing whitespace.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing tests/common/utilities.py
Signed-off-by: Anshul Dubela <[email protected]>
Rev 8454 Unmatched CRM facts rev
…mented Signed-off-by: Anshul Dubela <[email protected]>
Contributor
|
@anshuldubela could you fix the conflict? |
Contributor
Author
|
@kevinskwang Please review. |
kevinskwang
approved these changes
Aug 14, 2024
mssonicbld
pushed a commit
to mssonicbld/sonic-mgmt
that referenced
this pull request
Aug 14, 2024
…#12186) * MIGSOFTWAR-8454 Unmatched CRM facts Signed-off-by: Anshul Dubela <[email protected]> * MIGSOFTWAR-8454 Unmatched CRM facts Signed-off-by: Anshul Dubela <[email protected]> * Update test_standby_tor_upstream_mux_toggle.py "tests/dualtor/test_standby_tor_upstream_mux_toggle.py:89:121: E501 line too long (123 > 120 characters)" * Update test_standby_tor_upstream_mux_toggle.py "tests/dualtor/test_standby_tor_upstream_mux_toggle.py:89:121: E501 line too long (123 > 120 characters)" * Update test_standby_tor_upstream_mux_toggle.py # For Cisco-8000 devices, hardware counters are statistical-based with +/- 1 entry tolerance. # Hence, the available counters may not increase as per initial value for multiple facts collected. * Update utilities.py # For Cisco-8000 devices, hardware counters are statistical-based with +/- 1 entry tolerance. # Hence, the available counter may not increase as per initial value. * Update utilities.py Removed the extra line. * Update test_standby_tor_upstream_mux_toggle.py Fix below pre-commit error: tests/dualtor/test_standby_tor_upstream_mux_toggle.py:95:39: E225 missing whitespace around operator * Update utilities.py Fixed Below pre-commit issue: trim trailing whitespace.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing tests/common/utilities.py * Unmatched CRM facts Rev Signed-off-by: Anshul Dubela <[email protected]> * MIGSOFTWAR-11400 crm_stats_ipv6_route_available counter was not decremented Signed-off-by: Anshul Dubela <[email protected]> --------- Signed-off-by: Anshul Dubela <[email protected]>
Collaborator
|
Cherry-pick PR to 202405: #14104 |
8 tasks
mssonicbld
pushed a commit
that referenced
this pull request
Aug 14, 2024
* MIGSOFTWAR-8454 Unmatched CRM facts Signed-off-by: Anshul Dubela <[email protected]> * MIGSOFTWAR-8454 Unmatched CRM facts Signed-off-by: Anshul Dubela <[email protected]> * Update test_standby_tor_upstream_mux_toggle.py "tests/dualtor/test_standby_tor_upstream_mux_toggle.py:89:121: E501 line too long (123 > 120 characters)" * Update test_standby_tor_upstream_mux_toggle.py "tests/dualtor/test_standby_tor_upstream_mux_toggle.py:89:121: E501 line too long (123 > 120 characters)" * Update test_standby_tor_upstream_mux_toggle.py # For Cisco-8000 devices, hardware counters are statistical-based with +/- 1 entry tolerance. # Hence, the available counters may not increase as per initial value for multiple facts collected. * Update utilities.py # For Cisco-8000 devices, hardware counters are statistical-based with +/- 1 entry tolerance. # Hence, the available counter may not increase as per initial value. * Update utilities.py Removed the extra line. * Update test_standby_tor_upstream_mux_toggle.py Fix below pre-commit error: tests/dualtor/test_standby_tor_upstream_mux_toggle.py:95:39: E225 missing whitespace around operator * Update utilities.py Fixed Below pre-commit issue: trim trailing whitespace.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing tests/common/utilities.py * Unmatched CRM facts Rev Signed-off-by: Anshul Dubela <[email protected]> * MIGSOFTWAR-11400 crm_stats_ipv6_route_available counter was not decremented Signed-off-by: Anshul Dubela <[email protected]> --------- Signed-off-by: Anshul Dubela <[email protected]>
arista-hpandya
pushed a commit
to arista-hpandya/sonic-mgmt
that referenced
this pull request
Oct 2, 2024
…#12186) * MIGSOFTWAR-8454 Unmatched CRM facts Signed-off-by: Anshul Dubela <[email protected]> * MIGSOFTWAR-8454 Unmatched CRM facts Signed-off-by: Anshul Dubela <[email protected]> * Update test_standby_tor_upstream_mux_toggle.py "tests/dualtor/test_standby_tor_upstream_mux_toggle.py:89:121: E501 line too long (123 > 120 characters)" * Update test_standby_tor_upstream_mux_toggle.py "tests/dualtor/test_standby_tor_upstream_mux_toggle.py:89:121: E501 line too long (123 > 120 characters)" * Update test_standby_tor_upstream_mux_toggle.py # For Cisco-8000 devices, hardware counters are statistical-based with +/- 1 entry tolerance. # Hence, the available counters may not increase as per initial value for multiple facts collected. * Update utilities.py # For Cisco-8000 devices, hardware counters are statistical-based with +/- 1 entry tolerance. # Hence, the available counter may not increase as per initial value. * Update utilities.py Removed the extra line. * Update test_standby_tor_upstream_mux_toggle.py Fix below pre-commit error: tests/dualtor/test_standby_tor_upstream_mux_toggle.py:95:39: E225 missing whitespace around operator * Update utilities.py Fixed Below pre-commit issue: trim trailing whitespace.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing tests/common/utilities.py * Unmatched CRM facts Rev Signed-off-by: Anshul Dubela <[email protected]> * MIGSOFTWAR-11400 crm_stats_ipv6_route_available counter was not decremented Signed-off-by: Anshul Dubela <[email protected]> --------- Signed-off-by: Anshul Dubela <[email protected]>
vikshaw-Nokia
pushed a commit
to vikshaw-Nokia/sonic-mgmt
that referenced
this pull request
Oct 23, 2024
…#12186) * MIGSOFTWAR-8454 Unmatched CRM facts Signed-off-by: Anshul Dubela <[email protected]> * MIGSOFTWAR-8454 Unmatched CRM facts Signed-off-by: Anshul Dubela <[email protected]> * Update test_standby_tor_upstream_mux_toggle.py "tests/dualtor/test_standby_tor_upstream_mux_toggle.py:89:121: E501 line too long (123 > 120 characters)" * Update test_standby_tor_upstream_mux_toggle.py "tests/dualtor/test_standby_tor_upstream_mux_toggle.py:89:121: E501 line too long (123 > 120 characters)" * Update test_standby_tor_upstream_mux_toggle.py # For Cisco-8000 devices, hardware counters are statistical-based with +/- 1 entry tolerance. # Hence, the available counters may not increase as per initial value for multiple facts collected. * Update utilities.py # For Cisco-8000 devices, hardware counters are statistical-based with +/- 1 entry tolerance. # Hence, the available counter may not increase as per initial value. * Update utilities.py Removed the extra line. * Update test_standby_tor_upstream_mux_toggle.py Fix below pre-commit error: tests/dualtor/test_standby_tor_upstream_mux_toggle.py:95:39: E225 missing whitespace around operator * Update utilities.py Fixed Below pre-commit issue: trim trailing whitespace.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing tests/common/utilities.py * Unmatched CRM facts Rev Signed-off-by: Anshul Dubela <[email protected]> * MIGSOFTWAR-11400 crm_stats_ipv6_route_available counter was not decremented Signed-off-by: Anshul Dubela <[email protected]> --------- Signed-off-by: Anshul Dubela <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
issue
> pytest.fail(""crm_stats_ipv{}_route_available" counter was not decremented".format(ip_ver))
E Failed: "crm_stats_ipv6_route_available" counter was not decremented
Summary:
Fixes # (issue)
As per the detailed UT with crm/test_crm.py::test_crm_route, below are my observations:
crm_stats_route_available - new_crm_stats_route_available > 1
Type of change
Back port request
Approach
What is the motivation for this PR?
How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation