locust
locust copied to clipboard
Exception: Tried to stop User in an unexpected state: stopping. This should never happen.
Prerequisites
- [X] I am using the latest version of Locust
- [X] I am reporting a bug, not asking a question
Description
At the end of test lots of exceptions generated like this.
Traceback (most recent call last): File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "/root/.local/share/virtualenvs/app-4PlAip0Q/lib/python3.10/site-packages/locust/user/users.py", line 208, in stop
Maybe it's important, that LOCUST_STOP_TIMEOUT set to 600
Why we try to stop user twice?
Command line
--master --enable-rebalancing --skip-log-setup --class-picker
Locustfile contents
-
Python version
3.10
Locust version
2.28
Operating system
COS