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_x64",
    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       "[START_DIR]\\out\\Debug_x64\\dm",
    209       "--undefok",
    210       "--resourcePath",
    211       "[START_DIR]\\skia\\resources",
    212       "--skps",
    213       "[START_DIR]\\skp",
    214       "--images",
    215       "[START_DIR]\\skimage\\dm",
    216       "--colorImages",
    217       "[START_DIR]\\skimage\\colorspace",
    218       "--nameByHash",
    219       "--properties",
    220       "gitHash",
    221       "abc123",
    222       "builder",
    223       "Test-Win10-MSVC-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-Vulkan",
    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       "MSVC",
    235       "configuration",
    236       "Debug",
    237       "cpu_or_gpu",
    238       "GPU",
    239       "cpu_or_gpu_value",
    240       "IntelIris540",
    241       "extra_config",
    242       "Vulkan",
    243       "model",
    244       "NUC6i5SYK",
    245       "os",
    246       "Win10",
    247       "--uninterestingHashesFile",
    248       "[START_DIR]\\tmp\\uninteresting_hashes.txt",
    249       "--writePath",
    250       "[CUSTOM_[SWARM_OUT_DIR]]\\dm",
    251       "--nocpu",
    252       "--randomProcessorTest",
    253       "--config",
    254       "vk",
    255       "--src",
    256       "tests",
    257       "gm",
    258       "image",
    259       "colorImage",
    260       "svg",
    261       "--blacklist",
    262       "_",
    263       "image",
    264       "gen_platf",
    265       "rle8-height-negative.bmp",
    266       "_",
    267       "image",
    268       "gen_platf",
    269       "rle4-height-negative.bmp",
    270       "_",
    271       "image",
    272       "gen_platf",
    273       "pal8os2v2.bmp",
    274       "_",
    275       "image",
    276       "gen_platf",
    277       "pal8os2v2-16.bmp",
    278       "_",
    279       "image",
    280       "gen_platf",
    281       "rgba32abf.bmp",
    282       "_",
    283       "image",
    284       "gen_platf",
    285       "rgb24prof.bmp",
    286       "_",
    287       "image",
    288       "gen_platf",
    289       "rgb24lprof.bmp",
    290       "_",
    291       "image",
    292       "gen_platf",
    293       "8bpp-pixeldata-cropped.bmp",
    294       "_",
    295       "image",
    296       "gen_platf",
    297       "4bpp-pixeldata-cropped.bmp",
    298       "_",
    299       "image",
    300       "gen_platf",
    301       "32bpp-pixeldata-cropped.bmp",
    302       "_",
    303       "image",
    304       "gen_platf",
    305       "24bpp-pixeldata-cropped.bmp",
    306       "_",
    307       "image",
    308       "gen_platf",
    309       "testimgari.jpg",
    310       "_",
    311       "image",
    312       "_",
    313       "interlaced1.png",
    314       "_",
    315       "image",
    316       "_",
    317       "interlaced2.png",
    318       "_",
    319       "image",
    320       "_",
    321       "interlaced3.png",
    322       "_",
    323       "image",
    324       "_",
    325       ".arw",
    326       "_",
    327       "image",
    328       "_",
    329       ".cr2",
    330       "_",
    331       "image",
    332       "_",
    333       ".dng",
    334       "_",
    335       "image",
    336       "_",
    337       ".nef",
    338       "_",
    339       "image",
    340       "_",
    341       ".nrw",
    342       "_",
    343       "image",
    344       "_",
    345       ".orf",
    346       "_",
    347       "image",
    348       "_",
    349       ".raf",
    350       "_",
    351       "image",
    352       "_",
    353       ".rw2",
    354       "_",
    355       "image",
    356       "_",
    357       ".pef",
    358       "_",
    359       "image",
    360       "_",
    361       ".srw",
    362       "_",
    363       "image",
    364       "_",
    365       ".ARW",
    366       "_",
    367       "image",
    368       "_",
    369       ".CR2",
    370       "_",
    371       "image",
    372       "_",
    373       ".DNG",
    374       "_",
    375       "image",
    376       "_",
    377       ".NEF",
    378       "_",
    379       "image",
    380       "_",
    381       ".NRW",
    382       "_",
    383       "image",
    384       "_",
    385       ".ORF",
    386       "_",
    387       "image",
    388       "_",
    389       ".RAF",
    390       "_",
    391       "image",
    392       "_",
    393       ".RW2",
    394       "_",
    395       "image",
    396       "_",
    397       ".PEF",
    398       "_",
    399       "image",
    400       "_",
    401       ".SRW",
    402       "vk",
    403       "gm",
    404       "_",
    405       "aarectmodes",
    406       "vk",
    407       "gm",
    408       "_",
    409       "aaxfermodes",
    410       "vk",
    411       "gm",
    412       "_",
    413       "arithmode",
    414       "vk",
    415       "gm",
    416       "_",
    417       "composeshader_bitmap",
    418       "vk",
    419       "gm",
    420       "_",
    421       "composeshader_bitmap2",
    422       "vk",
    423       "gm",
    424       "_",
    425       "dftextCOLR",
    426       "vk",
    427       "gm",
    428       "_",
    429       "drawregionmodes",
    430       "vk",
    431       "gm",
    432       "_",
    433       "filterfastbounds",
    434       "vk",
    435       "gm",
    436       "_",
    437       "fontcache",
    438       "vk",
    439       "gm",
    440       "_",
    441       "fontmgr_iterWin10",
    442       "vk",
    443       "gm",
    444       "_",
    445       "fontmgr_iter_factoryWin10",
    446       "vk",
    447       "gm",
    448       "_",
    449       "fontmgr_matchWin10",
    450       "vk",
    451       "gm",
    452       "_",
    453       "fontscalerWin",
    454       "vk",
    455       "gm",
    456       "_",
    457       "fontscalerdistortable",
    458       "vk",
    459       "gm",
    460       "_",
    461       "gammagradienttext",
    462       "vk",
    463       "gm",
    464       "_",
    465       "gammatextWin",
    466       "vk",
    467       "gm",
    468       "_",
    469       "gradtext",
    470       "vk",
    471       "gm",
    472       "_",
    473       "hairmodes",
    474       "vk",
    475       "gm",
    476       "_",
    477       "imagefilters_xfermodes",
    478       "vk",
    479       "gm",
    480       "_",
    481       "imagefiltersclipped",
    482       "vk",
    483       "gm",
    484       "_",
    485       "imagefiltersgraph",
    486       "vk",
    487       "gm",
    488       "_",
    489       "imagefiltersscaled",
    490       "vk",
    491       "gm",
    492       "_",
    493       "imagefiltersstroked",
    494       "vk",
    495       "gm",
    496       "_",
    497       "imagefilterstransformed",
    498       "vk",
    499       "gm",
    500       "_",
    501       "imageresizetiled",
    502       "vk",
    503       "gm",
    504       "_",
    505       "lcdblendmodes",
    506       "vk",
    507       "gm",
    508       "_",
    509       "lcdoverlap",
    510       "vk",
    511       "gm",
    512       "_",
    513       "lcdtextWin",
    514       "vk",
    515       "gm",
    516       "_",
    517       "lcdtextsize",
    518       "vk",
    519       "gm",
    520       "_",
    521       "matriximagefilter",
    522       "vk",
    523       "gm",
    524       "_",
    525       "mixedtextblobsCOLR",
    526       "vk",
    527       "gm",
    528       "_",
    529       "mixershader",
    530       "vk",
    531       "gm",
    532       "_",
    533       "pictureimagefilter",
    534       "vk",
    535       "gm",
    536       "_",
    537       "resizeimagefilter",
    538       "vk",
    539       "gm",
    540       "_",
    541       "rotate_imagefilter",
    542       "vk",
    543       "gm",
    544       "_",
    545       "savelayer_lcdtext",
    546       "vk",
    547       "gm",
    548       "_",
    549       "srcmode",
    550       "vk",
    551       "gm",
    552       "_",
    553       "surfaceprops",
    554       "vk",
    555       "gm",
    556       "_",
    557       "textblobgeometrychange",
    558       "vk",
    559       "gm",
    560       "_",
    561       "textbloblooper",
    562       "vk",
    563       "gm",
    564       "_",
    565       "textblobmixedsizes",
    566       "vk",
    567       "gm",
    568       "_",
    569       "textblobmixedsizes_df",
    570       "vk",
    571       "gm",
    572       "_",
    573       "textblobrandomfont",
    574       "vk",
    575       "gm",
    576       "_",
    577       "textfilter_color",
    578       "vk",
    579       "gm",
    580       "_",
    581       "textfilter_image",
    582       "vk",
    583       "gm",
    584       "_",
    585       "typefacerenderingWin",
    586       "vk",
    587       "gm",
    588       "_",
    589       "varied_text_clipped_lcd",
    590       "vk",
    591       "gm",
    592       "_",
    593       "varied_text_ignorable_clip_lcd",
    594       "vk",
    595       "gm",
    596       "_",
    597       "xfermodeimagefilter",
    598       "--match",
    599       "~ApplyGamma",
    600       "~ComposedImageFilterBounds_Gpu",
    601       "~DeferredTextureImage",
    602       "~GrMeshTest",
    603       "~ImageFilterFailAffectsTransparentBlack_Gpu",
    604       "~ImageFilterZeroBlurSigma_Gpu",
    605       "~ImageNewShader_GPU",
    606       "~NewTextureFromPixmap",
    607       "~ReadPixels_Gpu",
    608       "~ReadPixels_Texture",
    609       "~ReadWriteAlpha",
    610       "~skbug6653",
    611       "~SRGBReadWritePixels",
    612       "~SpecialImage_DeferredGpu",
    613       "~SpecialImage_Gpu",
    614       "~WritePixels_Gpu",
    615       "~WritePixelsNonTexture_Gpu",
    616       "~XfermodeImageFilterCroppedInput_Gpu"
    617     ],
    618     "env": {
    619       "BUILDTYPE": "Debug_x64",
    620       "CHROME_HEADLESS": "1",
    621       "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]",
    622       "SKIA_OUT": "[START_DIR]\\out"
    623     },
    624     "name": "dm"
    625   },
    626   {
    627     "name": "$result",
    628     "recipe_result": null,
    629     "status_code": 0
    630   }
    631 ]