-
Notifications
You must be signed in to change notification settings - Fork 598
Labels
Description
NOTE
If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.
Expected Behavior
The command should run and finish. Edit: I guess this is a mc
issue, not minio
.
Current Behavior
The command hangs in CI(linux environment)
#!/bin/bash -eo pipefail
wget https://dl.min.io/client/mc/release/linux-amd64/mc
chmod +x mc
./mc config host add minio $MINIO_ENDPOINT $MINIO_KEY $MINIO_SECRET
./mc mb minio/bucket1
./mc mb minio/bucket2
Output:
--2022-01-25 23:47:29-- https://dl.min.io/client/mc/release/linux-amd64/mc
Resolving dl.min.io (dl.min.io)... 178.128.69.202, 138.68.11.125
Connecting to dl.min.io (dl.min.io)|178.128.69.202|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22315008 (21M) [application/octet-stream]
Saving to: ‘mc’
mc 100%[===================>] 21.28M 15.2MB/s in 1.4s
2022-01-25 23:47:31 (15.2 MB/s) - ‘mc’ saved [22315008/22315008]
�]11;?�\mc: Configuration written to `/home/circleci/.mc/config.json`. Please update your access credentials.
mc: Successfully created `/home/circleci/.mc/share`.
mc: Initialized share uploads `/home/circleci/.mc/share/uploads.json` file.
mc: Initialized share downloads `/home/circleci/.mc/share/downloads.json` file.
Added `minio` successfully.
�]11;?�\Bucket created successfully `minio/bucket1`.
�]11;?�\
Possible Solution
Splitting the commands right after ./mc config ...
fixes it.
Steps to Reproduce (for bugs)
- The commands below are ran in a linux based container on CircleCI(a CI provider)
#!/bin/bash -eo pipefail
wget https://dl.min.io/client/mc/release/linux-amd64/mc
chmod +x mc
./mc config host add minio $MINIO_ENDPOINT $MINIO_KEY $MINIO_SECRET
./mc mb minio/bucket1
./mc mb minio/bucket2
- It hangs after
Context
This is a pipeline that has been running fine for 2 years-ish. We haven't updated any of the base images or configuration. Minio released a new version yesterday and it exactly started happening after that release. I'm not saying the release is the cause but I don't have much else to point at.
One note. The symbols that can't be shown properly in the stdout did not happen on the release before the latest. It might be indicating a problem.
Regression
YES
Latest release
Your Environment
- Version used (
minio --version
): Latest release - Server setup and configuration: docker based CI with https://hub.docker.com/_/php using amd64 arch
- Operating System and version (
uname -a
): the above