Skip to content

HA testsuite - Switch from UDP to TCP traffic.#25491

Open
dypet wants to merge 3 commits into
sonic-net:masterfrom
dypet:update_to_tcp
Open

HA testsuite - Switch from UDP to TCP traffic.#25491
dypet wants to merge 3 commits into
sonic-net:masterfrom
dypet:update_to_tcp

Conversation

@dypet

@dypet dypet commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Description of PR

Summary:
Fixes # (issue)
Switching the HA test traffic from UDP to TCP.

Type of change

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

Back port request

  • 202311
  • 202405
  • 202411
  • 202505
  • 202511
  • 202512
  • 202605

Approach

What is the motivation for this PR?

Switch to TCP to exercise stateful TCP connection tracking in DPU.

How did you do it?

Send sync and ack TCP packets during the HA traffic tests.

How did you verify/test it?

Ran HA testsuite on smartswitch HA testbed:

------------ generated xml file: /data/sonic-mgmt/tests/logs/ha.xml ------------
---------------------------- live log sessionfinish ----------------------------
INFO     root:__init__.py:67 Can not get Allure report URL. Please check logs
INFO:root:[Parallel Fixture] Terminating parallel fixture manager
INFO:root:Can not get Allure report URL. Please check logs
=========================== short test summary info ============================
SKIPPED [1] ha/test_ha_planned_swo.py:227: Planned switchover is only supported when owner is 'switch'
SKIPPED [1] ha/test_ha_planned_swo.py:298: Planned switchover is only supported when owner is 'switch'
SKIPPED [2] ha/test_ha_repairing_dpu.py:624: HA repairing tests require exactly 3 or 4 requested DPU hosts
========= 55 passed, 4 skipped, 16405 warnings in 33106.06s (9:11:46) ==========

Any platform specific information?

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

Documentation

Signed-off-by: dypet <dypeters@cisco.com>
@dypet dypet requested review from yue-fred-gao and zjswhhh June 19, 2026 14:13
@dypet dypet added the smartswitch-ha Label for tracking smartswitch HA related changes label Jun 19, 2026
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@dypet

dypet commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

/azpw run

@mssonicbld

Copy link
Copy Markdown
Collaborator

⚠️ Notice: /azpw run only runs failed jobs now. If you want to trigger a whole pipline run, please rebase your branch or close and reopen the PR.
💡 Tip: You can also use /azpw retry to retry failed jobs directly.

Retrying failed(or canceled) jobs...

@mssonicbld

Copy link
Copy Markdown
Collaborator

Retrying failed(or canceled) stages in build 1143348:

✅Stage Pre_test:

  • Job Validate Test Cases: retried.

@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: dypet <dypeters@cisco.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
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.

2 participants