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": "Debug",
    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       "python",
    181       "-u",
    182       "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
    183       "[START_DIR]",
    184       "catchsegv",
    185       "[START_DIR]/out/Debug/dm",
    186       "--resourcePath",
    187       "[START_DIR]/skia/resources",
    188       "--skps",
    189       "[START_DIR]/skp",
    190       "--images",
    191       "[START_DIR]/skimage/dm",
    192       "--colorImages",
    193       "[START_DIR]/skimage/colorspace",
    194       "--nameByHash",
    195       "--properties",
    196       "gitHash",
    197       "abc123",
    198       "builder",
    199       "Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-SK_USE_DISCARDABLE_SCALEDIMAGECACHE",
    200       "buildbucket_build_id",
    201       "123454321",
    202       "swarming_bot_id",
    203       "skia-bot-123",
    204       "swarming_task_id",
    205       "123456",
    206       "--svgs",
    207       "[START_DIR]/svg",
    208       "--key",
    209       "arch",
    210       "x86_64",
    211       "compiler",
    212       "Clang",
    213       "configuration",
    214       "Debug",
    215       "cpu_or_gpu",
    216       "CPU",
    217       "cpu_or_gpu_value",
    218       "AVX2",
    219       "extra_config",
    220       "SK_USE_DISCARDABLE_SCALEDIMAGECACHE",
    221       "model",
    222       "GCE",
    223       "os",
    224       "Debian9",
    225       "--uninterestingHashesFile",
    226       "[START_DIR]/tmp/uninteresting_hashes.txt",
    227       "--writePath",
    228       "[CUSTOM_[SWARM_OUT_DIR]]/dm",
    229       "--dont_write",
    230       "pdf",
    231       "--randomProcessorTest",
    232       "--threads",
    233       "0",
    234       "--nogpu",
    235       "--config",
    236       "8888",
    237       "srgb",
    238       "pdf",
    239       "g8",
    240       "565",
    241       "f16",
    242       "lite-8888",
    243       "gbr-8888",
    244       "serialize-8888",
    245       "tiles_rt-8888",
    246       "pic-8888",
    247       "--src",
    248       "tests",
    249       "gm",
    250       "image",
    251       "colorImage",
    252       "--blacklist",
    253       "f16",
    254       "_",
    255       "_",
    256       "dstreadshuffle",
    257       "gbr-8888",
    258       "image",
    259       "_",
    260       "_",
    261       "gbr-8888",
    262       "colorImage",
    263       "_",
    264       "_",
    265       "g8",
    266       "image",
    267       "_",
    268       "_",
    269       "g8",
    270       "colorImage",
    271       "_",
    272       "_",
    273       "serialize-8888",
    274       "gm",
    275       "_",
    276       "bleed_image",
    277       "serialize-8888",
    278       "gm",
    279       "_",
    280       "c_gms",
    281       "serialize-8888",
    282       "gm",
    283       "_",
    284       "colortype",
    285       "serialize-8888",
    286       "gm",
    287       "_",
    288       "colortype_xfermodes",
    289       "serialize-8888",
    290       "gm",
    291       "_",
    292       "drawfilter",
    293       "serialize-8888",
    294       "gm",
    295       "_",
    296       "fontmgr_bounds_0.75_0",
    297       "serialize-8888",
    298       "gm",
    299       "_",
    300       "fontmgr_bounds_1_-0.25",
    301       "serialize-8888",
    302       "gm",
    303       "_",
    304       "fontmgr_bounds",
    305       "serialize-8888",
    306       "gm",
    307       "_",
    308       "fontmgr_match",
    309       "serialize-8888",
    310       "gm",
    311       "_",
    312       "fontmgr_iter",
    313       "serialize-8888",
    314       "gm",
    315       "_",
    316       "imagemasksubset",
    317       "serialize-8888",
    318       "gm",
    319       "_",
    320       "bitmapfilters",
    321       "serialize-8888",
    322       "gm",
    323       "_",
    324       "bitmapshaders",
    325       "serialize-8888",
    326       "gm",
    327       "_",
    328       "bleed",
    329       "serialize-8888",
    330       "gm",
    331       "_",
    332       "bleed_alpha_bmp",
    333       "serialize-8888",
    334       "gm",
    335       "_",
    336       "bleed_alpha_bmp_shader",
    337       "serialize-8888",
    338       "gm",
    339       "_",
    340       "convex_poly_clip",
    341       "serialize-8888",
    342       "gm",
    343       "_",
    344       "extractalpha",
    345       "serialize-8888",
    346       "gm",
    347       "_",
    348       "filterbitmap_checkerboard_32_32_g8",
    349       "serialize-8888",
    350       "gm",
    351       "_",
    352       "filterbitmap_image_mandrill_64",
    353       "serialize-8888",
    354       "gm",
    355       "_",
    356       "shadows",
    357       "serialize-8888",
    358       "gm",
    359       "_",
    360       "simpleaaclip_aaclip",
    361       "serialize-8888",
    362       "gm",
    363       "_",
    364       "composeshader_bitmap",
    365       "serialize-8888",
    366       "gm",
    367       "_",
    368       "scaled_tilemodes_npot",
    369       "serialize-8888",
    370       "gm",
    371       "_",
    372       "scaled_tilemodes",
    373       "serialize-8888",
    374       "gm",
    375       "_",
    376       "typefacerendering_pfaMac",
    377       "serialize-8888",
    378       "gm",
    379       "_",
    380       "parsedpaths",
    381       "serialize-8888",
    382       "gm",
    383       "_",
    384       "ImageGeneratorExternal_rect",
    385       "serialize-8888",
    386       "gm",
    387       "_",
    388       "ImageGeneratorExternal_shader",
    389       "serialize-8888",
    390       "gm",
    391       "_",
    392       "shadow_utils",
    393       "serialize-8888",
    394       "gm",
    395       "_",
    396       "all_bitmap_configs",
    397       "serialize-8888",
    398       "gm",
    399       "_",
    400       "makecolorspace",
    401       "serialize-8888",
    402       "gm",
    403       "_",
    404       "analytic_antialias_convex",
    405       "serialize-8888",
    406       "gm",
    407       "_",
    408       "bleed_alpha_image",
    409       "serialize-8888",
    410       "gm",
    411       "_",
    412       "bleed_alpha_image_shader",
    413       "pic-8888",
    414       "gm",
    415       "_",
    416       "drawfilter",
    417       "lite-8888",
    418       "gm",
    419       "_",
    420       "drawfilter",
    421       "pic-8888",
    422       "gm",
    423       "_",
    424       "image-cacherator-from-picture",
    425       "serialize-8888",
    426       "gm",
    427       "_",
    428       "image-cacherator-from-picture",
    429       "pic-8888",
    430       "gm",
    431       "_",
    432       "image-cacherator-from-raster",
    433       "serialize-8888",
    434       "gm",
    435       "_",
    436       "image-cacherator-from-raster",
    437       "pic-8888",
    438       "gm",
    439       "_",
    440       "image-cacherator-from-ctable",
    441       "serialize-8888",
    442       "gm",
    443       "_",
    444       "image-cacherator-from-ctable",
    445       "pic-8888",
    446       "gm",
    447       "_",
    448       "gamut",
    449       "lite-8888",
    450       "gm",
    451       "_",
    452       "gamut",
    453       "serialize-8888",
    454       "gm",
    455       "_",
    456       "gamut",
    457       "pic-8888",
    458       "gm",
    459       "_",
    460       "complexclip4_bw",
    461       "lite-8888",
    462       "gm",
    463       "_",
    464       "complexclip4_bw",
    465       "serialize-8888",
    466       "gm",
    467       "_",
    468       "complexclip4_bw",
    469       "pic-8888",
    470       "gm",
    471       "_",
    472       "complexclip4_aa",
    473       "lite-8888",
    474       "gm",
    475       "_",
    476       "complexclip4_aa",
    477       "serialize-8888",
    478       "gm",
    479       "_",
    480       "complexclip4_aa",
    481       "tiles_rt-8888",
    482       "gm",
    483       "_",
    484       "complexclip4_bw",
    485       "tiles_rt-8888",
    486       "gm",
    487       "_",
    488       "complexclip4_aa",
    489       "--nonativeFonts",
    490       "--verbose"
    491     ],
    492     "cwd": "[START_DIR]/skia",
    493     "env": {
    494       "BUILDTYPE": "Debug",
    495       "CHROME_HEADLESS": "1",
    496       "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
    497       "SKIA_OUT": "[START_DIR]/out"
    498     },
    499     "name": "symbolized dm"
    500   },
    501   {
    502     "name": "$result",
    503     "recipe_result": null,
    504     "status_code": 0
    505   }
    506 ]