commit | 7e3db86cb58ab454cc591869f186f3dce1963d4e | [log] [tgz] |
---|---|---|
author | He Gao <hegao@google.com> | Tue Jan 10 01:57:36 2023 +0000 |
committer | He Gao <hegao@google.com> | Tue Jan 10 23:57:13 2023 +0000 |
tree | ec4be6a6590941857d81f8e32897dbe3f9b44a67 | |
parent | 8882c7feee5441a66cd7504f6a7d7fe21b299fcc [diff] |
Update install hook download_url for lakitu-arm64 When the install hook runs for lakitu-arm64, `gsutil ls` will return stderr `OSError: AF_UNIX path too long` for app-admin/node-problem-detector and sys-apps/net-tools even if stdout returns the correct GCS file path. This CL updates the logic for finding files in GCS by checking specific string in the returned stderr. Example generated SBOM: https://storage.cloud.google.com/cos-infra-prod-artifacts-presubmit/lakitu-arm64-release-tryjob/R105-17358.0.0-b9a904aa/sbom-lakitu-arm64-17358.0.0-b9a904aa.json BUG=b/254334533 TEST=presubmit RELEASE_NOTE=None Change-Id: I811cb565520a5e8c37a43366f7b9fe17c0a29c01 Reviewed-on: https://cos-review.googlesource.com/c/third_party/platform/crosutils/+/41009 Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com> Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com>