Home | History | Annotate | Download | only in upload_coverage_results.expected
      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/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/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profdata"
     63     ],
     64     "name": "upload parsed data",
     65     "~followup_annotations": [
     66       "step returned non-zero exit code: 1",
     67       "@@@STEP_FAILURE@@@"
     68     ]
     69   },
     70   {
     71     "cmd": [
     72       "gsutil",
     73       "cp",
     74       "-Z",
     75       "[START_DIR]/output.profdata",
     76       "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profdata"
     77     ],
     78     "name": "upload parsed data (attempt 2)"
     79   },
     80   {
     81     "cmd": [
     82       "[START_DIR]/clang_linux/bin/llvm-cov",
     83       "show",
     84       "[START_DIR]/out/Debug/dm",
     85       "-instr-profile=[START_DIR]/output.profdata",
     86       "-use-color=0",
     87       "-format=text",
     88       "-output-dir=[START_DIR]/coverage_text"
     89     ],
     90     "name": "create text summary"
     91   },
     92   {
     93     "cmd": [
     94       "gsutil",
     95       "cp",
     96       "-Z",
     97       "[START_DIR]/coverage_text/index.txt",
     98       "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.summary"
     99     ],
    100     "name": "upload coverage summary"
    101   },
    102   {
    103     "cmd": [
    104       "tar",
    105       "-cvf",
    106       "[START_DIR]/coverage.text.tar",
    107       "[START_DIR]/coverage_text"
    108     ],
    109     "name": "create text coverage archive"
    110   },
    111   {
    112     "cmd": [
    113       "gsutil",
    114       "cp",
    115       "-Z",
    116       "[START_DIR]/coverage.text.tar",
    117       "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.text.tar"
    118     ],
    119     "name": "upload text coverage data"
    120   },
    121   {
    122     "cmd": [
    123       "[START_DIR]/clang_linux/bin/llvm-cov",
    124       "show",
    125       "[START_DIR]/out/Debug/dm",
    126       "-instr-profile=[START_DIR]/output.profdata",
    127       "-use-color=1",
    128       "-format=html",
    129       "-output-dir=[START_DIR]/coverage_html"
    130     ],
    131     "name": "create html summary"
    132   },
    133   {
    134     "cmd": [
    135       "tar",
    136       "-cvf",
    137       "[START_DIR]/coverage.html.tar",
    138       "[START_DIR]/coverage_html"
    139     ],
    140     "name": "create html coverage archive"
    141   },
    142   {
    143     "cmd": [
    144       "gsutil",
    145       "cp",
    146       "-Z",
    147       "[START_DIR]/coverage.html.tar",
    148       "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.html.tar"
    149     ],
    150     "name": "upload html coverage data"
    151   },
    152   {
    153     "name": "$result",
    154     "recipe_result": null,
    155     "status_code": 0
    156   }
    157 ]