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

Pod always failed #56

Open
zhchen-zhchen opened this issue Feb 17, 2021 · 3 comments
Open

Pod always failed #56

zhchen-zhchen opened this issue Feb 17, 2021 · 3 comments

Comments

@zhchen-zhchen
Copy link

Hi, yesterday I upgraded from 1.5 to 1.6.0. I found status of pod of runner always shows Error status like following

predator.a3733d0d-5a00-443d-a956-f99be870c5fa-9tpns               0/1     Error 

the logs showed

{"name":"predator-runner","hostname":"predator.a3733d0d-5a00-443d-a956-f99be870c5fa-9tpns","pid":1,"level":30,"msg":"Runner exceeded test duration, sending DONE status and existing","time":"2021-02-17T04:26:48.467Z","v":0}

Besides, I can saw the results of the test during the test but after the test finished. The test status turned to Failed so that I cannot see the result anymore.

@enudler
Copy link
Collaborator

enudler commented Feb 17, 2021

hi @zhchen-zhchen
can you share the test duration and arrival rate you used?

@zhchen-zhchen
Copy link
Author

@enudler
hi, I tried multiple times with following setting.
test duration => 1 minute
qps => 50-100
parallelism => 2-3

sometimes it showed partially finished

@roychri
Copy link

roychri commented Jun 16, 2021

I've fixed that by creating my own predator-runner docker image with the value of RUNNER_TIMEOUT_GRACE_MS changed from 300 to 90000. I did:

  1. Cloned this git repo (git clone)
  2. Changed RUNNER_TIMEOUT_GRACE_MS value using my preferred editor.
  3. Commit (git commit) (Optional)
  4. Build the docker image (docker build . -t some/image:tag
  5. Push the image (docker push some/image:tag)
  6. In the predator ui, go to Settings and change "Docker image name" to your image and save

I propose that this value be made dynamic so we can change it. Maybe as part of an environment variable? doesn't have to be editable from the UI I think... Just something to avoid one having to build their own image.

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

No branches or pull requests

3 participants