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

[7215] Extend memory usage threshold to 65% #16526

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

Conversation

lizhijianrd
Copy link
Contributor

Description of PR

Summary:
Testcase platform_tests/test_cpu_memory_usage.py flaky fails on Nokia-7215.
The failure reason is MEM usage occasionally exceed threshold 60%. So far I haven't see it exceed 61%.

14/01/2025 04:50:11 test_cpu_memory_usage.check_memory       L0261 DEBUG  | System memory usage: 57% (below 60%) - Result: {'total': 3097488.0, 'free': 1326536.0, 'used': 1593928.0, 'used_percent': 57.2}
14/01/2025 04:50:11 test_cpu_memory_usage.test_cpu_memory_us L0072 DEBUG  | ------ Iteration 1 ------
14/01/2025 04:50:11 test_cpu_memory_usage.check_memory       L0261 DEBUG  | System memory usage: 59% (below 60%) - Result: {'total': 3097488.0, 'free': 1270408.0, 'used': 1650052.0, 'used_percent': 59.0}
14/01/2025 04:50:11 test_cpu_memory_usage.test_cpu_memory_us L0072 DEBUG  | ------ Iteration 2 ------
14/01/2025 04:50:11 test_cpu_memory_usage.check_memory       L0261 DEBUG  | System memory usage: 60% (exceed 60%) - Result: {'total': 3097488.0, 'free': 1229432.0, 'used': 1691028.0, 'used_percent': 60.3}
14/01/2025 04:50:11 test_cpu_memory_usage.test_cpu_memory_us L0072 DEBUG  | ------ Iteration 3 ------
14/01/2025 04:50:11 test_cpu_memory_usage.check_memory       L0261 DEBUG  | System memory usage: 58% (below 60%) - Result: {'total': 3097488.0, 'free': 1288936.0, 'used': 1631524.0, 'used_percent': 58.4}
14/01/2025 04:50:11 test_cpu_memory_usage.test_cpu_memory_us L0072 DEBUG  | ------ Iteration 4 ------
14/01/2025 04:50:11 test_cpu_memory_usage.check_memory       L0261 DEBUG  | System memory usage: 58% (below 60%) - Result: {'total': 3097488.0, 'free': 1298216.0, 'used': 1622248.0, 'used_percent': 58.1}

To resolve this issue, increase threshold to 65%.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Verified by running testcase on Nokia-7215 Mx testbed.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@lizhijianrd lizhijianrd requested a review from prgeor as a code owner January 15, 2025 10:50
@mssonicbld
Copy link
Collaborator

/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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants