<commit_before>#! /bin/bash
#
# Ceph cluster setup in Circle CI
#

set -x
set -e
set -u

NODE=$(hostname)
CEPHDIR=/tmp/ceph

mkdir cluster
pushd cluster

# Install
retries=0
until [ $retries -ge 5 ]; do
  pip install ceph-deploy && break
  retries=$[$retries+1]
  sleep 30
done

retries=0
until [ $retries -ge 5 ]; do
  ceph-deploy install --release hammer $NODE && break
  retries=$[$retries+1]
  sleep 30<commit_msg>Attempt to unblock the ceph build process<commit_after>#! /bin/bash
#
# Ceph cluster setup in Circle CI
#

set -x
set -e
set -u

NODE=$(hostname)
CEPHDIR=/tmp/ceph

mkdir cluster
pushd cluster

# Install
retries=0
until [ $retries -ge 5 ]; do
  pip install ceph-deploy && break
  retries=$[$retries+1]
  sleep 30
done

retries=0
until [ $retries -ge 5 ]; do
    # apt-get can get stuck and hold the lock in some circumstances
    # so preemptively kill it
    kill `pgrep apt-get` || true
  ceph-deploy install --release hammer $NODE && break
  retries=$[$retries+1]
  sleep 30
{'fraction_non_alphanumeric': 0.11658291457286432, 'fraction_numerical': 0.020100502512562814, 'mean_word_length': 3.506787330316742, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2815991', 'n_tokens_mistral': 383, 'n_tokens_neox': 358, 'n_words': 124}