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

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

Issue 2399353002: Chromium-recipe: add rmtree before copy for llvm_tools_to_copy. (Closed)
Patch Set: Added expected results generated by simulation test. 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 "\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 "[BUILDER_CACHE]/TSAN_Debug", 7 "[BUILDER_CACHE]/TSAN_Debug",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 "name": "compile", 314 "name": "compile",
315 "~followup_annotations": [ 315 "~followup_annotations": [
316 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 316 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
317 "@@@STEP_LOG_END@json.output (invalid)@@@" 317 "@@@STEP_LOG_END@json.output (invalid)@@@"
318 ] 318 ]
319 }, 319 },
320 { 320 {
321 "cmd": [ 321 "cmd": [
322 "python", 322 "python",
323 "-u", 323 "-u",
324 "\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",
325 "[BUILDER_CACHE]/TSAN_Debug/src/out/Debug/llvm-symbolizer"
326 ],
327 "name": "rmtree Purge llvm-symbolizer",
328 "~followup_annotations": [
329 "@@@STEP_LOG_LINE@python.inline@@@@",
330 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
331 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
332 "@@@STEP_LOG_LINE@python.inline@@@@",
333 "@@@STEP_LOG_LINE@python.inline@@@@",
334 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
335 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
336 "@@@STEP_LOG_END@python.inline@@@"
337 ]
338 },
339 {
340 "cmd": [
341 "python",
342 "-u",
343 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
344 "[BUILDER_CACHE]/TSAN_Debug/src/third_party/llvm-build/Release+Asserts/bin /llvm-symbolizer",
345 "[BUILDER_CACHE]/TSAN_Debug/src/out/Debug"
346 ],
347 "name": "Copy llvm-symbolizer"
348 },
349 {
350 "cmd": [
351 "python",
352 "-u",
353 "\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",
354 "[BUILDER_CACHE]/TSAN_Debug/src/out/Debug/sancov"
355 ],
356 "name": "rmtree Purge sancov",
357 "~followup_annotations": [
358 "@@@STEP_LOG_LINE@python.inline@@@@",
359 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
360 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
361 "@@@STEP_LOG_LINE@python.inline@@@@",
362 "@@@STEP_LOG_LINE@python.inline@@@@",
363 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
364 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
365 "@@@STEP_LOG_END@python.inline@@@"
366 ]
367 },
368 {
369 "cmd": [
370 "python",
371 "-u",
372 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
373 "[BUILDER_CACHE]/TSAN_Debug/src/third_party/llvm-build/Release+Asserts/bin /sancov",
374 "[BUILDER_CACHE]/TSAN_Debug/src/out/Debug"
375 ],
376 "name": "Copy sancov"
377 },
378 {
379 "cmd": [
380 "python",
381 "-u",
324 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir( sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys .argv[1]), f)\n", 382 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir( sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys .argv[1]), f)\n",
325 "[BUILDER_CACHE]/TSAN_Debug/src/out/Debug", 383 "[BUILDER_CACHE]/TSAN_Debug/src/out/Debug",
326 "/path/to/tmp/json" 384 "/path/to/tmp/json"
327 ], 385 ],
328 "name": "listdir build_dir", 386 "name": "listdir build_dir",
329 "~followup_annotations": [ 387 "~followup_annotations": [
330 "@@@STEP_LOG_LINE@json.output@[@@@", 388 "@@@STEP_LOG_LINE@json.output@[@@@",
331 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@", 389 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@",
332 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@", 390 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@",
333 "@@@STEP_LOG_LINE@json.output@]@@@", 391 "@@@STEP_LOG_LINE@json.output@]@@@",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", 448 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
391 "@@@STEP_LOG_END@python.inline@@@" 449 "@@@STEP_LOG_END@python.inline@@@"
392 ] 450 ]
393 }, 451 },
394 { 452 {
395 "name": "$result", 453 "name": "$result",
396 "recipe_result": null, 454 "recipe_result": null,
397 "status_code": 0 455 "status_code": 0
398 } 456 }
399 ] 457 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698