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

Side by Side Diff: scripts/slave/recipes/infra/recipe_roll_tryjob.expected/one_patch.json

Issue 1930433002: Roll recipe dependencies (nontrivial). (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: Rebase Created 4 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "/opt/infra-tools/authutil", 4 "/opt/infra-tools/authutil",
5 "token" 5 "token"
6 ], 6 ],
7 "cwd": "[SLAVE_BUILD]",
8 "name": "Get auth token", 7 "name": "Get auth token",
9 "stdout": "/path/to/tmp/" 8 "stdout": "/path/to/tmp/"
10 }, 9 },
11 { 10 {
12 "cmd": [ 11 "cmd": [
13 "python", 12 "python",
14 "-u", 13 "-u",
15 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 14 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
16 "config", 15 "config",
17 "--spec", 16 "--spec",
18 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infr a.git'}]" 17 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infr a.git'}]"
19 ], 18 ],
20 "cwd": "[SLAVE_BUILD]",
21 "env": { 19 "env": {
22 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 20 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
23 }, 21 },
24 "name": "gclient setup" 22 "name": "gclient setup"
25 }, 23 },
26 { 24 {
27 "cmd": [ 25 "cmd": [
28 "python", 26 "python",
29 "-u", 27 "-u",
30 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
31 "sync", 29 "sync",
32 "--verbose", 30 "--verbose",
33 "--with_branch_heads", 31 "--with_branch_heads",
34 "--nohooks", 32 "--nohooks",
35 "-j8", 33 "-j8",
36 "--reset", 34 "--reset",
37 "--force", 35 "--force",
38 "--upstream", 36 "--upstream",
39 "--no-nag-max", 37 "--no-nag-max",
40 "--delete_unversioned_trees", 38 "--delete_unversioned_trees",
41 "--revision", 39 "--revision",
42 "infra@origin/master", 40 "infra@origin/master",
43 "--output-json", 41 "--output-json",
44 "/path/to/tmp/json" 42 "/path/to/tmp/json"
45 ], 43 ],
46 "cwd": "[SLAVE_BUILD]",
47 "env": { 44 "env": {
48 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 45 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
49 }, 46 },
50 "name": "gclient sync", 47 "name": "gclient sync",
51 "~followup_annotations": [ 48 "~followup_annotations": [
52 "@@@STEP_LOG_LINE@json.output@{@@@", 49 "@@@STEP_LOG_LINE@json.output@{@@@",
53 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 50 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
54 "@@@STEP_LOG_LINE@json.output@ \"infra/\": {@@@", 51 "@@@STEP_LOG_LINE@json.output@ \"infra/\": {@@@",
55 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e03a58dc0850e5137a8eb bce29610670c756aed\"@@@", 52 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e03a58dc0850e5137a8eb bce29610670c756aed\"@@@",
56 "@@@STEP_LOG_LINE@json.output@ }@@@", 53 "@@@STEP_LOG_LINE@json.output@ }@@@",
57 "@@@STEP_LOG_LINE@json.output@ }@@@", 54 "@@@STEP_LOG_LINE@json.output@ }@@@",
58 "@@@STEP_LOG_LINE@json.output@}@@@", 55 "@@@STEP_LOG_LINE@json.output@}@@@",
59 "@@@STEP_LOG_END@json.output@@@", 56 "@@@STEP_LOG_END@json.output@@@",
60 "@@@SET_BUILD_PROPERTY@got_revision@\"5e03a58dc0850e5137a8ebbce29610670c75 6aed\"@@@" 57 "@@@SET_BUILD_PROPERTY@got_revision@\"5e03a58dc0850e5137a8ebbce29610670c75 6aed\"@@@"
61 ] 58 ]
62 }, 59 },
63 { 60 {
64 "cmd": [ 61 "cmd": [
65 "python", 62 "python",
66 "-u", 63 "-u",
67 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 64 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
68 "recurse", 65 "recurse",
69 "git", 66 "git",
70 "config", 67 "config",
71 "user.name", 68 "user.name",
72 "local_bot" 69 "local_bot"
73 ], 70 ],
74 "cwd": "[SLAVE_BUILD]",
75 "env": { 71 "env": {
76 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 72 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
77 }, 73 },
78 "name": "gclient recurse (git config user.name)" 74 "name": "gclient recurse (git config user.name)"
79 }, 75 },
80 { 76 {
81 "cmd": [ 77 "cmd": [
82 "python", 78 "python",
83 "-u", 79 "-u",
84 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 80 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
85 "recurse", 81 "recurse",
86 "git", 82 "git",
87 "config", 83 "config",
88 "user.email", 84 "user.email",
89 "local_bot@example.com" 85 "local_bot@example.com"
90 ], 86 ],
91 "cwd": "[SLAVE_BUILD]",
92 "env": { 87 "env": {
93 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 88 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
94 }, 89 },
95 "name": "gclient recurse (git config user.email)" 90 "name": "gclient recurse (git config user.email)"
96 }, 91 },
97 { 92 {
98 "cmd": [ 93 "cmd": [
99 "python", 94 "python",
100 "-u", 95 "-u",
101 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 96 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
102 "runhooks" 97 "runhooks"
103 ], 98 ],
104 "cwd": "[SLAVE_BUILD]",
105 "env": { 99 "env": {
106 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 100 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
107 }, 101 },
108 "name": "gclient runhooks" 102 "name": "gclient runhooks"
109 }, 103 },
110 { 104 {
111 "cmd": [ 105 "cmd": [
112 "python", 106 "python",
113 "-u", 107 "-u",
114 "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py", 108 "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py",
115 "https://luci-config.appspot.com/_ah/api/config/v1/projects", 109 "https://luci-config.appspot.com/_ah/api/config/v1/projects",
116 "--outfile", 110 "--outfile",
117 "/path/to/tmp/", 111 "/path/to/tmp/",
118 "--headers-json", 112 "--headers-json",
119 "{\"Authorization\": \"Bearer ya29.foobar\"}" 113 "{\"Authorization\": \"Bearer ya29.foobar\"}"
120 ], 114 ],
121 "cwd": "[SLAVE_BUILD]",
122 "name": "Get luci-config projects" 115 "name": "Get luci-config projects"
123 }, 116 },
124 { 117 {
125 "cmd": [ 118 "cmd": [
126 "python", 119 "python",
127 "-u", 120 "-u",
128 "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py", 121 "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py",
129 "https://luci-config.appspot.com//_ah/api/config/v1/config_sets/projects%2 Frecipe_engine%2Frefs%2Fheads%2Fmaster/config/recipes.cfg", 122 "https://luci-config.appspot.com//_ah/api/config/v1/config_sets/projects%2 Frecipe_engine%2Frefs%2Fheads%2Fmaster/config/recipes.cfg",
130 "--outfile", 123 "--outfile",
131 "/path/to/tmp/", 124 "/path/to/tmp/",
132 "--headers-json", 125 "--headers-json",
133 "{\"Authorization\": \"Bearer ya29.foobar\"}" 126 "{\"Authorization\": \"Bearer ya29.foobar\"}"
134 ], 127 ],
135 "cwd": "[SLAVE_BUILD]",
136 "name": "Get project 'recipe_engine' config 'recipes.cfg'" 128 "name": "Get project 'recipe_engine' config 'recipes.cfg'"
137 }, 129 },
138 { 130 {
139 "cmd": [ 131 "cmd": [
140 "python", 132 "python",
141 "-u", 133 "-u",
142 "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py", 134 "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py",
143 "https://luci-config.appspot.com//_ah/api/config/v1/config_sets/projects%2 Fbuild%2Frefs%2Fheads%2Fmaster/config/recipes.cfg", 135 "https://luci-config.appspot.com//_ah/api/config/v1/config_sets/projects%2 Fbuild%2Frefs%2Fheads%2Fmaster/config/recipes.cfg",
144 "--outfile", 136 "--outfile",
145 "/path/to/tmp/", 137 "/path/to/tmp/",
146 "--headers-json", 138 "--headers-json",
147 "{\"Authorization\": \"Bearer ya29.foobar\"}" 139 "{\"Authorization\": \"Bearer ya29.foobar\"}"
148 ], 140 ],
149 "cwd": "[SLAVE_BUILD]",
150 "name": "Get project 'build' config 'recipes.cfg'" 141 "name": "Get project 'build' config 'recipes.cfg'"
151 }, 142 },
152 { 143 {
153 "cmd": [ 144 "cmd": [
154 "python", 145 "python",
155 "-u", 146 "-u",
156 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 147 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
157 "[SLAVE_BUILD]/recipe_engine/recipe_engine", 148 "[SLAVE_BUILD]/recipe_engine/recipe_engine",
158 "511" 149 "511"
159 ], 150 ],
160 "cwd": "[SLAVE_BUILD]",
161 "name": "makedirs recipe_engine directory", 151 "name": "makedirs recipe_engine directory",
162 "~followup_annotations": [ 152 "~followup_annotations": [
163 "@@@STEP_LOG_LINE@python.inline@@@@", 153 "@@@STEP_LOG_LINE@python.inline@@@@",
164 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 154 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
165 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 155 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
166 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 156 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
167 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 157 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
168 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 158 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
169 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 159 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
170 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 160 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 ] 205 ]
216 }, 206 },
217 { 207 {
218 "cmd": [ 208 "cmd": [
219 "python", 209 "python",
220 "-u", 210 "-u",
221 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 211 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
222 "[SLAVE_BUILD]/build/build", 212 "[SLAVE_BUILD]/build/build",
223 "511" 213 "511"
224 ], 214 ],
225 "cwd": "[SLAVE_BUILD]",
226 "name": "makedirs build directory", 215 "name": "makedirs build directory",
227 "~followup_annotations": [ 216 "~followup_annotations": [
228 "@@@STEP_LOG_LINE@python.inline@@@@", 217 "@@@STEP_LOG_LINE@python.inline@@@@",
229 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 218 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
230 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 219 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
231 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 220 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
232 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 221 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
233 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 222 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
234 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 223 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
235 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 224 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 }, 276 },
288 { 277 {
289 "cmd": [ 278 "cmd": [
290 "[SLAVE_BUILD]/infra/ENV/bin/python", 279 "[SLAVE_BUILD]/infra/ENV/bin/python",
291 "-u", 280 "-u",
292 "[SLAVE_BUILD]/recipe_engine/recipe_engine/recipes.py", 281 "[SLAVE_BUILD]/recipe_engine/recipe_engine/recipes.py",
293 "--package", 282 "--package",
294 "[SLAVE_BUILD]/recipe_engine/recipe_engine/infra/config/recipes.cfg", 283 "[SLAVE_BUILD]/recipe_engine/recipe_engine/infra/config/recipes.cfg",
295 "simulation_test" 284 "simulation_test"
296 ], 285 ],
297 "cwd": "[SLAVE_BUILD]",
298 "name": "recipe_engine tests" 286 "name": "recipe_engine tests"
299 }, 287 },
300 { 288 {
301 "cmd": [ 289 "cmd": [
302 "[SLAVE_BUILD]/infra/ENV/bin/python", 290 "[SLAVE_BUILD]/infra/ENV/bin/python",
303 "-u", 291 "-u",
304 "[SLAVE_BUILD]/build/build/recipes.py", 292 "[SLAVE_BUILD]/build/build/recipes.py",
305 "--package", 293 "--package",
306 "[SLAVE_BUILD]/build/build/infra/config/recipes.cfg", 294 "[SLAVE_BUILD]/build/build/infra/config/recipes.cfg",
307 "simulation_test" 295 "simulation_test"
308 ], 296 ],
309 "cwd": "[SLAVE_BUILD]",
310 "name": "build tests" 297 "name": "build tests"
311 }, 298 },
312 { 299 {
313 "name": "$result", 300 "name": "$result",
314 "recipe_result": null, 301 "recipe_result": null,
315 "status_code": 0 302 "status_code": 0
316 } 303 }
317 ] 304 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698