print task begin, end, and fails