[PATCH] testbot: Add a history record when a task is canceled.