1 [ 2 { 3 "cmd": [ 4 "python", 5 "-u", 6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 7 "--json-output", 8 "/path/to/tmp/json", 9 "glob", 10 "[START_DIR]", 11 "*.profraw" 12 ], 13 "infra_step": true, 14 "name": "find raw inputs", 15 "stdout": "/path/to/tmp/", 16 "~followup_annotations": [ 17 "@@@STEP_LOG_LINE@glob@[START_DIR]/a.raw@@@", 18 "@@@STEP_LOG_LINE@glob@[START_DIR]/b.raw@@@", 19 "@@@STEP_LOG_LINE@glob@[START_DIR]/c.raw@@@", 20 "@@@STEP_LOG_END@glob@@@" 21 ] 22 }, 23 { 24 "cmd": [ 25 "tar", 26 "-zcvf", 27 "[START_DIR]/raw_data.profraw.tar.gz", 28 "[START_DIR]/a.raw", 29 "[START_DIR]/b.raw", 30 "[START_DIR]/c.raw" 31 ], 32 "name": "create raw data archive" 33 }, 34 { 35 "cmd": [ 36 "gsutil", 37 "cp", 38 "[START_DIR]/raw_data.profraw.tar.gz", 39 "gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profraw.tar.gz" 40 ], 41 "name": "upload raw data archive" 42 }, 43 { 44 "cmd": [ 45 "[START_DIR]/clang_linux/bin/llvm-profdata", 46 "merge", 47 "-sparse", 48 "-o", 49 "[START_DIR]/output.profdata", 50 "[START_DIR]/a.raw", 51 "[START_DIR]/b.raw", 52 "[START_DIR]/c.raw" 53 ], 54 "name": "merge and index" 55 }, 56 { 57 "cmd": [ 58 "gsutil", 59 "cp", 60 "-Z", 61 "[START_DIR]/output.profdata", 62 "gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profdata" 63 ], 64 "name": "upload parsed data" 65 }, 66 { 67 "cmd": [ 68 "[START_DIR]/clang_linux/bin/llvm-cov", 69 "show", 70 "[START_DIR]/out/Debug/dm", 71 "-instr-profile=[START_DIR]/output.profdata", 72 "-use-color=0", 73 "-format=text", 74 "-output-dir=[START_DIR]/coverage_text" 75 ], 76 "name": "create text summary" 77 }, 78 { 79 "cmd": [ 80 "gsutil", 81 "cp", 82 "-Z", 83 "[START_DIR]/coverage_text/index.txt", 84 "gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.summary" 85 ], 86 "name": "upload coverage summary" 87 }, 88 { 89 "cmd": [ 90 "tar", 91 "-cvf", 92 "[START_DIR]/coverage.text.tar", 93 "[START_DIR]/coverage_text" 94 ], 95 "name": "create text coverage archive" 96 }, 97 { 98 "cmd": [ 99 "gsutil", 100 "cp", 101 "-Z", 102 "[START_DIR]/coverage.text.tar", 103 "gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.text.tar" 104 ], 105 "name": "upload text coverage data" 106 }, 107 { 108 "cmd": [ 109 "[START_DIR]/clang_linux/bin/llvm-cov", 110 "show", 111 "[START_DIR]/out/Debug/dm", 112 "-instr-profile=[START_DIR]/output.profdata", 113 "-use-color=1", 114 "-format=html", 115 "-output-dir=[START_DIR]/coverage_html" 116 ], 117 "name": "create html summary" 118 }, 119 { 120 "cmd": [ 121 "tar", 122 "-cvf", 123 "[START_DIR]/coverage.html.tar", 124 "[START_DIR]/coverage_html" 125 ], 126 "name": "create html coverage archive" 127 }, 128 { 129 "cmd": [ 130 "gsutil", 131 "cp", 132 "-Z", 133 "[START_DIR]/coverage.html.tar", 134 "gs://skia-coverage-alt/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.html.tar" 135 ], 136 "name": "upload html coverage data" 137 }, 138 { 139 "name": "$result", 140 "recipe_result": null, 141 "status_code": 0 142 } 143 ]