Skip to content

[dualtor_io] Enable switchover test and add argument to enable run.#18838

Merged
bingwang-ms merged 5 commits intosonic-net:masterfrom
Ndancejic:enable_switchover_test
Jun 17, 2025
Merged

[dualtor_io] Enable switchover test and add argument to enable run.#18838
bingwang-ms merged 5 commits intosonic-net:masterfrom
Ndancejic:enable_switchover_test

Conversation

@Ndancejic
Copy link
Contributor

switchover impact test was disabled due to being a long test. This will enable the test, but also disable it for any PR or KVM tests.

Added an explicit argument to enable switchover impact tests to prevent accidental run.

Description of PR

Summary:
enables the switchover impact test to allow for weekly runs and adds flag to disable test for normal runs unless explicitly enabled.

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?

switchover impact tests were disabled due to taking a long time. This will enable the tests again, but only if --enable_switchover_impact_test is passed as an argument.

How did you do it?

removed skip condition and added PR skip condition. Added pytest argument --enable_switchover_impact_test

Ndancejic added 2 commits June 5, 2025 13:14
switchover impact test was disabled due to being a long test. This will
enable the test, but also disable it for any PR or KVM tests.

Signed-off-by: Nikola Dancejic <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@zjswhhh zjswhhh left a comment

Choose a reason for hiding this comment

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

lgtm

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@zjswhhh
Copy link
Contributor

zjswhhh commented Jun 9, 2025

Hi @bingwang-ms - please help merge.

@Ndancejic
Copy link
Contributor Author

test failures are not related to this change (related test should be skipped in general):

image

Is this a known issue?

@zjswhhh
Copy link
Contributor

zjswhhh commented Jun 10, 2025

test failures are not related to this change (related test should be skipped in general):

image

Is this a known issue?

Triggered a rerun.

@Ndancejic
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@zjswhhh
Copy link
Contributor

zjswhhh commented Jun 17, 2025

Hi @bingwang-ms - can you help merge please?

@bingwang-ms bingwang-ms merged commit d8aeb22 into sonic-net:master Jun 17, 2025
18 checks passed
nissampa pushed a commit to nissampa/sonic-mgmt_dpu_test that referenced this pull request Aug 7, 2025
…onic-net#18838)

* [dualtor_io] enable switchover impact test

switchover impact test was disabled due to being a long test. This will
enable the test, but also disable it for any PR or KVM tests.

Signed-off-by: Nikola Dancejic <[email protected]>

* Adding explicit argument to enable switchover impact tests to prevent accidental run.

* fix precommit

* fix precommit

* fix option parameters

---------

Signed-off-by: Nikola Dancejic <[email protected]>
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
…onic-net#18838)

* [dualtor_io] enable switchover impact test

switchover impact test was disabled due to being a long test. This will
enable the test, but also disable it for any PR or KVM tests.

Signed-off-by: Nikola Dancejic <[email protected]>

* Adding explicit argument to enable switchover impact tests to prevent accidental run.

* fix precommit

* fix precommit

* fix option parameters

---------

Signed-off-by: Nikola Dancejic <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 16, 2025
…onic-net#18838)

* [dualtor_io] enable switchover impact test

switchover impact test was disabled due to being a long test. This will
enable the test, but also disable it for any PR or KVM tests.

Signed-off-by: Nikola Dancejic <[email protected]>

* Adding explicit argument to enable switchover impact tests to prevent accidental run.

* fix precommit

* fix precommit

* fix option parameters

---------

Signed-off-by: Nikola Dancejic <[email protected]>
Signed-off-by: Guy Shemesh <[email protected]>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
…onic-net#18838)

* [dualtor_io] enable switchover impact test

switchover impact test was disabled due to being a long test. This will
enable the test, but also disable it for any PR or KVM tests.

Signed-off-by: Nikola Dancejic <[email protected]>

* Adding explicit argument to enable switchover impact tests to prevent accidental run.

* fix precommit

* fix precommit

* fix option parameters

---------

Signed-off-by: Nikola Dancejic <[email protected]>
Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
…onic-net#18838)

* [dualtor_io] enable switchover impact test

switchover impact test was disabled due to being a long test. This will
enable the test, but also disable it for any PR or KVM tests.

Signed-off-by: Nikola Dancejic <[email protected]>

* Adding explicit argument to enable switchover impact tests to prevent accidental run.

* fix precommit

* fix precommit

* fix option parameters

---------

Signed-off-by: Nikola Dancejic <[email protected]>
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
…onic-net#18838)

* [dualtor_io] enable switchover impact test

switchover impact test was disabled due to being a long test. This will
enable the test, but also disable it for any PR or KVM tests.

Signed-off-by: Nikola Dancejic <[email protected]>

* Adding explicit argument to enable switchover impact tests to prevent accidental run.

* fix precommit

* fix precommit

* fix option parameters

---------

Signed-off-by: Nikola Dancejic <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
…onic-net#18838)

* [dualtor_io] enable switchover impact test

switchover impact test was disabled due to being a long test. This will
enable the test, but also disable it for any PR or KVM tests.

Signed-off-by: Nikola Dancejic <[email protected]>

* Adding explicit argument to enable switchover impact tests to prevent accidental run.

* fix precommit

* fix precommit

* fix option parameters

---------

Signed-off-by: Nikola Dancejic <[email protected]>
Signed-off-by: Guy Shemesh <[email protected]>
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Feb 2, 2026
…onic-net#18838)

* [dualtor_io] enable switchover impact test

switchover impact test was disabled due to being a long test. This will
enable the test, but also disable it for any PR or KVM tests.

Signed-off-by: Nikola Dancejic <[email protected]>

* Adding explicit argument to enable switchover impact tests to prevent accidental run.

* fix precommit

* fix precommit

* fix option parameters

---------

Signed-off-by: Nikola Dancejic <[email protected]>
Signed-off-by: Yael Tzur <[email protected]>
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.

4 participants