Skip to content

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

Open
@a-skuba

Description

@a-skuba

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions