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

Side by Side Diff: infra/bots/recipes/swarm_ct_skps.expected/CT_DM_10k_SKPs_Trybot.json

Issue 2448973002: Change recipes to use bot_update (Closed)
Patch Set: Clean Created 4 years, 1 month 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 "python", 4 "python",
5 "-u", 5 "-u",
6 "\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", 6 "\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",
7 "[CUSTOM_/_B_WORK]", 7 "[CUSTOM_/_B_WORK]",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout_path", 10 "name": "makedirs checkout_path",
11 "~followup_annotations": [ 11 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@", 12 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
21 "@@@STEP_LOG_END@python.inline@@@" 21 "@@@STEP_LOG_END@python.inline@@@"
22 ] 22 ]
23 }, 23 },
24 { 24 {
25 "cmd": [ 25 "cmd": [
26 "python", 26 "python",
27 "-u", 27 "-u",
28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
29 "config",
30 "--spec", 29 "--spec",
31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}]" 30 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}]",
31 "--patch_root",
32 "skia",
33 "--revision_mapping_file",
34 "{\"skia\": \"got_revision\"}",
35 "--git-cache-dir",
36 "[CUSTOM_/_B_CACHE]",
37 "--issue",
38 "1499623002",
39 "--patchset",
40 "1",
41 "--rietveld_server",
42 "codereview.chromium.org",
43 "--output_json",
44 "/path/to/tmp/json",
45 "--revision",
46 "skia@origin/master",
47 "--output_manifest"
32 ], 48 ],
33 "cwd": "[CUSTOM_/_B_WORK]", 49 "cwd": "[CUSTOM_/_B_WORK]",
34 "env": { 50 "env": {
35 "BUILDTYPE": "Debug", 51 "BUILDTYPE": "Debug",
36 "CHROME_HEADLESS": "1", 52 "CHROME_HEADLESS": "1",
37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", 53 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
38 "SKIA_OUT": "[SLAVE_BUILD]/out" 54 "SKIA_OUT": "[SLAVE_BUILD]/out"
39 }, 55 },
40 "name": "gclient setup" 56 "name": "bot_update",
41 },
42 {
43 "cmd": [
44 "python",
45 "-u",
46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
47 "sync",
48 "--verbose",
49 "--with_branch_heads",
50 "--nohooks",
51 "-j8",
52 "--reset",
53 "--force",
54 "--upstream",
55 "--no-nag-max",
56 "--delete_unversioned_trees",
57 "--revision",
58 "skia@origin/master",
59 "--output-json",
60 "/path/to/tmp/json"
61 ],
62 "cwd": "[CUSTOM_/_B_WORK]",
63 "env": {
64 "BUILDTYPE": "Debug",
65 "CHROME_HEADLESS": "1",
66 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
67 "SKIA_OUT": "[SLAVE_BUILD]/out"
68 },
69 "name": "gclient sync",
70 "~followup_annotations": [ 57 "~followup_annotations": [
58 "@@@STEP_TEXT@Some step text@@@",
71 "@@@STEP_LOG_LINE@json.output@{@@@", 59 "@@@STEP_LOG_LINE@json.output@{@@@",
72 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 60 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
73 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 61 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
62 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"origin/master\"@@@",
63 "@@@STEP_LOG_LINE@json.output@ }, @@@",
64 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@",
66 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/ski a.git\", @@@",
74 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@", 67 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@",
75 "@@@STEP_LOG_LINE@json.output@ }@@@", 68 "@@@STEP_LOG_LINE@json.output@ }@@@",
76 "@@@STEP_LOG_LINE@json.output@ }@@@", 69 "@@@STEP_LOG_LINE@json.output@ }, @@@",
70 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
71 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@",
72 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
73 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e97 2b694580e5d17ad10748\", @@@",
74 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#164710}\"@@@",
75 "@@@STEP_LOG_LINE@json.output@ }, @@@",
76 "@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@",
77 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
77 "@@@STEP_LOG_LINE@json.output@}@@@", 78 "@@@STEP_LOG_LINE@json.output@}@@@",
78 "@@@STEP_LOG_END@json.output@@@", 79 "@@@STEP_LOG_END@json.output@@@",
79 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1 0748\"@@@" 80 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1 0748\"@@@",
81 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
80 ] 82 ]
81 }, 83 },
82 { 84 {
83 "cmd": [
84 "python",
85 "-u",
86 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
87 "recurse",
88 "git",
89 "config",
90 "user.name",
91 "local_bot"
92 ],
93 "cwd": "[CUSTOM_/_B_WORK]",
94 "env": {
95 "BUILDTYPE": "Debug",
96 "CHROME_HEADLESS": "1",
97 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
98 "SKIA_OUT": "[SLAVE_BUILD]/out"
99 },
100 "name": "gclient recurse (git config user.name)"
101 },
102 {
103 "cmd": [
104 "python",
105 "-u",
106 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
107 "recurse",
108 "git",
109 "config",
110 "user.email",
111 "local_bot@example.com"
112 ],
113 "cwd": "[CUSTOM_/_B_WORK]",
114 "env": {
115 "BUILDTYPE": "Debug",
116 "CHROME_HEADLESS": "1",
117 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
118 "SKIA_OUT": "[SLAVE_BUILD]/out"
119 },
120 "name": "gclient recurse (git config user.email)"
121 },
122 {
123 "cmd": [
124 "python",
125 "-u",
126 "[DEPOT_TOOLS]/apply_issue.py",
127 "-r",
128 "[CUSTOM_/_B_WORK]/skia",
129 "-i",
130 "1499623002",
131 "-p",
132 "1",
133 "-s",
134 "codereview.chromium.org",
135 "--no-auth"
136 ],
137 "name": "apply_issue",
138 "~followup_annotations": [
139 "@@@STEP_LINK@Applied issue 1499623002@1499623002@@@"
140 ]
141 },
142 {
143 "cmd": [ 85 "cmd": [
144 "python", 86 "python",
145 "-u", 87 "-u",
146 "\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", 88 "\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 "[SLAVE_BUILD]/tmp", 89 "[SLAVE_BUILD]/tmp",
148 "511" 90 "511"
149 ], 91 ],
150 "name": "makedirs tmp_dir", 92 "name": "makedirs tmp_dir",
151 "~followup_annotations": [ 93 "~followup_annotations": [
152 "@@@STEP_LOG_LINE@python.inline@@@@", 94 "@@@STEP_LOG_LINE@python.inline@@@@",
153 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 95 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
154 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 96 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
155 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 97 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
156 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 98 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
157 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 99 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
158 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 100 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
159 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 101 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
160 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 102 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
161 "@@@STEP_LOG_END@python.inline@@@" 103 "@@@STEP_LOG_END@python.inline@@@"
162 ] 104 ]
163 }, 105 },
164 { 106 {
165 "cmd": [ 107 "cmd": [
166 "python", 108 "python",
167 "-u", 109 "-u",
168 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" 110 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn"
169 ], 111 ],
170 "cwd": "[CUSTOM_/_B_WORK]/skia", 112 "cwd": "[CUSTOM_/_B_WORK]/skia",
171 "env": { 113 "env": {
172 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" 114 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
173 }, 115 },
174 "name": "fetch-gn" 116 "name": "fetch-gn"
175 }, 117 },
176 { 118 {
177 "cmd": [ 119 "cmd": [
178 "gn", 120 "gn",
179 "gen", 121 "gen",
180 "[SLAVE_BUILD]/out/Debug", 122 "[SLAVE_BUILD]/out/Debug",
181 "--args=cc=\"gcc\" cxx=\"g++\"" 123 "--args=cc=\"gcc\" cxx=\"g++\""
182 ], 124 ],
183 "cwd": "[CUSTOM_/_B_WORK]/skia", 125 "cwd": "[CUSTOM_/_B_WORK]/skia",
184 "env": { 126 "env": {
185 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" 127 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
186 }, 128 },
187 "name": "gn gen" 129 "name": "gn gen"
188 }, 130 },
189 { 131 {
190 "cmd": [ 132 "cmd": [
191 "ninja", 133 "ninja",
192 "-C", 134 "-C",
193 "[SLAVE_BUILD]/out/Debug" 135 "[SLAVE_BUILD]/out/Debug"
194 ], 136 ],
195 "cwd": "[CUSTOM_/_B_WORK]/skia", 137 "cwd": "[CUSTOM_/_B_WORK]/skia",
196 "env": { 138 "env": {
197 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" 139 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
198 }, 140 },
199 "name": "ninja" 141 "name": "ninja"
200 }, 142 },
201 { 143 {
202 "cmd": [ 144 "cmd": [
203 "python", 145 "python",
204 "-u", 146 "-u",
205 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'get _images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '* .so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell .ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs( dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i n glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.d irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n", 147 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'get _images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '* .so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell .ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs( dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i n glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.d irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n",
206 "[SLAVE_BUILD]/out/Debug", 148 "[SLAVE_BUILD]/out/Debug",
207 "[CUSTOM_/_B_WORK]/skia/infra/bots/ct" 149 "[CUSTOM_/_B_WORK]/skia/infra/bots/ct"
(...skipping 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after
1631 "@@@STEP_LINK@shard #0 isolated out@blah@@@", 1573 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
1632 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@" 1574 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
1633 ] 1575 ]
1634 }, 1576 },
1635 { 1577 {
1636 "name": "$result", 1578 "name": "$result",
1637 "recipe_result": null, 1579 "recipe_result": null,
1638 "status_code": 0 1580 "status_code": 0
1639 } 1581 }
1640 ] 1582 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698