Skip to content

Fix tests/common/snappi_tests/traffic_generation.py#18934

Merged
wangxin merged 1 commit intosonic-net:masterfrom
rajkumar1-arista:fix-reboot-call-in-traffic-gneration
Jun 12, 2025
Merged

Fix tests/common/snappi_tests/traffic_generation.py#18934
wangxin merged 1 commit intosonic-net:masterfrom
rajkumar1-arista:fix-reboot-call-in-traffic-gneration

Conversation

@rajkumar1-arista
Copy link
Copy Markdown
Contributor

reboot call is still using the outdated argument plt_reboot_ctrl_overwrite instead of return_after_reconnect that was introduced in #16031

Description of PR

Summary: fix snappi_tests/pfc/warm_reboot/test_pfc_pause_lossless_warm_reboot.py failure
Fixes # #18933

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?

Test is failing with: TypeError: reboot() got an unexpected keyword argument 'plt_reboot_ctrl_overwrite'

How did you do it?

Passed return_after_reconnect instead of removed argument plt_reboot_ctrl_overwrite in reboot() call of common/snappi_tests/traffic_generation.py

How did you verify/test it?

Any platform specific information?

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

Documentation

reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite`
instead of `return_after_reconnect` that was introduced in sonic-net#16031
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Jun 11, 2025

CLA Signed

  • ✅login: rajkumar1-arista / (144a5e3)

The committers listed above are authorized under a signed CLA.

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Contributor

@anders-nexthop anders-nexthop left a comment

Choose a reason for hiding this comment

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

This is a straightforward fix for a simple regression and can be merged right away.

@yxieca for viz

@wangxin wangxin merged commit efd9794 into sonic-net:master Jun 12, 2025
15 of 18 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jul 3, 2025
reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite`
instead of `return_after_reconnect` that was introduced in sonic-net#16031
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202505: #19384

mssonicbld pushed a commit that referenced this pull request Jul 3, 2025
reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite`
instead of `return_after_reconnect` that was introduced in #16031
nissampa pushed a commit to nissampa/sonic-mgmt_dpu_test that referenced this pull request Aug 7, 2025
reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite`
instead of `return_after_reconnect` that was introduced in sonic-net#16031
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite`
instead of `return_after_reconnect` that was introduced in sonic-net#16031

Signed-off-by: opcoder0 <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 16, 2025
reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite`
instead of `return_after_reconnect` that was introduced in sonic-net#16031

Signed-off-by: Guy Shemesh <[email protected]>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite`
instead of `return_after_reconnect` that was introduced in sonic-net#16031

Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite`
instead of `return_after_reconnect` that was introduced in sonic-net#16031

Signed-off-by: Guy Shemesh <[email protected]>
venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Jan 13, 2026
reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite`
instead of `return_after_reconnect` that was introduced in sonic-net#16031
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite`
instead of `return_after_reconnect` that was introduced in sonic-net#16031

Signed-off-by: Guy Shemesh <[email protected]>
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Feb 2, 2026
reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite`
instead of `return_after_reconnect` that was introduced in sonic-net#16031

Signed-off-by: Yael Tzur <[email protected]>
venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Mar 27, 2026
reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite`
instead of `return_after_reconnect` that was introduced in sonic-net#16031
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.

6 participants