From e085717ca7a94fc9a8cefa1e5f61836ee1aa5972 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 16 Mar 2020 14:03:55 -0400 Subject: [PATCH] Add invalid commit skip for babeltrace benchmark Signed-off-by: Jonathan Rajotte --- scripts/babeltrace-benchmark/benchmark.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/babeltrace-benchmark/benchmark.py b/scripts/babeltrace-benchmark/benchmark.py index c31f87b..86a8596 100644 --- a/scripts/babeltrace-benchmark/benchmark.py +++ b/scripts/babeltrace-benchmark/benchmark.py @@ -38,6 +38,12 @@ from minio.error import ResponseError BENCHMARK_TYPES = ["dummy", "text"] DEFAULT_BUCKET = "lava" +invalid_commits = { + "ec9a9794af488a9accce7708a8b0d8188b498789", # Does not build + "8c99128c640cbce71fb8a6caa15e4c672252b662", # Block on configure + "f3847c753f1b4f12353c38d97b0577d9993d19fb", # Does not build + "e0111295f17ddfcc33ec771a8deac505473a06ad", # Does not build + } def json_type(string): """ @@ -388,6 +394,8 @@ def launch_jobs(branches, git_path, wait_for_completion, debug, force): with tempfile.TemporaryDirectory() as workdir: for commit in commits: + if commit in invalid_commits: + continue b_results = get_benchmark_results(client, commit, workdir)[0] if b_results and not force: continue -- 2.34.1