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

Issue when cat entrypoint takes time to execute #199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

predivo
Copy link

@predivo predivo commented Jan 21, 2020

Hello
I have found a kind of issue when the entrypoint takes too much time to execute, in this case the 'cat' command that is checked in the code fails with a Error message. Anyway, the plugin keeps going successfully:
see logs: ps: [entrypoint.sh, sudo, service, sshd, sshd-gen-keys-s, ssh-keygen]

Just waiting some time and retrying once solves this issue.
see logs after retry: ps: [cat, sshd]
-> works.
Thanks to integrate such mechanism.
Patrick

@studioj
Copy link

studioj commented Mar 15, 2024

hey @predivo, @SlavyanaK, @DenesCs, @jcormier, @javafrog, @felipecrs did you find a solution/workaround for this? => my entrypoint takes about 30 seconds to get some credentials and unpack them... which would be really nice to have is a timeout here

@felipecrs
Copy link
Contributor

This issue doesn't block me so I didn't have to find any workarounds. But here are some ideas:

  1. You can build the hpi with this PR and install it in your Jenkins
  2. You can tweak your entrypoint to somehow do this time consuming operation in the background rather than waiting for it before running CMD

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