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

mysql-client: "timeout: unrecognized option: t" #304

Open
a-skuba opened this issue Nov 3, 2022 · 0 comments
Open

mysql-client: "timeout: unrecognized option: t" #304

a-skuba opened this issue Nov 3, 2022 · 0 comments

Comments

@a-skuba
Copy link

a-skuba commented Nov 3, 2022

Is this a BUG REPORT or FEATURE REQUEST?

BUG REPORT

What happened:
Running litmuschaos/mysql-client:latest fails and silently omits the actual error. Upon the investigation timeout -t 5, used in app_clients/mysql-client/mysql-liveness-check.sh, returns error:

# timeout -t 5
timeout: unrecognized option: t
BusyBox v1.31.1 () multi-call binary.

Usage: timeout [-s SIG] SECS PROG ARGS

Runs PROG. Sends SIG to it if it is not gone in SECS seconds.
Default SIG: TERM.

What you expected to happen:
Script should successfully run.

How to reproduce it (as minimally and precisely as possible):
Run docker run --rm -it litmuschaos/mysql-client:latest timeout -t 5

Anything else we need to know?:
mysql-liveness-check.sh uses BusyBox timeout which had braking change with a commit timeout: fix arguments to match coreutils (mirror/busybox@c9720a7).

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

1 participant