question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After starting test from UI, state shows as STOPPED even though it's running

See original GitHub issue

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 correctly

Screen Shot 2020-08-20 at 15 32 25

Expected behavior

Status should show as “SPAWNING” I believe.

Steps to reproduce

Just start test from UI.

Environment

  • OS: k8s
  • Locust version: 1.2.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:17 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
max-rocket-internetcommented, Aug 21, 2020

I’m in a good position to debug it myself but thought I’d post an issue in case others had the same problem.

1reaction
max-rocket-internetcommented, Oct 14, 2020

Hmm got debug logs from today but doesn’t look like they help much:

[2020-10-14 11:58:10,144] locust-xxx-master-547544d45d-cq2gb/INFO/locust.main: Starting web interface at http://0.0.0.0:8089 (accepting connections from all network interfaces)
[2020-10-14 11:58:10,152] locust-xxx-master-547544d45d-cq2gb/INFO/locust.main: Starting Locust 1.2.3
[2020-10-14 11:58:13,443] locust-xxx-master-547544d45d-cq2gb/INFO/locust.runners: Client 'locust-xxx-worker-5b949b4c64-s2ngr_d1b34715c5054995a007b260f1b7db52' reported as ready. Currently 1 clients ready to swarm.
...
[2020-10-14 11:58:14,470] locust-xxx-master-547544d45d-cq2gb/INFO/locust.runners: Client 'locust-xxx-worker-5b949b4c64-n66h7_54b1cb9170134ab4a7282763ccaa782c' reported as ready. Currently 75 clients ready to swarm.
[2020-10-14 11:58:47,101] locust-xxx-master-547544d45d-cq2gb/INFO/locust.runners: Shape test starting. User count and spawn rate are ignored for this type of load test
[2020-10-14 11:58:47,101] locust-xxx-master-547544d45d-cq2gb/DEBUG/locust.runners: Updating state to 'ready', old state was 'ready'
[2020-10-14 11:58:47,102] locust-xxx-master-547544d45d-cq2gb/INFO/locust.runners: Shape worker starting
[2020-10-14 11:58:47,102] locust-xxx-master-547544d45d-cq2gb/INFO/locust.runners: Shape test updating to 25000 users at 13.00 spawn rate
[2020-10-14 11:58:47,102] locust-xxx-master-547544d45d-cq2gb/INFO/locust.runners: Sending spawn jobs of 333 users and 0.17 spawn rate to 75 ready clients
[2020-10-14 11:58:47,102] locust-xxx-master-547544d45d-cq2gb/DEBUG/locust.runners: Sending spawn message to client locust-xxx-worker-5b949b4c64-s2ngr_d1b34715c5054995a007b260f1b7db52
...
[2020-10-14 11:58:47,109] locust-xxx-master-547544d45d-cq2gb/DEBUG/locust.runners: Sending spawn message to client locust-xxx-worker-5b949b4c64-n66h7_54b1cb9170134ab4a7282763ccaa782c
[2020-10-14 11:58:47,110] locust-xxx-master-547544d45d-cq2gb/DEBUG/locust.runners: Updating state to 'spawning', old state was 'ready'
[2020-10-14 11:58:47,110] locust-xxx-master-547544d45d-cq2gb/DEBUG/locust.runners: Updating state to 'stopped', old state was 'spawning'

🤔

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tests not running in Test Explorer - visual studio
All tests are running, all tests are showing the right test outcome. However, the tests are not running when using the Visual Studio...
Read more >
X apps running in WSL randomly stop displaying on X Server ...
Start the Debian WSL app using the icon created when Debian installed. ping hostip (192.168.xx.32 in my case) to confirm. It works.
Read more >
Run tests | IntelliJ IDEA Documentation - JetBrains
After that, the test will be suspended, allowing you to examine its current state. You can step through the test to analyze its...
Read more >
Troubleshoot pipeline runs - Azure DevOps - Microsoft Learn
If a pipeline doesn't start at all, check the following common trigger related issues. UI settings override YAML trigger setting; Pull request ...
Read more >
Save UI states - Android Developers
When the user's expectations about UI state do not match default system behavior, you must save and restore the user's UI state to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found