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       "ensure-directory",
     10       "--mode",
     11       "0777",
     12       "[START_DIR]\\tmp"
     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]\\skia\\infra\\bots\\assets\\skp\\VERSION",
     26       "/path/to/tmp/"
     27     ],
     28     "infra_step": true,
     29     "name": "Get skp VERSION"
     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       "42",
     40       "[START_DIR]\\tmp\\SKP_VERSION"
     41     ],
     42     "infra_step": true,
     43     "name": "write SKP_VERSION"
     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       "copy",
     53       "[START_DIR]\\skia\\infra\\bots\\assets\\skimage\\VERSION",
     54       "/path/to/tmp/"
     55     ],
     56     "infra_step": true,
     57     "name": "Get skimage VERSION"
     58   },
     59   {
     60     "cmd": [
     61       "python",
     62       "-u",
     63       "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
     64       "--json-output",
     65       "/path/to/tmp/json",
     66       "copy",
     67       "42",
     68       "[START_DIR]\\tmp\\SK_IMAGE_VERSION"
     69     ],
     70     "infra_step": true,
     71     "name": "write SK_IMAGE_VERSION"
     72   },
     73   {
     74     "cmd": [
     75       "python",
     76       "-u",
     77       "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
     78       "--json-output",
     79       "/path/to/tmp/json",
     80       "copy",
     81       "[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION",
     82       "/path/to/tmp/"
     83     ],
     84     "infra_step": true,
     85     "name": "Get svg VERSION"
     86   },
     87   {
     88     "cmd": [
     89       "python",
     90       "-u",
     91       "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
     92       "--json-output",
     93       "/path/to/tmp/json",
     94       "copy",
     95       "42",
     96       "[START_DIR]\\tmp\\SVG_VERSION"
     97     ],
     98     "infra_step": true,
     99     "name": "write SVG_VERSION"
    100   },
    101   {
    102     "cmd": [
    103       "python",
    104       "-u",
    105       "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
    106       "--json-output",
    107       "/path/to/tmp/json",
    108       "rmtree",
    109       "[START_DIR]\\test"
    110     ],
    111     "infra_step": true,
    112     "name": "rmtree test"
    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]\\test"
    125     ],
    126     "infra_step": true,
    127     "name": "makedirs test"
    128   },
    129   {
    130     "cmd": [
    131       "python",
    132       "-u",
    133       "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = sys.argv[1]\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[2], '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       "https://example.com/hashes.txt",
    135       "[START_DIR]\\tmp\\uninteresting_hashes.txt"
    136     ],
    137     "env": {
    138       "CHROME_HEADLESS": "1",
    139       "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]"
    140     },
    141     "infra_step": true,
    142     "name": "get uninteresting hashes",
    143     "~followup_annotations": [
    144       "@@@STEP_LOG_LINE (a] python.inline@@@@",
    145       "@@@STEP_LOG_LINE (a] python.inline@import contextlib@@@",
    146       "@@@STEP_LOG_LINE (a] python.inline@import math@@@",
    147       "@@@STEP_LOG_LINE (a] python.inline@import socket@@@",
    148       "@@@STEP_LOG_LINE (a] python.inline@import sys@@@",
    149       "@@@STEP_LOG_LINE (a] python.inline@import time@@@",
    150       "@@@STEP_LOG_LINE (a] python.inline@import urllib2@@@",
    151       "@@@STEP_LOG_LINE (a] python.inline@@@@",
    152       "@@@STEP_LOG_LINE (a] python.inline@HASHES_URL = sys.argv[1]@@@",
    153       "@@@STEP_LOG_LINE (a] python.inline@RETRIES = 5@@@",
    154       "@@@STEP_LOG_LINE (a] python.inline@TIMEOUT = 60@@@",
    155       "@@@STEP_LOG_LINE (a] python.inline@WAIT_BASE = 15@@@",
    156       "@@@STEP_LOG_LINE (a] python.inline@@@@",
    157       "@@@STEP_LOG_LINE (a] python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
    158       "@@@STEP_LOG_LINE (a] python.inline@for retry in range(RETRIES):@@@",
    159       "@@@STEP_LOG_LINE (a] python.inline@  try:@@@",
    160       "@@@STEP_LOG_LINE (a] python.inline@    with contextlib.closing(@@@",
    161       "@@@STEP_LOG_LINE (a] python.inline@        urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@",
    162       "@@@STEP_LOG_LINE (a] python.inline@      hashes = w.read()@@@",
    163       "@@@STEP_LOG_LINE (a] python.inline@      with open(sys.argv[2], 'w') as f:@@@",
    164       "@@@STEP_LOG_LINE (a] python.inline@        f.write(hashes)@@@",
    165       "@@@STEP_LOG_LINE (a] python.inline@        break@@@",
    166       "@@@STEP_LOG_LINE (a] python.inline@  except Exception as e:@@@",
    167       "@@@STEP_LOG_LINE (a] python.inline@    print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@",
    168       "@@@STEP_LOG_LINE (a] python.inline@    print e@@@",
    169       "@@@STEP_LOG_LINE (a] python.inline@    if retry == RETRIES:@@@",
    170       "@@@STEP_LOG_LINE (a] python.inline@      raise@@@",
    171       "@@@STEP_LOG_LINE (a] python.inline@    waittime = WAIT_BASE * math.pow(2, retry)@@@",
    172       "@@@STEP_LOG_LINE (a] python.inline@    print 'Retry in %d seconds.' % waittime@@@",
    173       "@@@STEP_LOG_LINE (a] python.inline@    time.sleep(waittime)@@@",
    174       "@@@STEP_LOG_END (a] python.inline@@@"
    175     ]
    176   },
    177   {
    178     "cmd": [
    179       "python",
    180       "-u",
    181       "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
    182     ],
    183     "name": "get swarming bot id",
    184     "stdout": "/path/to/tmp/",
    185     "~followup_annotations": [
    186       "@@@STEP_LOG_LINE (a] python.inline@import os@@@",
    187       "@@@STEP_LOG_LINE (a] python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
    188       "@@@STEP_LOG_END (a] python.inline@@@"
    189     ]
    190   },
    191   {
    192     "cmd": [
    193       "python",
    194       "-u",
    195       "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
    196     ],
    197     "name": "get swarming task id",
    198     "stdout": "/path/to/tmp/",
    199     "~followup_annotations": [
    200       "@@@STEP_LOG_LINE (a] python.inline@import os@@@",
    201       "@@@STEP_LOG_LINE (a] python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
    202       "@@@STEP_LOG_END (a] python.inline@@@"
    203     ]
    204   },
    205   {
    206     "cmd": [
    207       "[START_DIR]\\build\\dm",
    208       "--resourcePath",
    209       "[START_DIR]\\skia\\resources",
    210       "--skps",
    211       "[START_DIR]\\skp",
    212       "--images",
    213       "[START_DIR]\\skimage\\dm",
    214       "--colorImages",
    215       "[START_DIR]\\skimage\\colorspace",
    216       "--nameByHash",
    217       "--properties",
    218       "gitHash",
    219       "abc123",
    220       "builder",
    221       "Test-Win10-Clang-NUC8i5BEK-GPU-IntelIris655-x86_64-Debug-All-Vulkan",
    222       "buildbucket_build_id",
    223       "123454321",
    224       "swarming_bot_id",
    225       "skia-bot-123",
    226       "swarming_task_id",
    227       "123456",
    228       "--svgs",
    229       "[START_DIR]\\svg",
    230       "--key",
    231       "arch",
    232       "x86_64",
    233       "compiler",
    234       "Clang",
    235       "configuration",
    236       "Debug",
    237       "cpu_or_gpu",
    238       "GPU",
    239       "cpu_or_gpu_value",
    240       "IntelIris655",
    241       "extra_config",
    242       "Vulkan",
    243       "model",
    244       "NUC8i5BEK",
    245       "os",
    246       "Win10",
    247       "--uninterestingHashesFile",
    248       "[START_DIR]\\tmp\\uninteresting_hashes.txt",
    249       "--writePath",
    250       "[START_DIR]\\[SWARM_OUT_DIR]",
    251       "--dont_write",
    252       "pdf",
    253       "--randomProcessorTest",
    254       "--nocpu",
    255       "--config",
    256       "vk",
    257       "--src",
    258       "tests",
    259       "gm",
    260       "image",
    261       "colorImage",
    262       "svg",
    263       "--blacklist",
    264       "_",
    265       "svg",
    266       "_",
    267       "svgparse_",
    268       "_",
    269       "image",
    270       "gen_platf",
    271       "pal8os2v2.bmp",
    272       "_",
    273       "image",
    274       "gen_platf",
    275       "pal8os2v2-16.bmp",
    276       "_",
    277       "image",
    278       "gen_platf",
    279       "rgba32abf.bmp",
    280       "_",
    281       "image",
    282       "gen_platf",
    283       "rgb24prof.bmp",
    284       "_",
    285       "image",
    286       "gen_platf",
    287       "rgb24lprof.bmp",
    288       "_",
    289       "image",
    290       "gen_platf",
    291       "8bpp-pixeldata-cropped.bmp",
    292       "_",
    293       "image",
    294       "gen_platf",
    295       "4bpp-pixeldata-cropped.bmp",
    296       "_",
    297       "image",
    298       "gen_platf",
    299       "32bpp-pixeldata-cropped.bmp",
    300       "_",
    301       "image",
    302       "gen_platf",
    303       "24bpp-pixeldata-cropped.bmp",
    304       "_",
    305       "image",
    306       "gen_platf",
    307       "testimgari.jpg",
    308       "_",
    309       "image",
    310       "gen_platf",
    311       "rle8-height-negative.bmp",
    312       "_",
    313       "image",
    314       "gen_platf",
    315       "rle4-height-negative.bmp",
    316       "_",
    317       "image",
    318       "gen_platf",
    319       "error",
    320       "_",
    321       "image",
    322       "_",
    323       "interlaced1.png",
    324       "_",
    325       "image",
    326       "_",
    327       "interlaced2.png",
    328       "_",
    329       "image",
    330       "_",
    331       "interlaced3.png",
    332       "_",
    333       "image",
    334       "_",
    335       ".arw",
    336       "_",
    337       "image",
    338       "_",
    339       ".cr2",
    340       "_",
    341       "image",
    342       "_",
    343       ".dng",
    344       "_",
    345       "image",
    346       "_",
    347       ".nef",
    348       "_",
    349       "image",
    350       "_",
    351       ".nrw",
    352       "_",
    353       "image",
    354       "_",
    355       ".orf",
    356       "_",
    357       "image",
    358       "_",
    359       ".raf",
    360       "_",
    361       "image",
    362       "_",
    363       ".rw2",
    364       "_",
    365       "image",
    366       "_",
    367       ".pef",
    368       "_",
    369       "image",
    370       "_",
    371       ".srw",
    372       "_",
    373       "image",
    374       "_",
    375       ".ARW",
    376       "_",
    377       "image",
    378       "_",
    379       ".CR2",
    380       "_",
    381       "image",
    382       "_",
    383       ".DNG",
    384       "_",
    385       "image",
    386       "_",
    387       ".NEF",
    388       "_",
    389       "image",
    390       "_",
    391       ".NRW",
    392       "_",
    393       "image",
    394       "_",
    395       ".ORF",
    396       "_",
    397       "image",
    398       "_",
    399       ".RAF",
    400       "_",
    401       "image",
    402       "_",
    403       ".RW2",
    404       "_",
    405       "image",
    406       "_",
    407       ".PEF",
    408       "_",
    409       "image",
    410       "_",
    411       ".SRW",
    412       "vk",
    413       "gm",
    414       "_",
    415       "aarectmodes",
    416       "vk",
    417       "gm",
    418       "_",
    419       "aaxfermodes",
    420       "vk",
    421       "gm",
    422       "_",
    423       "crbug_892988",
    424       "vk",
    425       "gm",
    426       "_",
    427       "dftext",
    428       "vk",
    429       "gm",
    430       "_",
    431       "dftext_blob_persp",
    432       "vk",
    433       "gm",
    434       "_",
    435       "dont_clip_to_layer",
    436       "vk",
    437       "gm",
    438       "_",
    439       "drawregionmodes",
    440       "vk",
    441       "gm",
    442       "_",
    443       "filterfastbounds",
    444       "vk",
    445       "gm",
    446       "_",
    447       "fontmgr_iter",
    448       "vk",
    449       "gm",
    450       "_",
    451       "fontmgr_match",
    452       "vk",
    453       "gm",
    454       "_",
    455       "fontscalerdistortable",
    456       "vk",
    457       "gm",
    458       "_",
    459       "gammagradienttext",
    460       "vk",
    461       "gm",
    462       "_",
    463       "gammatext",
    464       "vk",
    465       "gm",
    466       "_",
    467       "gradtext",
    468       "vk",
    469       "gm",
    470       "_",
    471       "hairmodes",
    472       "vk",
    473       "gm",
    474       "_",
    475       "imagefilters_xfermodes",
    476       "vk",
    477       "gm",
    478       "_",
    479       "imagefiltersclipped",
    480       "vk",
    481       "gm",
    482       "_",
    483       "imagefiltersscaled",
    484       "vk",
    485       "gm",
    486       "_",
    487       "imagefiltersstroked",
    488       "vk",
    489       "gm",
    490       "_",
    491       "imagefilterstransformed",
    492       "vk",
    493       "gm",
    494       "_",
    495       "imageresizetiled",
    496       "vk",
    497       "gm",
    498       "_",
    499       "lcdblendmodes",
    500       "vk",
    501       "gm",
    502       "_",
    503       "lcdoverlap",
    504       "vk",
    505       "gm",
    506       "_",
    507       "lcdtext",
    508       "vk",
    509       "gm",
    510       "_",
    511       "lcdtextsize",
    512       "vk",
    513       "gm",
    514       "_",
    515       "matriximagefilter",
    516       "vk",
    517       "gm",
    518       "_",
    519       "resizeimagefilter",
    520       "vk",
    521       "gm",
    522       "_",
    523       "rotate_imagefilter",
    524       "vk",
    525       "gm",
    526       "_",
    527       "savelayer_lcdtext",
    528       "vk",
    529       "gm",
    530       "_",
    531       "shadermaskfilter_image",
    532       "vk",
    533       "gm",
    534       "_",
    535       "srcmode",
    536       "vk",
    537       "gm",
    538       "_",
    539       "surfaceprops",
    540       "vk",
    541       "gm",
    542       "_",
    543       "textblobgeometrychange",
    544       "vk",
    545       "gm",
    546       "_",
    547       "textbloblooper",
    548       "vk",
    549       "gm",
    550       "_",
    551       "textblobrandomfont",
    552       "vk",
    553       "gm",
    554       "_",
    555       "textfilter_color",
    556       "vk",
    557       "gm",
    558       "_",
    559       "textfilter_image",
    560       "vk",
    561       "gm",
    562       "_",
    563       "tilemodes",
    564       "vk",
    565       "gm",
    566       "_",
    567       "varied_text_clipped_lcd",
    568       "vk",
    569       "gm",
    570       "_",
    571       "varied_text_ignorable_clip_lcd",
    572       "vk",
    573       "gm",
    574       "_",
    575       "fontscaler",
    576       "vk",
    577       "gm",
    578       "_",
    579       "mixedtextblobs",
    580       "vk",
    581       "gm",
    582       "_",
    583       "textblobmixedsizes",
    584       "vk",
    585       "gm",
    586       "_",
    587       "textblobmixedsizes_df",
    588       "--nonativeFonts",
    589       "--reduceOpListSplitting",
    590       "--verbose"
    591     ],
    592     "env": {
    593       "CHROME_HEADLESS": "1",
    594       "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]"
    595     },
    596     "name": "dm"
    597   },
    598   {
    599     "jsonResult": null,
    600     "name": "$result"
    601   }
    602 ]