diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-03-12 23:00:28 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-03-12 23:00:28 +0000 |
commit | 630729cc72d280df78913ac92b53dde34a535c6b (patch) | |
tree | 06dcb94e22483fafa844b431d395eca084e51d08 | |
parent | fdd633e49e2bb12d7544b975e616dd2d4d252be8 (diff) | |
parent | fb9d46a7f4def991a07d86082e8a45c0c362746d (diff) | |
download | bazel-sdk-release.tar.gz |
Snap for 11566117 from fb9d46a7f4def991a07d86082e8a45c0c362746d to sdk-releaseplatform-tools-35.0.1sdk-release
Change-Id: Ic81c2e93f09aaa17940d50ffda6f98a0efa8fba1
-rwxr-xr-x | ci/rbc_dashboard.py | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/ci/rbc_dashboard.py b/ci/rbc_dashboard.py index 3619bae3..ff2cd83e 100755 --- a/ci/rbc_dashboard.py +++ b/ci/rbc_dashboard.py @@ -20,10 +20,10 @@ import xml.etree.ElementTree as ET _PRODUCT_REGEX = re.compile(r'([a-zA-Z_][a-zA-Z0-9_]*)(?:(?:-(trunk|trunk_staging|next))?-(user|userdebug|eng))?') _ALREADY_FAILING_PRODUCTS = [ - "arm_v7_v8", - "car_ui_portrait", - "car_x86_64", - "sdk_car_portrait_x86_64", + "aosp_cf_x86_64_tv", + "aosp_cf_x86_tv", + "aosp_husky_61_pgagnostic", + "aosp_shiba_61_pgagnostic", ] @dataclasses.dataclass(frozen=True) @@ -484,13 +484,18 @@ async def main(): print(args.failure_message, file=sys.stderr) sys.exit(1) + baseline_failures = [] for result in all_results: if result.product.product not in _ALREADY_FAILING_PRODUCTS and not result.baseline_success: - print(f"{result.product} fails to run (Make-based) product config", file=sys.stderr) - dump_files_to_stderr(os.path.join(dirs.results, str(result.product), 'baseline')) - if args.failure_message: - print(args.failure_message, file=sys.stderr) - sys.exit(1) + baseline_failures.append(result) + if baseline_failures: + product_str = "\n ".join([f"{x.product}" for x in baseline_failures]) + print(f"These products fail to run (Make-based) product config:\n {product_str}\nFirst failure:", file=sys.stderr) + result = baseline_failures[0] + dump_files_to_stderr(os.path.join(dirs.results, str(result.product), 'baseline')) + if args.failure_message: + print(args.failure_message, file=sys.stderr) + sys.exit(1) if __name__ == '__main__': |