call ensureGreen() to get more meaningful debug output on failure