upgrade-test: make it stop when something fail

Change-Id: Ifa85b076f0760013e7aedfd975346c6744e109f2