Chromium Code Reviews

Side by Side Diff: scripts/slave/recipes/codesearch.expected/codesearch_test_fail_clang_tool.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[DEPOT_TOOLS]/gclient.py", 6 "[DEPOT_TOOLS]/gclient.py",
7 "config", 7 "config",
8 "--spec", 8 "--spec",
9 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk'}]\ntar get_os = ['android']" 9 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk'}]\ntar get_os = ['android']"
10 ], 10 ],
11 "cwd": "[SLAVE_BUILD]",
11 "name": "gclient setup" 12 "name": "gclient setup"
12 }, 13 },
13 { 14 {
14 "cmd": [ 15 "cmd": [
15 "python", 16 "python",
16 "-u", 17 "-u",
17 "[DEPOT_TOOLS]/gclient.py", 18 "[DEPOT_TOOLS]/gclient.py",
18 "sync", 19 "sync",
19 "--nohooks", 20 "--nohooks",
20 "--force", 21 "--force",
21 "--verbose", 22 "--verbose",
22 "--delete_unversioned_trees", 23 "--delete_unversioned_trees",
23 "--revision", 24 "--revision",
24 "src@refs/remotes/origin/master", 25 "src@refs/remotes/origin/master",
25 "--output-json", 26 "--output-json",
26 "/path/to/tmp/json" 27 "/path/to/tmp/json"
27 ], 28 ],
29 "cwd": "[SLAVE_BUILD]",
28 "name": "gclient sync", 30 "name": "gclient sync",
29 "~followup_annotations": [ 31 "~followup_annotations": [
30 "@@@STEP_LOG_LINE@json.output@{@@@", 32 "@@@STEP_LOG_LINE@json.output@{@@@",
31 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 33 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
32 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 34 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
33 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", 35 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
34 "@@@STEP_LOG_LINE@json.output@ }, @@@", 36 "@@@STEP_LOG_LINE@json.output@ }, @@@",
35 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", 37 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
36 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", 38 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
37 "@@@STEP_LOG_LINE@json.output@ }, @@@", 39 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 20 matching lines...)
58 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" 60 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@"
59 ] 61 ]
60 }, 62 },
61 { 63 {
62 "cmd": [ 64 "cmd": [
63 "python", 65 "python",
64 "-u", 66 "-u",
65 "[DEPOT_TOOLS]/gclient.py", 67 "[DEPOT_TOOLS]/gclient.py",
66 "runhooks" 68 "runhooks"
67 ], 69 ],
70 "cwd": "[SLAVE_BUILD]",
68 "env": { 71 "env": {
69 "GYP_CROSSCOMPILE": "1", 72 "GYP_CROSSCOMPILE": "1",
70 "GYP_DEFINES": "OS=android clang=1 component=static_library fastbuild=1 go madir='[BUILD]/goma' target_arch=arm use_goma=1", 73 "GYP_DEFINES": "OS=android clang=1 component=static_library fastbuild=1 go madir='[BUILD]/goma' target_arch=arm use_goma=1",
71 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 74 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
72 }, 75 },
73 "name": "gclient runhooks" 76 "name": "gclient runhooks"
74 }, 77 },
75 { 78 {
76 "cmd": [ 79 "cmd": [
77 "ninja", 80 "ninja",
78 "-C", 81 "-C",
79 "[SLAVE_BUILD]/src/out/Debug", 82 "[SLAVE_BUILD]/src/out/Debug",
80 "all", 83 "all",
81 "-t", 84 "-t",
82 "compdb", 85 "compdb",
83 "cc", 86 "cc",
84 "cxx", 87 "cxx",
85 "objc", 88 "objc",
86 "objcxx" 89 "objcxx"
87 ], 90 ],
91 "cwd": "[SLAVE_BUILD]",
88 "name": "generate compilation database", 92 "name": "generate compilation database",
89 "stdout": "/path/to/tmp/" 93 "stdout": "/path/to/tmp/"
90 }, 94 },
91 { 95 {
92 "cmd": [ 96 "cmd": [
93 "python", 97 "python",
94 "-u", 98 "-u",
95 "[BUILD]/scripts/slave/compile.py", 99 "[BUILD]/scripts/slave/compile.py",
96 "--target", 100 "--target",
97 "Debug", 101 "Debug",
98 "--src-dir", 102 "--src-dir",
99 "[SLAVE_BUILD]/src", 103 "[SLAVE_BUILD]/src",
100 "--build-tool", 104 "--build-tool",
101 "ninja", 105 "ninja",
102 "--compiler", 106 "--compiler",
103 "goma-clang", 107 "goma-clang",
104 "--goma-dir", 108 "--goma-dir",
105 "[BUILD]/goma", 109 "[BUILD]/goma",
106 "--", 110 "--",
107 "all" 111 "all"
108 ], 112 ],
113 "cwd": "[SLAVE_BUILD]",
109 "env": { 114 "env": {
110 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 115 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
111 }, 116 },
112 "name": "compile" 117 "name": "compile"
113 }, 118 },
114 { 119 {
115 "cmd": [ 120 "cmd": [
116 "cp", 121 "cp",
117 "some compilation data", 122 "some compilation data",
118 "[SLAVE_BUILD]/src/out/Debug/compile_commands.json" 123 "[SLAVE_BUILD]/src/out/Debug/compile_commands.json"
119 ], 124 ],
125 "cwd": "[SLAVE_BUILD]",
120 "name": "copy compilation database" 126 "name": "copy compilation database"
121 }, 127 },
122 { 128 {
123 "cmd": [ 129 "cmd": [
124 "tools/clang/scripts/update.sh", 130 "tools/clang/scripts/update.sh",
125 "--force-local-build", 131 "--force-local-build",
126 "--without-android", 132 "--without-android",
127 "--with-chrome-tools", 133 "--with-chrome-tools",
128 "translation_unit" 134 "translation_unit"
129 ], 135 ],
130 "cwd": "[SLAVE_BUILD]/src", 136 "cwd": "[SLAVE_BUILD]/src",
131 "name": "compile translation_unit clang tool" 137 "name": "compile translation_unit clang tool"
132 }, 138 },
133 { 139 {
134 "cmd": [ 140 "cmd": [
135 "python", 141 "python",
136 "-u", 142 "-u",
137 "[SLAVE_BUILD]/src/tools/clang/scripts/run_tool.py", 143 "[SLAVE_BUILD]/src/tools/clang/scripts/run_tool.py",
138 "[SLAVE_BUILD]/src/third_party/llvm-build/Release+Asserts/bin/translation_ unit", 144 "[SLAVE_BUILD]/src/third_party/llvm-build/Release+Asserts/bin/translation_ unit",
139 "[SLAVE_BUILD]/src/out/Debug", 145 "[SLAVE_BUILD]/src/out/Debug",
140 "--all" 146 "--all"
141 ], 147 ],
148 "cwd": "[SLAVE_BUILD]",
142 "name": "run translation_unit clang tool", 149 "name": "run translation_unit clang tool",
143 "~followup_annotations": [ 150 "~followup_annotations": [
144 "step returned non-zero exit code: 2", 151 "step returned non-zero exit code: 2",
145 "@@@STEP_TEXT@Step('run translation_unit clang tool') failed with return_c ode 2@@@", 152 "@@@STEP_TEXT@Step('run translation_unit clang tool') failed with return_c ode 2@@@",
146 "@@@STEP_FAILURE@@@" 153 "@@@STEP_FAILURE@@@"
147 ] 154 ]
148 }, 155 },
149 { 156 {
150 "cmd": [ 157 "cmd": [
151 "python", 158 "python",
152 "-u", 159 "-u",
153 "[BUILD]/scripts/slave/chromium/package_index.py", 160 "[BUILD]/scripts/slave/chromium/package_index.py",
154 "--path-to-compdb", 161 "--path-to-compdb",
155 "[SLAVE_BUILD]/src/out/Debug/compile_commands.json", 162 "[SLAVE_BUILD]/src/out/Debug/compile_commands.json",
156 "--path-to-archive-output", 163 "--path-to-archive-output",
157 "[SLAVE_BUILD]/src/out/Debug/index_pack.zip" 164 "[SLAVE_BUILD]/src/out/Debug/index_pack.zip"
158 ], 165 ],
166 "cwd": "[SLAVE_BUILD]",
159 "name": "create index pack" 167 "name": "create index pack"
160 }, 168 },
161 { 169 {
162 "cmd": [ 170 "cmd": [
163 "python", 171 "python",
164 "-u", 172 "-u",
165 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", 173 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
166 "[SLAVE_BUILD]/src/third_party/llvm-build" 174 "[SLAVE_BUILD]/src/third_party/llvm-build"
167 ], 175 ],
176 "cwd": "[SLAVE_BUILD]",
168 "name": "rmtree llvm-build", 177 "name": "rmtree llvm-build",
169 "~followup_annotations": [ 178 "~followup_annotations": [
170 "@@@STEP_LOG_LINE@python.inline@@@@", 179 "@@@STEP_LOG_LINE@python.inline@@@@",
171 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 180 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
172 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", 181 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@",
173 "@@@STEP_LOG_LINE@python.inline@@@@", 182 "@@@STEP_LOG_LINE@python.inline@@@@",
174 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 183 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
175 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 184 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
176 "@@@STEP_LOG_END@python.inline@@@" 185 "@@@STEP_LOG_END@python.inline@@@"
177 ] 186 ]
178 }, 187 },
179 { 188 {
180 "cmd": [ 189 "cmd": [
181 "python", 190 "python",
182 "-u", 191 "-u",
183 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 192 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
184 "--", 193 "--",
185 "[DEPOT_TOOLS]/gsutil.py", 194 "[DEPOT_TOOLS]/gsutil.py",
186 "--force-version", 195 "--force-version",
187 "3.25", 196 "3.25",
188 "--", 197 "--",
189 "cp", 198 "cp",
190 "[SLAVE_BUILD]/src/out/Debug/index_pack.zip", 199 "[SLAVE_BUILD]/src/out/Debug/index_pack.zip",
191 "gs://chrome-codesearch/index_pack_571.zip" 200 "gs://chrome-codesearch/index_pack_571.zip"
192 ], 201 ],
202 "cwd": "[SLAVE_BUILD]",
193 "name": "gsutil upload index pack", 203 "name": "gsutil upload index pack",
194 "~followup_annotations": [ 204 "~followup_annotations": [
195 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-codese arch/index_pack_571.zip@@@" 205 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-codese arch/index_pack_571.zip@@@"
196 ] 206 ]
197 }, 207 },
198 { 208 {
199 "cmd": [ 209 "cmd": [
200 "python", 210 "python",
201 "-u", 211 "-u",
202 "[BUILD]/scripts/slave/archive_source_codesearch.py", 212 "[BUILD]/scripts/slave/archive_source_codesearch.py",
203 "src", 213 "src",
204 "src-internal", 214 "src-internal",
205 "-f", 215 "-f",
206 "src.tar.bz2" 216 "src.tar.bz2"
207 ], 217 ],
218 "cwd": "[SLAVE_BUILD]",
208 "name": "archive source" 219 "name": "archive source"
209 }, 220 },
210 { 221 {
211 "cmd": [ 222 "cmd": [
212 "python", 223 "python",
213 "-u", 224 "-u",
214 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 225 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
215 "--", 226 "--",
216 "[DEPOT_TOOLS]/gsutil.py", 227 "[DEPOT_TOOLS]/gsutil.py",
217 "--force-version", 228 "--force-version",
218 "3.25", 229 "3.25",
219 "--", 230 "--",
220 "cp", 231 "cp",
221 "[SLAVE_BUILD]/src.tar.bz2", 232 "[SLAVE_BUILD]/src.tar.bz2",
222 "gs://chrome-codesearch/src_571.tar.bz2" 233 "gs://chrome-codesearch/src_571.tar.bz2"
223 ], 234 ],
235 "cwd": "[SLAVE_BUILD]",
224 "name": "gsutil upload source tarball", 236 "name": "gsutil upload source tarball",
225 "~followup_annotations": [ 237 "~followup_annotations": [
226 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-codese arch/src_571.tar.bz2@@@" 238 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-codese arch/src_571.tar.bz2@@@"
227 ] 239 ]
228 } 240 }
229 ] 241 ]
OLDNEW

Powered by Google App Engine