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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/analyze_finds_invalid_target.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 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "tryserver.chromium.linux", 8 "tryserver.chromium.linux",
9 "--builder", 9 "--builder",
10 "linux_chromium_rel_ng", 10 "linux_chromium_rel_ng",
11 "--slave", 11 "--slave",
12 "TestSlavename", 12 "TestSlavename",
13 "--spec", 13 "--spec",
14 "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'}]", 14 "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'}]",
15 "--root", 15 "--root",
16 "src", 16 "src",
17 "--revision_mapping_file", 17 "--revision_mapping_file",
18 "{\"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\"}", 18 "{\"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\"}",
19 "--issue", 19 "--issue",
20 "12853011", 20 "12853011",
21 "--patchset", 21 "--patchset",
22 "1", 22 "1",
23 "--rietveld_server", 23 "--rietveld_server",
24 "https://codereview.chromium.org", 24 "https://codereview.chromium.org",
25 "--output_json", 25 "--output_json",
26 "/path/to/tmp/json", 26 "/path/to/tmp/json",
27 "--revision", 27 "--revision",
28 "src@HEAD" 28 "src@HEAD"
29 ], 29 ],
30 "cwd": "[SLAVE_BUILD]",
30 "name": "bot_update", 31 "name": "bot_update",
31 "~followup_annotations": [ 32 "~followup_annotations": [
32 "@@@STEP_TEXT@Some step text@@@", 33 "@@@STEP_TEXT@Some step text@@@",
33 "@@@STEP_LOG_LINE@json.output@{@@@", 34 "@@@STEP_LOG_LINE@json.output@{@@@",
34 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
35 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", 36 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
36 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", 37 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
37 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 38 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
38 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@", 39 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@",
39 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@", 40 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@",
(...skipping 26 matching lines...) Expand all
66 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" 67 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
67 ] 68 ]
68 }, 69 },
69 { 70 {
70 "cmd": [ 71 "cmd": [
71 "python", 72 "python",
72 "-u", 73 "-u",
73 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", 74 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
74 "--version" 75 "--version"
75 ], 76 ],
77 "cwd": "[SLAVE_BUILD]",
76 "name": "swarming.py --version", 78 "name": "swarming.py --version",
77 "stdout": "/path/to/tmp/", 79 "stdout": "/path/to/tmp/",
78 "~followup_annotations": [ 80 "~followup_annotations": [
79 "@@@STEP_TEXT@0.4.10@@@" 81 "@@@STEP_TEXT@0.4.10@@@"
80 ] 82 ]
81 }, 83 },
82 { 84 {
83 "cmd": [ 85 "cmd": [
84 "python", 86 "python",
85 "-u", 87 "-u",
86 "[DEPOT_TOOLS]/gclient.py", 88 "[DEPOT_TOOLS]/gclient.py",
87 "runhooks" 89 "runhooks"
88 ], 90 ],
91 "cwd": "[SLAVE_BUILD]",
89 "env": { 92 "env": {
90 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library dcheck_always _on=1 fastbuild=1 gomadir='[BUILD]/goma' target_arch=x64 test_isolation_mode=pre pare use_goma=1" 93 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library dcheck_always _on=1 fastbuild=1 gomadir='[BUILD]/goma' target_arch=x64 test_isolation_mode=pre pare use_goma=1"
91 }, 94 },
92 "name": "gclient runhooks (with patch)" 95 "name": "gclient runhooks (with patch)"
93 }, 96 },
94 { 97 {
95 "cmd": [ 98 "cmd": [
96 "python", 99 "python",
97 "-u", 100 "-u",
98 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 101 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
99 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json", 102 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json",
100 "/path/to/tmp/json" 103 "/path/to/tmp/json"
101 ], 104 ],
105 "cwd": "[SLAVE_BUILD]",
102 "name": "read test spec", 106 "name": "read test spec",
103 "~followup_annotations": [ 107 "~followup_annotations": [
104 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json @@@", 108 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json @@@",
105 "@@@STEP_LOG_LINE@json.output@{@@@", 109 "@@@STEP_LOG_LINE@json.output@{@@@",
106 "@@@STEP_LOG_LINE@json.output@ \"Linux Tests\": {@@@", 110 "@@@STEP_LOG_LINE@json.output@ \"Linux Tests\": {@@@",
107 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", 111 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
108 "@@@STEP_LOG_LINE@json.output@ \"base_unittests\"@@@", 112 "@@@STEP_LOG_LINE@json.output@ \"base_unittests\"@@@",
109 "@@@STEP_LOG_LINE@json.output@ ]@@@", 113 "@@@STEP_LOG_LINE@json.output@ ]@@@",
110 "@@@STEP_LOG_LINE@json.output@ }@@@", 114 "@@@STEP_LOG_LINE@json.output@ }@@@",
111 "@@@STEP_LOG_LINE@json.output@}@@@", 115 "@@@STEP_LOG_LINE@json.output@}@@@",
112 "@@@STEP_LOG_END@json.output@@@" 116 "@@@STEP_LOG_END@json.output@@@"
113 ] 117 ]
114 }, 118 },
115 { 119 {
116 "cmd": [ 120 "cmd": [
117 "python", 121 "python",
118 "-u", 122 "-u",
119 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", 123 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
120 "--output", 124 "--output",
121 "/path/to/tmp/json", 125 "/path/to/tmp/json",
122 "--", 126 "--",
123 "--build-config-fs", 127 "--build-config-fs",
124 "Release", 128 "Release",
125 "--paths", 129 "--paths",
126 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}", 130 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}",
127 "--properties", 131 "--properties",
128 "{\"buildername\": \"linux_chromium_rel_ng\", \"buildnumber\": 571, \"mast ername\": \"tryserver.chromium.linux\", \"slavename\": \"TestSlavename\", \"targ et_platform\": \"linux\"}" 132 "{\"buildername\": \"linux_chromium_rel_ng\", \"buildnumber\": 571, \"mast ername\": \"tryserver.chromium.linux\", \"slavename\": \"TestSlavename\", \"targ et_platform\": \"linux\"}"
129 ], 133 ],
134 "cwd": "[SLAVE_BUILD]",
130 "name": "get compile targets for scripts", 135 "name": "get compile targets for scripts",
131 "~followup_annotations": [ 136 "~followup_annotations": [
132 "@@@STEP_LOG_LINE@json.output@{}@@@", 137 "@@@STEP_LOG_LINE@json.output@{}@@@",
133 "@@@STEP_LOG_END@json.output@@@" 138 "@@@STEP_LOG_END@json.output@@@"
134 ] 139 ]
135 }, 140 },
136 { 141 {
137 "cmd": [ 142 "cmd": [
138 "killall", 143 "killall",
139 "-9", 144 "-9",
140 "gnome-keyring-daemon" 145 "gnome-keyring-daemon"
141 ], 146 ],
147 "cwd": "[SLAVE_BUILD]",
142 "name": "killall gnome-keyring-daemon" 148 "name": "killall gnome-keyring-daemon"
143 }, 149 },
144 { 150 {
145 "cmd": [ 151 "cmd": [
146 "git", 152 "git",
147 "diff", 153 "diff",
148 "--cached", 154 "--cached",
149 "--name-only" 155 "--name-only"
150 ], 156 ],
151 "cwd": "[SLAVE_BUILD]/src", 157 "cwd": "[SLAVE_BUILD]/src",
152 "name": "git diff to analyze patch", 158 "name": "git diff to analyze patch",
153 "stdout": "/path/to/tmp/", 159 "stdout": "/path/to/tmp/",
154 "~followup_annotations": [ 160 "~followup_annotations": [
155 "@@@STEP_LOG_LINE@files@foo.cc@@@", 161 "@@@STEP_LOG_LINE@files@foo.cc@@@",
156 "@@@STEP_LOG_END@files@@@" 162 "@@@STEP_LOG_END@files@@@"
157 ] 163 ]
158 }, 164 },
159 { 165 {
160 "cmd": [ 166 "cmd": [
161 "python", 167 "python",
162 "-u", 168 "-u",
163 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 169 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
164 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json", 170 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json",
165 "/path/to/tmp/json" 171 "/path/to/tmp/json"
166 ], 172 ],
173 "cwd": "[SLAVE_BUILD]",
167 "name": "read filter exclusion spec", 174 "name": "read filter exclusion spec",
168 "~followup_annotations": [ 175 "~followup_annotations": [
169 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@", 176 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
170 "@@@STEP_LOG_LINE@json.output@{@@@", 177 "@@@STEP_LOG_LINE@json.output@{@@@",
171 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@", 178 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@",
172 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@", 179 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
173 "@@@STEP_LOG_LINE@json.output@ }, @@@", 180 "@@@STEP_LOG_LINE@json.output@ }, @@@",
174 "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@", 181 "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@",
175 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@", 182 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
176 "@@@STEP_LOG_LINE@json.output@ }, @@@", 183 "@@@STEP_LOG_LINE@json.output@ }, @@@",
177 "@@@STEP_LOG_LINE@json.output@ \"ios\": {@@@", 184 "@@@STEP_LOG_LINE@json.output@ \"ios\": {@@@",
178 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@", 185 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
179 "@@@STEP_LOG_LINE@json.output@ }@@@", 186 "@@@STEP_LOG_LINE@json.output@ }@@@",
180 "@@@STEP_LOG_LINE@json.output@}@@@", 187 "@@@STEP_LOG_LINE@json.output@}@@@",
181 "@@@STEP_LOG_END@json.output@@@" 188 "@@@STEP_LOG_END@json.output@@@"
182 ] 189 ]
183 }, 190 },
184 { 191 {
185 "cmd": [ 192 "cmd": [
186 "python", 193 "python",
187 "-u", 194 "-u",
188 "[SLAVE_BUILD]/src/build/gyp_chromium", 195 "[SLAVE_BUILD]/src/build/gyp_chromium",
189 "--analyzer", 196 "--analyzer",
190 "{\"files\": [\"foo.cc\"], \"targets\": [\"angle_unittests_run\", \"base_u nittests\", \"chrome\", \"content_gl_tests_run\", \"gl_tests_run\", \"tab_captur e_end2end_tests_run\", \"telemetry_gpu_test_run\"]}", 197 "{\"files\": [\"foo.cc\"], \"targets\": [\"angle_unittests_run\", \"base_u nittests\", \"chrome\", \"content_gl_tests_run\", \"gl_tests_run\", \"tab_captur e_end2end_tests_run\", \"telemetry_gpu_test_run\"]}",
191 "/path/to/tmp/json" 198 "/path/to/tmp/json"
192 ], 199 ],
200 "cwd": "[SLAVE_BUILD]",
193 "env": { 201 "env": {
194 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library dcheck_always _on=1 fastbuild=1 gomadir='[BUILD]/goma' target_arch=x64 test_isolation_mode=pre pare use_goma=1" 202 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library dcheck_always _on=1 fastbuild=1 gomadir='[BUILD]/goma' target_arch=x64 test_isolation_mode=pre pare use_goma=1"
195 }, 203 },
196 "name": "analyze", 204 "name": "analyze",
197 "~followup_annotations": [ 205 "~followup_annotations": [
198 "@@@STEP_LOG_LINE@json.output@{@@@", 206 "@@@STEP_LOG_LINE@json.output@{@@@",
199 "@@@STEP_LOG_LINE@json.output@ \"invalid_targets\": [@@@", 207 "@@@STEP_LOG_LINE@json.output@ \"invalid_targets\": [@@@",
200 "@@@STEP_LOG_LINE@json.output@ \"invalid target\", @@@", 208 "@@@STEP_LOG_LINE@json.output@ \"invalid target\", @@@",
201 "@@@STEP_LOG_LINE@json.output@ \"another one\"@@@", 209 "@@@STEP_LOG_LINE@json.output@ \"another one\"@@@",
202 "@@@STEP_LOG_LINE@json.output@ ]@@@", 210 "@@@STEP_LOG_LINE@json.output@ ]@@@",
203 "@@@STEP_LOG_LINE@json.output@}@@@", 211 "@@@STEP_LOG_LINE@json.output@}@@@",
204 "@@@STEP_LOG_END@json.output@@@", 212 "@@@STEP_LOG_END@json.output@@@",
205 "@@@SET_BUILD_PROPERTY@failure_hash@\"3908b365fae78e6b96f5e3b38db5b33131cd e606\"@@@" 213 "@@@SET_BUILD_PROPERTY@failure_hash@\"3908b365fae78e6b96f5e3b38db5b33131cd e606\"@@@"
206 ] 214 ]
207 }, 215 },
208 { 216 {
209 "name": "$final_result", 217 "name": "$final_result",
210 "reason": "Error, following targets were not found: invalid target, another one", 218 "reason": "Error, following targets were not found: invalid target, another one",
211 "status_code": 1 219 "status_code": 1
212 } 220 }
213 ] 221 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698