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

Side by Side Diff: scripts/slave/recipes/infra/recipe_roll_tryjob.expected/tryjob.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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 ] 207 ]
218 }, 208 },
219 { 209 {
220 "cmd": [ 210 "cmd": [
221 "python", 211 "python",
222 "-u", 212 "-u",
223 "\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", 213 "\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",
224 "[SLAVE_BUILD]/build/build", 214 "[SLAVE_BUILD]/build/build",
225 "511" 215 "511"
226 ], 216 ],
227 "cwd": "[SLAVE_BUILD]",
228 "name": "makedirs build directory", 217 "name": "makedirs build directory",
229 "~followup_annotations": [ 218 "~followup_annotations": [
230 "@@@STEP_LOG_LINE@python.inline@@@@", 219 "@@@STEP_LOG_LINE@python.inline@@@@",
231 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 220 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
232 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 221 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
233 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 222 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
234 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 223 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
235 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 224 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
236 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 225 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
237 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 226 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 }, 278 },
290 { 279 {
291 "cmd": [ 280 "cmd": [
292 "[SLAVE_BUILD]/infra/ENV/bin/python", 281 "[SLAVE_BUILD]/infra/ENV/bin/python",
293 "-u", 282 "-u",
294 "[SLAVE_BUILD]/recipe_engine/recipe_engine/recipes.py", 283 "[SLAVE_BUILD]/recipe_engine/recipe_engine/recipes.py",
295 "--package", 284 "--package",
296 "[SLAVE_BUILD]/recipe_engine/recipe_engine/infra/config/recipes.cfg", 285 "[SLAVE_BUILD]/recipe_engine/recipe_engine/infra/config/recipes.cfg",
297 "simulation_test" 286 "simulation_test"
298 ], 287 ],
299 "cwd": "[SLAVE_BUILD]",
300 "name": "recipe_engine tests" 288 "name": "recipe_engine tests"
301 }, 289 },
302 { 290 {
303 "cmd": [ 291 "cmd": [
304 "[SLAVE_BUILD]/infra/ENV/bin/python", 292 "[SLAVE_BUILD]/infra/ENV/bin/python",
305 "-u", 293 "-u",
306 "[SLAVE_BUILD]/build/build/recipes.py", 294 "[SLAVE_BUILD]/build/build/recipes.py",
307 "-O", 295 "-O",
308 "recipe_engine=[SLAVE_BUILD]/recipe_engine/recipe_engine", 296 "recipe_engine=[SLAVE_BUILD]/recipe_engine/recipe_engine",
309 "--package", 297 "--package",
310 "[SLAVE_BUILD]/build/build/infra/config/recipes.cfg", 298 "[SLAVE_BUILD]/build/build/infra/config/recipes.cfg",
311 "simulation_test" 299 "simulation_test"
312 ], 300 ],
313 "cwd": "[SLAVE_BUILD]",
314 "name": "build tests" 301 "name": "build tests"
315 }, 302 },
316 { 303 {
317 "name": "$result", 304 "name": "$result",
318 "recipe_result": null, 305 "recipe_result": null,
319 "status_code": 0 306 "status_code": 0
320 } 307 }
321 ] 308 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698