diff options
Diffstat (limited to 'infra/bots/recipes/upload_coverage_results.expected')
5 files changed, 532 insertions, 0 deletions
diff --git a/infra/bots/recipes/upload_coverage_results.expected/alternate_bucket.json b/infra/bots/recipes/upload_coverage_results.expected/alternate_bucket.json new file mode 100644 index 0000000000..30fe085fcb --- /dev/null +++ b/infra/bots/recipes/upload_coverage_results.expected/alternate_bucket.json @@ -0,0 +1,110 @@ +[ + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profraw", + "gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profraw" + ], + "name": "upload raw data" + }, + { + "cmd": [ + "[START_DIR]/clang_linux/bin/llvm-profdata", + "merge", + "-sparse", + "[START_DIR]/output.profraw", + "-o", + "[START_DIR]/output.profdata" + ], + "name": "merge and index" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profdata", + "gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profdata" + ], + "name": "upload parsed data" + }, + { + "cmd": [ + "[START_DIR]/clang_linux/bin/llvm-cov", + "show", + "[START_DIR]/out/Debug/dm", + "-instr-profile=[START_DIR]/output.profdata", + "-use-color=0", + "-format=text", + "-output-dir=[START_DIR]/coverage_text" + ], + "name": "create text summary" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/coverage_text/index.txt", + "gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.summary" + ], + "name": "upload coverage summary" + }, + { + "cmd": [ + "tar", + "-cvf", + "[START_DIR]/coverage.text.tar", + "[START_DIR]/coverage_text" + ], + "name": "create text coverage archive" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/coverage.text.tar", + "gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.text.tar" + ], + "name": "upload text coverage data" + }, + { + "cmd": [ + "[START_DIR]/clang_linux/bin/llvm-cov", + "show", + "[START_DIR]/out/Debug/dm", + "-instr-profile=[START_DIR]/output.profdata", + "-use-color=1", + "-format=html", + "-output-dir=[START_DIR]/coverage_html" + ], + "name": "create html summary" + }, + { + "cmd": [ + "tar", + "-cvf", + "[START_DIR]/coverage.html.tar", + "[START_DIR]/coverage_html" + ], + "name": "create html coverage archive" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/coverage.html.tar", + "gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.html.tar" + ], + "name": "upload html coverage data" + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file diff --git a/infra/bots/recipes/upload_coverage_results.expected/failed_all.json b/infra/bots/recipes/upload_coverage_results.expected/failed_all.json new file mode 100644 index 0000000000..e276f05639 --- /dev/null +++ b/infra/bots/recipes/upload_coverage_results.expected/failed_all.json @@ -0,0 +1,78 @@ +[ + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profraw", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profraw" + ], + "name": "upload raw data", + "~followup_annotations": [ + "step returned non-zero exit code: 1", + "@@@STEP_FAILURE@@@" + ] + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profraw", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profraw" + ], + "name": "upload raw data (attempt 2)", + "~followup_annotations": [ + "step returned non-zero exit code: 1", + "@@@STEP_FAILURE@@@" + ] + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profraw", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profraw" + ], + "name": "upload raw data (attempt 3)", + "~followup_annotations": [ + "step returned non-zero exit code: 1", + "@@@STEP_FAILURE@@@" + ] + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profraw", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profraw" + ], + "name": "upload raw data (attempt 4)", + "~followup_annotations": [ + "step returned non-zero exit code: 1", + "@@@STEP_FAILURE@@@" + ] + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profraw", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profraw" + ], + "name": "upload raw data (attempt 5)", + "~followup_annotations": [ + "step returned non-zero exit code: 1", + "@@@STEP_FAILURE@@@" + ] + }, + { + "name": "$result", + "reason": "Step('upload raw data (attempt 5)') failed with return_code 1", + "recipe_result": null, + "status_code": 1 + } +]
\ No newline at end of file diff --git a/infra/bots/recipes/upload_coverage_results.expected/failed_once.json b/infra/bots/recipes/upload_coverage_results.expected/failed_once.json new file mode 100644 index 0000000000..2312af4b85 --- /dev/null +++ b/infra/bots/recipes/upload_coverage_results.expected/failed_once.json @@ -0,0 +1,124 @@ +[ + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profraw", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profraw" + ], + "name": "upload raw data", + "~followup_annotations": [ + "step returned non-zero exit code: 1", + "@@@STEP_FAILURE@@@" + ] + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profraw", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profraw" + ], + "name": "upload raw data (attempt 2)" + }, + { + "cmd": [ + "[START_DIR]/clang_linux/bin/llvm-profdata", + "merge", + "-sparse", + "[START_DIR]/output.profraw", + "-o", + "[START_DIR]/output.profdata" + ], + "name": "merge and index" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profdata", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profdata" + ], + "name": "upload parsed data" + }, + { + "cmd": [ + "[START_DIR]/clang_linux/bin/llvm-cov", + "show", + "[START_DIR]/out/Debug/dm", + "-instr-profile=[START_DIR]/output.profdata", + "-use-color=0", + "-format=text", + "-output-dir=[START_DIR]/coverage_text" + ], + "name": "create text summary" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/coverage_text/index.txt", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.summary" + ], + "name": "upload coverage summary" + }, + { + "cmd": [ + "tar", + "-cvf", + "[START_DIR]/coverage.text.tar", + "[START_DIR]/coverage_text" + ], + "name": "create text coverage archive" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/coverage.text.tar", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.text.tar" + ], + "name": "upload text coverage data" + }, + { + "cmd": [ + "[START_DIR]/clang_linux/bin/llvm-cov", + "show", + "[START_DIR]/out/Debug/dm", + "-instr-profile=[START_DIR]/output.profdata", + "-use-color=1", + "-format=html", + "-output-dir=[START_DIR]/coverage_html" + ], + "name": "create html summary" + }, + { + "cmd": [ + "tar", + "-cvf", + "[START_DIR]/coverage.html.tar", + "[START_DIR]/coverage_html" + ], + "name": "create html coverage archive" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/coverage.html.tar", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.html.tar" + ], + "name": "upload html coverage data" + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file diff --git a/infra/bots/recipes/upload_coverage_results.expected/normal_bot.json b/infra/bots/recipes/upload_coverage_results.expected/normal_bot.json new file mode 100644 index 0000000000..cb3ec71592 --- /dev/null +++ b/infra/bots/recipes/upload_coverage_results.expected/normal_bot.json @@ -0,0 +1,110 @@ +[ + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profraw", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profraw" + ], + "name": "upload raw data" + }, + { + "cmd": [ + "[START_DIR]/clang_linux/bin/llvm-profdata", + "merge", + "-sparse", + "[START_DIR]/output.profraw", + "-o", + "[START_DIR]/output.profdata" + ], + "name": "merge and index" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profdata", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profdata" + ], + "name": "upload parsed data" + }, + { + "cmd": [ + "[START_DIR]/clang_linux/bin/llvm-cov", + "show", + "[START_DIR]/out/Debug/dm", + "-instr-profile=[START_DIR]/output.profdata", + "-use-color=0", + "-format=text", + "-output-dir=[START_DIR]/coverage_text" + ], + "name": "create text summary" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/coverage_text/index.txt", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.summary" + ], + "name": "upload coverage summary" + }, + { + "cmd": [ + "tar", + "-cvf", + "[START_DIR]/coverage.text.tar", + "[START_DIR]/coverage_text" + ], + "name": "create text coverage archive" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/coverage.text.tar", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.text.tar" + ], + "name": "upload text coverage data" + }, + { + "cmd": [ + "[START_DIR]/clang_linux/bin/llvm-cov", + "show", + "[START_DIR]/out/Debug/dm", + "-instr-profile=[START_DIR]/output.profdata", + "-use-color=1", + "-format=html", + "-output-dir=[START_DIR]/coverage_html" + ], + "name": "create html summary" + }, + { + "cmd": [ + "tar", + "-cvf", + "[START_DIR]/coverage.html.tar", + "[START_DIR]/coverage_html" + ], + "name": "create html coverage archive" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/coverage.html.tar", + "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.html.tar" + ], + "name": "upload html coverage data" + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file diff --git a/infra/bots/recipes/upload_coverage_results.expected/trybot.json b/infra/bots/recipes/upload_coverage_results.expected/trybot.json new file mode 100644 index 0000000000..65584f6486 --- /dev/null +++ b/infra/bots/recipes/upload_coverage_results.expected/trybot.json @@ -0,0 +1,110 @@ +[ + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profraw", + "gs://skia-coverage/trybot/456789/12/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profraw" + ], + "name": "upload raw data" + }, + { + "cmd": [ + "[START_DIR]/clang_linux/bin/llvm-profdata", + "merge", + "-sparse", + "[START_DIR]/output.profraw", + "-o", + "[START_DIR]/output.profdata" + ], + "name": "merge and index" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/output.profdata", + "gs://skia-coverage/trybot/456789/12/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.profdata" + ], + "name": "upload parsed data" + }, + { + "cmd": [ + "[START_DIR]/clang_linux/bin/llvm-cov", + "show", + "[START_DIR]/out/Debug/dm", + "-instr-profile=[START_DIR]/output.profdata", + "-use-color=0", + "-format=text", + "-output-dir=[START_DIR]/coverage_text" + ], + "name": "create text summary" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/coverage_text/index.txt", + "gs://skia-coverage/trybot/456789/12/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.summary" + ], + "name": "upload coverage summary" + }, + { + "cmd": [ + "tar", + "-cvf", + "[START_DIR]/coverage.text.tar", + "[START_DIR]/coverage_text" + ], + "name": "create text coverage archive" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/coverage.text.tar", + "gs://skia-coverage/trybot/456789/12/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.text.tar" + ], + "name": "upload text coverage data" + }, + { + "cmd": [ + "[START_DIR]/clang_linux/bin/llvm-cov", + "show", + "[START_DIR]/out/Debug/dm", + "-instr-profile=[START_DIR]/output.profdata", + "-use-color=1", + "-format=html", + "-output-dir=[START_DIR]/coverage_html" + ], + "name": "create html summary" + }, + { + "cmd": [ + "tar", + "-cvf", + "[START_DIR]/coverage.html.tar", + "[START_DIR]/coverage_html" + ], + "name": "create html coverage archive" + }, + { + "cmd": [ + "gsutil", + "cp", + "-Z", + "[START_DIR]/coverage.html.tar", + "gs://skia-coverage/trybot/456789/12/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug.html.tar" + ], + "name": "upload html coverage data" + }, + { + "name": "$result", + "recipe_result": null, + "status_code": 0 + } +]
\ No newline at end of file |