Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Tests executing TSA/TSB on chassis supervisor cards should be updated to match new logic #14843

Open
Javier-Tan opened this issue Oct 4, 2024 · 1 comment
Assignees

Comments

@Javier-Tan
Copy link
Contributor

Javier-Tan commented Oct 4, 2024

Issue Description

Tests that execute TSA/TSB on chassis supervisor cards are testing on old logic where after executing TSA/TSB, they are expecting the password to the LCs to perform rexec commands on LCs.

New logic does not require this, and the tests should be updated as such. E.g.

admin@sonic:~$ sudo TSB
Chassis is already in Normal mode
Please execute 'sudo config save' to preserve System mode in Normal state after reboot  or config reload on all linecards
admin@sonic:~$ sudo TSB
True
Chassis Mode: Maintenance -> Normal
Please execute 'sudo config save' to preserve System mode in Normal state after reboot  or config reload on all linecards

Namely tests in test_traffic_shift_sup.py and test_startup_tsa_tsb_service.py

Results you see

Tests fail and exception raised for testcases that run TSA/TSB chassis supervisor cards.

Results you expected to see

Tests should expect the correct output after executing TSA or TSB.

Is it platform specific

generic

Relevant log output

N/A

Output of show version

Version agnostic

Attach files (if any)

N/A

@Javier-Tan Javier-Tan self-assigned this Oct 4, 2024
@Javier-Tan
Copy link
Contributor Author

@arlakshm

@Javier-Tan Javier-Tan changed the title [Bug]: Tests executing TSA/TSB on chassis supervisor cards should be upated to match new logic [Bug]: Tests executing TSA/TSB on chassis supervisor cards should be updated to match new logic Oct 5, 2024
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

No branches or pull requests

1 participant