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

SNMP link-local test: wait until snmp agent fully start #16461

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

lizhijianrd
Copy link
Contributor

@lizhijianrd lizhijianrd commented Jan 10, 2025

Description of PR

Summary:
On Nokia-7215 platform, we observed below flaky failure:

invocation = {'module_args': {'_raw_params': 'docker exec snmp snmpget -v2c -c public fe80::...
_ansible_no_log = None
stdout =
stderr =
Timeout: No Response from fe80::xxxx%eth0.

The root cause is that Nokia-7215 has low performance and the snmpget command is issued before snmpagent fully start.
To resolve this issue, I added a wait_until to ensure snmpagent already listening on the link-local IP address.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
    • Add ownership here(Microsft required only)
  • Test case improvement

Back port request

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

Approach

What is the motivation for this PR?

On Nokia-7215 platform, we observed below flaky failure:

Timeout: No Response from fe80::xxxx%eth0.

The root cause is that Nokia-7215 has low performance and the snmpget command is issued before snmpagent fully start.

How did you do it?

To resolve this issue, I added a wait_until to ensure snmpagent already listening on the link-local IP address.

How did you verify/test it?

Verified on Nokia-7215 Mx testbed.

Any platform specific information?

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

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wangxin wangxin merged commit 8b4f733 into sonic-net:master Jan 13, 2025
21 checks passed
@lizhijianrd lizhijianrd deleted the snmp-link-local-7215 branch January 13, 2025 05:41
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jan 13, 2025
)

What is the motivation for this PR?
On Nokia-7215 platform, we observed below flaky failure:

Timeout: No Response from fe80::xxxx%eth0.
The root cause is that Nokia-7215 has low performance and the snmpget command is issued before snmpagent fully start.

How did you do it?
To resolve this issue, I added a wait_until to ensure snmpagent already listening on the link-local IP address.

How did you verify/test it?
Verified on Nokia-7215 Mx testbed.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202411: #16481

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jan 13, 2025
)

What is the motivation for this PR?
On Nokia-7215 platform, we observed below flaky failure:

Timeout: No Response from fe80::xxxx%eth0.
The root cause is that Nokia-7215 has low performance and the snmpget command is issued before snmpagent fully start.

How did you do it?
To resolve this issue, I added a wait_until to ensure snmpagent already listening on the link-local IP address.

How did you verify/test it?
Verified on Nokia-7215 Mx testbed.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #16482

mssonicbld pushed a commit that referenced this pull request Jan 13, 2025
What is the motivation for this PR?
On Nokia-7215 platform, we observed below flaky failure:

Timeout: No Response from fe80::xxxx%eth0.
The root cause is that Nokia-7215 has low performance and the snmpget command is issued before snmpagent fully start.

How did you do it?
To resolve this issue, I added a wait_until to ensure snmpagent already listening on the link-local IP address.

How did you verify/test it?
Verified on Nokia-7215 Mx testbed.
mssonicbld pushed a commit that referenced this pull request Jan 13, 2025
What is the motivation for this PR?
On Nokia-7215 platform, we observed below flaky failure:

Timeout: No Response from fe80::xxxx%eth0.
The root cause is that Nokia-7215 has low performance and the snmpget command is issued before snmpagent fully start.

How did you do it?
To resolve this issue, I added a wait_until to ensure snmpagent already listening on the link-local IP address.

How did you verify/test it?
Verified on Nokia-7215 Mx testbed.
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.

4 participants