Skip to content

Add support of SAI warm boot testing#299

Open
zikkend wants to merge 2 commits into
opencomputeproject:mainfrom
zikkend:add_warmboot_support
Open

Add support of SAI warm boot testing#299
zikkend wants to merge 2 commits into
opencomputeproject:mainfrom
zikkend:add_warmboot_support

Conversation

@zikkend

@zikkend zikkend commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Add warm boot testing support by extending Sai and SaiClient API

How to run new test

Build Docker image for SAI Redis client:

./build.sh -a trident2 -t saivs 
./run.sh -a trident2 -t saivs

Run test:

./exec.sh -t saivs pytest --testbed=saivs_standalone -v test_warm_reboot.py

Test results

===================================================================== test session starts ======================================================================
platform linux -- Python 3.11.2, pytest-9.1.1, pluggy-1.6.0 -- /usr/bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.11.2', 'Platform': 'Linux-6.17.0-35-generic-x86_64-with-glibc2.36', 'Packages': {'pytest': '9.1.1', 'pluggy': '1.6.0'}, 'Plugins': {'metadata': '3.1.1', 'html': '4.2.0', 'dependency': '0.6.1'}}
rootdir: /sai-challenger/tests
configfile: pytest.ini
plugins: metadata-3.1.1, html-4.2.0, dependency-0.6.1
collected 2 items                                                                                                                                              

test_warm_reboot.py::test_warmboot PASSED                                                                                                                [ 50%]
test_warm_reboot.py::test_two_warmboots PASSED                                                                                                           [100%]

====================================================================== 2 passed in 34.51s ======================================================================

zikkend added 2 commits June 26, 2026 18:57
Signed-off-by: Denys Zikratyi <denys.zikratyi@gmail.com>
Signed-off-by: Denys Zikratyi <denys.zikratyi@gmail.com>
@zikkend zikkend force-pushed the add_warmboot_support branch from 17313f3 to 9627569 Compare June 30, 2026 07:35
@zikkend zikkend marked this pull request as ready for review June 30, 2026 07:47
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.

1 participant