Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(994)

Side by Side Diff: infra/bots/recipes/swarm_test.expected/failed_dm.json

Issue 2175373002: Move Skia recipes from build repo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address more comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "python",
5 "-u",
6 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py",
7 "/path/to/tmp/json",
8 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug"
9 ],
10 "cwd": "[SLAVE_BUILD]/skia",
11 "name": "exec buildbot_spec.py",
12 "~followup_annotations": [
13 "@@@STEP_LOG_LINE@json.output@{@@@",
14 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
15 "@@@STEP_LOG_LINE@json.output@ \"dm\", @@@",
16 "@@@STEP_LOG_LINE@json.output@ \"nanobench\"@@@",
17 "@@@STEP_LOG_LINE@json.output@ ], @@@",
18 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
19 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@",
20 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@",
21 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
22 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu\": \"CPU\", @@@",
23 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu_value\": \"AVX2\", @@@",
24 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
25 "@@@STEP_LOG_LINE@json.output@ \"model\": \"GCE\", @@@",
26 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@",
27 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Test\"@@@",
28 "@@@STEP_LOG_LINE@json.output@ }, @@@",
29 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
30 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
31 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
32 "@@@STEP_LOG_LINE@json.output@ ], @@@",
33 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": true, @@@",
34 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": true, @@@",
35 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
36 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0\"@@@",
37 "@@@STEP_LOG_LINE@json.output@ }, @@@",
38 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
39 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
40 "@@@STEP_LOG_LINE@json.output@ ], @@@",
41 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
42 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
43 "@@@STEP_LOG_LINE@json.output@}@@@",
44 "@@@STEP_LOG_END@json.output@@@"
45 ]
46 },
47 {
48 "cmd": [
49 "python",
50 "-u",
51 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
52 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION",
53 "/path/to/tmp/"
54 ],
55 "name": "Get downloaded SKP VERSION"
56 },
57 {
58 "cmd": [
59 "python",
60 "-u",
61 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
62 "42",
63 "[SLAVE_BUILD]/tmp/SKP_VERSION"
64 ],
65 "name": "write SKP_VERSION"
66 },
67 {
68 "cmd": [
69 "python",
70 "-u",
71 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
72 "[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION",
73 "/path/to/tmp/"
74 ],
75 "name": "Get downloaded skimage VERSION"
76 },
77 {
78 "cmd": [
79 "python",
80 "-u",
81 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
82 "42",
83 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION"
84 ],
85 "name": "write SK_IMAGE_VERSION"
86 },
87 {
88 "cmd": [
89 "python",
90 "-u",
91 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
92 "[CUSTOM_[SWARM_OUT_DIR]]/dm"
93 ],
94 "env": {
95 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts"
96 },
97 "name": "rmtree dm",
98 "~followup_annotations": [
99 "@@@STEP_LOG_LINE@python.inline@@@@",
100 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
101 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
102 "@@@STEP_LOG_LINE@python.inline@@@@",
103 "@@@STEP_LOG_LINE@python.inline@@@@",
104 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
105 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
106 "@@@STEP_LOG_END@python.inline@@@"
107 ]
108 },
109 {
110 "cmd": [
111 "python",
112 "-u",
113 "\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",
114 "[CUSTOM_[SWARM_OUT_DIR]]/dm",
115 "511"
116 ],
117 "name": "makedirs dm",
118 "~followup_annotations": [
119 "@@@STEP_LOG_LINE@python.inline@@@@",
120 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
121 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
122 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
123 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
124 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
125 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
126 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
127 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
128 "@@@STEP_LOG_END@python.inline@@@"
129 ]
130 },
131 {
132 "cmd": [
133 "python",
134 "-u",
135 "\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",
136 "[SLAVE_BUILD]/tmp",
137 "511"
138 ],
139 "name": "makedirs tmp_dir",
140 "~followup_annotations": [
141 "@@@STEP_LOG_LINE@python.inline@@@@",
142 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
143 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
144 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
145 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
146 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
147 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
148 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
149 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
150 "@@@STEP_LOG_END@python.inline@@@"
151 ]
152 },
153 {
154 "cmd": [
155 "python",
156 "-u",
157 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\ nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/_/hashes'\nRETRIES = 5\nT IMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in r ange(RETRIES):\n try:\n with contextlib.closing(\n urllib2.urlopen(HA SHES_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(wait time)\n",
158 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt"
159 ],
160 "cwd": "[SLAVE_BUILD]/skia",
161 "env": {
162 "BUILDTYPE": "Debug",
163 "CHROME_HEADLESS": "1",
164 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0 ",
165 "SKIA_OUT": "[SLAVE_BUILD]/out"
166 },
167 "name": "get uninteresting hashes",
168 "~followup_annotations": [
169 "@@@STEP_LOG_LINE@python.inline@@@@",
170 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
171 "@@@STEP_LOG_LINE@python.inline@import math@@@",
172 "@@@STEP_LOG_LINE@python.inline@import socket@@@",
173 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
174 "@@@STEP_LOG_LINE@python.inline@import time@@@",
175 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
176 "@@@STEP_LOG_LINE@python.inline@@@@",
177 "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/_/hash es'@@@",
178 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
179 "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@",
180 "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@",
181 "@@@STEP_LOG_LINE@python.inline@@@@",
182 "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
183 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
184 "@@@STEP_LOG_LINE@python.inline@ try:@@@",
185 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@",
186 "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeou t=TIMEOUT)) as w:@@@",
187 "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@",
188 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@ ",
189 "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@",
190 "@@@STEP_LOG_LINE@python.inline@ break@@@",
191 "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@",
192 "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting has hes from %s:' % HASHES_URL@@@",
193 "@@@STEP_LOG_LINE@python.inline@ print e@@@",
194 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@",
195 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
196 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret ry)@@@",
197 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim e@@@",
198 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@",
199 "@@@STEP_LOG_END@python.inline@@@"
200 ]
201 },
202 {
203 "cmd": [
204 "catchsegv",
205 "[SLAVE_BUILD]/out/Debug/dm",
206 "--undefok",
207 "--resourcePath",
208 "[SLAVE_BUILD]/skia/resources",
209 "--skps",
210 "[SLAVE_BUILD]/skp",
211 "--images",
212 "[SLAVE_BUILD]/skimage/dm",
213 "--colorImages",
214 "[SLAVE_BUILD]/skimage/colorspace",
215 "--nameByHash",
216 "--properties",
217 "gitHash",
218 "abc123",
219 "master",
220 "client.skia",
221 "builder",
222 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug",
223 "build_number",
224 "6",
225 "--key",
226 "arch",
227 "x86_64",
228 "compiler",
229 "GCC",
230 "configuration",
231 "Debug",
232 "cpu_or_gpu",
233 "CPU",
234 "cpu_or_gpu_value",
235 "AVX2",
236 "model",
237 "GCE",
238 "os",
239 "Ubuntu",
240 "--uninterestingHashesFile",
241 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt",
242 "--writePath",
243 "[CUSTOM_[SWARM_OUT_DIR]]/dm",
244 "--nogpu",
245 "--dummy-flags"
246 ],
247 "env": {
248 "BUILDTYPE": "Debug",
249 "CHROME_HEADLESS": "1",
250 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0 ",
251 "SKIA_OUT": "[SLAVE_BUILD]/out"
252 },
253 "name": "dm",
254 "~followup_annotations": [
255 "step returned non-zero exit code: 1",
256 "@@@STEP_FAILURE@@@"
257 ]
258 },
259 {
260 "name": "$result",
261 "reason": "Failed build steps: dm",
262 "recipe_result": null,
263 "status_code": 1
264 }
265 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698