aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorGravatar Ben Wagner <benjaminwagner@google.com>2017-03-24 12:11:51 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-24 20:19:22 +0000
commit37b1d84436ccfbeafc2b321e469c462a2cfd4765 (patch)
treefa4435982412cc1dbe96cf035057b4c1f82a93d0 /infra
parent0513f14308c592f5cd47df220ea0993f50ed0c62 (diff)
Omit tests causing IntelIris540 Vulkan to crash/fail.
BUG=skia:6398 NOTRY=true Change-Id: I630727a2d69116bfb49fe1dece7b6417e10c251c Reviewed-on: https://skia-review.googlesource.com/9872 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Ben Wagner <benjaminwagner@google.com>
Diffstat (limited to 'infra')
-rw-r--r--infra/bots/recipe_modules/perf/api.py18
-rw-r--r--infra/bots/recipe_modules/perf/example.expected/Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan.json221
-rw-r--r--infra/bots/recipe_modules/perf/example.py1
-rw-r--r--infra/bots/recipe_modules/sktest/api.py65
-rw-r--r--infra/bots/recipe_modules/sktest/example.expected/Test-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan.json594
-rw-r--r--infra/bots/recipe_modules/sktest/example.py1
6 files changed, 900 insertions, 0 deletions
diff --git a/infra/bots/recipe_modules/perf/api.py b/infra/bots/recipe_modules/perf/api.py
index bba80f2cc0..d85a1b77b9 100644
--- a/infra/bots/recipe_modules/perf/api.py
+++ b/infra/bots/recipe_modules/perf/api.py
@@ -109,6 +109,24 @@ def nanobench_flags(bot):
match.append('~tile_image_filter_tiled_64') # skia:6082
if 'Intel' in bot and 'Ubuntu' in bot and not 'Vulkan' in bot:
match.append('~native_image_to_raster_surface') # skia:6401
+ if 'Vulkan' in bot and 'IntelIris540' in bot and 'Win' in bot:
+ # skia:6398
+ match.append('~GM_varied_text_clipped_lcd')
+ match.append('~GM_varied_text_ignorable_clip_lcd')
+ match.append('~Xfermode_DstATop_aa')
+ match.append('~Xfermode_SrcIn_aa')
+ match.append('~Xfermode_SrcOut_aa')
+ match.append('~Xfermode_Src_aa')
+ match.append('~fontscaler_lcd')
+ match.append('~rotated_rects_aa_alternating_transparent_and_opaque_src')
+ match.append('~rotated_rects_aa_changing_transparent_src')
+ match.append('~rotated_rects_aa_same_transparent_src')
+ match.append('~shadermask_LCD_FF')
+ match.append('~srcmode_rects_1')
+ match.append('~text_16_LCD_88')
+ match.append('~text_16_LCD_BK')
+ match.append('~text_16_LCD_FF')
+ match.append('~text_16_LCD_WT')
if 'Vulkan' in bot and 'NexusPlayer' in bot:
match.append('~hardstop') # skia:6037
diff --git a/infra/bots/recipe_modules/perf/example.expected/Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan.json b/infra/bots/recipe_modules/perf/example.expected/Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan.json
new file mode 100644
index 0000000000..2b8feb7549
--- /dev/null
+++ b/infra/bots/recipe_modules/perf/example.expected/Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan.json
@@ -0,0 +1,221 @@
+[
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "[START_DIR]\\skia\\infra\\bots\\assets\\skp\\VERSION",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "name": "Get downloaded SKP VERSION"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "42",
+ "[START_DIR]\\tmp\\SKP_VERSION"
+ ],
+ "infra_step": true,
+ "name": "write SKP_VERSION"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "[START_DIR]\\skia\\infra\\bots\\assets\\skimage\\VERSION",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "name": "Get downloaded skimage VERSION"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "42",
+ "[START_DIR]\\tmp\\SK_IMAGE_VERSION"
+ ],
+ "infra_step": true,
+ "name": "write SK_IMAGE_VERSION"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "name": "Get downloaded SVG VERSION"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "42",
+ "[START_DIR]\\tmp\\SVG_VERSION"
+ ],
+ "infra_step": true,
+ "name": "write SVG_VERSION"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "RECIPE_MODULE[build::file]\\resources\\fileutil.py",
+ "rmtree",
+ "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan\\data"
+ ],
+ "env": {
+ "PYTHONPATH": "[START_DIR]\\skia\\infra\\bots\\.recipe_deps\\build\\scripts"
+ },
+ "infra_step": true,
+ "name": "rmtree data"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
+ "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan\\data",
+ "511"
+ ],
+ "infra_step": true,
+ "name": "makedirs data",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
+ "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
+ "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
+ "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
+ "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
+ "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
+ "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
+ "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "[START_DIR]\\out\\Release_x64\\nanobench",
+ "--undefok",
+ "-i",
+ "[START_DIR]\\skia\\resources",
+ "--skps",
+ "[START_DIR]\\skp",
+ "--images",
+ "[START_DIR]\\skimage\\nanobench",
+ "--svgs",
+ "[START_DIR]\\svg",
+ "--nocpu",
+ "--pre_log",
+ "--images",
+ "--gpuStatsDump",
+ "true",
+ "--scales",
+ "1.0",
+ "1.1",
+ "--config",
+ "vk",
+ "--match",
+ "~GM_varied_text_clipped_lcd",
+ "~GM_varied_text_ignorable_clip_lcd",
+ "~Xfermode_DstATop_aa",
+ "~Xfermode_SrcIn_aa",
+ "~Xfermode_SrcOut_aa",
+ "~Xfermode_Src_aa",
+ "~fontscaler_lcd",
+ "~rotated_rects_aa_alternating_transparent_and_opaque_src",
+ "~rotated_rects_aa_changing_transparent_src",
+ "~rotated_rects_aa_same_transparent_src",
+ "~shadermask_LCD_FF",
+ "~srcmode_rects_1",
+ "~text_16_LCD_88",
+ "~text_16_LCD_BK",
+ "~text_16_LCD_FF",
+ "~text_16_LCD_WT",
+ "~inc0.gif",
+ "~inc1.gif",
+ "~incInterlaced.gif",
+ "~inc0.jpg",
+ "~incGray.jpg",
+ "~inc0.wbmp",
+ "~inc1.wbmp",
+ "~inc0.webp",
+ "~inc1.webp",
+ "~inc0.ico",
+ "~inc1.ico",
+ "~inc0.png",
+ "~inc1.png",
+ "~inc2.png",
+ "~inc12.png",
+ "~inc13.png",
+ "~inc14.png",
+ "~inc0.webp",
+ "~inc1.webp",
+ "--outResultsFile",
+ "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan\\data\\nanobench_abc123_1337000001.json",
+ "--properties",
+ "gitHash",
+ "abc123",
+ "build_number",
+ "5",
+ "--key",
+ "arch",
+ "x86_64",
+ "compiler",
+ "MSVC",
+ "cpu_or_gpu",
+ "GPU",
+ "cpu_or_gpu_value",
+ "IntelIris540",
+ "extra_config",
+ "Vulkan",
+ "model",
+ "NUC",
+ "os",
+ "Win10"
+ ],
+ "env": {
+ "BUILDTYPE": "Release_x64",
+ "CHROME_HEADLESS": "1",
+ "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
+ "SKIA_OUT": "[START_DIR]\\out"
+ },
+ "name": "nanobench"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
+ "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan\\data",
+ "511"
+ ],
+ "name": "makedirs perf_dir",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
+ "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
+ "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
+ "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
+ "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
+ "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
+ "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
+ "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "name": "$result",
+ "recipe_result": null,
+ "status_code": 0
+ }
+] \ No newline at end of file
diff --git a/infra/bots/recipe_modules/perf/example.py b/infra/bots/recipe_modules/perf/example.py
index ebbf3b32c7..900d58dbda 100644
--- a/infra/bots/recipe_modules/perf/example.py
+++ b/infra/bots/recipe_modules/perf/example.py
@@ -42,6 +42,7 @@ TEST_BUILDERS = {
'Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Debug',
'Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Release',
'Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-ANGLE',
+ 'Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-Vulkan',
'Perf-Win8-MSVC-ShuttleB-GPU-GTX960-x86_64-Debug-ANGLE',
'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot',
'Perf-iOS-Clang-iPadMini4-GPU-GX6450-arm-Release'
diff --git a/infra/bots/recipe_modules/sktest/api.py b/infra/bots/recipe_modules/sktest/api.py
index 464a8548bf..db3e391e38 100644
--- a/infra/bots/recipe_modules/sktest/api.py
+++ b/infra/bots/recipe_modules/sktest/api.py
@@ -407,6 +407,71 @@ def dm_flags(bot):
if 'Vulkan' in bot and 'IntelIris540' in bot and 'Ubuntu' in bot:
match.extend(['~VkHeapTests']) # skia:6245
+ if 'Vulkan' in bot and 'IntelIris540' in bot and 'Win' in bot:
+ # skia:6398
+ blacklist(['vk', 'gm', '_', 'aarectmodes'])
+ blacklist(['vk', 'gm', '_', 'aaxfermodes'])
+ blacklist(['vk', 'gm', '_', 'arithmode'])
+ blacklist(['vk', 'gm', '_', 'composeshader_bitmap'])
+ blacklist(['vk', 'gm', '_', 'composeshader_bitmap2'])
+ blacklist(['vk', 'gm', '_', 'dftextCOLR'])
+ blacklist(['vk', 'gm', '_', 'drawregionmodes'])
+ blacklist(['vk', 'gm', '_', 'filterfastbounds'])
+ blacklist(['vk', 'gm', '_', 'fontcache'])
+ blacklist(['vk', 'gm', '_', 'fontmgr_iterWin10'])
+ blacklist(['vk', 'gm', '_', 'fontmgr_iter_factoryWin10'])
+ blacklist(['vk', 'gm', '_', 'fontmgr_matchWin10'])
+ blacklist(['vk', 'gm', '_', 'fontscalerWin'])
+ blacklist(['vk', 'gm', '_', 'fontscalerdistortable'])
+ blacklist(['vk', 'gm', '_', 'gammagradienttext'])
+ blacklist(['vk', 'gm', '_', 'gammatextWin'])
+ blacklist(['vk', 'gm', '_', 'gradtext'])
+ blacklist(['vk', 'gm', '_', 'hairmodes'])
+ blacklist(['vk', 'gm', '_', 'imagefilters_xfermodes'])
+ blacklist(['vk', 'gm', '_', 'imagefiltersclipped'])
+ blacklist(['vk', 'gm', '_', 'imagefiltersgraph'])
+ blacklist(['vk', 'gm', '_', 'imagefiltersscaled'])
+ blacklist(['vk', 'gm', '_', 'imagefiltersstroked'])
+ blacklist(['vk', 'gm', '_', 'imagefilterstransformed'])
+ blacklist(['vk', 'gm', '_', 'imageresizetiled'])
+ blacklist(['vk', 'gm', '_', 'lcdblendmodes'])
+ blacklist(['vk', 'gm', '_', 'lcdoverlap'])
+ blacklist(['vk', 'gm', '_', 'lcdtextWin'])
+ blacklist(['vk', 'gm', '_', 'lcdtextsize'])
+ blacklist(['vk', 'gm', '_', 'matriximagefilter'])
+ blacklist(['vk', 'gm', '_', 'mixedtextblobsCOLR'])
+ blacklist(['vk', 'gm', '_', 'pictureimagefilter'])
+ blacklist(['vk', 'gm', '_', 'resizeimagefilter'])
+ blacklist(['vk', 'gm', '_', 'rotate_imagefilter'])
+ blacklist(['vk', 'gm', '_', 'savelayer_lcdtext'])
+ blacklist(['vk', 'gm', '_', 'srcmode'])
+ blacklist(['vk', 'gm', '_', 'surfaceprops'])
+ blacklist(['vk', 'gm', '_', 'textblobgeometrychange'])
+ blacklist(['vk', 'gm', '_', 'textbloblooper'])
+ blacklist(['vk', 'gm', '_', 'textblobmixedsizes'])
+ blacklist(['vk', 'gm', '_', 'textblobmixedsizes_df'])
+ blacklist(['vk', 'gm', '_', 'textblobrandomfont'])
+ blacklist(['vk', 'gm', '_', 'textfilter_color'])
+ blacklist(['vk', 'gm', '_', 'textfilter_image'])
+ blacklist(['vk', 'gm', '_', 'typefacerenderingWin'])
+ blacklist(['vk', 'gm', '_', 'varied_text_clipped_lcd'])
+ blacklist(['vk', 'gm', '_', 'varied_text_ignorable_clip_lcd'])
+ blacklist(['vk', 'gm', '_', 'xfermodeimagefilter'])
+ match.append('~ApplyGamma')
+ match.append('~ComposedImageFilterBounds_Gpu')
+ match.append('~ImageFilterFailAffectsTransparentBlack_Gpu')
+ match.append('~ImageFilterZeroBlurSigma_Gpu')
+ match.append('~ImageNewShader_GPU')
+ match.append('~NewTextureFromPixmap')
+ match.append('~ReadPixels_Gpu')
+ match.append('~ReadPixels_Texture')
+ match.append('~ReadWriteAlpha')
+ match.append('~SRGBReadWritePixels')
+ match.append('~SpecialImage_DeferredGpu')
+ match.append('~SpecialImage_Gpu')
+ match.append('~WritePixels_Gpu')
+ match.append('~XfermodeImageFilterCroppedInput_Gpu')
+
if 'IntelIris540' in bot and 'ANGLE' in bot:
match.append('~IntTexture') # skia:6086
blacklist(['_', 'gm', '_', 'discard']) # skia:6141
diff --git a/infra/bots/recipe_modules/sktest/example.expected/Test-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan.json b/infra/bots/recipe_modules/sktest/example.expected/Test-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan.json
new file mode 100644
index 0000000000..38a0653a23
--- /dev/null
+++ b/infra/bots/recipe_modules/sktest/example.expected/Test-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan.json
@@ -0,0 +1,594 @@
+[
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "[START_DIR]\\skia\\infra\\bots\\assets\\skp\\VERSION",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "name": "Get downloaded SKP VERSION"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "42",
+ "[START_DIR]\\tmp\\SKP_VERSION"
+ ],
+ "infra_step": true,
+ "name": "write SKP_VERSION"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "[START_DIR]\\skia\\infra\\bots\\assets\\skimage\\VERSION",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "name": "Get downloaded skimage VERSION"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "42",
+ "[START_DIR]\\tmp\\SK_IMAGE_VERSION"
+ ],
+ "infra_step": true,
+ "name": "write SK_IMAGE_VERSION"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "name": "Get downloaded SVG VERSION"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "42",
+ "[START_DIR]\\tmp\\SVG_VERSION"
+ ],
+ "infra_step": true,
+ "name": "write SVG_VERSION"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "RECIPE_MODULE[build::file]\\resources\\fileutil.py",
+ "rmtree",
+ "[CUSTOM_[SWARM_OUT_DIR]]\\dm"
+ ],
+ "env": {
+ "PYTHONPATH": "[START_DIR]\\skia\\infra\\bots\\.recipe_deps\\build\\scripts"
+ },
+ "infra_step": true,
+ "name": "rmtree dm"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
+ "[CUSTOM_[SWARM_OUT_DIR]]\\dm",
+ "511"
+ ],
+ "infra_step": true,
+ "name": "makedirs dm",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
+ "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
+ "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
+ "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
+ "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
+ "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
+ "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
+ "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
+ "[START_DIR]\\tmp",
+ "511"
+ ],
+ "infra_step": true,
+ "name": "makedirs tmp_dir",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
+ "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
+ "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
+ "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
+ "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
+ "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
+ "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
+ "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/_/hashes'\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",
+ "[START_DIR]\\tmp\\uninteresting_hashes.txt"
+ ],
+ "env": {
+ "BUILDTYPE": "Debug_x64",
+ "CHROME_HEADLESS": "1",
+ "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
+ "SKIA_OUT": "[START_DIR]\\out"
+ },
+ "infra_step": true,
+ "name": "get uninteresting hashes",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
+ "@@@STEP_LOG_LINE@python.inline@import math@@@",
+ "@@@STEP_LOG_LINE@python.inline@import socket@@@",
+ "@@@STEP_LOG_LINE@python.inline@import sys@@@",
+ "@@@STEP_LOG_LINE@python.inline@import time@@@",
+ "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/_/hashes'@@@",
+ "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
+ "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@",
+ "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@",
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
+ "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
+ "@@@STEP_LOG_LINE@python.inline@ try:@@@",
+ "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@",
+ "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@",
+ "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@",
+ "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@",
+ "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@",
+ "@@@STEP_LOG_LINE@python.inline@ break@@@",
+ "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@",
+ "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@",
+ "@@@STEP_LOG_LINE@python.inline@ print e@@@",
+ "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@",
+ "@@@STEP_LOG_LINE@python.inline@ raise@@@",
+ "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, retry)@@@",
+ "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittime@@@",
+ "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "[START_DIR]\\out\\Debug_x64\\dm",
+ "--undefok",
+ "--resourcePath",
+ "[START_DIR]\\skia\\resources",
+ "--skps",
+ "[START_DIR]\\skp",
+ "--images",
+ "[START_DIR]\\skimage\\dm",
+ "--colorImages",
+ "[START_DIR]\\skimage\\colorspace",
+ "--nameByHash",
+ "--properties",
+ "gitHash",
+ "abc123",
+ "master",
+ "client.skia",
+ "builder",
+ "Test-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan",
+ "build_number",
+ "5",
+ "--svgs",
+ "[START_DIR]\\svg",
+ "--key",
+ "arch",
+ "x86_64",
+ "compiler",
+ "MSVC",
+ "configuration",
+ "Debug",
+ "cpu_or_gpu",
+ "GPU",
+ "cpu_or_gpu_value",
+ "IntelIris540",
+ "extra_config",
+ "Vulkan",
+ "model",
+ "NUC",
+ "os",
+ "Win10",
+ "--uninterestingHashesFile",
+ "[START_DIR]\\tmp\\uninteresting_hashes.txt",
+ "--writePath",
+ "[CUSTOM_[SWARM_OUT_DIR]]\\dm",
+ "--nocpu",
+ "--randomProcessorTest",
+ "--config",
+ "vk",
+ "--src",
+ "tests",
+ "gm",
+ "image",
+ "colorImage",
+ "svg",
+ "--blacklist",
+ "_",
+ "image",
+ "gen_platf",
+ "rle8-height-negative.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "rle4-height-negative.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "pal8os2v2.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "pal8os2v2-16.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "rgba32abf.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "rgb24prof.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "rgb24lprof.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "8bpp-pixeldata-cropped.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "4bpp-pixeldata-cropped.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "32bpp-pixeldata-cropped.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "24bpp-pixeldata-cropped.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "testimgari.jpg",
+ "_",
+ "image",
+ "_",
+ "interlaced1.png",
+ "_",
+ "image",
+ "_",
+ "interlaced2.png",
+ "_",
+ "image",
+ "_",
+ "interlaced3.png",
+ "_",
+ "image",
+ "_",
+ ".arw",
+ "_",
+ "image",
+ "_",
+ ".cr2",
+ "_",
+ "image",
+ "_",
+ ".dng",
+ "_",
+ "image",
+ "_",
+ ".nef",
+ "_",
+ "image",
+ "_",
+ ".nrw",
+ "_",
+ "image",
+ "_",
+ ".orf",
+ "_",
+ "image",
+ "_",
+ ".raf",
+ "_",
+ "image",
+ "_",
+ ".rw2",
+ "_",
+ "image",
+ "_",
+ ".pef",
+ "_",
+ "image",
+ "_",
+ ".srw",
+ "_",
+ "image",
+ "_",
+ ".ARW",
+ "_",
+ "image",
+ "_",
+ ".CR2",
+ "_",
+ "image",
+ "_",
+ ".DNG",
+ "_",
+ "image",
+ "_",
+ ".NEF",
+ "_",
+ "image",
+ "_",
+ ".NRW",
+ "_",
+ "image",
+ "_",
+ ".ORF",
+ "_",
+ "image",
+ "_",
+ ".RAF",
+ "_",
+ "image",
+ "_",
+ ".RW2",
+ "_",
+ "image",
+ "_",
+ ".PEF",
+ "_",
+ "image",
+ "_",
+ ".SRW",
+ "vk",
+ "gm",
+ "_",
+ "aarectmodes",
+ "vk",
+ "gm",
+ "_",
+ "aaxfermodes",
+ "vk",
+ "gm",
+ "_",
+ "arithmode",
+ "vk",
+ "gm",
+ "_",
+ "composeshader_bitmap",
+ "vk",
+ "gm",
+ "_",
+ "composeshader_bitmap2",
+ "vk",
+ "gm",
+ "_",
+ "dftextCOLR",
+ "vk",
+ "gm",
+ "_",
+ "drawregionmodes",
+ "vk",
+ "gm",
+ "_",
+ "filterfastbounds",
+ "vk",
+ "gm",
+ "_",
+ "fontcache",
+ "vk",
+ "gm",
+ "_",
+ "fontmgr_iterWin10",
+ "vk",
+ "gm",
+ "_",
+ "fontmgr_iter_factoryWin10",
+ "vk",
+ "gm",
+ "_",
+ "fontmgr_matchWin10",
+ "vk",
+ "gm",
+ "_",
+ "fontscalerWin",
+ "vk",
+ "gm",
+ "_",
+ "fontscalerdistortable",
+ "vk",
+ "gm",
+ "_",
+ "gammagradienttext",
+ "vk",
+ "gm",
+ "_",
+ "gammatextWin",
+ "vk",
+ "gm",
+ "_",
+ "gradtext",
+ "vk",
+ "gm",
+ "_",
+ "hairmodes",
+ "vk",
+ "gm",
+ "_",
+ "imagefilters_xfermodes",
+ "vk",
+ "gm",
+ "_",
+ "imagefiltersclipped",
+ "vk",
+ "gm",
+ "_",
+ "imagefiltersgraph",
+ "vk",
+ "gm",
+ "_",
+ "imagefiltersscaled",
+ "vk",
+ "gm",
+ "_",
+ "imagefiltersstroked",
+ "vk",
+ "gm",
+ "_",
+ "imagefilterstransformed",
+ "vk",
+ "gm",
+ "_",
+ "imageresizetiled",
+ "vk",
+ "gm",
+ "_",
+ "lcdblendmodes",
+ "vk",
+ "gm",
+ "_",
+ "lcdoverlap",
+ "vk",
+ "gm",
+ "_",
+ "lcdtextWin",
+ "vk",
+ "gm",
+ "_",
+ "lcdtextsize",
+ "vk",
+ "gm",
+ "_",
+ "matriximagefilter",
+ "vk",
+ "gm",
+ "_",
+ "mixedtextblobsCOLR",
+ "vk",
+ "gm",
+ "_",
+ "pictureimagefilter",
+ "vk",
+ "gm",
+ "_",
+ "resizeimagefilter",
+ "vk",
+ "gm",
+ "_",
+ "rotate_imagefilter",
+ "vk",
+ "gm",
+ "_",
+ "savelayer_lcdtext",
+ "vk",
+ "gm",
+ "_",
+ "srcmode",
+ "vk",
+ "gm",
+ "_",
+ "surfaceprops",
+ "vk",
+ "gm",
+ "_",
+ "textblobgeometrychange",
+ "vk",
+ "gm",
+ "_",
+ "textbloblooper",
+ "vk",
+ "gm",
+ "_",
+ "textblobmixedsizes",
+ "vk",
+ "gm",
+ "_",
+ "textblobmixedsizes_df",
+ "vk",
+ "gm",
+ "_",
+ "textblobrandomfont",
+ "vk",
+ "gm",
+ "_",
+ "textfilter_color",
+ "vk",
+ "gm",
+ "_",
+ "textfilter_image",
+ "vk",
+ "gm",
+ "_",
+ "typefacerenderingWin",
+ "vk",
+ "gm",
+ "_",
+ "varied_text_clipped_lcd",
+ "vk",
+ "gm",
+ "_",
+ "varied_text_ignorable_clip_lcd",
+ "vk",
+ "gm",
+ "_",
+ "xfermodeimagefilter",
+ "--match",
+ "~ApplyGamma",
+ "~ComposedImageFilterBounds_Gpu",
+ "~ImageFilterFailAffectsTransparentBlack_Gpu",
+ "~ImageFilterZeroBlurSigma_Gpu",
+ "~ImageNewShader_GPU",
+ "~NewTextureFromPixmap",
+ "~ReadPixels_Gpu",
+ "~ReadPixels_Texture",
+ "~ReadWriteAlpha",
+ "~SRGBReadWritePixels",
+ "~SpecialImage_DeferredGpu",
+ "~SpecialImage_Gpu",
+ "~WritePixels_Gpu",
+ "~XfermodeImageFilterCroppedInput_Gpu"
+ ],
+ "env": {
+ "BUILDTYPE": "Debug_x64",
+ "CHROME_HEADLESS": "1",
+ "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
+ "SKIA_OUT": "[START_DIR]\\out"
+ },
+ "name": "dm"
+ },
+ {
+ "name": "$result",
+ "recipe_result": null,
+ "status_code": 0
+ }
+] \ No newline at end of file
diff --git a/infra/bots/recipe_modules/sktest/example.py b/infra/bots/recipe_modules/sktest/example.py
index aaed59f272..7734db77ea 100644
--- a/infra/bots/recipe_modules/sktest/example.py
+++ b/infra/bots/recipe_modules/sktest/example.py
@@ -53,6 +53,7 @@ TEST_BUILDERS = {
'Test-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release',
'Test-Win10-MSVC-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-Vulkan',
'Test-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Debug-ANGLE',
+ 'Test-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan',
'Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-Vulkan',
'Test-Win10-MSVC-ZBOX-GPU-GTX1070-x86_64-Debug-Vulkan',
'Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release-Trybot',