Skip to content

[HA] [smartswitch] add the planned shutdown ha tests#22710

Open
aronovic wants to merge 1 commit intosonic-net:masterfrom
aronovic:aronovic_ha_planned_shut
Open

[HA] [smartswitch] add the planned shutdown ha tests#22710
aronovic wants to merge 1 commit intosonic-net:masterfrom
aronovic:aronovic_ha_planned_shut

Conversation

@aronovic
Copy link
Contributor

@aronovic aronovic commented Mar 3, 2026

Description of PR

Add the HA planned shutdown tests

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
  • 202511

Approach

What is the motivation for this PR?

Need HA tests with traffic and simulated failures

How did you do it?

Added the new test file to the ha directory

How did you verify/test it?

Verified on MtFuji HA topology

Any platform specific information?

MtFuji

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

HA topology

Documentation

N/A

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Mihut Aronovici <aronovic@cisco.com>
@aronovic aronovic force-pushed the aronovic_ha_planned_shut branch from 6cec0b9 to 25584d8 Compare March 3, 2026 19:30
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

t.join()
time.sleep(2)
match_count = testutils.count_matched_packets_all_ports(ptfadapter, exp_dpu_to_pe_pkt,
ports=dash_pl_config[0][REMOTE_PTF_RECV_INTF], timeout=10)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is dash_pl_config[0] DUT0? when DPU of DUT0 is set to dead, packets to DUT0 will be redirected to DPU in DUT1. Return traffic will be sending by DUT1. The switch may take a few seconds depending on how soon DPU brings HA dead. Should we capture packets from both DUTs: pre-dead is DUT0 and post-dead DUT1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants