Home | History | Annotate | Download | only in test.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       "copy",
     10       "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
     11       "/path/to/tmp/"
     12     ],
     13     "infra_step": true,
     14     "name": "Get downloaded SKP VERSION"
     15   },
     16   {
     17     "cmd": [
     18       "python",
     19       "-u",
     20       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     21       "--json-output",
     22       "/path/to/tmp/json",
     23       "copy",
     24       "42",
     25       "[START_DIR]/tmp/SKP_VERSION"
     26     ],
     27     "infra_step": true,
     28     "name": "write SKP_VERSION"
     29   },
     30   {
     31     "cmd": [
     32       "python",
     33       "-u",
     34       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     35       "--json-output",
     36       "/path/to/tmp/json",
     37       "copy",
     38       "[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
     39       "/path/to/tmp/"
     40     ],
     41     "infra_step": true,
     42     "name": "Get downloaded skimage VERSION"
     43   },
     44   {
     45     "cmd": [
     46       "python",
     47       "-u",
     48       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     49       "--json-output",
     50       "/path/to/tmp/json",
     51       "copy",
     52       "42",
     53       "[START_DIR]/tmp/SK_IMAGE_VERSION"
     54     ],
     55     "infra_step": true,
     56     "name": "write SK_IMAGE_VERSION"
     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       "copy",
     66       "[START_DIR]/skia/infra/bots/assets/svg/VERSION",
     67       "/path/to/tmp/"
     68     ],
     69     "infra_step": true,
     70     "name": "Get downloaded SVG VERSION"
     71   },
     72   {
     73     "cmd": [
     74       "python",
     75       "-u",
     76       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     77       "--json-output",
     78       "/path/to/tmp/json",
     79       "copy",
     80       "42",
     81       "[START_DIR]/tmp/SVG_VERSION"
     82     ],
     83     "infra_step": true,
     84     "name": "write SVG_VERSION"
     85   },
     86   {
     87     "cmd": [
     88       "python",
     89       "-u",
     90       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     91       "--json-output",
     92       "/path/to/tmp/json",
     93       "rmtree",
     94       "[CUSTOM_[SWARM_OUT_DIR]]/dm"
     95     ],
     96     "infra_step": true,
     97     "name": "rmtree dm"
     98   },
     99   {
    100     "cmd": [
    101       "python",
    102       "-u",
    103       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
    104       "--json-output",
    105       "/path/to/tmp/json",
    106       "ensure-directory",
    107       "--mode",
    108       "0777",
    109       "[CUSTOM_[SWARM_OUT_DIR]]/dm"
    110     ],
    111     "infra_step": true,
    112     "name": "makedirs dm"
    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       "ensure-directory",
    122       "--mode",
    123       "0777",
    124       "[START_DIR]/tmp"
    125     ],
    126     "infra_step": true,
    127     "name": "makedirs tmp_dir"
    128   },
    129   {
    130     "cmd": [
    131       "python",
    132       "-u",
    133       "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_files/gold-prod-hashes.txt'\nRETRIES = 5\nTIMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in range(RETRIES):\n  try:\n    with contextlib.closing(\n        urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:\n      hashes = w.read()\n      with open(sys.argv[1], 'w') as f:\n        f.write(hashes)\n        break\n  except Exception as e:\n    print 'Failed to get uninteresting hashes from %s:' % HASHES_URL\n    print e\n    if retry == RETRIES:\n      raise\n    waittime = WAIT_BASE * math.pow(2, retry)\n    print 'Retry in %d seconds.' % waittime\n    time.sleep(waittime)\n",
    134       "[START_DIR]/tmp/uninteresting_hashes.txt"
    135     ],
    136     "env": {
    137       "BUILDTYPE": "Debug",
    138       "CHROME_HEADLESS": "1",
    139       "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
    140       "SKIA_OUT": "[START_DIR]/out"
    141     },
    142     "infra_step": true,
    143     "name": "get uninteresting hashes",
    144     "~followup_annotations": [
    145       "@@@STEP_LOG_LINE (a] python.inline@@@@",
    146       "@@@STEP_LOG_LINE (a] python.inline@import contextlib@@@",
    147       "@@@STEP_LOG_LINE (a] python.inline@import math@@@",
    148       "@@@STEP_LOG_LINE (a] python.inline@import socket@@@",
    149       "@@@STEP_LOG_LINE (a] python.inline@import sys@@@",
    150       "@@@STEP_LOG_LINE (a] python.inline@import time@@@",
    151       "@@@STEP_LOG_LINE (a] python.inline@import urllib2@@@",
    152       "@@@STEP_LOG_LINE (a] python.inline@@@@",
    153       "@@@STEP_LOG_LINE (a] python.inline@HASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_files/gold-prod-hashes.txt'@@@",
    154       "@@@STEP_LOG_LINE (a] python.inline@RETRIES = 5@@@",
    155       "@@@STEP_LOG_LINE (a] python.inline@TIMEOUT = 60@@@",
    156       "@@@STEP_LOG_LINE (a] python.inline@WAIT_BASE = 15@@@",
    157       "@@@STEP_LOG_LINE (a] python.inline@@@@",
    158       "@@@STEP_LOG_LINE (a] python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
    159       "@@@STEP_LOG_LINE (a] python.inline@for retry in range(RETRIES):@@@",
    160       "@@@STEP_LOG_LINE (a] python.inline@  try:@@@",
    161       "@@@STEP_LOG_LINE (a] python.inline@    with contextlib.closing(@@@",
    162       "@@@STEP_LOG_LINE (a] python.inline@        urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@",
    163       "@@@STEP_LOG_LINE (a] python.inline@      hashes = w.read()@@@",
    164       "@@@STEP_LOG_LINE (a] python.inline@      with open(sys.argv[1], 'w') as f:@@@",
    165       "@@@STEP_LOG_LINE (a] python.inline@        f.write(hashes)@@@",
    166       "@@@STEP_LOG_LINE (a] python.inline@        break@@@",
    167       "@@@STEP_LOG_LINE (a] python.inline@  except Exception as e:@@@",
    168       "@@@STEP_LOG_LINE (a] python.inline@    print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@",
    169       "@@@STEP_LOG_LINE (a] python.inline@    print e@@@",
    170       "@@@STEP_LOG_LINE (a] python.inline@    if retry == RETRIES:@@@",
    171       "@@@STEP_LOG_LINE (a] python.inline@      raise@@@",
    172       "@@@STEP_LOG_LINE (a] python.inline@    waittime = WAIT_BASE * math.pow(2, retry)@@@",
    173       "@@@STEP_LOG_LINE (a] python.inline@    print 'Retry in %d seconds.' % waittime@@@",
    174       "@@@STEP_LOG_LINE (a] python.inline@    time.sleep(waittime)@@@",
    175       "@@@STEP_LOG_END (a] python.inline@@@"
    176     ]
    177   },
    178   {
    179     "cmd": [
    180       "python",
    181       "-u",
    182       "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
    183     ],
    184     "name": "get swarming bot id",
    185     "stdout": "/path/to/tmp/",
    186     "~followup_annotations": [
    187       "@@@STEP_LOG_LINE (a] python.inline@import os@@@",
    188       "@@@STEP_LOG_LINE (a] python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
    189       "@@@STEP_LOG_END (a] python.inline@@@"
    190     ]
    191   },
    192   {
    193     "cmd": [
    194       "python",
    195       "-u",
    196       "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
    197     ],
    198     "name": "get swarming task id",
    199     "stdout": "/path/to/tmp/",
    200     "~followup_annotations": [
    201       "@@@STEP_LOG_LINE (a] python.inline@import os@@@",
    202       "@@@STEP_LOG_LINE (a] python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
    203       "@@@STEP_LOG_END (a] python.inline@@@"
    204     ]
    205   },
    206   {
    207     "cmd": [
    208       "python",
    209       "-u",
    210       "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
    211       "[START_DIR]",
    212       "catchsegv",
    213       "[START_DIR]/out/Debug/dm",
    214       "--undefok",
    215       "--resourcePath",
    216       "[START_DIR]/skia/resources",
    217       "--skps",
    218       "[START_DIR]/skp",
    219       "--images",
    220       "[START_DIR]/skimage/dm",
    221       "--colorImages",
    222       "[START_DIR]/skimage/colorspace",
    223       "--nameByHash",
    224       "--properties",
    225       "gitHash",
    226       "abc123",
    227       "builder",
    228       "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug",
    229       "swarming_bot_id",
    230       "",
    231       "swarming_task_id",
    232       "",
    233       "--svgs",
    234       "[START_DIR]/svg",
    235       "--key",
    236       "arch",
    237       "x86_64",
    238       "compiler",
    239       "GCC",
    240       "configuration",
    241       "Debug",
    242       "cpu_or_gpu",
    243       "CPU",
    244       "cpu_or_gpu_value",
    245       "AVX2",
    246       "model",
    247       "GCE",
    248       "os",
    249       "Ubuntu",
    250       "--uninterestingHashesFile",
    251       "[START_DIR]/tmp/uninteresting_hashes.txt",
    252       "--writePath",
    253       "[CUSTOM_[SWARM_OUT_DIR]]/dm",
    254       "--nogpu",
    255       "--randomProcessorTest",
    256       "--config",
    257       "8888",
    258       "srgb",
    259       "pdf",
    260       "gl",
    261       "gldft",
    262       "glsrgb",
    263       "glmsaa8",
    264       "565",
    265       "f16",
    266       "sp-8888",
    267       "2ndpic-8888",
    268       "lite-8888",
    269       "gbr-8888",
    270       "serialize-8888",
    271       "tiles_rt-8888",
    272       "pic-8888",
    273       "--src",
    274       "tests",
    275       "gm",
    276       "image",
    277       "colorImage",
    278       "svg",
    279       "--blacklist",
    280       "f16",
    281       "_",
    282       "_",
    283       "dstreadshuffle",
    284       "glsrgb",
    285       "image",
    286       "_",
    287       "_",
    288       "gbr-8888",
    289       "image",
    290       "_",
    291       "_",
    292       "gbr-8888",
    293       "colorImage",
    294       "_",
    295       "_",
    296       "serialize-8888",
    297       "gm",
    298       "_",
    299       "bleed_image",
    300       "serialize-8888",
    301       "gm",
    302       "_",
    303       "c_gms",
    304       "serialize-8888",
    305       "gm",
    306       "_",
    307       "colortype",
    308       "serialize-8888",
    309       "gm",
    310       "_",
    311       "colortype_xfermodes",
    312       "serialize-8888",
    313       "gm",
    314       "_",
    315       "drawfilter",
    316       "serialize-8888",
    317       "gm",
    318       "_",
    319       "fontmgr_bounds_0.75_0",
    320       "serialize-8888",
    321       "gm",
    322       "_",
    323       "fontmgr_bounds_1_-0.25",
    324       "serialize-8888",
    325       "gm",
    326       "_",
    327       "fontmgr_bounds",
    328       "serialize-8888",
    329       "gm",
    330       "_",
    331       "fontmgr_match",
    332       "serialize-8888",
    333       "gm",
    334       "_",
    335       "fontmgr_iter",
    336       "serialize-8888",
    337       "gm",
    338       "_",
    339       "imagemasksubset",
    340       "serialize-8888",
    341       "gm",
    342       "_",
    343       "bitmapfilters",
    344       "serialize-8888",
    345       "gm",
    346       "_",
    347       "bitmapshaders",
    348       "serialize-8888",
    349       "gm",
    350       "_",
    351       "bleed",
    352       "serialize-8888",
    353       "gm",
    354       "_",
    355       "bleed_alpha_bmp",
    356       "serialize-8888",
    357       "gm",
    358       "_",
    359       "bleed_alpha_bmp_shader",
    360       "serialize-8888",
    361       "gm",
    362       "_",
    363       "convex_poly_clip",
    364       "serialize-8888",
    365       "gm",
    366       "_",
    367       "extractalpha",
    368       "serialize-8888",
    369       "gm",
    370       "_",
    371       "filterbitmap_checkerboard_32_32_g8",
    372       "serialize-8888",
    373       "gm",
    374       "_",
    375       "filterbitmap_image_mandrill_64",
    376       "serialize-8888",
    377       "gm",
    378       "_",
    379       "shadows",
    380       "serialize-8888",
    381       "gm",
    382       "_",
    383       "simpleaaclip_aaclip",
    384       "serialize-8888",
    385       "gm",
    386       "_",
    387       "composeshader_bitmap",
    388       "serialize-8888",
    389       "gm",
    390       "_",
    391       "scaled_tilemodes_npot",
    392       "serialize-8888",
    393       "gm",
    394       "_",
    395       "scaled_tilemodes",
    396       "serialize-8888",
    397       "gm",
    398       "_",
    399       "typefacerendering_pfaMac",
    400       "serialize-8888",
    401       "gm",
    402       "_",
    403       "parsedpaths",
    404       "serialize-8888",
    405       "gm",
    406       "_",
    407       "ImageGeneratorExternal_rect",
    408       "serialize-8888",
    409       "gm",
    410       "_",
    411       "ImageGeneratorExternal_shader",
    412       "serialize-8888",
    413       "gm",
    414       "_",
    415       "shadow_utils",
    416       "serialize-8888",
    417       "gm",
    418       "_",
    419       "makecolorspace",
    420       "serialize-8888",
    421       "gm",
    422       "_",
    423       "bleed_alpha_image",
    424       "serialize-8888",
    425       "gm",
    426       "_",
    427       "bleed_alpha_image_shader",
    428       "sp-8888",
    429       "gm",
    430       "_",
    431       "drawfilter",
    432       "pic-8888",
    433       "gm",
    434       "_",
    435       "drawfilter",
    436       "2ndpic-8888",
    437       "gm",
    438       "_",
    439       "drawfilter",
    440       "lite-8888",
    441       "gm",
    442       "_",
    443       "drawfilter",
    444       "sp-8888",
    445       "gm",
    446       "_",
    447       "image-cacherator-from-picture",
    448       "pic-8888",
    449       "gm",
    450       "_",
    451       "image-cacherator-from-picture",
    452       "2ndpic-8888",
    453       "gm",
    454       "_",
    455       "image-cacherator-from-picture",
    456       "serialize-8888",
    457       "gm",
    458       "_",
    459       "image-cacherator-from-picture",
    460       "sp-8888",
    461       "gm",
    462       "_",
    463       "image-cacherator-from-raster",
    464       "pic-8888",
    465       "gm",
    466       "_",
    467       "image-cacherator-from-raster",
    468       "2ndpic-8888",
    469       "gm",
    470       "_",
    471       "image-cacherator-from-raster",
    472       "serialize-8888",
    473       "gm",
    474       "_",
    475       "image-cacherator-from-raster",
    476       "sp-8888",
    477       "gm",
    478       "_",
    479       "image-cacherator-from-ctable",
    480       "pic-8888",
    481       "gm",
    482       "_",
    483       "image-cacherator-from-ctable",
    484       "2ndpic-8888",
    485       "gm",
    486       "_",
    487       "image-cacherator-from-ctable",
    488       "serialize-8888",
    489       "gm",
    490       "_",
    491       "image-cacherator-from-ctable",
    492       "sp-8888",
    493       "gm",
    494       "_",
    495       "gamut",
    496       "pic-8888",
    497       "gm",
    498       "_",
    499       "gamut",
    500       "lite-8888",
    501       "gm",
    502       "_",
    503       "gamut",
    504       "2ndpic-8888",
    505       "gm",
    506       "_",
    507       "gamut",
    508       "serialize-8888",
    509       "gm",
    510       "_",
    511       "gamut",
    512       "sp-8888",
    513       "gm",
    514       "_",
    515       "complexclip4_bw",
    516       "pic-8888",
    517       "gm",
    518       "_",
    519       "complexclip4_bw",
    520       "lite-8888",
    521       "gm",
    522       "_",
    523       "complexclip4_bw",
    524       "2ndpic-8888",
    525       "gm",
    526       "_",
    527       "complexclip4_bw",
    528       "serialize-8888",
    529       "gm",
    530       "_",
    531       "complexclip4_bw",
    532       "sp-8888",
    533       "gm",
    534       "_",
    535       "complexclip4_aa",
    536       "pic-8888",
    537       "gm",
    538       "_",
    539       "complexclip4_aa",
    540       "lite-8888",
    541       "gm",
    542       "_",
    543       "complexclip4_aa",
    544       "2ndpic-8888",
    545       "gm",
    546       "_",
    547       "complexclip4_aa",
    548       "serialize-8888",
    549       "gm",
    550       "_",
    551       "complexclip4_aa",
    552       "tiles_rt-8888",
    553       "gm",
    554       "_",
    555       "complexclip4_bw",
    556       "tiles_rt-8888",
    557       "gm",
    558       "_",
    559       "complexclip4_aa"
    560     ],
    561     "cwd": "[START_DIR]/skia",
    562     "env": {
    563       "BUILDTYPE": "Debug",
    564       "CHROME_HEADLESS": "1",
    565       "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
    566       "SKIA_OUT": "[START_DIR]/out"
    567     },
    568     "name": "symbolized dm",
    569     "~followup_annotations": [
    570       "step returned non-zero exit code: 1",
    571       "@@@STEP_FAILURE@@@"
    572     ]
    573   },
    574   {
    575     "name": "$result",
    576     "reason": "Failed build steps: symbolized dm, symbolized dm",
    577     "recipe_result": null,
    578     "status_code": 1
    579   }
    580 ]