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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_fyi_CFI_Linux_CF.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]/CFI_Linux_CF", 7 "[BUILDER_CACHE]/CFI_Linux_CF",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 ], 289 ],
290 "env": { 290 "env": {
291 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 291 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
292 }, 292 },
293 "name": "compile" 293 "name": "compile"
294 }, 294 },
295 { 295 {
296 "cmd": [ 296 "cmd": [
297 "python", 297 "python",
298 "-u", 298 "-u",
299 "\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",
300 "[BUILDER_CACHE]/CFI_Linux_CF/src/out/Release/llvm-symbolizer"
301 ],
302 "name": "rmtree Purge llvm-symbolizer",
303 "~followup_annotations": [
304 "@@@STEP_LOG_LINE@python.inline@@@@",
305 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
306 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
307 "@@@STEP_LOG_LINE@python.inline@@@@",
308 "@@@STEP_LOG_LINE@python.inline@@@@",
309 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
310 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
311 "@@@STEP_LOG_END@python.inline@@@"
312 ]
313 },
314 {
315 "cmd": [
316 "python",
317 "-u",
318 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
319 "[BUILDER_CACHE]/CFI_Linux_CF/src/third_party/llvm-build/Release+Asserts/b in/llvm-symbolizer",
320 "[BUILDER_CACHE]/CFI_Linux_CF/src/out/Release"
321 ],
322 "name": "Copy llvm-symbolizer"
323 },
324 {
325 "cmd": [
326 "python",
327 "-u",
328 "\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",
329 "[BUILDER_CACHE]/CFI_Linux_CF/src/out/Release/sancov"
330 ],
331 "name": "rmtree Purge sancov",
332 "~followup_annotations": [
333 "@@@STEP_LOG_LINE@python.inline@@@@",
334 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
335 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
336 "@@@STEP_LOG_LINE@python.inline@@@@",
337 "@@@STEP_LOG_LINE@python.inline@@@@",
338 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
339 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
340 "@@@STEP_LOG_END@python.inline@@@"
341 ]
342 },
343 {
344 "cmd": [
345 "python",
346 "-u",
347 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
348 "[BUILDER_CACHE]/CFI_Linux_CF/src/third_party/llvm-build/Release+Asserts/b in/sancov",
349 "[BUILDER_CACHE]/CFI_Linux_CF/src/out/Release"
350 ],
351 "name": "Copy sancov"
352 },
353 {
354 "cmd": [
355 "python",
356 "-u",
299 "\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", 357 "\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",
300 "[BUILDER_CACHE]/CFI_Linux_CF/src/out/Release", 358 "[BUILDER_CACHE]/CFI_Linux_CF/src/out/Release",
301 "/path/to/tmp/json" 359 "/path/to/tmp/json"
302 ], 360 ],
303 "name": "listdir build_dir", 361 "name": "listdir build_dir",
304 "~followup_annotations": [ 362 "~followup_annotations": [
305 "@@@STEP_LOG_LINE@json.output@[@@@", 363 "@@@STEP_LOG_LINE@json.output@[@@@",
306 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@", 364 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@",
307 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@", 365 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@",
308 "@@@STEP_LOG_LINE@json.output@]@@@", 366 "@@@STEP_LOG_LINE@json.output@]@@@",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", 423 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
366 "@@@STEP_LOG_END@python.inline@@@" 424 "@@@STEP_LOG_END@python.inline@@@"
367 ] 425 ]
368 }, 426 },
369 { 427 {
370 "name": "$result", 428 "name": "$result",
371 "recipe_result": null, 429 "recipe_result": null,
372 "status_code": 0 430 "status_code": 0
373 } 431 }
374 ] 432 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698