OLD | NEW |
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 "--master", | 7 "--master", |
8 "client.drmemory", | 8 "client.drmemory", |
9 "--builder", | 9 "--builder", |
10 "win-vista_x64-drm", | 10 "win-vista_x64-drm", |
11 "--slave", | 11 "--slave", |
12 "TestSlave", | 12 "TestSlave", |
13 "--spec", | 13 "--spec", |
14 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'custom_deps'
: {'drmemory/dynamorio': 'https://github.com/DynamoRIO/dynamorio.git', 'tools/bu
ildbot': 'https://github.com/DynamoRIO/buildbot.git'}, 'deps_file': '.DEPS.git',
'managed': True, 'name': 'drmemory', 'url': 'https://github.com/DynamoRIO/drmem
ory.git'}]", | 14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_deps': {'drmemory/dynamo
rio': 'https://github.com/DynamoRIO/dynamorio.git', 'tools/buildbot': 'https://g
ithub.com/DynamoRIO/buildbot.git'}, 'deps_file': '.DEPS.git', 'managed': True, '
name': 'drmemory', 'url': 'https://github.com/DynamoRIO/drmemory.git'}]", |
15 "--root", | 15 "--root", |
16 "drmemory", | 16 "drmemory", |
17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
18 "{}", | 18 "{}", |
19 "--git-cache-dir", | 19 "--git-cache-dir", |
20 "[ROOT]/b/build/slave/cache_dir", | 20 "[GIT_CACHE]", |
21 "--output_json", | 21 "--output_json", |
22 "/path/to/tmp/json", | 22 "/path/to/tmp/json", |
23 "--revision", | 23 "--revision", |
24 "drmemory@123456789abcdef", | 24 "drmemory@123456789abcdef", |
25 "--force", | 25 "--force", |
26 "--output_manifest" | 26 "--output_manifest" |
27 ], | 27 ], |
| 28 "cwd": "[SLAVE_BUILD]", |
28 "env": { | 29 "env": { |
29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 30 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
30 }, | 31 }, |
31 "name": "bot_update", | 32 "name": "bot_update", |
32 "~followup_annotations": [ | 33 "~followup_annotations": [ |
33 "@@@STEP_TEXT@Some step text@@@", | 34 "@@@STEP_TEXT@Some step text@@@", |
34 "@@@STEP_LOG_LINE@json.output@{@@@", | 35 "@@@STEP_LOG_LINE@json.output@{@@@", |
35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 36 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 37 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
37 "@@@STEP_LOG_LINE@json.output@ \"drmemory\": \"123456789abcdef\"@@@", | 38 "@@@STEP_LOG_LINE@json.output@ \"drmemory\": \"123456789abcdef\"@@@", |
38 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 39 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
39 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@", | 40 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@", |
40 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | 41 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
41 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"drmemory\", @@@", | 42 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"drmemory\", @@@", |
42 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", | 43 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", |
43 "@@@STEP_LOG_LINE@json.output@ \"root\": \"drmemory\", @@@", | 44 "@@@STEP_LOG_LINE@json.output@ \"root\": \"drmemory\", @@@", |
44 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | 45 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", |
45 "@@@STEP_LOG_LINE@json.output@}@@@", | 46 "@@@STEP_LOG_LINE@json.output@}@@@", |
46 "@@@STEP_LOG_END@json.output@@@" | 47 "@@@STEP_LOG_END@json.output@@@" |
47 ] | 48 ] |
48 }, | 49 }, |
49 { | 50 { |
50 "cmd": [ | 51 "cmd": [ |
51 "[CWD]/tools/buildbot/bot_tools/unpack.bat" | 52 "[SLAVE_BUILD]/tools/buildbot/bot_tools/unpack.bat" |
52 ], | 53 ], |
53 "cwd": "[CWD]/tools/buildbot/bot_tools", | 54 "cwd": "[SLAVE_BUILD]/tools/buildbot/bot_tools", |
54 "name": "unpack tools" | 55 "name": "unpack tools" |
55 }, | 56 }, |
56 { | 57 { |
57 "cmd": [ | 58 "cmd": [ |
58 "[ROOT]/b/build/scripts/slave/drmemory/build_env.bat", | 59 "[BUILD]/scripts/slave/drmemory/build_env.bat", |
59 "ctest", | 60 "ctest", |
60 "--timeout", | 61 "--timeout", |
61 "60", | 62 "60", |
62 "-VV", | 63 "-VV", |
63 "-S", | 64 "-S", |
64 "[CWD]/drmemory/tests/runsuite.cmake,drmemory_only;long;build=42" | 65 "[SLAVE_BUILD]/drmemory/tests/runsuite.cmake,drmemory_only;long;build=42" |
65 ], | 66 ], |
| 67 "cwd": "[SLAVE_BUILD]", |
66 "name": "Dr. Memory ctest" | 68 "name": "Dr. Memory ctest" |
67 }, | 69 }, |
68 { | 70 { |
69 "cmd": [ | 71 "cmd": [ |
70 "svn", | 72 "svn", |
71 "checkout", | 73 "checkout", |
72 "--force", | 74 "--force", |
73 "http://data-race-test.googlecode.com/svn/trunk/", | 75 "http://data-race-test.googlecode.com/svn/trunk/", |
74 "[CWD]/tsan" | 76 "[SLAVE_BUILD]/tsan" |
75 ], | 77 ], |
| 78 "cwd": "[SLAVE_BUILD]", |
76 "name": "Checkout TSan tests" | 79 "name": "Checkout TSan tests" |
77 }, | 80 }, |
78 { | 81 { |
79 "cmd": [ | 82 "cmd": [ |
80 "E:\\b\\build\\scripts\\slave\\drmemory\\build_env.bat", | 83 "E:\\b\\build\\scripts\\slave\\drmemory\\build_env.bat", |
81 "make", | 84 "make", |
82 "-C", | 85 "-C", |
83 "[CWD]/tsan/unittest" | 86 "[SLAVE_BUILD]/tsan/unittest" |
84 ], | 87 ], |
| 88 "cwd": "[SLAVE_BUILD]", |
85 "env": { | 89 "env": { |
86 "BOTTOOLS": "[CWD]/tools/buildbot/bot_tools", | 90 "BOTTOOLS": "[SLAVE_BUILD]/tools/buildbot/bot_tools", |
87 "CYGWIN": "nodosfilewarning" | 91 "CYGWIN": "nodosfilewarning" |
88 }, | 92 }, |
89 "name": "Build TSan Tests" | 93 "name": "Build TSan Tests" |
90 }, | 94 }, |
91 { | 95 { |
92 "cmd": [ | 96 "cmd": [ |
93 "[ROOT]/b/build/scripts/slave/drmemory/build_env.bat", | 97 "[BUILD]/scripts/slave/drmemory/build_env.bat", |
94 "build_drmemory-dbg-32\\bin\\drmemory", | 98 "build_drmemory-dbg-32\\bin\\drmemory", |
95 "-dr_ops", | 99 "-dr_ops", |
96 "-msgbox_mask 0 -stderr_mask 15", | 100 "-msgbox_mask 0 -stderr_mask 15", |
97 "-results_to_stderr", | 101 "-results_to_stderr", |
98 "-batch", | 102 "-batch", |
99 "-suppress", | 103 "-suppress", |
100 "[CWD]/drmemory/tests/app_suite/default-suppressions.txt", | 104 "[SLAVE_BUILD]/drmemory/tests/app_suite/default-suppressions.txt", |
101 "--", | 105 "--", |
102 "[CWD]/tsan/unittest/bin/racecheck_unittest-windows-x86-O0.exe", | 106 "[SLAVE_BUILD]/tsan/unittest/bin/racecheck_unittest-windows-x86-O0.exe", |
103 "--gtest_filter=-PositiveTests.FreeVsRead:NegativeTests.WaitForMultiple*", | 107 "--gtest_filter=-PositiveTests.FreeVsRead:NegativeTests.WaitForMultiple*", |
104 "-147" | 108 "-147" |
105 ], | 109 ], |
| 110 "cwd": "[SLAVE_BUILD]", |
106 "env": { | 111 "env": { |
107 "BOTTOOLS": "[CWD]/tools/buildbot/bot_tools" | 112 "BOTTOOLS": "[SLAVE_BUILD]/tools/buildbot/bot_tools" |
108 }, | 113 }, |
109 "name": "dbg full TSan tests" | 114 "name": "dbg full TSan tests" |
110 }, | 115 }, |
111 { | 116 { |
112 "cmd": [ | 117 "cmd": [ |
113 "[ROOT]/b/build/scripts/slave/drmemory/build_env.bat", | 118 "[BUILD]/scripts/slave/drmemory/build_env.bat", |
114 "build_drmemory-dbg-32\\bin\\drmemory", | 119 "build_drmemory-dbg-32\\bin\\drmemory", |
115 "-dr_ops", | 120 "-dr_ops", |
116 "-msgbox_mask 0 -stderr_mask 15", | 121 "-msgbox_mask 0 -stderr_mask 15", |
117 "-results_to_stderr", | 122 "-results_to_stderr", |
118 "-batch", | 123 "-batch", |
119 "-suppress", | 124 "-suppress", |
120 "[CWD]/drmemory/tests/app_suite/default-suppressions.txt", | 125 "[SLAVE_BUILD]/drmemory/tests/app_suite/default-suppressions.txt", |
121 "-light", | 126 "-light", |
122 "--", | 127 "--", |
123 "[CWD]/tsan/unittest/bin/racecheck_unittest-windows-x86-O0.exe", | 128 "[SLAVE_BUILD]/tsan/unittest/bin/racecheck_unittest-windows-x86-O0.exe", |
124 "--gtest_filter=-PositiveTests.FreeVsRead:NegativeTests.WaitForMultiple*", | 129 "--gtest_filter=-PositiveTests.FreeVsRead:NegativeTests.WaitForMultiple*", |
125 "-147" | 130 "-147" |
126 ], | 131 ], |
| 132 "cwd": "[SLAVE_BUILD]", |
127 "env": { | 133 "env": { |
128 "BOTTOOLS": "[CWD]/tools/buildbot/bot_tools" | 134 "BOTTOOLS": "[SLAVE_BUILD]/tools/buildbot/bot_tools" |
129 }, | 135 }, |
130 "name": "dbg light TSan tests" | 136 "name": "dbg light TSan tests" |
131 }, | 137 }, |
132 { | 138 { |
133 "cmd": [ | 139 "cmd": [ |
134 "[ROOT]/b/build/scripts/slave/drmemory/build_env.bat", | 140 "[BUILD]/scripts/slave/drmemory/build_env.bat", |
135 "build_drmemory-rel-32\\bin\\drmemory", | 141 "build_drmemory-rel-32\\bin\\drmemory", |
136 "-dr_ops", | 142 "-dr_ops", |
137 "-msgbox_mask 0 -stderr_mask 15", | 143 "-msgbox_mask 0 -stderr_mask 15", |
138 "-results_to_stderr", | 144 "-results_to_stderr", |
139 "-batch", | 145 "-batch", |
140 "-suppress", | 146 "-suppress", |
141 "[CWD]/drmemory/tests/app_suite/default-suppressions.txt", | 147 "[SLAVE_BUILD]/drmemory/tests/app_suite/default-suppressions.txt", |
142 "--", | 148 "--", |
143 "[CWD]/tsan/unittest/bin/racecheck_unittest-windows-x86-O0.exe", | 149 "[SLAVE_BUILD]/tsan/unittest/bin/racecheck_unittest-windows-x86-O0.exe", |
144 "--gtest_filter=-PositiveTests.FreeVsRead:NegativeTests.WaitForMultiple*", | 150 "--gtest_filter=-PositiveTests.FreeVsRead:NegativeTests.WaitForMultiple*", |
145 "-147" | 151 "-147" |
146 ], | 152 ], |
| 153 "cwd": "[SLAVE_BUILD]", |
147 "env": { | 154 "env": { |
148 "BOTTOOLS": "[CWD]/tools/buildbot/bot_tools" | 155 "BOTTOOLS": "[SLAVE_BUILD]/tools/buildbot/bot_tools" |
149 }, | 156 }, |
150 "name": "rel full TSan tests" | 157 "name": "rel full TSan tests" |
151 }, | 158 }, |
152 { | 159 { |
153 "cmd": [ | 160 "cmd": [ |
154 "[ROOT]/b/build/scripts/slave/drmemory/build_env.bat", | 161 "[BUILD]/scripts/slave/drmemory/build_env.bat", |
155 "build_drmemory-rel-32\\bin\\drmemory", | 162 "build_drmemory-rel-32\\bin\\drmemory", |
156 "-dr_ops", | 163 "-dr_ops", |
157 "-msgbox_mask 0 -stderr_mask 15", | 164 "-msgbox_mask 0 -stderr_mask 15", |
158 "-results_to_stderr", | 165 "-results_to_stderr", |
159 "-batch", | 166 "-batch", |
160 "-suppress", | 167 "-suppress", |
161 "[CWD]/drmemory/tests/app_suite/default-suppressions.txt", | 168 "[SLAVE_BUILD]/drmemory/tests/app_suite/default-suppressions.txt", |
162 "-light", | 169 "-light", |
163 "--", | 170 "--", |
164 "[CWD]/tsan/unittest/bin/racecheck_unittest-windows-x86-O0.exe", | 171 "[SLAVE_BUILD]/tsan/unittest/bin/racecheck_unittest-windows-x86-O0.exe", |
165 "--gtest_filter=-PositiveTests.FreeVsRead:NegativeTests.WaitForMultiple*", | 172 "--gtest_filter=-PositiveTests.FreeVsRead:NegativeTests.WaitForMultiple*", |
166 "-147" | 173 "-147" |
167 ], | 174 ], |
| 175 "cwd": "[SLAVE_BUILD]", |
168 "env": { | 176 "env": { |
169 "BOTTOOLS": "[CWD]/tools/buildbot/bot_tools" | 177 "BOTTOOLS": "[SLAVE_BUILD]/tools/buildbot/bot_tools" |
170 }, | 178 }, |
171 "name": "rel light TSan tests" | 179 "name": "rel light TSan tests" |
172 }, | 180 }, |
173 { | 181 { |
174 "cmd": [ | 182 "cmd": [ |
175 "[ROOT]/b/build/scripts/slave/drmemory/build_env.bat", | 183 "[BUILD]/scripts/slave/drmemory/build_env.bat", |
176 "build_drmemory-dbg-32\\bin\\drmemory", | 184 "build_drmemory-dbg-32\\bin\\drmemory", |
177 "-dr_ops", | 185 "-dr_ops", |
178 "-msgbox_mask 0 -stderr_mask 15", | 186 "-msgbox_mask 0 -stderr_mask 15", |
179 "-results_to_stderr", | 187 "-results_to_stderr", |
180 "-batch", | 188 "-batch", |
181 "-suppress", | 189 "-suppress", |
182 "[CWD]/drmemory/tests/app_suite/default-suppressions.txt", | 190 "[SLAVE_BUILD]/drmemory/tests/app_suite/default-suppressions.txt", |
183 "--", | 191 "--", |
184 "[CWD]/tsan/unittest/bin/racecheck_unittest-windows-x86-O0.exe", | 192 "[SLAVE_BUILD]/tsan/unittest/bin/racecheck_unittest-windows-x86-O0.exe", |
185 "--gtest_filter=-PositiveTests.FreeVsRead:NegativeTests.WaitForMultiple*", | 193 "--gtest_filter=-PositiveTests.FreeVsRead:NegativeTests.WaitForMultiple*", |
186 "-147" | 194 "-147" |
187 ], | 195 ], |
| 196 "cwd": "[SLAVE_BUILD]", |
188 "env": { | 197 "env": { |
189 "BOTTOOLS": "[CWD]/tools/buildbot/bot_tools" | 198 "BOTTOOLS": "[SLAVE_BUILD]/tools/buildbot/bot_tools" |
190 }, | 199 }, |
191 "name": "dbg full nosyms TSan tests" | 200 "name": "dbg full nosyms TSan tests" |
192 }, | 201 }, |
193 { | 202 { |
194 "cmd": [ | 203 "cmd": [ |
195 "[ROOT]/b/build/scripts/slave/drmemory/build_env.bat", | 204 "[BUILD]/scripts/slave/drmemory/build_env.bat", |
196 "7z", | 205 "7z", |
197 "a", | 206 "a", |
198 "-xr!*.pdb", | 207 "-xr!*.pdb", |
199 "testlogs_r123456789abcdef_b42.7z", | 208 "testlogs_r123456789abcdef_b42.7z", |
200 "build_drmemory-dbg-32/logs", | 209 "build_drmemory-dbg-32/logs", |
201 "build_drmemory-dbg-32/Testing/Temporary", | 210 "build_drmemory-dbg-32/Testing/Temporary", |
202 "build_drmemory-rel-32/logs", | 211 "build_drmemory-rel-32/logs", |
203 "build_drmemory-rel-32/Testing/Temporary", | 212 "build_drmemory-rel-32/Testing/Temporary", |
204 "build_drmemory-dbg-64/logs", | 213 "build_drmemory-dbg-64/logs", |
205 "build_drmemory-dbg-64/Testing/Temporary", | 214 "build_drmemory-dbg-64/Testing/Temporary", |
206 "build_drmemory-rel-64/logs", | 215 "build_drmemory-rel-64/logs", |
207 "build_drmemory-rel-64/Testing/Temporary", | 216 "build_drmemory-rel-64/Testing/Temporary", |
208 "xmlresults" | 217 "xmlresults" |
209 ], | 218 ], |
| 219 "cwd": "[SLAVE_BUILD]", |
210 "env": { | 220 "env": { |
211 "BOTTOOLS": "[CWD]/tools/buildbot/bot_tools" | 221 "BOTTOOLS": "[SLAVE_BUILD]/tools/buildbot/bot_tools" |
212 }, | 222 }, |
213 "name": "Pack test results" | 223 "name": "Pack test results" |
214 }, | 224 }, |
215 { | 225 { |
216 "cmd": [ | 226 "cmd": [ |
217 "python", | 227 "python", |
218 "-u", | 228 "-u", |
219 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 229 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
220 "--", | 230 "--", |
221 "[ROOT]/b/depot_tools/gsutil.py", | 231 "[DEPOT_TOOLS]/gsutil.py", |
222 "----", | 232 "----", |
223 "cp", | 233 "cp", |
224 "testlogs_r123456789abcdef_b42.7z", | 234 "testlogs_r123456789abcdef_b42.7z", |
225 "gs://chromium-drmemory-builds/testlogs/from_win-vista_x64-drm" | 235 "gs://chromium-drmemory-builds/testlogs/from_win-vista_x64-drm" |
226 ], | 236 ], |
| 237 "cwd": "[SLAVE_BUILD]", |
227 "name": "gsutil upload", | 238 "name": "gsutil upload", |
228 "~followup_annotations": [ | 239 "~followup_annotations": [ |
229 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium-drme
mory-builds/testlogs/from_win-vista_x64-drm@@@" | 240 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium-drme
mory-builds/testlogs/from_win-vista_x64-drm@@@" |
230 ] | 241 ] |
231 }, | 242 }, |
232 { | 243 { |
233 "name": "$result", | 244 "name": "$result", |
234 "recipe_result": null, | 245 "recipe_result": null, |
235 "status_code": 0 | 246 "status_code": 0 |
236 } | 247 } |
237 ] | 248 ] |
OLD | NEW |