aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorGravatar Ben Wagner <benjaminwagner@google.com>2017-06-27 13:44:36 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-27 19:02:27 +0000
commit47ac02467bd17517c4616b9026b8f3790d07eb97 (patch)
treef6d989c7796350b6ff65d13593c0e9f8c37be3c3 /infra
parentc070939fd1a954b7a492bc30f0cf64a664b90181 (diff)
Turn on verbose logging on flakily dying bots.
No-Try: true Change-Id: I2c1b598f03d8536aa3ef118630a0aed63fe54f9e Reviewed-on: https://skia-review.googlesource.com/10526 Commit-Queue: Ben Wagner <benjaminwagner@google.com> Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra')
-rw-r--r--infra/bots/recipes/perf.expected/Perf-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Release.json1
-rw-r--r--infra/bots/recipes/perf.py9
-rw-r--r--infra/bots/recipes/skpbench.expected/Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-Android_Skpbench.json4
-rw-r--r--infra/bots/recipes/skpbench.expected/Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-Android_Vulkan_Skpbench.json4
-rw-r--r--infra/bots/recipes/skpbench.expected/trybot.json4
-rw-r--r--infra/bots/recipes/skpbench.py4
-rw-r--r--infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug.json3
-rw-r--r--infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Release.json3
-rw-r--r--infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUCDE3815TYKHE-GPU-IntelBayTrail-x86_64-Debug.json3
-rw-r--r--infra/bots/recipes/test.py12
10 files changed, 39 insertions, 8 deletions
diff --git a/infra/bots/recipes/perf.expected/Perf-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Release.json b/infra/bots/recipes/perf.expected/Perf-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Release.json
index 19c81e1625..909bc17ce3 100644
--- a/infra/bots/recipes/perf.expected/Perf-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Release.json
+++ b/infra/bots/recipes/perf.expected/Perf-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Release.json
@@ -199,6 +199,7 @@
"~inc14.png",
"~inc0.webp",
"~inc1.webp",
+ "--verbose",
"--outResultsFile",
"[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Release/data/nanobench_abc123_1337000001.json",
"--properties",
diff --git a/infra/bots/recipes/perf.py b/infra/bots/recipes/perf.py
index d58953dbff..f7f6dba44a 100644
--- a/infra/bots/recipes/perf.py
+++ b/infra/bots/recipes/perf.py
@@ -107,6 +107,9 @@ def nanobench_flags(bot):
# Ensure that the bot framework does not think we have timed out.
args.extend(['--keepAlive', 'true'])
+ # Some people don't like verbose output.
+ verbose = False
+
match = []
if 'Android' in bot:
# Segfaults when run as GPU bench. Very large texture?
@@ -145,6 +148,9 @@ def nanobench_flags(bot):
match.append('~text_16_LCD_BK')
match.append('~text_16_LCD_FF')
match.append('~text_16_LCD_WT')
+ if 'Intel' in bot and 'Ubuntu' in bot and not 'Vulkan' in bot:
+ # TODO(dogben): Track down what's causing bots to die.
+ verbose = True
if 'Vulkan' in bot and 'NexusPlayer' in bot:
match.append('~Xfermode') # skia:6691
if 'ANGLE' in bot and 'Radeon' in bot and 'Release' in bot:
@@ -186,6 +192,9 @@ def nanobench_flags(bot):
args.append('--match')
args.extend(match)
+ if verbose:
+ args.append('--verbose')
+
return args
diff --git a/infra/bots/recipes/skpbench.expected/Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-Android_Skpbench.json b/infra/bots/recipes/skpbench.expected/Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-Android_Skpbench.json
index 6d31aa0ff6..09c6012dd6 100644
--- a/infra/bots/recipes/skpbench.expected/Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-Android_Skpbench.json
+++ b/infra/bots/recipes/skpbench.expected/Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-Android_Skpbench.json
@@ -220,7 +220,9 @@
"--resultsfile",
"[CUSTOM_[SWARM_OUT_DIR]]/table",
"--config",
- "gles,glesinst4"
+ "gles,glesinst4",
+ "-v",
+ "5"
],
"env": {
"BUILDTYPE": "Release",
diff --git a/infra/bots/recipes/skpbench.expected/Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-Android_Vulkan_Skpbench.json b/infra/bots/recipes/skpbench.expected/Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-Android_Vulkan_Skpbench.json
index 6cbc4f7ea5..4f623b2366 100644
--- a/infra/bots/recipes/skpbench.expected/Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-Android_Vulkan_Skpbench.json
+++ b/infra/bots/recipes/skpbench.expected/Perf-Android-Clang-PixelC-GPU-TegraX1-arm64-Release-Android_Vulkan_Skpbench.json
@@ -220,7 +220,9 @@
"--resultsfile",
"[CUSTOM_[SWARM_OUT_DIR]]/table",
"--config",
- "vk"
+ "vk",
+ "-v",
+ "5"
],
"env": {
"BUILDTYPE": "Release",
diff --git a/infra/bots/recipes/skpbench.expected/trybot.json b/infra/bots/recipes/skpbench.expected/trybot.json
index f9f5609f85..e93a574657 100644
--- a/infra/bots/recipes/skpbench.expected/trybot.json
+++ b/infra/bots/recipes/skpbench.expected/trybot.json
@@ -220,7 +220,9 @@
"--resultsfile",
"[CUSTOM_[SWARM_OUT_DIR]]/table",
"--config",
- "gles,glesinst4"
+ "gles,glesinst4",
+ "-v",
+ "5"
],
"env": {
"BUILDTYPE": "Release",
diff --git a/infra/bots/recipes/skpbench.py b/infra/bots/recipes/skpbench.py
index d4b134f735..fe57b1d196 100644
--- a/infra/bots/recipes/skpbench.py
+++ b/infra/bots/recipes/skpbench.py
@@ -53,7 +53,9 @@ def skpbench_steps(api):
api.path.join(api.vars.android_data_dir, 'skps'),
'--adb',
'--resultsfile', table,
- '--config', config]
+ '--config', config,
+ # TODO(dogben): Track down what's causing bots to die.
+ '-v', '5']
api.run(api.python, 'skpbench',
script=skpbench_dir.join('skpbench.py'),
diff --git a/infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug.json b/infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug.json
index 2f6238cf09..7ca47b5d2b 100644
--- a/infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug.json
+++ b/infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug.json
@@ -579,7 +579,8 @@
"_",
"image",
"_",
- ".SRW"
+ ".SRW",
+ "--verbose"
],
"cwd": "[START_DIR]/skia",
"env": {
diff --git a/infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Release.json b/infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Release.json
index e25fc6307c..b87a0e46fe 100644
--- a/infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Release.json
+++ b/infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Release.json
@@ -579,7 +579,8 @@
"_",
"image",
"_",
- ".SRW"
+ ".SRW",
+ "--verbose"
],
"cwd": "[START_DIR]/skia",
"env": {
diff --git a/infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUCDE3815TYKHE-GPU-IntelBayTrail-x86_64-Debug.json b/infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUCDE3815TYKHE-GPU-IntelBayTrail-x86_64-Debug.json
index 06473b4056..5dac6192a4 100644
--- a/infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUCDE3815TYKHE-GPU-IntelBayTrail-x86_64-Debug.json
+++ b/infra/bots/recipes/test.expected/Test-Ubuntu16-Clang-NUCDE3815TYKHE-GPU-IntelBayTrail-x86_64-Debug.json
@@ -581,7 +581,8 @@
"_",
".SRW",
"--match",
- "~ImageStorageLoad"
+ "~ImageStorageLoad",
+ "--verbose"
],
"cwd": "[START_DIR]/skia",
"env": {
diff --git a/infra/bots/recipes/test.py b/infra/bots/recipes/test.py
index 3fc60eabdd..b05ea5fa71 100644
--- a/infra/bots/recipes/test.py
+++ b/infra/bots/recipes/test.py
@@ -168,6 +168,9 @@ def dm_flags(bot):
if 'SK_FORCE_RASTER_PIPELINE_BLITTER' in bot:
args.remove('tests')
+ # Some people don't like verbose output.
+ verbose = False
+
blacklisted = []
def blacklist(quad):
config, src, options, name = quad.split(' ') if type(quad) is str else quad
@@ -442,6 +445,10 @@ def dm_flags(bot):
if 'Vulkan' in bot and 'IntelIris540' in bot and 'Ubuntu' in bot:
match.extend(['~VkHeapTests']) # skia:6245
+ if 'Intel' in bot and 'Ubuntu' in bot and not 'Vulkan' in bot:
+ # TODO(dogben): Track down what's causing bots to die.
+ verbose = True
+
if 'Vulkan' in bot and 'IntelIris540' in bot and 'Win' in bot:
# skia:6398
blacklist(['vk', 'gm', '_', 'aarectmodes'])
@@ -551,12 +558,15 @@ def dm_flags(bot):
args.append('--noRAW_threading')
if 'Valgrind' in bot and 'PreAbandonGpuContext' in bot:
- args.append('--verbose')
+ verbose = True
if 'NexusPlayer' in bot and 'CPU' in bot:
# The Nexus Player's image decoding tests are slow enough that swarming
# times it out for not printing anything frequently enough. --verbose
# makes dm print something every time we start or complete a task.
+ verbose = True
+
+ if verbose:
args.append('--verbose')
return args