Tail errors after k6 cloud execution

I was wondering if I need to make some configuration change to avoid these errors, which logged just as my test was ending:

ERRO[3610] couldn't unmarshal a message from the cloud: Error: reached tail max duration limit  error="parse error: syntax error near offset 0 of 'Error: rea...'"
WARN[3610] error reading a message from the cloud        error="websocket: close 1011 (internal server error): reached tail max duration limit"
ERRO[3610] error while tailing cloud logs                error="websocket: close 1011 (internal server error): reached tail max duration limit"

Hi @leathej1, sorry for the long delay this kind of fell through the cracks :(.

This is an error from the logging solution we are using loki which is due to the fact that k6 has tail logs too long(>1h). This has no ill effects apart from the fact that you will not be seeing logs in the k6 cloud output after this time.

I have opened an issue that is currently planned for v0.33.0, currently planned for June 28th, but likely will get merged in master much earlier then that.

1 Like