Is there an existing proposal for this?
Is your feature request related to a problem?
If a user tries to run the integration tests, they can hang indefinitely if
cat /proc/sys/kernel/yama/ptrace_scope
prints 1.
Describe the solution you'd like
I'd love if pystack generated an error message with a solution instead of hanging indefinitely. You can fix this by doing
sudo bash -c 'echo 0 >> /proc/sys/kernel/yama/ptrace_scope'
It would be nice to do this check before running tests in conftest.py so that folks know they need to deal with this before spending time on it.
Alternatives you considered
No response
Is there an existing proposal for this?
Is your feature request related to a problem?
If a user tries to run the integration tests, they can hang indefinitely if
prints
1.Describe the solution you'd like
I'd love if pystack generated an error message with a solution instead of hanging indefinitely. You can fix this by doing
sudo bash -c 'echo 0 >> /proc/sys/kernel/yama/ptrace_scope'It would be nice to do this check before running tests in conftest.py so that folks know they need to deal with this before spending time on it.
Alternatives you considered
No response