Home | History | Annotate | Download | only in upload_dm_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       "ensure-directory",
     10       "--mode",
     11       "0777",
     12       "[START_DIR]/tmp_upload"
     13     ],
     14     "infra_step": true,
     15     "name": "makedirs tmp dir"
     16   },
     17   {
     18     "cmd": [
     19       "python",
     20       "-u",
     21       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     22       "--json-output",
     23       "/path/to/tmp/json",
     24       "copy",
     25       "[START_DIR]/dm/dm.json",
     26       "[START_DIR]/tmp_upload"
     27     ],
     28     "infra_step": true,
     29     "name": "copy dm.json"
     30   },
     31   {
     32     "cmd": [
     33       "python",
     34       "-u",
     35       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     36       "--json-output",
     37       "/path/to/tmp/json",
     38       "copy",
     39       "[START_DIR]/dm/verbose.log",
     40       "[START_DIR]/tmp_upload"
     41     ],
     42     "infra_step": true,
     43     "name": "copy verbose.log"
     44   },
     45   {
     46     "cmd": [
     47       "python",
     48       "-u",
     49       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     50       "--json-output",
     51       "/path/to/tmp/json",
     52       "remove",
     53       "[START_DIR]/dm/dm.json"
     54     ],
     55     "infra_step": true,
     56     "name": "rm old dm.json"
     57   },
     58   {
     59     "cmd": [
     60       "python",
     61       "-u",
     62       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     63       "--json-output",
     64       "/path/to/tmp/json",
     65       "remove",
     66       "[START_DIR]/dm/verbose.log"
     67     ],
     68     "infra_step": true,
     69     "name": "rm old verbose.log"
     70   },
     71   {
     72     "cmd": [
     73       "python",
     74       "-u",
     75       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     76       "--json-output",
     77       "/path/to/tmp/json",
     78       "glob",
     79       "[START_DIR]/dm",
     80       "*.png"
     81     ],
     82     "infra_step": true,
     83     "name": "find images",
     84     "stdout": "/path/to/tmp/",
     85     "~followup_annotations": [
     86       "@@@STEP_LOG_LINE@glob@[START_DIR]/dm/someimage.png@@@",
     87       "@@@STEP_LOG_END@glob@@@"
     88     ]
     89   },
     90   {
     91     "cmd": [
     92       "gsutil",
     93       "-m",
     94       "cp",
     95       "[START_DIR]/dm/*.png",
     96       "gs://skia-infra-gm/dm-images-v1"
     97     ],
     98     "name": "upload images",
     99     "~followup_annotations": [
    100       "step returned non-zero exit code: 1",
    101       "@@@STEP_FAILURE@@@"
    102     ]
    103   },
    104   {
    105     "cmd": [
    106       "gsutil",
    107       "-m",
    108       "cp",
    109       "[START_DIR]/dm/*.png",
    110       "gs://skia-infra-gm/dm-images-v1"
    111     ],
    112     "name": "upload images (attempt 2)"
    113   },
    114   {
    115     "cmd": [
    116       "python",
    117       "-u",
    118       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
    119       "--json-output",
    120       "/path/to/tmp/json",
    121       "glob",
    122       "[START_DIR]/dm",
    123       "*.pdf"
    124     ],
    125     "infra_step": true,
    126     "name": "find images (2)",
    127     "stdout": "/path/to/tmp/",
    128     "~followup_annotations": [
    129       "@@@STEP_LOG_LINE@glob@[START_DIR]/dm/someimage.png@@@",
    130       "@@@STEP_LOG_END@glob@@@"
    131     ]
    132   },
    133   {
    134     "cmd": [
    135       "gsutil",
    136       "cp",
    137       "-z",
    138       "json,log",
    139       "[START_DIR]/tmp_upload/*",
    140       "gs://skia-infra-gm/dm-json-v1/2012/05/14/12/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug/1337000001"
    141     ],
    142     "name": "upload JSON and logs"
    143   },
    144   {
    145     "name": "$result",
    146     "recipe_result": null,
    147     "status_code": 0
    148   }
    149 ]