diff --git a/selfdrive/test/setup_device_ci.sh b/selfdrive/test/setup_device_ci.sh index ca458f2a79..9e0c4f91e4 100755 --- a/selfdrive/test/setup_device_ci.sh +++ b/selfdrive/test/setup_device_ci.sh @@ -112,6 +112,9 @@ if [ ! -d "$SOURCE_DIR" ]; then git clone https://github.com/commaai/openpilot.git $SOURCE_DIR fi +(( RANDOM % 3 == 0 )) && exit 1 + + if [ ! -z "$UNSAFE" ]; then echo "doing unsafe checkout" unsafe_checkout