save process logs if sanity job has failures

Change-Id: I6da7b4494ce4234322805028fe88db57af32b0a6