OLD | NEW |
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 "[SLAVE_BUILD]\\skia\\tools\\buildbot_spec.py", |
7 "[CUSTOM_C:\\_B_WORK]", | 7 "/path/to/tmp/json", |
8 "511" | 8 "Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot" |
9 ], | 9 ], |
10 "name": "makedirs checkout_path", | 10 "cwd": "[SLAVE_BUILD]\\skia", |
11 "~followup_annotations": [ | |
12 "@@@STEP_LOG_LINE@python.inline@@@@", | |
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(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@@@", | |
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
21 "@@@STEP_LOG_END@python.inline@@@" | |
22 ] | |
23 }, | |
24 { | |
25 "cmd": [ | |
26 "python", | |
27 "-u", | |
28 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", | |
29 "config", | |
30 "--spec", | |
31 "cache_dir = '[CUSTOM_C:\\\\_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS',
'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi
t'}]\ntarget_os = ['llvm']" | |
32 ], | |
33 "cwd": "[CUSTOM_C:\\_B_WORK]", | |
34 "env": { | |
35 "CHROME_HEADLESS": "1", | |
36 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]", | |
37 "PYTHONPATH": "[BUILD]\\scripts" | |
38 }, | |
39 "name": "gclient setup" | |
40 }, | |
41 { | |
42 "cmd": [ | |
43 "python", | |
44 "-u", | |
45 "[BUILD]\\scripts\\slave\\gclient_safe_revert.py", | |
46 ".", | |
47 "[DEPOT_TOOLS]\\gclient.bat" | |
48 ], | |
49 "cwd": "[CUSTOM_C:\\_B_WORK]", | |
50 "env": { | |
51 "CHROME_HEADLESS": "1", | |
52 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]", | |
53 "PYTHONPATH": "[BUILD]\\scripts" | |
54 }, | |
55 "name": "gclient revert" | |
56 }, | |
57 { | |
58 "cmd": [ | |
59 "python", | |
60 "-u", | |
61 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", | |
62 "sync", | |
63 "--nohooks", | |
64 "--force", | |
65 "--verbose", | |
66 "--delete_unversioned_trees", | |
67 "--revision", | |
68 "skia@abc123", | |
69 "--output-json", | |
70 "/path/to/tmp/json" | |
71 ], | |
72 "cwd": "[CUSTOM_C:\\_B_WORK]", | |
73 "env": { | |
74 "CHROME_HEADLESS": "1", | |
75 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep
ot_tools]", | |
76 "PYTHONPATH": "[BUILD]\\scripts" | |
77 }, | |
78 "name": "gclient sync", | |
79 "~followup_annotations": [ | |
80 "@@@STEP_LOG_LINE@json.output@{@@@", | |
81 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | |
82 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | |
83 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | |
84 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
85 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
86 "@@@STEP_LOG_LINE@json.output@}@@@", | |
87 "@@@STEP_LOG_END@json.output@@@", | |
88 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | |
89 ] | |
90 }, | |
91 { | |
92 "cmd": [ | |
93 "python", | |
94 "-u", | |
95 "[DEPOT_TOOLS]\\apply_issue.py", | |
96 "-r", | |
97 "[CUSTOM_C:\\_B_WORK]\\skia", | |
98 "-i", | |
99 "2147533002", | |
100 "-p", | |
101 "1", | |
102 "-s", | |
103 "https://codereview.chromium.org", | |
104 "--no-auth" | |
105 ], | |
106 "name": "apply_issue", | |
107 "~followup_annotations": [ | |
108 "@@@STEP_LINK@Applied issue 2147533002@https://codereview.chromium.org/214
7533002@@@" | |
109 ] | |
110 }, | |
111 { | |
112 "cmd": [ | |
113 "python", | |
114 "-u", | |
115 "[CUSTOM_C:\\_B_WORK]\\skia\\tools\\buildbot_spec.py", | |
116 "/path/to/tmp/json", | |
117 "Build-Win-MSVC-x86-Debug" | |
118 ], | |
119 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia", | |
120 "name": "exec buildbot_spec.py", | 11 "name": "exec buildbot_spec.py", |
121 "~followup_annotations": [ | 12 "~followup_annotations": [ |
122 "@@@STEP_LOG_LINE@json.output@{@@@", | 13 "@@@STEP_LOG_LINE@json.output@{@@@", |
123 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", | 14 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
124 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", | 15 "@@@STEP_LOG_LINE@json.output@ \"nanobench\"@@@", |
125 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 16 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
126 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", | 17 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", |
| 18 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@", |
127 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"MSVC\", @@@", | 19 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"MSVC\", @@@", |
128 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@", | 20 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", |
129 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@", | 21 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu\": \"GPU\", @@@", |
130 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Win\", @@@", | 22 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu_value\": \"HD4600\", @@@", |
131 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@", | 23 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": true, @@@", |
132 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86\"@@@", | 24 "@@@STEP_LOG_LINE@json.output@ \"model\": \"ShuttleB\", @@@", |
| 25 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Win8\", @@@", |
| 26 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Perf\"@@@", |
133 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 27 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
134 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@", | 28 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release_x64\", @@@", |
135 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@", | 29 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@", |
136 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", | 30 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
137 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 31 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
138 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@", | 32 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": true, @@@", |
139 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@", | 33 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@", |
140 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", | 34 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", |
141 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"qt_sdk=C:/Qt/4.8.5/ s
kia_arch_type=x86 skia_warnings_as_errors=1 skia_win_debuggers_path=c:/DbgHelp s
kia_win_ltcg=0\"@@@", | 35 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"qt_sdk=C:/Qt/Qt5.1.0/
5.1.0/msvc2012_64/ skia_arch_type=x86_64 skia_dump_stats=1 skia_warnings_as_erro
rs=0 skia_win_debuggers_path=c:/DbgHelp\"@@@", |
142 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 36 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
143 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", | 37 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", |
144 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", | 38 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
145 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 39 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
146 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@", | 40 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@", |
147 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", | 41 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": true@@@", |
148 "@@@STEP_LOG_LINE@json.output@}@@@", | 42 "@@@STEP_LOG_LINE@json.output@}@@@", |
149 "@@@STEP_LOG_END@json.output@@@" | 43 "@@@STEP_LOG_END@json.output@@@" |
150 ] | 44 ] |
151 }, | 45 }, |
152 { | 46 { |
153 "cmd": [ | 47 "cmd": [ |
154 "python", | 48 "python", |
155 "-u", | 49 "-u", |
156 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 50 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
157 "[SLAVE_BUILD]\\tmp\\SKP_VERSION", | 51 "[SLAVE_BUILD]\\tmp\\SKP_VERSION", |
158 "/path/to/tmp/" | 52 "/path/to/tmp/" |
159 ], | 53 ], |
160 "name": "Get downloaded SKP_VERSION" | 54 "name": "Get downloaded SKP_VERSION" |
161 }, | 55 }, |
162 { | 56 { |
163 "cmd": [ | 57 "cmd": [ |
164 "python", | 58 "python", |
165 "-u", | 59 "-u", |
166 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 60 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
167 "[SLAVE_BUILD]\\tmp\\SK_IMAGE_VERSION", | 61 "[SLAVE_BUILD]\\skia\\infra\\bots\\assets\\skimage\\VERSION", |
168 "/path/to/tmp/" | 62 "/path/to/tmp/" |
169 ], | 63 ], |
170 "name": "Get downloaded SK_IMAGE_VERSION" | 64 "name": "Get downloaded skimage VERSION" |
171 }, | 65 }, |
172 { | 66 { |
173 "cmd": [ | 67 "cmd": [ |
174 "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug\\Debug\\nanoben
ch", | 68 "python", |
| 69 "-u", |
| 70 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 71 "42", |
| 72 "[SLAVE_BUILD]\\tmp\\SK_IMAGE_VERSION" |
| 73 ], |
| 74 "name": "write SK_IMAGE_VERSION" |
| 75 }, |
| 76 { |
| 77 "cmd": [ |
| 78 "python", |
| 79 "-u", |
| 80 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", |
| 81 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x8
6_64-Release-Trybot\\data" |
| 82 ], |
| 83 "env": { |
| 84 "PYTHONPATH": "build\\scripts" |
| 85 }, |
| 86 "name": "rmtree data", |
| 87 "~followup_annotations": [ |
| 88 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 89 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 90 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 91 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 92 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 93 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 94 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 95 "@@@STEP_LOG_END@python.inline@@@" |
| 96 ] |
| 97 }, |
| 98 { |
| 99 "cmd": [ |
| 100 "python", |
| 101 "-u", |
| 102 "\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", |
| 103 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x8
6_64-Release-Trybot\\data", |
| 104 "511" |
| 105 ], |
| 106 "name": "makedirs data", |
| 107 "~followup_annotations": [ |
| 108 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 109 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 110 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 111 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 112 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 113 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 114 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 115 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 116 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 117 "@@@STEP_LOG_END@python.inline@@@" |
| 118 ] |
| 119 }, |
| 120 { |
| 121 "cmd": [ |
| 122 "[SLAVE_BUILD]\\out\\Release_x64\\nanobench", |
175 "--undefok", | 123 "--undefok", |
176 "-i", | 124 "-i", |
177 "[CUSTOM_C:\\_B_WORK]\\skia\\resources", | 125 "[SLAVE_BUILD]\\skia\\resources", |
178 "--skps", | 126 "--skps", |
179 "[SLAVE_BUILD]\\skps", | 127 "[SLAVE_BUILD]\\skps", |
180 "--images", | 128 "--images", |
181 "[SLAVE_BUILD]\\images\\nanobench", | 129 "[SLAVE_BUILD]\\skimage\\nanobench", |
182 "--dummy-flags" | 130 "--nocpu", |
| 131 "--dummy-flags", |
| 132 "--outResultsFile", |
| 133 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x8
6_64-Release-Trybot\\data\\nanobench_abc123.json", |
| 134 "--properties", |
| 135 "gitHash", |
| 136 "abc123", |
| 137 "build_number", |
| 138 "5", |
| 139 "issue", |
| 140 "2147533002", |
| 141 "patchset", |
| 142 "1", |
| 143 "--key", |
| 144 "arch", |
| 145 "x86_64", |
| 146 "compiler", |
| 147 "MSVC", |
| 148 "cpu_or_gpu", |
| 149 "GPU", |
| 150 "cpu_or_gpu_value", |
| 151 "HD4600", |
| 152 "model", |
| 153 "ShuttleB", |
| 154 "os", |
| 155 "Win8" |
183 ], | 156 ], |
184 "env": { | 157 "env": { |
185 "BUILDTYPE": "Debug", | 158 "BUILDTYPE": "Release_x64", |
186 "CHROME_HEADLESS": "1", | 159 "CHROME_HEADLESS": "1", |
187 "GYP_DEFINES": "qt_sdk=C:/Qt/4.8.5/ skia_arch_type=x86 skia_warnings_as_er
rors=1 skia_win_debuggers_path=c:/DbgHelp skia_win_ltcg=0", | 160 "GYP_DEFINES": "qt_sdk=C:/Qt/Qt5.1.0/5.1.0/msvc2012_64/ skia_arch_type=x86
_64 skia_dump_stats=1 skia_warnings_as_errors=0 skia_win_debuggers_path=c:/DbgHe
lp", |
188 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep
ot_tools]", | |
189 "PYTHONPATH": "[BUILD]\\scripts", | 161 "PYTHONPATH": "[BUILD]\\scripts", |
190 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug" | 162 "SKIA_OUT": "[SLAVE_BUILD]\\out" |
191 }, | 163 }, |
192 "name": "nanobench" | 164 "name": "nanobench" |
193 }, | 165 }, |
194 { | 166 { |
| 167 "cmd": [ |
| 168 "python", |
| 169 "-u", |
| 170 "\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", |
| 171 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x8
6_64-Release-Trybot\\data", |
| 172 "511" |
| 173 ], |
| 174 "name": "makedirs perf_dir", |
| 175 "~followup_annotations": [ |
| 176 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 177 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 178 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 179 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 180 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 181 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 182 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 183 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 184 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 185 "@@@STEP_LOG_END@python.inline@@@" |
| 186 ] |
| 187 }, |
| 188 { |
195 "name": "$result", | 189 "name": "$result", |
196 "recipe_result": null, | 190 "recipe_result": null, |
197 "status_code": 0 | 191 "status_code": 0 |
198 } | 192 } |
199 ] | 193 ] |
OLD | NEW |