No description or website provided.
Python Erlang Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
blockade @ 9d08e75

Kyle Kingsbury's Jepsen

Rabbitmq test (in python)

Setting up an environment

I use Vmware Fusion to run ubuntu xenial, and run docker on ubuntu (you can grab an image from

# update & upgrade
sudo apt-get update
sudo apt-get -y upgrade
# enable ssh
sudo apt-get install openssh-server
# login from your laptop

sudo apt-get -y install python-pip python-virtualenv python-dev
python --version
# Python 2.7.12
lsb_release -a
#No LSB modules are available.
#Distributor ID: Ubuntu
#Description: Ubuntu 16.04.1 LTS
#Release: 16.04
#Codename: xenial
uname -a
#Linux osboxes 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
# install docker
sudo apt-get install apt-transport-https ca-certificates
sudo apt-key adv \
               --keyserver hkp:// \
               --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
REPO='deb ubuntu-xenial main'
echo "$REPO" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual
sudo apt-get install docker-engine
sudo service docker start

#For your db nodes, you'll need some (I use five) ubuntu boxes (I run ubuntu
# xenial). By default they're named n1, n2, n3, n4, and n5.

git clone
cd jepsen-python
git submodule init && git submodule update
(cd blockade && pip install -r requirements.txt)
sudo docker-compose up

Running a test

sudo python src/