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

Side by Side Diff: scripts/slave/recipes/chromium.expected/dynamic_swarmed_sharded_passed_isolated_script_test.json

Issue 2330133002: Updating the SwarmingIsolatedScriptTest to upload chartjson results to the (Closed)
Patch Set: Fixing presubmit issues 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--spec", 7 "--spec",
8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src .git'}]", 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src .git'}]",
9 "--patch_root", 9 "--patch_root",
10 "src", 10 "src",
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", 192 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
193 "--output", 193 "--output",
194 "/path/to/tmp/json", 194 "/path/to/tmp/json",
195 "--", 195 "--",
196 "--build-config-fs", 196 "--build-config-fs",
197 "Release", 197 "Release",
198 "--use-src-side-runtest-py", 198 "--use-src-side-runtest-py",
199 "--paths", 199 "--paths",
200 "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO [build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/s cripts/slave/runtest.py\"}", 200 "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO [build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/s cripts/slave/runtest.py\"}",
201 "--properties", 201 "--properties",
202 "{\"buildername\": \"Linux Tests\", \"buildnumber\": 571, \"mastername\": \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"lin ux\"}" 202 "{\"buildername\": \"Linux Tests\", \"buildnumber\": \"1234\", \"masternam e\": \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"linux\"}"
203 ], 203 ],
204 "name": "get compile targets for scripts", 204 "name": "get compile targets for scripts",
205 "~followup_annotations": [ 205 "~followup_annotations": [
206 "@@@STEP_LOG_LINE@json.output@{}@@@", 206 "@@@STEP_LOG_LINE@json.output@{}@@@",
207 "@@@STEP_LOG_END@json.output@@@" 207 "@@@STEP_LOG_END@json.output@@@"
208 ] 208 ]
209 }, 209 },
210 { 210 {
211 "cmd": [ 211 "cmd": [
212 "python", 212 "python",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 "Release", 279 "Release",
280 "--src-dir", 280 "--src-dir",
281 "[SLAVE_BUILD]/src", 281 "[SLAVE_BUILD]/src",
282 "--build-url", 282 "--build-url",
283 "gs://chromium-linux-archive/chromium.linux/Linux Builder/full-build-linux .zip", 283 "gs://chromium-linux-archive/chromium.linux/Linux Builder/full-build-linux .zip",
284 "--build_revision", 284 "--build_revision",
285 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9", 285 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
286 "--master-name", 286 "--master-name",
287 "chromium.linux", 287 "chromium.linux",
288 "--build-number", 288 "--build-number",
289 "571" 289 "1234"
290 ], 290 ],
291 "name": "extract build" 291 "name": "extract build"
292 }, 292 },
293 { 293 {
294 "cmd": [ 294 "cmd": [
295 "python", 295 "python",
296 "-u", 296 "-u",
297 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", 297 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
298 "--build-dir", 298 "--build-dir",
299 "[SLAVE_BUILD]/src/out/Release", 299 "[SLAVE_BUILD]/src/out/Release",
(...skipping 21 matching lines...) Expand all
321 "trigger", 321 "trigger",
322 "--swarming", 322 "--swarming",
323 "https://chromium-swarm.appspot.com", 323 "https://chromium-swarm.appspot.com",
324 "--isolate-server", 324 "--isolate-server",
325 "https://isolateserver.appspot.com", 325 "https://isolateserver.appspot.com",
326 "--priority", 326 "--priority",
327 "25", 327 "25",
328 "--shards", 328 "--shards",
329 "2", 329 "2",
330 "--task-name", 330 "--task-name",
331 "telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Linux Tests/571", 331 "telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234",
332 "--dump-json", 332 "--dump-json",
333 "/path/to/tmp/json", 333 "/path/to/tmp/json",
334 "--expiration", 334 "--expiration",
335 "3600", 335 "3600",
336 "--io-timeout", 336 "--io-timeout",
337 "1200", 337 "1200",
338 "--hard-timeout", 338 "--hard-timeout",
339 "3600", 339 "3600",
340 "--dimension", 340 "--dimension",
341 "cpu", 341 "cpu",
342 "x86-64", 342 "x86-64",
343 "--dimension", 343 "--dimension",
344 "gpu", 344 "gpu",
345 "none", 345 "none",
346 "--dimension", 346 "--dimension",
347 "os", 347 "os",
348 "Ubuntu-12.04", 348 "Ubuntu-12.04",
349 "--dimension", 349 "--dimension",
350 "pool", 350 "pool",
351 "Chrome", 351 "Chrome",
352 "--tag", 352 "--tag",
353 "buildername:Linux Tests", 353 "buildername:Linux Tests",
354 "--tag", 354 "--tag",
355 "buildnumber:571", 355 "buildnumber:1234",
356 "--tag", 356 "--tag",
357 "data:eeeeeeeeeeeeeeeeeeeeeeeeeeeeee", 357 "data:eeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
358 "--tag", 358 "--tag",
359 "master:chromium.linux", 359 "master:chromium.linux",
360 "--tag", 360 "--tag",
361 "name:telemetry_gpu_unittests", 361 "name:telemetry_gpu_unittests",
362 "--tag", 362 "--tag",
363 "os:Ubuntu-12.04", 363 "os:Ubuntu-12.04",
364 "--tag", 364 "--tag",
365 "project:chromium", 365 "project:chromium",
366 "--tag", 366 "--tag",
367 "purpose:CI", 367 "purpose:CI",
368 "--tag", 368 "--tag",
369 "purpose:post-commit", 369 "purpose:post-commit",
370 "--tag", 370 "--tag",
371 "slavename:TestSlavename", 371 "slavename:TestSlavename",
372 "--tag", 372 "--tag",
373 "stepname:telemetry_gpu_unittests on Ubuntu-12.04", 373 "stepname:telemetry_gpu_unittests on Ubuntu-12.04",
374 "eeeeeeeeeeeeeeeeeeeeeeeeeeeeee", 374 "eeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
375 "--", 375 "--",
376 "--isolated-script-test-output=${ISOLATED_OUTDIR}/output.json", 376 "--isolated-script-test-output=${ISOLATED_OUTDIR}/output.json",
377 "--isolated-script-test-chartjson-output=${ISOLATED_OUTDIR}/chartjson-outp ut.json" 377 "--isolated-script-test-chartjson-output=${ISOLATED_OUTDIR}/chartjson-outp ut.json"
378 ], 378 ],
379 "env": { 379 "env": {
380 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 380 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
381 }, 381 },
382 "name": "[trigger] telemetry_gpu_unittests on Ubuntu-12.04", 382 "name": "[trigger] telemetry_gpu_unittests on Ubuntu-12.04",
383 "~followup_annotations": [ 383 "~followup_annotations": [
384 "@@@STEP_LOG_LINE@json.output@{@@@", 384 "@@@STEP_LOG_LINE@json.output@{@@@",
385 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"telemetry_gpu_unitte sts/Ubuntu-12.04/eeeeeeeeee/Linux Tests/571\", @@@", 385 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"telemetry_gpu_unitte sts/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234\", @@@",
386 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", 386 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
387 "@@@STEP_LOG_LINE@json.output@ \"telemetry_gpu_unittests/Ubuntu-12.04/e eeeeeeeee/Linux Tests/571:2:0\": {@@@", 387 "@@@STEP_LOG_LINE@json.output@ \"telemetry_gpu_unittests/Ubuntu-12.04/e eeeeeeeee/Linux Tests/1234:2:0\": {@@@",
388 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", 388 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
389 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", 389 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
390 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@", 390 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
391 "@@@STEP_LOG_LINE@json.output@ }, @@@", 391 "@@@STEP_LOG_LINE@json.output@ }, @@@",
392 "@@@STEP_LOG_LINE@json.output@ \"telemetry_gpu_unittests/Ubuntu-12.04/e eeeeeeeee/Linux Tests/571:2:1\": {@@@", 392 "@@@STEP_LOG_LINE@json.output@ \"telemetry_gpu_unittests/Ubuntu-12.04/e eeeeeeeee/Linux Tests/1234:2:1\": {@@@",
393 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 1, @@@", 393 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 1, @@@",
394 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10100\", @@@", 394 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10100\", @@@",
395 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10100\"@@@", 395 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10100\"@@@",
396 "@@@STEP_LOG_LINE@json.output@ }@@@", 396 "@@@STEP_LOG_LINE@json.output@ }@@@",
397 "@@@STEP_LOG_LINE@json.output@ }@@@", 397 "@@@STEP_LOG_LINE@json.output@ }@@@",
398 "@@@STEP_LOG_LINE@json.output@}@@@", 398 "@@@STEP_LOG_LINE@json.output@}@@@",
399 "@@@STEP_LOG_END@json.output@@@", 399 "@@@STEP_LOG_END@json.output@@@",
400 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@", 400 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
401 "@@@STEP_LINK@shard #1@https://chromium-swarm.appspot.com/user/task/10100@ @@" 401 "@@@STEP_LINK@shard #1@https://chromium-swarm.appspot.com/user/task/10100@ @@"
402 ] 402 ]
403 }, 403 },
404 { 404 {
405 "cmd": [ 405 "cmd": [
406 "python", 406 "python",
407 "-u", 407 "-u",
408 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", 408 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
409 "collect", 409 "collect",
410 "--swarming", 410 "--swarming",
411 "https://chromium-swarm.appspot.com", 411 "https://chromium-swarm.appspot.com",
412 "--decorate", 412 "--decorate",
413 "--print-status-updates", 413 "--print-status-updates",
414 "--json", 414 "--json",
415 "{\"base_task_name\": \"telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Li nux Tests/571\", \"tasks\": {\"telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/L inux Tests/571:2:0\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}, \"telemetry_gpu_unitte sts/Ubuntu-12.04/eeeeeeeeee/Linux Tests/571:2:1\": {\"shard_index\": 1, \"task_i d\": \"10100\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/101 00\"}}}", 415 "{\"base_task_name\": \"telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Li nux Tests/1234\", \"tasks\": {\"telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/ Linux Tests/1234:2:0\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\ ": \"https://chromium-swarm.appspot.com/user/task/10000\"}, \"telemetry_gpu_unit tests/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234:2:1\": {\"shard_index\": 1, \"tas k_id\": \"10100\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/ 10100\"}}}",
416 "--task-output-dir", 416 "--task-output-dir",
417 "/path/to/tmp/" 417 "/path/to/tmp/"
418 ], 418 ],
419 "env": { 419 "env": {
420 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 420 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
421 }, 421 },
422 "name": "telemetry_gpu_unittests on Ubuntu-12.04", 422 "name": "telemetry_gpu_unittests on Ubuntu-12.04",
423 "~followup_annotations": [ 423 "~followup_annotations": [
424 "@@@STEP_LOG_LINE@outdir_json@{@@@", 424 "@@@STEP_LOG_LINE@outdir_json@{@@@",
425 "@@@STEP_LOG_LINE@outdir_json@ \"0/chartjson-output.json\": \"{\\\"dummy\ \\": \\\"dummy0\\\", \\\"charts\\\": {\\\"entry2\\\": \\\"chart2\\\", \\\"entry1 \\\": \\\"chart1\\\"}}\", @@@", 425 "@@@STEP_LOG_LINE@outdir_json@ \"0/chartjson-output.json\": \"{\\\"dummy\ \\": \\\"dummy0\\\", \\\"enabled\\\": true, \\\"charts\\\": {\\\"entry2\\\": \\\ "chart2\\\", \\\"entry1\\\": \\\"chart1\\\"}}\", @@@",
426 "@@@STEP_LOG_LINE@outdir_json@ \"0/output.json\": \"{\\\"successes\\\": [ \\\"test1.Test1\\\", \\\"test2.Test2\\\"], \\\"failures\\\": [], \\\"valid\\\": true, \\\"times\\\": {\\\"test2.Test2\\\": 0.1, \\\"test1.Test1\\\": 0.1}}\", @@ @", 426 "@@@STEP_LOG_LINE@outdir_json@ \"0/output.json\": \"{\\\"successes\\\": [ \\\"test1.Test1\\\", \\\"test2.Test2\\\"], \\\"failures\\\": [], \\\"valid\\\": true, \\\"times\\\": {\\\"test2.Test2\\\": 0.1, \\\"test1.Test1\\\": 0.1}}\", @@ @",
427 "@@@STEP_LOG_LINE@outdir_json@ \"1/chartjson-output.json\": \"{\\\"dummy\ \\": \\\"dummy1\\\", \\\"charts\\\": {\\\"entry3\\\": \\\"chart3\\\", \\\"entry4 \\\": \\\"chart4\\\"}}\", @@@", 427 "@@@STEP_LOG_LINE@outdir_json@ \"1/chartjson-output.json\": \"{\\\"dummy\ \\": \\\"dummy1\\\", \\\"enabled\\\": true, \\\"charts\\\": {\\\"entry3\\\": \\\ "chart3\\\", \\\"entry4\\\": \\\"chart4\\\"}}\", @@@",
428 "@@@STEP_LOG_LINE@outdir_json@ \"1/output.json\": \"{\\\"successes\\\": [ \\\"test3.Test3\\\", \\\"test4.Test4\\\"], \\\"failures\\\": [], \\\"valid\\\": true, \\\"times\\\": {\\\"test3.Test3\\\": 0.1, \\\"test4.Test4\\\": 0.1}}\", @@ @", 428 "@@@STEP_LOG_LINE@outdir_json@ \"1/output.json\": \"{\\\"successes\\\": [ \\\"test3.Test3\\\", \\\"test4.Test4\\\"], \\\"failures\\\": [], \\\"valid\\\": true, \\\"times\\\": {\\\"test3.Test3\\\": 0.1, \\\"test4.Test4\\\": 0.1}}\", @@ @",
429 "@@@STEP_LOG_LINE@outdir_json@ \"summary.json\": \"{\\\"shards\\\": [{\\\ "internal_failure\\\": false, \\\"failure\\\": false, \\\"exit_code\\\": \\\"0\\ \"}, {\\\"internal_failure\\\": false, \\\"failure\\\": false, \\\"exit_code\\\" : \\\"0\\\"}]}\"@@@", 429 "@@@STEP_LOG_LINE@outdir_json@ \"summary.json\": \"{\\\"shards\\\": [{\\\ "internal_failure\\\": false, \\\"failure\\\": false, \\\"exit_code\\\": \\\"0\\ \"}, {\\\"internal_failure\\\": false, \\\"failure\\\": false, \\\"exit_code\\\" : \\\"0\\\"}]}\"@@@",
430 "@@@STEP_LOG_LINE@outdir_json@}@@@", 430 "@@@STEP_LOG_LINE@outdir_json@}@@@",
431 "@@@STEP_LOG_END@outdir_json@@@", 431 "@@@STEP_LOG_END@outdir_json@@@",
432 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@", 432 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
433 "@@@STEP_LINK@shard #1@https://chromium-swarm.appspot.com/user/task/10100@ @@" 433 "@@@STEP_LINK@shard #1@https://chromium-swarm.appspot.com/user/task/10100@ @@"
434 ] 434 ]
435 }, 435 },
436 { 436 {
437 "cmd": [
438 "python",
439 "-u",
440 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_perf_dashboard_results.py ",
441 "--results",
442 "{\"dummy\": \"dummy0\", \"enabled\": true, \"charts\": {\"entry2\": \"cha rt2\", \"entry3\": \"chart3\", \"entry1\": \"chart1\", \"entry4\": \"chart4\"}}" ,
443 "--perf-id",
444 "testid",
445 "--results-url",
446 "http://test-results-url",
447 "--build-dir",
448 "[SLAVE_BUILD]/src/out",
449 "--got-revision-cp",
450 "refs/heads/master@{#291141}",
451 "--version",
452 "v23523",
453 "--git-revision",
454 "asdfawe2342",
455 "--buildername",
456 "Linux Tests",
457 "--buildnumber",
458 "1234",
459 "--got-webrtc-revision",
460 "asdfas",
461 "--got-v8-revision",
462 "asdfadsfa4e3w"
463 ],
464 "env": {
465 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
466 },
467 "name": "Upload Perf Dashboard Results"
468 },
469 {
437 "name": "$result", 470 "name": "$result",
438 "recipe_result": null, 471 "recipe_result": null,
439 "status_code": 0 472 "status_code": 0
440 } 473 }
441 ] 474 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698