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

Default test runner doesn't support 'suspend execution' anymore #6059

Open
smitterl opened this issue Oct 31, 2024 · 0 comments
Open

Default test runner doesn't support 'suspend execution' anymore #6059

smitterl opened this issue Oct 31, 2024 · 0 comments
Assignees

Comments

@smitterl
Copy link
Contributor

Describe the bug

In older avocado version without specifying the test runner, I could just hit CTRL+Z to suspend and CTRL+Z to resume the test execution. See. https://github.com/avocado-framework/avocado/blob/92lts/avocado/plugins/runner.py#L149

This behavior is important for avocado-vt tests because I with it I can easily inspect the test environment and the VM or other components when they are in a specific state established by the test script. In some cases, the logging or script might not easily reveal al changes that are made to the SUT during the test script execution. It is also a short-cut that enables me to avoid having to run all steps manually.

Steps to reproduce

avocado run ...
Enter "CTRL + Z"

Expected behavior

The test code execution is suspended at the current status. When I hit "CTRL + Z" again the test script execution is resumed.

Current behavior

Nothing, the signal is not handled.

System information (please complete the following information):

  • OS: linux
  • Avocado version: 103lts
  • Avocado installation method: github ?
@smitterl smitterl added the bug label Oct 31, 2024
@mr-avocado mr-avocado bot moved this to Triage in Default project Oct 31, 2024
@richtja richtja added this to the 110 - Codename TBD milestone Nov 4, 2024
@richtja richtja moved this from Triage to Short Term (Current Q) Backlog in Default project Nov 4, 2024
@richtja richtja self-assigned this Nov 11, 2024
@richtja richtja moved this from Short Term (Current Q) Backlog to In progress in Default project Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

No branches or pull requests

2 participants