Skip to content

[action] [PR:12492] Fix unreachable DUT mgmt_ip in IPv6 only test case#12573

Merged
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/12492
Apr 24, 2024
Merged

[action] [PR:12492] Fix unreachable DUT mgmt_ip in IPv6 only test case#12573
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/12492

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

Summary: Fix unreachable DUT mgmt_ip in IPv6 only test case
Fixes # (issue)

Microsoft ADO 27674168, 27674176

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305
  • 202311

Approach

What is the motivation for this PR?

#12303 introduced a bug that DUT mgmt_ipv4 is unreachable in a IPv6 only test case, causing test_rw_user_ipv6_only, test_ro_user_ipv6_only, test_snmp_ipv6_only failed with paramiko.ssh_exception.NoValidConnectionsError or socket.timeout: timed out

How did you do it?

If mgmt_ip is unreachable, try mgmt_ipv6

How did you verify/test it?

Verified on internal and 202305 branch on physical DUT

Any platform specific information?

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

Documentation

## Description of PR
Summary: Fix unreachable DUT mgmt_ip in IPv6 only test case

### Type of change

- [X] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [ ] Test case(new/improvement)

## Approach
#### What is the motivation for this PR?
sonic-net#12303 introduced a bug that DUT mgmt_ipv4 is unreachable in a IPv6 only test case, causing test_rw_user_ipv6_only, test_ro_user_ipv6_only, test_snmp_ipv6_only failed with `paramiko.ssh_exception.NoValidConnectionsError` or `socket.timeout: timed out`
#### How did you do it?
If mgmt_ip is unreachable, try mgmt_ipv6
#### How did you verify/test it?
Verified on internal and 202305 branch on physical DUT
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #12492

@mssonicbld mssonicbld merged commit 0cf0f1c into sonic-net:202305 Apr 24, 2024
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