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

Side by Side Diff: scripts/slave/recipes/chromium.expected/goma_with_diagnose_goma_failure.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. 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 "[DEPOT_TOOLS]/gclient.py", 6 "[DEPOT_TOOLS]/gclient.py",
7 "sync", 7 "sync",
8 "--verbose", 8 "--verbose",
9 "--force", 9 "--force",
10 "--revision", 10 "--revision",
(...skipping 17 matching lines...) Expand all
28 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]", 28 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]",
29 "--root", 29 "--root",
30 "src", 30 "src",
31 "--revision_mapping_file", 31 "--revision_mapping_file",
32 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}", 32 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}",
33 "--output_json", 33 "--output_json",
34 "/path/to/tmp/json", 34 "/path/to/tmp/json",
35 "--revision", 35 "--revision",
36 "src@HEAD" 36 "src@HEAD"
37 ], 37 ],
38 "cwd": "[SLAVE_BUILD]",
38 "name": "bot_update", 39 "name": "bot_update",
39 "~followup_annotations": [ 40 "~followup_annotations": [
40 "@@@STEP_TEXT@Some step text@@@", 41 "@@@STEP_TEXT@Some step text@@@",
41 "@@@STEP_LOG_LINE@json.output@{@@@", 42 "@@@STEP_LOG_LINE@json.output@{@@@",
42 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 43 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
43 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", 44 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
44 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", 45 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
45 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 46 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
46 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@", 47 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@",
47 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@", 48 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@",
(...skipping 26 matching lines...) Expand all
74 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" 75 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
75 ] 76 ]
76 }, 77 },
77 { 78 {
78 "cmd": [ 79 "cmd": [
79 "python", 80 "python",
80 "-u", 81 "-u",
81 "[DEPOT_TOOLS]/gclient.py", 82 "[DEPOT_TOOLS]/gclient.py",
82 "runhooks" 83 "runhooks"
83 ], 84 ],
85 "cwd": "[SLAVE_BUILD]",
84 "env": { 86 "env": {
85 "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arc h=ia32 use_goma=1" 87 "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arc h=ia32 use_goma=1"
86 }, 88 },
87 "name": "gclient runhooks" 89 "name": "gclient runhooks"
88 }, 90 },
89 { 91 {
90 "cmd": [ 92 "cmd": [
91 "python", 93 "python",
92 "-u", 94 "-u",
93 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 95 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
94 "[SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json", 96 "[SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json",
95 "/path/to/tmp/json" 97 "/path/to/tmp/json"
96 ], 98 ],
99 "cwd": "[SLAVE_BUILD]",
97 "name": "read test spec", 100 "name": "read test spec",
98 "~followup_annotations": [ 101 "~followup_annotations": [
99 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json@@ @", 102 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json@@ @",
100 "@@@STEP_LOG_LINE@json.output@{}@@@", 103 "@@@STEP_LOG_LINE@json.output@{}@@@",
101 "@@@STEP_LOG_END@json.output@@@" 104 "@@@STEP_LOG_END@json.output@@@"
102 ] 105 ]
103 }, 106 },
104 { 107 {
105 "cmd": [ 108 "cmd": [
106 "python", 109 "python",
107 "-u", 110 "-u",
108 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", 111 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
109 "--output", 112 "--output",
110 "/path/to/tmp/json", 113 "/path/to/tmp/json",
111 "--", 114 "--",
112 "--build-config-fs", 115 "--build-config-fs",
113 "Release", 116 "Release",
114 "--paths", 117 "--paths",
115 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}", 118 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}",
116 "--properties", 119 "--properties",
117 "{\"buildername\": \"CrWinGoma\", \"buildnumber\": 571, \"mastername\": \" chromium.fyi\", \"slavename\": \"TestSlavename\", \"target_platform\": \"linux\" }" 120 "{\"buildername\": \"CrWinGoma\", \"buildnumber\": 571, \"mastername\": \" chromium.fyi\", \"slavename\": \"TestSlavename\", \"target_platform\": \"linux\" }"
118 ], 121 ],
122 "cwd": "[SLAVE_BUILD]",
119 "name": "get compile targets for scripts", 123 "name": "get compile targets for scripts",
120 "~followup_annotations": [ 124 "~followup_annotations": [
121 "@@@STEP_LOG_LINE@json.output@{}@@@", 125 "@@@STEP_LOG_LINE@json.output@{}@@@",
122 "@@@STEP_LOG_END@json.output@@@" 126 "@@@STEP_LOG_END@json.output@@@"
123 ] 127 ]
124 }, 128 },
125 { 129 {
126 "cmd": [ 130 "cmd": [
127 "python", 131 "python",
128 "-u", 132 "-u",
129 "[BUILD]/scripts/slave/cleanup_temp.py" 133 "[BUILD]/scripts/slave/cleanup_temp.py"
130 ], 134 ],
135 "cwd": "[SLAVE_BUILD]",
131 "name": "cleanup_temp" 136 "name": "cleanup_temp"
132 }, 137 },
133 { 138 {
134 "cmd": [ 139 "cmd": [
135 "python", 140 "python",
136 "-u", 141 "-u",
137 "[BUILD]/scripts/slave/compile.py", 142 "[BUILD]/scripts/slave/compile.py",
138 "--target", 143 "--target",
139 "Release", 144 "Release",
140 "--src-dir", 145 "--src-dir",
141 "[SLAVE_BUILD]/src", 146 "[SLAVE_BUILD]/src",
142 "--build-tool", 147 "--build-tool",
143 "ninja", 148 "ninja",
144 "--compiler", 149 "--compiler",
145 "goma", 150 "goma",
146 "--goma-dir", 151 "--goma-dir",
147 "[BUILD]/goma", 152 "[BUILD]/goma",
148 "--goma-hermetic", 153 "--goma-hermetic",
149 "error", 154 "error",
150 "--", 155 "--",
151 "base_unittests", 156 "base_unittests",
152 "chromium_builder_tests", 157 "chromium_builder_tests",
153 "content_unittests" 158 "content_unittests"
154 ], 159 ],
160 "cwd": "[SLAVE_BUILD]",
155 "name": "compile" 161 "name": "compile"
156 }, 162 },
157 { 163 {
158 "cmd": [ 164 "cmd": [
159 "python", 165 "python",
160 "-u", 166 "-u",
161 "[BUILD]/goma/diagnose_goma_log.py" 167 "[BUILD]/goma/diagnose_goma_log.py"
162 ], 168 ],
169 "cwd": "[SLAVE_BUILD]",
163 "name": "diagnose_goma", 170 "name": "diagnose_goma",
164 "~followup_annotations": [ 171 "~followup_annotations": [
165 "step returned non-zero exit code: 1", 172 "step returned non-zero exit code: 1",
166 "@@@STEP_FAILURE@@@" 173 "@@@STEP_FAILURE@@@"
167 ] 174 ]
168 }, 175 },
169 { 176 {
170 "allow_subannotations": true, 177 "allow_subannotations": true,
171 "cmd": [ 178 "cmd": [
172 "python", 179 "python",
173 "-u", 180 "-u",
174 "[BUILD]/scripts/slave/runtest.py", 181 "[BUILD]/scripts/slave/runtest.py",
175 "--target", 182 "--target",
176 "Release", 183 "Release",
177 "--xvfb", 184 "--xvfb",
178 "--factory-properties", 185 "--factory-properties",
179 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"CrWinGoma\", \"buildnumber\": 571, \"mastername\": \"chromium.f yi\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \ "/path/to/workdir/TestSlavename\"}", 186 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"CrWinGoma\", \"buildnumber\": 571, \"mastername\": \"chromium.f yi\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \ "/path/to/workdir/TestSlavename\"}",
180 "--build-properties", 187 "--build-properties",
181 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"CrWinGoma\", \"buildnumber\": 571, \"mastername\": \"chromium.f yi\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \ "/path/to/workdir/TestSlavename\"}", 188 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"CrWinGoma\", \"buildnumber\": 571, \"mastername\": \"chromium.f yi\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \ "/path/to/workdir/TestSlavename\"}",
182 "--annotate=gtest", 189 "--annotate=gtest",
183 "--test-type=base_unittests", 190 "--test-type=base_unittests",
184 "--test-launcher-summary-output", 191 "--test-launcher-summary-output",
185 "/path/to/tmp/json", 192 "/path/to/tmp/json",
186 "--builder-name=CrWinGoma", 193 "--builder-name=CrWinGoma",
187 "--slave-name=TestSlavename", 194 "--slave-name=TestSlavename",
188 "--build-number=571", 195 "--build-number=571",
189 "base_unittests" 196 "base_unittests"
190 ], 197 ],
198 "cwd": "[SLAVE_BUILD]",
191 "name": "base_unittests" 199 "name": "base_unittests"
192 }, 200 },
193 { 201 {
194 "allow_subannotations": true, 202 "allow_subannotations": true,
195 "cmd": [ 203 "cmd": [
196 "python", 204 "python",
197 "-u", 205 "-u",
198 "[BUILD]/scripts/slave/runtest.py", 206 "[BUILD]/scripts/slave/runtest.py",
199 "--target", 207 "--target",
200 "Release", 208 "Release",
201 "--xvfb", 209 "--xvfb",
202 "--factory-properties", 210 "--factory-properties",
203 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"CrWinGoma\", \"buildnumber\": 571, \"mastername\": \"chromium.f yi\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \ "/path/to/workdir/TestSlavename\"}", 211 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"CrWinGoma\", \"buildnumber\": 571, \"mastername\": \"chromium.f yi\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \ "/path/to/workdir/TestSlavename\"}",
204 "--build-properties", 212 "--build-properties",
205 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"CrWinGoma\", \"buildnumber\": 571, \"mastername\": \"chromium.f yi\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \ "/path/to/workdir/TestSlavename\"}", 213 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"CrWinGoma\", \"buildnumber\": 571, \"mastername\": \"chromium.f yi\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \ "/path/to/workdir/TestSlavename\"}",
206 "--annotate=gtest", 214 "--annotate=gtest",
207 "--test-type=content_unittests", 215 "--test-type=content_unittests",
208 "--test-launcher-summary-output", 216 "--test-launcher-summary-output",
209 "/path/to/tmp/json", 217 "/path/to/tmp/json",
210 "--builder-name=CrWinGoma", 218 "--builder-name=CrWinGoma",
211 "--slave-name=TestSlavename", 219 "--slave-name=TestSlavename",
212 "--build-number=571", 220 "--build-number=571",
213 "content_unittests" 221 "content_unittests"
214 ], 222 ],
223 "cwd": "[SLAVE_BUILD]",
215 "name": "content_unittests" 224 "name": "content_unittests"
216 }, 225 },
217 { 226 {
218 "name": "$final_result", 227 "name": "$final_result",
219 "reason": "1 tests failed: ['diagnose_goma']", 228 "reason": "1 tests failed: ['diagnose_goma']",
220 "status_code": 1 229 "status_code": 1
221 } 230 }
222 ] 231 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698