Skip to content

Commit

Permalink
infra: bump introspector (#13078)
Browse files Browse the repository at this point in the history
Signed-off-by: David Korczynski <[email protected]>
  • Loading branch information
DavidKorczynski authored Feb 21, 2025
1 parent 1472130 commit a8f27ec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infra/base-images/base-clang/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN apt-get update && apt-get install -y wget sudo && \
RUN apt-get update && apt-get install -y git && \
git clone https://github.com/ossf/fuzz-introspector.git fuzz-introspector && \
cd fuzz-introspector && \
git checkout eab8da2f42d07fb63d28b30c1cc12a2bfcd8e648 && \
git checkout c6f69b1f4e661a23b9987b55fdc42d5cc2748f9f && \
git submodule init && \
git submodule update && \
apt-get autoremove --purge -y git && \
Expand Down
10 changes: 8 additions & 2 deletions infra/build/functions/trial_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import urllib.request

from googleapiclient.discovery import build as cloud_build
from googleapiclient.errors import HttpError
import oauth2client.client
import yaml

Expand Down Expand Up @@ -252,8 +253,13 @@ def check_finished(build_id, project, cloudbuild_api, cloud_project,
build_results):
"""Checks that the |build_type| build is complete. Updates |project_status| if
complete."""
build_status = get_build_status_from_gcb(cloudbuild_api, cloud_project,
build_id)

try:
build_status = get_build_status_from_gcb(cloudbuild_api, cloud_project,
build_id)
except HttpError:
logging.debug('build: HttpError when getting build status from gcb')
return False
if build_status not in FINISHED_BUILD_STATUSES:
logging.debug('build: %d not finished.', build_id)
return False
Expand Down

0 comments on commit a8f27ec

Please sign in to comment.