bisect-kit: Use the "canonical" task id of a swarming task

Somehow multiple swarming task ids point to the same underlying task.
Swarming can return different task ids for a single task, so causes a
problem in a sanity check.

This CL tried to use the "canonical" task id to avoid the problem

BUG=b:350370209
TEST=./diagnose_cros_tast.py run to ensure DUT lease is successful.

Change-Id: I5ccad1a204275160178cd5b76634638375b6c223
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/bisect-kit/+/5678127
Commit-Queue: Cheng-Yu Lee <cylee@google.com>
Reviewed-by: Md Sadman Sakib <sadmansakib@google.com>
Tested-by: Cheng-Yu Lee <cylee@google.com>
1 file changed