Reproducing OpenStack Grenade gate job results

stevelle, Wed 15 March 2017, Code

ci, grenade, openstack, quality, zuul

This is just a really quick post to capture something learned.

Imagine your CI job fails. Imagine you can’t tell why easily because there are so many moving parts in the CI. Imagine you are asked to fix the broken build.

crying child

This post is about how I got past that.

Step 1: Set the stage

Step 2: Prepare the host to emulate the gate

In the VM

cd /opt # or somewhere you want to put stuff
git clone https://github.com/JohnVillalovos/devstack-gate-test.git
cd devstack-gate-test
./vm-setup.sh
su - jenkins

Step 2.5: [optional]

Step 3: Execute the reproduction event

In a browser

In the VM

cd ..
wget [paste-url]
chmod u+x reproduce.sh
./reproduce.sh

Now just kick back and watch the carnage!

a train wreck