diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-03-15 18:05:12 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-03-15 18:05:12 +0000 |
commit | b14a851833ae5042856dadf435eb4e6442accc66 (patch) | |
tree | 06dcb94e22483fafa844b431d395eca084e51d08 | |
parent | 880836d8663a9259a1f26a966c1d7d4ef6fd3b7e (diff) | |
parent | fb9d46a7f4def991a07d86082e8a45c0c362746d (diff) | |
download | bazel-build-tools-release.tar.gz |
Snap for 11582845 from fb9d46a7f4def991a07d86082e8a45c0c362746d to build-tools-releasebuild-tools-release
Change-Id: I910d2df258615f185fffe434be59afb5ec66ecb1
-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__': |