skia2/infra/bots/recipes/upload_coverage_results.expected/alternate_bucket.json
Eric Boren 322a859bda Reland [recipes] Isolate build outputs with no subdirs
Bug: skia:6473
Change-Id: I730cb860abc72473aaa9af98527fd220b9a55120
Reviewed-on: https://skia-review.googlesource.com/131389
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
2018-06-01 15:18:46 +00:00

143 lines
3.3 KiB
JSON

[
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"glob",
"[START_DIR]/coverage",
"*.profraw"
],
"infra_step": true,
"name": "find raw inputs",
"stdout": "/path/to/tmp/",
"~followup_annotations": [
"@@@STEP_LOG_LINE@glob@[START_DIR]/coverage/a.raw@@@",
"@@@STEP_LOG_LINE@glob@[START_DIR]/coverage/b.raw@@@",
"@@@STEP_LOG_LINE@glob@[START_DIR]/coverage/c.raw@@@",
"@@@STEP_LOG_END@glob@@@"
]
},
{
"cmd": [
"tar",
"-zcvf",
"[START_DIR]/raw_data.profraw.tar.gz",
"[START_DIR]/coverage/a.raw",
"[START_DIR]/coverage/b.raw",
"[START_DIR]/coverage/c.raw"
],
"name": "create raw data archive"
},
{
"cmd": [
"gsutil",
"cp",
"[START_DIR]/raw_data.profraw.tar.gz",
"gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profraw.tar.gz"
],
"name": "upload raw data archive"
},
{
"cmd": [
"[START_DIR]/clang_linux/bin/llvm-profdata",
"merge",
"-sparse",
"-o",
"[START_DIR]/output.profdata",
"[START_DIR]/coverage/a.raw",
"[START_DIR]/coverage/b.raw",
"[START_DIR]/coverage/c.raw"
],
"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-All.profdata"
],
"name": "upload parsed data"
},
{
"cmd": [
"[START_DIR]/clang_linux/bin/llvm-cov",
"show",
"[START_DIR]/build/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-All.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-All.text.tar"
],
"name": "upload text coverage data"
},
{
"cmd": [
"[START_DIR]/clang_linux/bin/llvm-cov",
"show",
"[START_DIR]/build/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-All.html.tar"
],
"name": "upload html coverage data"
},
{
"name": "$result",
"recipe_result": null,
"status_code": 0
}
]