-
Notifications
You must be signed in to change notification settings - Fork 170
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
K6 is stuck on stage: initialization
if the init job fails
#290
Comments
Hi @JorTurFer! Thanks for working on this. I wouldn't call it a bug but more of an improvement in logic, TBH 😄 And this issue came up in several contexts recently! So linking key issues / PRs:
Quite a lot. I need to grok all of these to figure out what should be merged, changed, etc. It's in my TODO in the next couple of weeks so shouldn't be a long wait 👍 But as a heads up, there are duplicates and almost conflicts between the above. |
I have to disagree because literally the test is f**ked up. I mean, any kind of error during the initializing will stuck the test without any useful feedback (nor useless feedback, it doesn't give any feedback at all) 😄 |
Hello! |
Hi @JorTurFer, apologies for such a delay. Yes, actually, it's a good time to make this addition for the next release, given past and future work, but I'll have to ask for an update of your PR. Will comment over there. |
Is this related to where it gets stuck like this
and just does nothing after that? My script is working locally, but when I try to run it in circleci this is all the further I get. |
Sure, I'll rebase it this week and update the conflicts 😄 |
This appears to be fixed now, with PRs #291 and #401. Thanks @JorTurFer and @irumaru! Some additional notes on the expected behaviour when initializer fails:
|
Nice! |
Brief summary
The operator creates the init job successfully, but if the pod fails for any reason, the operator doesn't notice it and the K6 job is stuck on the stage
initialization
until you manually remove it.I'm willing to fix it (or at least to try it xD)
k6-operator version or image
latest (sha256:79df77fea27ab5820ce3f25167268d5094be2fc10d182283fce9921e3786fed1)
K6 YAML
Something that produces an error on init job
Other environment details (if applicable)
No response
Steps to reproduce the problem
Deploy a K6 manifest that produces a fail on the init pod. For example, linking a file that doesn't exist
Expected behaviour
The stage of K6 changes
Actual behaviour
The stage of K6 doesn't change
The text was updated successfully, but these errors were encountered: