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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/local_test.json

Issue 1694383003: build: Bot_update refactor recipe roll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 10 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]", 9 "cwd": "[SLAVE_BUILD]",
10 "name": "cleanup index.lock", 10 "name": "cleanup index.lock",
(...skipping 10 matching lines...) Expand all
21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@", 21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
23 "@@@STEP_LOG_END@python.inline@@@" 23 "@@@STEP_LOG_END@python.inline@@@"
24 ] 24 ]
25 }, 25 },
26 { 26 {
27 "cmd": [ 27 "cmd": [
28 "python", 28 "python",
29 "-u", 29 "-u",
30 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 30 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
31 "--master",
32 "chromium.testing.master",
33 "--builder",
34 "local_test",
35 "--slave",
36 "TestSlavename",
37 "--spec", 31 "--spec",
38 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg et_os = ['android']", 32 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg et_os = ['android']",
39 "--root", 33 "--root",
40 "src", 34 "src",
41 "--revision_mapping_file", 35 "--revision_mapping_file",
42 "{}", 36 "{}",
43 "--git-cache-dir", 37 "--git-cache-dir",
44 "[GIT_CACHE]", 38 "[GIT_CACHE]",
45 "--output_json", 39 "--output_json",
46 "/path/to/tmp/json", 40 "/path/to/tmp/json",
47 "--revision", 41 "--revision",
48 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 42 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
49 "--output_manifest" 43 "--output_manifest"
50 ], 44 ],
51 "cwd": "[SLAVE_BUILD]", 45 "cwd": "[SLAVE_BUILD]",
52 "env": { 46 "env": {
53 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 47 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]"
54 }, 48 },
55 "name": "bot_update", 49 "name": "bot_update",
56 "~followup_annotations": [ 50 "~followup_annotations": [
51 "@@@STEP_TEXT@Some step text@@@",
57 "@@@STEP_LOG_LINE@json.output@{@@@", 52 "@@@STEP_LOG_LINE@json.output@{@@@",
58 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", 53 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
59 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", 54 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
55 "@@@STEP_LOG_LINE@json.output@ \"src\": \"4f4b02f6b7fa20a3a25682c457bbc 8ad589c8a00\"@@@",
56 "@@@STEP_LOG_LINE@json.output@ }, @@@",
57 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@",
58 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
59 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
60 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@",
61 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
60 "@@@STEP_LOG_LINE@json.output@}@@@", 63 "@@@STEP_LOG_LINE@json.output@}@@@",
61 "@@@STEP_LOG_END@json.output@@@" 64 "@@@STEP_LOG_END@json.output@@@"
62 ] 65 ]
63 }, 66 },
64 { 67 {
65 "cmd": [ 68 "cmd": [
66 "python", 69 "python",
67 "-u", 70 "-u",
68 "RECIPE_PACKAGE[depot_tools]/gclient.py",
69 "config",
70 "--spec",
71 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg et_os = ['android']"
72 ],
73 "cwd": "[SLAVE_BUILD]",
74 "env": {
75 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]"
76 },
77 "name": "gclient setup"
78 },
79 {
80 "cmd": [
81 "python",
82 "-u",
83 "RECIPE_PACKAGE[depot_tools]/gclient.py",
84 "sync",
85 "--nohooks",
86 "--force",
87 "--verbose",
88 "--delete_unversioned_trees",
89 "--revision",
90 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
91 "--output-json",
92 "/path/to/tmp/json"
93 ],
94 "cwd": "[SLAVE_BUILD]",
95 "env": {
96 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]"
97 },
98 "name": "gclient sync",
99 "~followup_annotations": [
100 "@@@STEP_LOG_LINE@json.output@{@@@",
101 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
102 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
103 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
104 "@@@STEP_LOG_LINE@json.output@ }, @@@",
105 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
106 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
107 "@@@STEP_LOG_LINE@json.output@ }, @@@",
108 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle/\": {@@@",
109 "@@@STEP_LOG_LINE@json.output@ \"revision\": 297276@@@",
110 "@@@STEP_LOG_LINE@json.output@ }, @@@",
111 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc/\": {@@@",
112 "@@@STEP_LOG_LINE@json.output@ \"revision\": 120644@@@",
113 "@@@STEP_LOG_LINE@json.output@ }, @@@",
114 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client/\": {@@@",
115 "@@@STEP_LOG_LINE@json.output@ \"revision\": 276089@@@",
116 "@@@STEP_LOG_LINE@json.output@ }, @@@",
117 "@@@STEP_LOG_LINE@json.output@ \"src/v8/\": {@@@",
118 "@@@STEP_LOG_LINE@json.output@ \"revision\": 43426@@@",
119 "@@@STEP_LOG_LINE@json.output@ }@@@",
120 "@@@STEP_LOG_LINE@json.output@ }@@@",
121 "@@@STEP_LOG_LINE@json.output@}@@@",
122 "@@@STEP_LOG_END@json.output@@@",
123 "@@@SET_BUILD_PROPERTY@got_nacl_revision@274981@@@",
124 "@@@SET_BUILD_PROPERTY@got_src_revision@170242@@@",
125 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@",
126 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@",
127 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@",
128 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@"
129 ]
130 },
131 {
132 "cmd": [
133 "python",
134 "-u",
135 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n", 71 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n",
136 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", 72 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps",
137 "[SLAVE_BUILD]/src/out/Debug/test_logs", 73 "[SLAVE_BUILD]/src/out/Debug/test_logs",
138 "[SLAVE_BUILD]/src/out/build_product.zip", 74 "[SLAVE_BUILD]/src/out/build_product.zip",
139 "[SLAVE_BUILD]/src" 75 "[SLAVE_BUILD]/src"
140 ], 76 ],
141 "cwd": "[SLAVE_BUILD]", 77 "cwd": "[SLAVE_BUILD]",
142 "name": "clean local files", 78 "name": "clean local files",
143 "~followup_annotations": [ 79 "~followup_annotations": [
144 "@@@STEP_LOG_LINE@python.inline@@@@", 80 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 548 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
613 "@@@STEP_LOG_END@python.inline@@@" 549 "@@@STEP_LOG_END@python.inline@@@"
614 ] 550 ]
615 }, 551 },
616 { 552 {
617 "name": "$result", 553 "name": "$result",
618 "recipe_result": null, 554 "recipe_result": null,
619 "status_code": 0 555 "status_code": 0
620 } 556 }
621 ] 557 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698