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

Add support for reboot into API #868

Open
pevik opened this issue Sep 17, 2021 · 2 comments
Open

Add support for reboot into API #868

pevik opened this issue Sep 17, 2021 · 2 comments

Comments

@pevik
Copy link
Member

pevik commented Sep 17, 2021

Support for reboot in LTP tests would be useful for certain tests.
Based on original proposal from Cyril.

Adding reboots_machine flag to the tst_test structure, which will inform the test framework that the test will reboot the machine in the middle of the test.

  • The framework will have to inevitably run on a different machine, but the runltp-ng already does that.

  • The framework will reconnect to the machine after a reboot and re-execute the test with a flag that would say that this is a second stage of the test, i.e. after reboot.


Blocker for this is to integrate runltp-ng into LTP (some issues are pending, at least timeout issue: metan-ucw/runltp-ng#31 https://patchwork.ozlabs.org/project/ltp/list/?series=247935 and better taint flag handling metan-ucw/runltp-ng#40).

See also blog post Towards parallel kernel test runs.

@metan-ucw
Copy link
Member

@acerv FYI this is something that should go into the new testrunner later on.

@pevik
Copy link
Member Author

pevik commented Jan 3, 2025

We plan to achieve the support with help of kirk: linux-test-project/kirk#12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants