github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/ais/test/s3/create_bucket.in (about) 1 s3cmd mb s3://$BUCKET --host=$HOST $PARAMS --host-bucket="$HOST/%(bucket)" 2 s3cmd ls --host=$HOST $PARAMS --host-bucket="$HOST/%(bucket)" | grep "$BUCKET" 3 s3cmd ls s3://$BUCKET --host=$HOST $PARAMS --host-bucket="$HOST/%(bucket)" 4 s3cmd mb s3://$BUCKET --host=$HOST $PARAMS --host-bucket="$HOST/%(bucket)" //FAIL ERROR: Bucket '$BUCKET' already exists \n ERROR: S3 error: 409 (BucketAlreadyExists): bucket "ais://$BUCKET" already exists 5 s3cmd info s3://$BUCKET --host=$HOST $PARAMS --host-bucket="$HOST/%(bucket)" 6 s3cmd rb s3://$BUCKET --host=$HOST $PARAMS --host-bucket="$HOST/%(bucket)" 7 s3cmd rb s3://$BUCKET --host=$HOST $PARAMS --host-bucket="$HOST/%(bucket)" //FAIL ERROR: S3 error: 404 (NoSuchBucket): bucket "$BUCKET" does not exist