grep smart logs for failure and running smart tests