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-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug",
    229       "swarming_bot_id",
    230       "skia-bot-123",
    231       "swarming_task_id",
    232       "123456",
    233       "--svgs",
    234       "[START_DIR]/svg",
    235       "--key",
    236       "arch",
    237       "x86_64",
    238       "compiler",
    239       "Clang",
    240       "configuration",
    241       "Debug",
    242       "cpu_or_gpu",
    243       "GPU",
    244       "cpu_or_gpu_value",
    245       "IntelHD405",
    246       "model",
    247       "NUC5PPYH",
    248       "os",
    249       "Ubuntu16",
    250       "--uninterestingHashesFile",
    251       "[START_DIR]/tmp/uninteresting_hashes.txt",
    252       "--writePath",
    253       "[CUSTOM_[SWARM_OUT_DIR]]/dm",
    254       "--nocpu",
    255       "--randomProcessorTest",
    256       "--config",
    257       "8888",
    258       "srgb",
    259       "pdf",
    260       "gl",
    261       "gldft",
    262       "glsrgb",
    263       "gles",
    264       "glesdft",
    265       "glessrgb",
    266       "serialize-8888",
    267       "tiles_rt-8888",
    268       "pic-8888",
    269       "--src",
    270       "tests",
    271       "gm",
    272       "image",
    273       "colorImage",
    274       "svg",
    275       "--blacklist",
    276       "glsrgb",
    277       "image",
    278       "_",
    279       "_",
    280       "glessrgb",
    281       "image",
    282       "_",
    283       "_",
    284       "serialize-8888",
    285       "gm",
    286       "_",
    287       "bleed_image",
    288       "serialize-8888",
    289       "gm",
    290       "_",
    291       "c_gms",
    292       "serialize-8888",
    293       "gm",
    294       "_",
    295       "colortype",
    296       "serialize-8888",
    297       "gm",
    298       "_",
    299       "colortype_xfermodes",
    300       "serialize-8888",
    301       "gm",
    302       "_",
    303       "drawfilter",
    304       "serialize-8888",
    305       "gm",
    306       "_",
    307       "fontmgr_bounds_0.75_0",
    308       "serialize-8888",
    309       "gm",
    310       "_",
    311       "fontmgr_bounds_1_-0.25",
    312       "serialize-8888",
    313       "gm",
    314       "_",
    315       "fontmgr_bounds",
    316       "serialize-8888",
    317       "gm",
    318       "_",
    319       "fontmgr_match",
    320       "serialize-8888",
    321       "gm",
    322       "_",
    323       "fontmgr_iter",
    324       "serialize-8888",
    325       "gm",
    326       "_",
    327       "imagemasksubset",
    328       "serialize-8888",
    329       "gm",
    330       "_",
    331       "bitmapfilters",
    332       "serialize-8888",
    333       "gm",
    334       "_",
    335       "bitmapshaders",
    336       "serialize-8888",
    337       "gm",
    338       "_",
    339       "bleed",
    340       "serialize-8888",
    341       "gm",
    342       "_",
    343       "bleed_alpha_bmp",
    344       "serialize-8888",
    345       "gm",
    346       "_",
    347       "bleed_alpha_bmp_shader",
    348       "serialize-8888",
    349       "gm",
    350       "_",
    351       "convex_poly_clip",
    352       "serialize-8888",
    353       "gm",
    354       "_",
    355       "extractalpha",
    356       "serialize-8888",
    357       "gm",
    358       "_",
    359       "filterbitmap_checkerboard_32_32_g8",
    360       "serialize-8888",
    361       "gm",
    362       "_",
    363       "filterbitmap_image_mandrill_64",
    364       "serialize-8888",
    365       "gm",
    366       "_",
    367       "shadows",
    368       "serialize-8888",
    369       "gm",
    370       "_",
    371       "simpleaaclip_aaclip",
    372       "serialize-8888",
    373       "gm",
    374       "_",
    375       "composeshader_bitmap",
    376       "serialize-8888",
    377       "gm",
    378       "_",
    379       "scaled_tilemodes_npot",
    380       "serialize-8888",
    381       "gm",
    382       "_",
    383       "scaled_tilemodes",
    384       "serialize-8888",
    385       "gm",
    386       "_",
    387       "typefacerendering_pfaMac",
    388       "serialize-8888",
    389       "gm",
    390       "_",
    391       "parsedpaths",
    392       "serialize-8888",
    393       "gm",
    394       "_",
    395       "ImageGeneratorExternal_rect",
    396       "serialize-8888",
    397       "gm",
    398       "_",
    399       "ImageGeneratorExternal_shader",
    400       "serialize-8888",
    401       "gm",
    402       "_",
    403       "shadow_utils",
    404       "serialize-8888",
    405       "gm",
    406       "_",
    407       "makecolorspace",
    408       "serialize-8888",
    409       "gm",
    410       "_",
    411       "bleed_alpha_image",
    412       "serialize-8888",
    413       "gm",
    414       "_",
    415       "bleed_alpha_image_shader",
    416       "pic-8888",
    417       "gm",
    418       "_",
    419       "drawfilter",
    420       "pic-8888",
    421       "gm",
    422       "_",
    423       "image-cacherator-from-picture",
    424       "serialize-8888",
    425       "gm",
    426       "_",
    427       "image-cacherator-from-picture",
    428       "pic-8888",
    429       "gm",
    430       "_",
    431       "image-cacherator-from-raster",
    432       "serialize-8888",
    433       "gm",
    434       "_",
    435       "image-cacherator-from-raster",
    436       "pic-8888",
    437       "gm",
    438       "_",
    439       "image-cacherator-from-ctable",
    440       "serialize-8888",
    441       "gm",
    442       "_",
    443       "image-cacherator-from-ctable",
    444       "pic-8888",
    445       "gm",
    446       "_",
    447       "gamut",
    448       "serialize-8888",
    449       "gm",
    450       "_",
    451       "gamut",
    452       "pic-8888",
    453       "gm",
    454       "_",
    455       "complexclip4_bw",
    456       "serialize-8888",
    457       "gm",
    458       "_",
    459       "complexclip4_bw",
    460       "pic-8888",
    461       "gm",
    462       "_",
    463       "complexclip4_aa",
    464       "serialize-8888",
    465       "gm",
    466       "_",
    467       "complexclip4_aa",
    468       "tiles_rt-8888",
    469       "gm",
    470       "_",
    471       "complexclip4_bw",
    472       "tiles_rt-8888",
    473       "gm",
    474       "_",
    475       "complexclip4_aa",
    476       "_",
    477       "image",
    478       "_",
    479       "interlaced1.png",
    480       "_",
    481       "image",
    482       "_",
    483       "interlaced2.png",
    484       "_",
    485       "image",
    486       "_",
    487       "interlaced3.png",
    488       "_",
    489       "image",
    490       "_",
    491       ".arw",
    492       "_",
    493       "image",
    494       "_",
    495       ".cr2",
    496       "_",
    497       "image",
    498       "_",
    499       ".dng",
    500       "_",
    501       "image",
    502       "_",
    503       ".nef",
    504       "_",
    505       "image",
    506       "_",
    507       ".nrw",
    508       "_",
    509       "image",
    510       "_",
    511       ".orf",
    512       "_",
    513       "image",
    514       "_",
    515       ".raf",
    516       "_",
    517       "image",
    518       "_",
    519       ".rw2",
    520       "_",
    521       "image",
    522       "_",
    523       ".pef",
    524       "_",
    525       "image",
    526       "_",
    527       ".srw",
    528       "_",
    529       "image",
    530       "_",
    531       ".ARW",
    532       "_",
    533       "image",
    534       "_",
    535       ".CR2",
    536       "_",
    537       "image",
    538       "_",
    539       ".DNG",
    540       "_",
    541       "image",
    542       "_",
    543       ".NEF",
    544       "_",
    545       "image",
    546       "_",
    547       ".NRW",
    548       "_",
    549       "image",
    550       "_",
    551       ".ORF",
    552       "_",
    553       "image",
    554       "_",
    555       ".RAF",
    556       "_",
    557       "image",
    558       "_",
    559       ".RW2",
    560       "_",
    561       "image",
    562       "_",
    563       ".PEF",
    564       "_",
    565       "image",
    566       "_",
    567       ".SRW",
    568       "--verbose"
    569     ],
    570     "cwd": "[START_DIR]/skia",
    571     "env": {
    572       "BUILDTYPE": "Debug",
    573       "CHROME_HEADLESS": "1",
    574       "LD_LIBRARY_PATH": "[START_DIR]/linux_vulkan_intel_driver_debug",
    575       "LIBGL_DRIVERS_PATH": "[START_DIR]/linux_vulkan_intel_driver_debug",
    576       "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
    577       "SKIA_OUT": "[START_DIR]/out"
    578     },
    579     "name": "symbolized dm"
    580   },
    581   {
    582     "name": "$result",
    583     "recipe_result": null,
    584     "status_code": 0
    585   }
    586 ]