Skip to content

[HA][smartswitch] add the HA states test without traffic#22694

Open
aronovic wants to merge 1 commit intosonic-net:masterfrom
aronovic:aronovic-ha-test-states
Open

[HA][smartswitch] add the HA states test without traffic#22694
aronovic wants to merge 1 commit intosonic-net:masterfrom
aronovic:aronovic-ha-test-states

Conversation

@aronovic
Copy link
Contributor

@aronovic aronovic commented Mar 2, 2026

Description of PR

Add a test for HA state transitions without traffic.

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

Approach

What is the motivation for this PR?

HA automation testing is needed.

How did you do it?

Added a new test file

How did you verify/test it?

Tested on MtFuji:
11/02/2026 16:37:06 ha_utils.activate_dash_ha L0256 INFO | HA reached ACTIVE state for vdpu0_0:haset0_0
11/02/2026 16:37:06 test_ha_states.test_ha_states L0032 INFO | MtFuji-dut01 state transitions OK

11/02/2026 16:38:29 ha_utils.activate_dash_ha L0256 INFO | HA reached ACTIVE state for vdpu1_0:haset0_0
11/02/2026 16:38:29 test_ha_states.test_ha_states L0048 INFO | MtFuji-dut02 state transitions OK

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).

@zjswhhh zjswhhh added the smartswitch-ha Label for tracking smartswitch HA related changes label Mar 2, 2026
Signed-off-by: Mihut Aronovici <aronovic@cisco.com>
@aronovic aronovic force-pushed the aronovic-ha-test-states branch from 5eb24f7 to f048cef Compare March 3, 2026 15:34
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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

Labels

smartswitch-ha Label for tracking smartswitch HA related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants