Fix traivs-ci setup issus; Raise error when test failed.

Signed-off-by: Xiongfei(Alex) Guo <xfguo@credosemi.com>