OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 6 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
7 "[SLAVE_BUILD]\\skia\\infra\\bots\\assets\\skp\\VERSION", | 7 "[SLAVE_BUILD]\\skia\\infra\\bots\\assets\\skp\\VERSION", |
8 "/path/to/tmp/" | 8 "/path/to/tmp/" |
9 ], | 9 ], |
10 "name": "Get downloaded SKP VERSION" | 10 "name": "Get downloaded SKP VERSION" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 98 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
99 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 99 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
100 "@@@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@@@", |
101 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 101 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
102 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 102 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
103 "@@@STEP_LOG_END@python.inline@@@" | 103 "@@@STEP_LOG_END@python.inline@@@" |
104 ] | 104 ] |
105 }, | 105 }, |
106 { | 106 { |
107 "cmd": [ | 107 "cmd": [ |
| 108 "python", |
| 109 "-u", |
| 110 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n" |
| 111 ], |
| 112 "name": "get swarming bot id", |
| 113 "stdout": "/path/to/tmp/", |
| 114 "~followup_annotations": [ |
| 115 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 116 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', ''
)@@@", |
| 117 "@@@STEP_LOG_END@python.inline@@@" |
| 118 ] |
| 119 }, |
| 120 { |
| 121 "cmd": [ |
| 122 "python", |
| 123 "-u", |
| 124 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n" |
| 125 ], |
| 126 "name": "get swarming task id", |
| 127 "stdout": "/path/to/tmp/", |
| 128 "~followup_annotations": [ |
| 129 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 130 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '
')@@@", |
| 131 "@@@STEP_LOG_END@python.inline@@@" |
| 132 ] |
| 133 }, |
| 134 { |
| 135 "cmd": [ |
108 "[SLAVE_BUILD]\\out\\Release_x64\\nanobench", | 136 "[SLAVE_BUILD]\\out\\Release_x64\\nanobench", |
109 "--undefok", | 137 "--undefok", |
110 "-i", | 138 "-i", |
111 "[SLAVE_BUILD]\\skia\\resources", | 139 "[SLAVE_BUILD]\\skia\\resources", |
112 "--skps", | 140 "--skps", |
113 "[SLAVE_BUILD]\\skp", | 141 "[SLAVE_BUILD]\\skp", |
114 "--images", | 142 "--images", |
115 "[SLAVE_BUILD]\\skimage\\nanobench", | 143 "[SLAVE_BUILD]\\skimage\\nanobench", |
116 "--svgs", | 144 "--svgs", |
117 "[SLAVE_BUILD]\\svg", | 145 "[SLAVE_BUILD]\\svg", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 "~inc0.webp", | 185 "~inc0.webp", |
158 "~inc1.webp", | 186 "~inc1.webp", |
159 "--outResultsFile", | 187 "--outResultsFile", |
160 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x8
6_64-Release-Trybot\\data\\nanobench_abc123_1337000001.json", | 188 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x8
6_64-Release-Trybot\\data\\nanobench_abc123_1337000001.json", |
161 "--properties", | 189 "--properties", |
162 "gitHash", | 190 "gitHash", |
163 "abc123", | 191 "abc123", |
164 "build_number", | 192 "build_number", |
165 "5", | 193 "5", |
166 "issue", | 194 "issue", |
167 "500", | 195 "2100", |
168 "patchset", | 196 "patchset", |
169 "1", | 197 "2", |
170 "patch_storage", | 198 "patch_storage", |
171 "rietveld", | 199 "gerrit", |
| 200 "no_buildbot", |
| 201 "True", |
| 202 "swarming_bot_id", |
| 203 "skia-bot-123", |
| 204 "swarming_task_id", |
| 205 "123456", |
172 "--key", | 206 "--key", |
173 "arch", | 207 "arch", |
174 "x86_64", | 208 "x86_64", |
175 "compiler", | 209 "compiler", |
176 "MSVC", | 210 "MSVC", |
177 "cpu_or_gpu", | 211 "cpu_or_gpu", |
178 "GPU", | 212 "GPU", |
179 "cpu_or_gpu_value", | 213 "cpu_or_gpu_value", |
180 "HD4600", | 214 "HD4600", |
181 "model", | 215 "model", |
(...skipping 25 matching lines...) Expand all Loading... |
207 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 241 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
208 "@@@STEP_LOG_END@python.inline@@@" | 242 "@@@STEP_LOG_END@python.inline@@@" |
209 ] | 243 ] |
210 }, | 244 }, |
211 { | 245 { |
212 "name": "$result", | 246 "name": "$result", |
213 "recipe_result": null, | 247 "recipe_result": null, |
214 "status_code": 0 | 248 "status_code": 0 |
215 } | 249 } |
216 ] | 250 ] |
OLD | NEW |