I’m trying to use K6 to run some performance tests. My setup is four different servers to ensure everything as enough resources (32 CPU/64GB Memory per server), running Grafana, InfluxDB, K6 and the application being tested on each one of them. I’m sending the results from K6 to InfluxDB and then use Grafana to visualize it.
Problem is that once the K6 test run has completed (CLI reports:
default ✓ [ 100% ] 10000 VUs 10s), it sits still for 1-2 minutes before finally exiting. I first thought it was a data ingestion issue, but my InfluxDB instance is almost idling and seems to not be receiving that much data from the K6 intsance.
If I run
k6 status while it’s in this “hanged” state, I get the following:
status: 9 paused: "false" vus: "0" vus-max: "10000" stopped: false running: false tainted: false
So it’s not paused, not stopped and not running, but still not making any progress. Only thing I can observe, is that it’s stuck in “status 9” for these minutes. But I’m not finding any documentation on what the different status numbers actually mean.
Any guidance how to troubleshoot this issue is very much welcome