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

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

Issue 2424793005: Add key params for buildbotless bots in DM/nanobench (Closed)
Patch Set: rebase Created 4 years, 2 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
« no previous file with comments | « infra/bots/recipes/swarm_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\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", 6 "\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",
7 "[SLAVE_BUILD]/tmp", 7 "[SLAVE_BUILD]/tmp",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs tmp_dir", 10 "name": "makedirs tmp_dir",
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@", 168 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@",
169 "@@@STEP_LOG_LINE@python.inline@ raise@@@", 169 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
170 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret ry)@@@", 170 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret ry)@@@",
171 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim e@@@", 171 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim e@@@",
172 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", 172 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@",
173 "@@@STEP_LOG_END@python.inline@@@" 173 "@@@STEP_LOG_END@python.inline@@@"
174 ] 174 ]
175 }, 175 },
176 { 176 {
177 "cmd": [ 177 "cmd": [
178 "catchsegv", 178 "python",
179 "-u",
180 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
181 ],
182 "name": "get swarming bot id",
183 "stdout": "/path/to/tmp/",
184 "~followup_annotations": [
185 "@@@STEP_LOG_LINE@python.inline@import os@@@",
186 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '' )@@@",
187 "@@@STEP_LOG_END@python.inline@@@"
188 ]
189 },
190 {
191 "cmd": [
192 "python",
193 "-u",
194 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
195 ],
196 "name": "get swarming task id",
197 "stdout": "/path/to/tmp/",
198 "~followup_annotations": [
199 "@@@STEP_LOG_LINE@python.inline@import os@@@",
200 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', ' ')@@@",
201 "@@@STEP_LOG_END@python.inline@@@"
202 ]
203 },
204 {
205 "cmd": [
179 "[SLAVE_BUILD]/out/Debug/dm", 206 "[SLAVE_BUILD]/out/Debug/dm",
180 "--undefok", 207 "--undefok",
181 "--resourcePath", 208 "--resourcePath",
182 "[SLAVE_BUILD]/skia/resources", 209 "[SLAVE_BUILD]/skia/resources",
183 "--skps", 210 "--skps",
184 "[SLAVE_BUILD]/skp", 211 "[SLAVE_BUILD]/skp",
185 "--images", 212 "--images",
186 "[SLAVE_BUILD]/skimage/dm", 213 "[SLAVE_BUILD]/skimage/dm",
187 "--colorImages", 214 "--colorImages",
188 "[SLAVE_BUILD]/skimage/colorspace", 215 "[SLAVE_BUILD]/skimage/colorspace",
189 "--nameByHash", 216 "--nameByHash",
190 "--properties", 217 "--properties",
191 "gitHash", 218 "gitHash",
192 "abc123", 219 "abc123",
193 "master", 220 "master",
194 "client.skia", 221 "client.skia",
195 "builder", 222 "builder",
196 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug-Trybot", 223 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug-Trybot",
197 "build_number", 224 "build_number",
198 "5", 225 "5",
199 "issue", 226 "issue",
200 "2100", 227 "2100",
201 "patchset", 228 "patchset",
202 "2", 229 "2",
203 "patch_storage", 230 "patch_storage",
204 "gerrit", 231 "gerrit",
232 "no_buildbot",
233 "True",
234 "swarming_bot_id",
235 "skia-bot-123",
236 "swarming_task_id",
237 "123456",
205 "--svgs", 238 "--svgs",
206 "[SLAVE_BUILD]/svg", 239 "[SLAVE_BUILD]/svg",
207 "--key", 240 "--key",
208 "arch", 241 "arch",
209 "x86", 242 "x86",
210 "compiler", 243 "compiler",
211 "GCC", 244 "GCC",
212 "configuration", 245 "configuration",
213 "Debug", 246 "Debug",
214 "cpu_or_gpu", 247 "cpu_or_gpu",
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 "gamut", 485 "gamut",
453 "2ndpic-8888", 486 "2ndpic-8888",
454 "gm", 487 "gm",
455 "_", 488 "_",
456 "gamut", 489 "gamut",
457 "serialize-8888", 490 "serialize-8888",
458 "gm", 491 "gm",
459 "_", 492 "_",
460 "gamut" 493 "gamut"
461 ], 494 ],
462 "cwd": "[SLAVE_BUILD]/skia", 495 "env": {
496 "BUILDTYPE": "Debug",
497 "CHROME_HEADLESS": "1",
498 "SKIA_OUT": "[SLAVE_BUILD]/out"
499 },
463 "name": "dm" 500 "name": "dm"
464 }, 501 },
465 { 502 {
466 "name": "$result", 503 "name": "$result",
467 "recipe_result": null, 504 "recipe_result": null,
468 "status_code": 0 505 "status_code": 0
469 } 506 }
470 ] 507 ]
OLDNEW
« no previous file with comments | « infra/bots/recipes/swarm_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698