-
Notifications
You must be signed in to change notification settings - Fork 3k
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
After starting test from UI, state shows as STOPPED even though it's running #1535
Comments
I can't really reproduce this reliably though 🤔 |
|
Are you using load shapes? (just guessing here, I dont know this part of the code base so you're on your own :) |
Nope |
I'm in a good position to debug it myself but thought I'd post an issue in case others had the same problem. |
I also experienced this a few times and came to the conclusion that it was happening when the workers were overloaded (high CPU usage). In my case, the workers were performing some blocking tasks on start (random texts generation). To prevent this, I limited the amount of users per worker and I also sprinkled some |
@max-rocket-internet did you manage to figure it out? |
Not yet! But we are seeing this every day. We might need to role back to a previous version. I'm still debugging it. |
Perhaps it only happens with a large number of workers? Were you using an on_stop method? (in that case, try running latest master with the above mentioned fix) Without more details I think I'll have to close this. |
I just checked all our tests, none of them use I'm still looking into. I can reproduce it only once and a while 😐 |
I'm not sure if there are any debug-loggings surrounding this logic, but I'd recommend running locust with |
Yeah I added |
sneaky... |
Hmm got debug logs from today but doesn't look like they help much:
🤔 |
Maybe #1726 fixes this also 🤔 |
Hmm... maybe. Ok to close as invalid? We can reopen if it was unrelated. And if it is the same, then the info in the other ticket is more useful anyway. |
Yeah sure. I still see it some days. I tried many times to reproduce it, no luck 😐 |
Describe the bug
After starting test from UI, state shows as
STOPPED
even though it's running.If I click start again, then the status is updated to
SPAWNING
correctlyExpected behavior
Status should show as "SPAWNING" I believe.
Steps to reproduce
Just start test from UI.
Environment
The text was updated successfully, but these errors were encountered: