add some diagnotics on rake failure part 2 [#41526525]