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       "ensure-directory",
     94       "--mode",
     95       "0777",
     96       "[START_DIR]/tmp"
     97     ],
     98     "infra_step": true,
     99     "name": "makedirs tmp_dir"
    100   },
    101   {
    102     "cmd": [
    103       "python",
    104       "-u",
    105       "\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",
    106       "[START_DIR]/tmp/uninteresting_hashes.txt"
    107     ],
    108     "env": {
    109       "BUILDTYPE": "Release",
    110       "CHROME_HEADLESS": "1",
    111       "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
    112       "SKIA_OUT": "[START_DIR]/out"
    113     },
    114     "infra_step": true,
    115     "name": "get uninteresting hashes",
    116     "~followup_annotations": [
    117       "@@@STEP_LOG_LINE (a] python.inline@@@@",
    118       "@@@STEP_LOG_LINE (a] python.inline@import contextlib@@@",
    119       "@@@STEP_LOG_LINE (a] python.inline@import math@@@",
    120       "@@@STEP_LOG_LINE (a] python.inline@import socket@@@",
    121       "@@@STEP_LOG_LINE (a] python.inline@import sys@@@",
    122       "@@@STEP_LOG_LINE (a] python.inline@import time@@@",
    123       "@@@STEP_LOG_LINE (a] python.inline@import urllib2@@@",
    124       "@@@STEP_LOG_LINE (a] python.inline@@@@",
    125       "@@@STEP_LOG_LINE (a] python.inline@HASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_files/gold-prod-hashes.txt'@@@",
    126       "@@@STEP_LOG_LINE (a] python.inline@RETRIES = 5@@@",
    127       "@@@STEP_LOG_LINE (a] python.inline@TIMEOUT = 60@@@",
    128       "@@@STEP_LOG_LINE (a] python.inline@WAIT_BASE = 15@@@",
    129       "@@@STEP_LOG_LINE (a] python.inline@@@@",
    130       "@@@STEP_LOG_LINE (a] python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
    131       "@@@STEP_LOG_LINE (a] python.inline@for retry in range(RETRIES):@@@",
    132       "@@@STEP_LOG_LINE (a] python.inline@  try:@@@",
    133       "@@@STEP_LOG_LINE (a] python.inline@    with contextlib.closing(@@@",
    134       "@@@STEP_LOG_LINE (a] python.inline@        urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@",
    135       "@@@STEP_LOG_LINE (a] python.inline@      hashes = w.read()@@@",
    136       "@@@STEP_LOG_LINE (a] python.inline@      with open(sys.argv[1], 'w') as f:@@@",
    137       "@@@STEP_LOG_LINE (a] python.inline@        f.write(hashes)@@@",
    138       "@@@STEP_LOG_LINE (a] python.inline@        break@@@",
    139       "@@@STEP_LOG_LINE (a] python.inline@  except Exception as e:@@@",
    140       "@@@STEP_LOG_LINE (a] python.inline@    print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@",
    141       "@@@STEP_LOG_LINE (a] python.inline@    print e@@@",
    142       "@@@STEP_LOG_LINE (a] python.inline@    if retry == RETRIES:@@@",
    143       "@@@STEP_LOG_LINE (a] python.inline@      raise@@@",
    144       "@@@STEP_LOG_LINE (a] python.inline@    waittime = WAIT_BASE * math.pow(2, retry)@@@",
    145       "@@@STEP_LOG_LINE (a] python.inline@    print 'Retry in %d seconds.' % waittime@@@",
    146       "@@@STEP_LOG_LINE (a] python.inline@    time.sleep(waittime)@@@",
    147       "@@@STEP_LOG_END (a] python.inline@@@"
    148     ]
    149   },
    150   {
    151     "cmd": [
    152       "python",
    153       "-u",
    154       "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
    155     ],
    156     "name": "get swarming bot id",
    157     "stdout": "/path/to/tmp/",
    158     "~followup_annotations": [
    159       "@@@STEP_LOG_LINE (a] python.inline@import os@@@",
    160       "@@@STEP_LOG_LINE (a] python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
    161       "@@@STEP_LOG_END (a] python.inline@@@"
    162     ]
    163   },
    164   {
    165     "cmd": [
    166       "python",
    167       "-u",
    168       "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
    169     ],
    170     "name": "get swarming task id",
    171     "stdout": "/path/to/tmp/",
    172     "~followup_annotations": [
    173       "@@@STEP_LOG_LINE (a] python.inline@import os@@@",
    174       "@@@STEP_LOG_LINE (a] python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
    175       "@@@STEP_LOG_END (a] python.inline@@@"
    176     ]
    177   },
    178   {
    179     "cmd": [
    180       "[START_DIR]/out/Release/dm",
    181       "--resourcePath",
    182       "[START_DIR]/skia/resources",
    183       "--skps",
    184       "[START_DIR]/skp",
    185       "--images",
    186       "[START_DIR]/skimage/dm",
    187       "--colorImages",
    188       "[START_DIR]/skimage/colorspace",
    189       "--nameByHash",
    190       "--properties",
    191       "gitHash",
    192       "abc123",
    193       "builder",
    194       "Test-Mac-Clang-MacMini7.1-CPU-AVX-x86_64-Release-All",
    195       "buildbucket_build_id",
    196       "123454321",
    197       "swarming_bot_id",
    198       "skia-bot-123",
    199       "swarming_task_id",
    200       "123456",
    201       "--svgs",
    202       "[START_DIR]/svg",
    203       "--key",
    204       "arch",
    205       "x86_64",
    206       "compiler",
    207       "Clang",
    208       "configuration",
    209       "Release",
    210       "cpu_or_gpu",
    211       "CPU",
    212       "cpu_or_gpu_value",
    213       "AVX",
    214       "model",
    215       "MacMini7.1",
    216       "os",
    217       "Mac",
    218       "--uninterestingHashesFile",
    219       "[START_DIR]/tmp/uninteresting_hashes.txt",
    220       "--writePath",
    221       "[CUSTOM_[SWARM_OUT_DIR]]/dm",
    222       "--dont_write",
    223       "pdf",
    224       "--randomProcessorTest",
    225       "--nogpu",
    226       "--config",
    227       "8888",
    228       "srgb",
    229       "pdf",
    230       "serialize-8888",
    231       "tiles_rt-8888",
    232       "pic-8888",
    233       "--src",
    234       "tests",
    235       "gm",
    236       "image",
    237       "colorImage",
    238       "--blacklist",
    239       "_",
    240       "image",
    241       "gen_platf",
    242       "rgba32abf.bmp",
    243       "_",
    244       "image",
    245       "gen_platf",
    246       "rgb24prof.bmp",
    247       "_",
    248       "image",
    249       "gen_platf",
    250       "rgb24lprof.bmp",
    251       "_",
    252       "image",
    253       "gen_platf",
    254       "8bpp-pixeldata-cropped.bmp",
    255       "_",
    256       "image",
    257       "gen_platf",
    258       "4bpp-pixeldata-cropped.bmp",
    259       "_",
    260       "image",
    261       "gen_platf",
    262       "32bpp-pixeldata-cropped.bmp",
    263       "_",
    264       "image",
    265       "gen_platf",
    266       "24bpp-pixeldata-cropped.bmp",
    267       "_",
    268       "image",
    269       "gen_platf",
    270       "frame_larger_than_image.gif",
    271       "_",
    272       "image",
    273       "gen_platf",
    274       "inc0.png",
    275       "_",
    276       "image",
    277       "gen_platf",
    278       "inc1.png",
    279       "_",
    280       "image",
    281       "gen_platf",
    282       "inc2.png",
    283       "_",
    284       "image",
    285       "gen_platf",
    286       "inc3.png",
    287       "_",
    288       "image",
    289       "gen_platf",
    290       "inc4.png",
    291       "_",
    292       "image",
    293       "gen_platf",
    294       "inc5.png",
    295       "_",
    296       "image",
    297       "gen_platf",
    298       "inc6.png",
    299       "_",
    300       "image",
    301       "gen_platf",
    302       "inc7.png",
    303       "_",
    304       "image",
    305       "gen_platf",
    306       "inc8.png",
    307       "_",
    308       "image",
    309       "gen_platf",
    310       "inc9.png",
    311       "_",
    312       "image",
    313       "gen_platf",
    314       "inc10.png",
    315       "_",
    316       "image",
    317       "gen_platf",
    318       "inc11.png",
    319       "_",
    320       "image",
    321       "gen_platf",
    322       "inc12.png",
    323       "_",
    324       "image",
    325       "gen_platf",
    326       "inc13.png",
    327       "_",
    328       "image",
    329       "gen_platf",
    330       "inc14.png",
    331       "_",
    332       "image",
    333       "gen_platf",
    334       "incInterlaced.gif",
    335       "_",
    336       "image",
    337       "gen_platf",
    338       "inc1.gif",
    339       "_",
    340       "image",
    341       "gen_platf",
    342       "inc0.gif",
    343       "_",
    344       "image",
    345       "gen_platf",
    346       "butterfly.gif",
    347       "_",
    348       "image",
    349       "gen_platf",
    350       "testimgari.jpg",
    351       "_",
    352       "image",
    353       "gen_platf",
    354       "rle8-height-negative.bmp",
    355       "_",
    356       "image",
    357       "gen_platf",
    358       "rle4-height-negative.bmp",
    359       "serialize-8888",
    360       "gm",
    361       "_",
    362       "bleed_image",
    363       "serialize-8888",
    364       "gm",
    365       "_",
    366       "c_gms",
    367       "serialize-8888",
    368       "gm",
    369       "_",
    370       "colortype",
    371       "serialize-8888",
    372       "gm",
    373       "_",
    374       "colortype_xfermodes",
    375       "serialize-8888",
    376       "gm",
    377       "_",
    378       "drawfilter",
    379       "serialize-8888",
    380       "gm",
    381       "_",
    382       "fontmgr_bounds_0.75_0",
    383       "serialize-8888",
    384       "gm",
    385       "_",
    386       "fontmgr_bounds_1_-0.25",
    387       "serialize-8888",
    388       "gm",
    389       "_",
    390       "fontmgr_bounds",
    391       "serialize-8888",
    392       "gm",
    393       "_",
    394       "fontmgr_match",
    395       "serialize-8888",
    396       "gm",
    397       "_",
    398       "fontmgr_iter",
    399       "serialize-8888",
    400       "gm",
    401       "_",
    402       "imagemasksubset",
    403       "serialize-8888",
    404       "gm",
    405       "_",
    406       "bitmapfilters",
    407       "serialize-8888",
    408       "gm",
    409       "_",
    410       "bitmapshaders",
    411       "serialize-8888",
    412       "gm",
    413       "_",
    414       "bleed",
    415       "serialize-8888",
    416       "gm",
    417       "_",
    418       "bleed_alpha_bmp",
    419       "serialize-8888",
    420       "gm",
    421       "_",
    422       "bleed_alpha_bmp_shader",
    423       "serialize-8888",
    424       "gm",
    425       "_",
    426       "convex_poly_clip",
    427       "serialize-8888",
    428       "gm",
    429       "_",
    430       "extractalpha",
    431       "serialize-8888",
    432       "gm",
    433       "_",
    434       "filterbitmap_checkerboard_32_32_g8",
    435       "serialize-8888",
    436       "gm",
    437       "_",
    438       "filterbitmap_image_mandrill_64",
    439       "serialize-8888",
    440       "gm",
    441       "_",
    442       "shadows",
    443       "serialize-8888",
    444       "gm",
    445       "_",
    446       "simpleaaclip_aaclip",
    447       "serialize-8888",
    448       "gm",
    449       "_",
    450       "composeshader_bitmap",
    451       "serialize-8888",
    452       "gm",
    453       "_",
    454       "scaled_tilemodes_npot",
    455       "serialize-8888",
    456       "gm",
    457       "_",
    458       "scaled_tilemodes",
    459       "serialize-8888",
    460       "gm",
    461       "_",
    462       "typefacerendering_pfaMac",
    463       "serialize-8888",
    464       "gm",
    465       "_",
    466       "parsedpaths",
    467       "serialize-8888",
    468       "gm",
    469       "_",
    470       "ImageGeneratorExternal_rect",
    471       "serialize-8888",
    472       "gm",
    473       "_",
    474       "ImageGeneratorExternal_shader",
    475       "serialize-8888",
    476       "gm",
    477       "_",
    478       "shadow_utils",
    479       "serialize-8888",
    480       "gm",
    481       "_",
    482       "all_bitmap_configs",
    483       "serialize-8888",
    484       "gm",
    485       "_",
    486       "makecolorspace",
    487       "serialize-8888",
    488       "gm",
    489       "_",
    490       "analytic_antialias_convex",
    491       "pic-8888",
    492       "gm",
    493       "_",
    494       "encode-platform",
    495       "serialize-8888",
    496       "gm",
    497       "_",
    498       "encode-platform",
    499       "pic-8888",
    500       "gm",
    501       "_",
    502       "drawfilter",
    503       "pic-8888",
    504       "gm",
    505       "_",
    506       "image-cacherator-from-picture",
    507       "serialize-8888",
    508       "gm",
    509       "_",
    510       "image-cacherator-from-picture",
    511       "pic-8888",
    512       "gm",
    513       "_",
    514       "image-cacherator-from-raster",
    515       "serialize-8888",
    516       "gm",
    517       "_",
    518       "image-cacherator-from-raster",
    519       "pic-8888",
    520       "gm",
    521       "_",
    522       "image-cacherator-from-ctable",
    523       "serialize-8888",
    524       "gm",
    525       "_",
    526       "image-cacherator-from-ctable",
    527       "pic-8888",
    528       "gm",
    529       "_",
    530       "gamut",
    531       "serialize-8888",
    532       "gm",
    533       "_",
    534       "gamut",
    535       "pic-8888",
    536       "gm",
    537       "_",
    538       "complexclip4_bw",
    539       "serialize-8888",
    540       "gm",
    541       "_",
    542       "complexclip4_bw",
    543       "pic-8888",
    544       "gm",
    545       "_",
    546       "complexclip4_aa",
    547       "serialize-8888",
    548       "gm",
    549       "_",
    550       "complexclip4_aa",
    551       "tiles_rt-8888",
    552       "gm",
    553       "_",
    554       "complexclip4_bw",
    555       "tiles_rt-8888",
    556       "gm",
    557       "_",
    558       "complexclip4_aa",
    559       "--nonativeFonts",
    560       "--verbose"
    561     ],
    562     "env": {
    563       "BUILDTYPE": "Release",
    564       "CHROME_HEADLESS": "1",
    565       "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
    566       "SKIA_OUT": "[START_DIR]/out"
    567     },
    568     "name": "dm"
    569   },
    570   {
    571     "name": "$result",
    572     "recipe_result": null,
    573     "status_code": 0
    574   }
    575 ]