Skip to content
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

Test terminated with exit code 2 #3962

Open
ameetpal opened this issue Sep 20, 2024 · 3 comments
Open

Test terminated with exit code 2 #3962

ameetpal opened this issue Sep 20, 2024 · 3 comments
Assignees
Labels
awaiting user waiting for user to respond triage

Comments

@ameetpal
Copy link
Contributor

We are using K6-operator to run an 8 hour test, but it only ran for 5 hours and exited with exit code 2, there was no error log and resources were also sufficient, do anyone knows what exit code 2 signifies ?

On further investigating, i found that if there is panic in main thread or in output extension it may result in an exit code

Please provide some assistance around this

@ameetpal
Copy link
Contributor Author

any update here ?

@mstoykov
Copy link
Contributor

Hi @ameetpal , sorry for the slow reply 🙇

exit code 2 is coming directly from golang and AFAIK it always means a panic of some kind. So the expectation is that you will have a message along with it explaining the panic.

For long tests I expect the most likely case will be OOM.

I am not working with k6-operator, so maybe someone with more experience can help you find the logs.

cc @yorugac

@mstoykov mstoykov added the awaiting user waiting for user to respond label Oct 3, 2024
@ameetpal
Copy link
Contributor Author

Hi @mstoykov , OOM is not happening but i am suspecting, prometheus extension might be panicing but i am not able see error message. Every thing happen so quickly that pod crashed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting user waiting for user to respond triage
Projects
None yet
Development

No branches or pull requests

2 participants