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

Side by Side Diff: infra/bots/recipes/swarm_test.expected/big_issue_number.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-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release-Trybot"
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@ ], @@@",
17 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
18 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@",
19 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"MSVC\", @@@",
20 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
21 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu\": \"CPU\", @@@",
22 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu_value\": \"AVX2\", @@@",
23 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": true, @@@",
24 "@@@STEP_LOG_LINE@json.output@ \"model\": \"ShuttleB\", @@@",
25 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Win8\", @@@",
26 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Test\"@@@",
27 "@@@STEP_LOG_LINE@json.output@ }, @@@",
28 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release_x64\", @@@",
29 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
30 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
31 "@@@STEP_LOG_LINE@json.output@ ], @@@",
32 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
33 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": true, @@@",
34 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
35 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"qt_sdk=C:/Qt/Qt5.1.0/ 5.1.0/msvc2012_64/ skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0 sk ia_win_debuggers_path=c:/DbgHelp\"@@@",
36 "@@@STEP_LOG_LINE@json.output@ }, @@@",
37 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
38 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
39 "@@@STEP_LOG_LINE@json.output@ ], @@@",
40 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
41 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
42 "@@@STEP_LOG_LINE@json.output@}@@@",
43 "@@@STEP_LOG_END@json.output@@@"
44 ]
45 },
46 {
47 "cmd": [
48 "python",
49 "-u",
50 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
51 "[SLAVE_BUILD]\\skia\\infra\\bots\\assets\\skp\\VERSION",
52 "/path/to/tmp/"
53 ],
54 "name": "Get downloaded SKP VERSION"
55 },
56 {
57 "cmd": [
58 "python",
59 "-u",
60 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
61 "42",
62 "[SLAVE_BUILD]\\tmp\\SKP_VERSION"
63 ],
64 "name": "write SKP_VERSION"
65 },
66 {
67 "cmd": [
68 "python",
69 "-u",
70 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
71 "[SLAVE_BUILD]\\skia\\infra\\bots\\assets\\skimage\\VERSION",
72 "/path/to/tmp/"
73 ],
74 "name": "Get downloaded skimage VERSION"
75 },
76 {
77 "cmd": [
78 "python",
79 "-u",
80 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
81 "42",
82 "[SLAVE_BUILD]\\tmp\\SK_IMAGE_VERSION"
83 ],
84 "name": "write SK_IMAGE_VERSION"
85 },
86 {
87 "cmd": [
88 "python",
89 "-u",
90 "\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",
91 "[CUSTOM_[SWARM_OUT_DIR]]\\dm"
92 ],
93 "env": {
94 "PYTHONPATH": "[SLAVE_BUILD]\\skia\\infra\\bots\\.recipe_deps\\build\\scri pts"
95 },
96 "name": "rmtree dm",
97 "~followup_annotations": [
98 "@@@STEP_LOG_LINE@python.inline@@@@",
99 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
100 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
101 "@@@STEP_LOG_LINE@python.inline@@@@",
102 "@@@STEP_LOG_LINE@python.inline@@@@",
103 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
104 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
105 "@@@STEP_LOG_END@python.inline@@@"
106 ]
107 },
108 {
109 "cmd": [
110 "python",
111 "-u",
112 "\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",
113 "[CUSTOM_[SWARM_OUT_DIR]]\\dm",
114 "511"
115 ],
116 "name": "makedirs dm",
117 "~followup_annotations": [
118 "@@@STEP_LOG_LINE@python.inline@@@@",
119 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
120 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
121 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
122 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
123 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
124 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
125 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
126 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
127 "@@@STEP_LOG_END@python.inline@@@"
128 ]
129 },
130 {
131 "cmd": [
132 "python",
133 "-u",
134 "\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",
135 "[SLAVE_BUILD]\\tmp",
136 "511"
137 ],
138 "name": "makedirs tmp_dir",
139 "~followup_annotations": [
140 "@@@STEP_LOG_LINE@python.inline@@@@",
141 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
142 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
143 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
144 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
145 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
146 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
147 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
148 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
149 "@@@STEP_LOG_END@python.inline@@@"
150 ]
151 },
152 {
153 "cmd": [
154 "python",
155 "-u",
156 "\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",
157 "[SLAVE_BUILD]\\tmp\\uninteresting_hashes.txt"
158 ],
159 "cwd": "[SLAVE_BUILD]\\skia",
160 "env": {
161 "BUILDTYPE": "Release_x64",
162 "CHROME_HEADLESS": "1",
163 "GYP_DEFINES": "qt_sdk=C:/Qt/Qt5.1.0/5.1.0/msvc2012_64/ skia_arch_type=x86 _64 skia_gpu=0 skia_warnings_as_errors=0 skia_win_debuggers_path=c:/DbgHelp",
164 "SKIA_OUT": "[SLAVE_BUILD]\\out"
165 },
166 "name": "get uninteresting hashes",
167 "~followup_annotations": [
168 "@@@STEP_LOG_LINE@python.inline@@@@",
169 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
170 "@@@STEP_LOG_LINE@python.inline@import math@@@",
171 "@@@STEP_LOG_LINE@python.inline@import socket@@@",
172 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
173 "@@@STEP_LOG_LINE@python.inline@import time@@@",
174 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
175 "@@@STEP_LOG_LINE@python.inline@@@@",
176 "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/_/hash es'@@@",
177 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
178 "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@",
179 "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@",
180 "@@@STEP_LOG_LINE@python.inline@@@@",
181 "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
182 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
183 "@@@STEP_LOG_LINE@python.inline@ try:@@@",
184 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@",
185 "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeou t=TIMEOUT)) as w:@@@",
186 "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@",
187 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@ ",
188 "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@",
189 "@@@STEP_LOG_LINE@python.inline@ break@@@",
190 "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@",
191 "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting has hes from %s:' % HASHES_URL@@@",
192 "@@@STEP_LOG_LINE@python.inline@ print e@@@",
193 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@",
194 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
195 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret ry)@@@",
196 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim e@@@",
197 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@",
198 "@@@STEP_LOG_END@python.inline@@@"
199 ]
200 },
201 {
202 "cmd": [
203 "[SLAVE_BUILD]\\out\\Release_x64\\dm",
204 "--undefok",
205 "--resourcePath",
206 "[SLAVE_BUILD]\\skia\\resources",
207 "--skps",
208 "[SLAVE_BUILD]\\skp",
209 "--images",
210 "[SLAVE_BUILD]\\skimage\\dm",
211 "--colorImages",
212 "[SLAVE_BUILD]\\skimage\\colorspace",
213 "--nameByHash",
214 "--properties",
215 "gitHash",
216 "abc123",
217 "master",
218 "client.skia.compile",
219 "builder",
220 "Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release-Trybot",
221 "build_number",
222 "5",
223 "issue",
224 "2147533002",
225 "patchset",
226 "1",
227 "--key",
228 "arch",
229 "x86_64",
230 "compiler",
231 "MSVC",
232 "configuration",
233 "Release",
234 "cpu_or_gpu",
235 "CPU",
236 "cpu_or_gpu_value",
237 "AVX2",
238 "model",
239 "ShuttleB",
240 "os",
241 "Win8",
242 "--uninterestingHashesFile",
243 "[SLAVE_BUILD]\\tmp\\uninteresting_hashes.txt",
244 "--writePath",
245 "[CUSTOM_[SWARM_OUT_DIR]]\\dm",
246 "--nogpu",
247 "--dummy-flags"
248 ],
249 "env": {
250 "BUILDTYPE": "Release_x64",
251 "CHROME_HEADLESS": "1",
252 "GYP_DEFINES": "qt_sdk=C:/Qt/Qt5.1.0/5.1.0/msvc2012_64/ skia_arch_type=x86 _64 skia_gpu=0 skia_warnings_as_errors=0 skia_win_debuggers_path=c:/DbgHelp",
253 "SKIA_OUT": "[SLAVE_BUILD]\\out"
254 },
255 "name": "dm"
256 },
257 {
258 "name": "$result",
259 "recipe_result": null,
260 "status_code": 0
261 }
262 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698