You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This option is automatically populated by k6-operator on the created jobs. This lead to several situations where the only way to debug what is happening is creating manually the same jobs without this option.
See for example #137 (comment). In my case, it was another issue related with permissions, which I only find out after disabling the option. I have also tried using K6_LOG_OUTPUT in env vars without success.
This is a tricky one because there is no good way to resolve it at the moment 😞 --log-output=none was added to allow tests with warnings to proceed in k6-operator but it does make troubleshooting problematic as you described. I believe this is best solved at k6 level, with addition of ability to turn off warnings as an output of at least k6 archive and k6 inspect, which k6-operator depends on. Most similar k6 issue on topic is grafana/k6#2681
The alternative is to add a hacky parsing of output to initializer in k6-operator which I'd prefer to avoid.
BTW, K6_LOG_OUTPUT does not overwrite CLI due to k6 order of precedence -- that's expected behaivor.
Brief summary
This option is automatically populated by k6-operator on the created jobs. This lead to several situations where the only way to debug what is happening is creating manually the same jobs without this option.
See for example #137 (comment). In my case, it was another issue related with permissions, which I only find out after disabling the option. I have also tried using K6_LOG_OUTPUT in env vars without success.
k6-operator version or image
latest (8.0.0rc3)
K6 YAML
Other environment details (if applicable)
No response
Steps to reproduce the problem
Launch the tests with any issues
Expected behaviour
Log explaining the issue
Actual behaviour
Nothing
The text was updated successfully, but these errors were encountered: