Skip to content

Increase time interval to retrieve snmp facts #15041

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

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

Conversation

Janetxxx
Copy link
Contributor

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR

Resolve flaky test when running tests/snmp/test_snmp_phy_entity.py, it couldn't retrieve transceiver dom sensor info for all ports in time when running multiple test modules all at once.

How did you do it?

Increase default wait timeout from 300s to 500s, increase default check interval from 10s to 20s.

How did you verify/test it?

Validate it in the internal setup

=========================== short test summary info ============================
SKIPPED [1] snmp/test_snmp_phy_entity.py:370: Not supported on non supervisor node
SKIPPED [1] platform_tests/thermal_control_test_helper.py:123: No mocker defined for this platform x86_64-arista_7060x6_64pe
SKIPPED [1] snmp/test_snmp_phy_entity.py:644: At least 2 PSUs required for rest of the testing in this case
============= 4 passed, 3 skipped, 1 warning in 330.68s (0:05:30) ==============

Any platform specific information?

str3-7060x6-64pe-1

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

t0-standalone-32

Documentation

@Janetxxx Janetxxx requested a review from Pterosaur October 18, 2024 00:00
@Janetxxx
Copy link
Contributor Author

@wangxin Could you please help to merge it? Thanks!

@wangxin
Copy link
Collaborator

wangxin commented Oct 21, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Pterosaur
Copy link
Contributor

/azp run

Copy link

Commenter does not have sufficient privileges for PR 15041 in repo sonic-net/sonic-mgmt

@Pterosaur
Copy link
Contributor

/azpw run

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.

3 participants