Skip to content

[action] [PR:20780] [dualtor] Fix test_stress_arp.py#20867

Merged
mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/20780
Sep 30, 2025
Merged

[action] [PR:20780] [dualtor] Fix test_stress_arp.py#20867
mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/20780

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Approach

What is the motivation for this PR?

Fix test_stress_arp (https://github.com/aristanetworks/sonic-qual.msft/issues/652):

  1. use enum_rand_one_per_hwsku_frontend_hostname on test functions
    test_stress_arp uses duthost as target DUT, but its fixture config_facts uses enum_rand_one_per_hwsku_frontend_hostname as the target DUT.
    Let's enforce the same DUT selection behavior.

  2. add the missing toggle on active-standby dualtor.

Signed-off-by: Longxiang Lyu lolv@microsoft.com

How did you do it?

As the motivation.

How did you verify/test it?

Run on active-standby dualtor.

arp/test_stress_arp.py::test_ipv4_arp[str2-7050cx3-32c-f-acs-08-None] PASSED [ 33%]
arp/test_stress_arp.py::test_ipv6_nd[str2-7050cx3-32c-f-acs-08-None] PASSED [ 66%]
arp/test_stress_arp.py::test_ipv6_nd_incomplete[str2-7050cx3-32c-f-acs-08-None] PASSED [100%]

Any platform specific information?

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

Documentation

1. use `enum_rand_one_per_hwsku_frontend_hostname` on test functions
`test_stress_arp` uses `duthost` as target DUT, but its fixture
`config_facts` uses `enum_rand_one_per_hwsku_frontend_hostname` as the
target DUT.
Let's enforce the same DUT selection behavior.

2. add the missing toggle on active-standby dualtor.

Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #20780

@mssonicbld
Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 6336cab into sonic-net:202505 Sep 30, 2025
13 checks passed
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