Fix race and error case in GN auto-roller script.

There were two issues in the GN auto roller script;
in the first case, if we hit a race in Rietveld and
did not find any try jobs posted, we would return
an error code rather than an empty dict of job results.

Once that was fixed, we might still not have results
from all the bots we were waiting on, so we might exit
earlier. This patch fixes things so we wait for results
for all of the try jobs we posted.

TBR=brettw@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1357713008

Cr-Original-Commit-Position: refs/heads/master@{#349831}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a6108a3461418a0b9928a40e712181876e2ca3f4
1 file changed
tree: 95d5f5f41a9a700556953dd069219b23c0562f4c
  1. tools/