OLD | NEW |
(Empty) | |
| 1 [ |
| 2 { |
| 3 "cmd": [ |
| 4 "python", |
| 5 "-u", |
| 6 "[SLAVE_BUILD]\\skia\\tools\\buildbot_spec.py", |
| 7 "/path/to/tmp/json", |
| 8 "Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Release" |
| 9 ], |
| 10 "cwd": "[SLAVE_BUILD]\\skia", |
| 11 "name": "exec buildbot_spec.py", |
| 12 "~followup_annotations": [ |
| 13 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 14 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
| 15 "@@@STEP_LOG_LINE@json.output@ \"nanobench\"@@@", |
| 16 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 17 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", |
| 18 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@", |
| 19 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"MSVC\", @@@", |
| 20 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", |
| 21 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu\": \"CPU\", @@@", |
| 22 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu_value\": \"AVX2\", @@@", |
| 23 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@", |
| 24 "@@@STEP_LOG_LINE@json.output@ \"model\": \"GCE\", @@@", |
| 25 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Win\", @@@", |
| 26 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Perf\"@@@", |
| 27 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 28 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release_x64\", @@@", |
| 29 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@", |
| 30 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
| 31 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 32 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": true, @@@", |
| 33 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@", |
| 34 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", |
| 35 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"qt_sdk=C:/Qt/4.8.5/ s
kia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0 skia_win_debuggers_pat
h=c:/DbgHelp\"@@@", |
| 36 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 37 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", |
| 38 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
| 39 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 40 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@", |
| 41 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": true@@@", |
| 42 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 43 "@@@STEP_LOG_END@json.output@@@" |
| 44 ] |
| 45 }, |
| 46 { |
| 47 "cmd": [ |
| 48 "python", |
| 49 "-u", |
| 50 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 51 "[SLAVE_BUILD]\\skia\\infra\\bots\\assets\\skp\\VERSION", |
| 52 "/path/to/tmp/" |
| 53 ], |
| 54 "name": "Get downloaded SKP VERSION" |
| 55 }, |
| 56 { |
| 57 "cmd": [ |
| 58 "python", |
| 59 "-u", |
| 60 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 61 "42", |
| 62 "[SLAVE_BUILD]\\tmp\\SKP_VERSION" |
| 63 ], |
| 64 "name": "write SKP_VERSION" |
| 65 }, |
| 66 { |
| 67 "cmd": [ |
| 68 "python", |
| 69 "-u", |
| 70 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 71 "[SLAVE_BUILD]\\skia\\infra\\bots\\assets\\skimage\\VERSION", |
| 72 "/path/to/tmp/" |
| 73 ], |
| 74 "name": "Get downloaded skimage VERSION" |
| 75 }, |
| 76 { |
| 77 "cmd": [ |
| 78 "python", |
| 79 "-u", |
| 80 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 81 "42", |
| 82 "[SLAVE_BUILD]\\tmp\\SK_IMAGE_VERSION" |
| 83 ], |
| 84 "name": "write SK_IMAGE_VERSION" |
| 85 }, |
| 86 { |
| 87 "cmd": [ |
| 88 "python", |
| 89 "-u", |
| 90 "\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", |
| 91 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Rel
ease\\data" |
| 92 ], |
| 93 "env": { |
| 94 "PYTHONPATH": "[SLAVE_BUILD]\\skia\\infra\\bots\\.recipe_deps\\build\\scri
pts" |
| 95 }, |
| 96 "name": "rmtree data", |
| 97 "~followup_annotations": [ |
| 98 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 99 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 100 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 101 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 102 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 103 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 104 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 105 "@@@STEP_LOG_END@python.inline@@@" |
| 106 ] |
| 107 }, |
| 108 { |
| 109 "cmd": [ |
| 110 "python", |
| 111 "-u", |
| 112 "\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", |
| 113 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Rel
ease\\data", |
| 114 "511" |
| 115 ], |
| 116 "name": "makedirs data", |
| 117 "~followup_annotations": [ |
| 118 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 119 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 120 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 121 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 122 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 123 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 124 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 125 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 126 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 127 "@@@STEP_LOG_END@python.inline@@@" |
| 128 ] |
| 129 }, |
| 130 { |
| 131 "cmd": [ |
| 132 "[SLAVE_BUILD]\\out\\Release_x64\\nanobench", |
| 133 "--undefok", |
| 134 "-i", |
| 135 "[SLAVE_BUILD]\\skia\\resources", |
| 136 "--skps", |
| 137 "[SLAVE_BUILD]\\skp", |
| 138 "--images", |
| 139 "[SLAVE_BUILD]\\skimage\\nanobench", |
| 140 "--nogpu", |
| 141 "--dummy-flags", |
| 142 "--outResultsFile", |
| 143 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Rel
ease\\data\\nanobench_abc123.json", |
| 144 "--properties", |
| 145 "gitHash", |
| 146 "abc123", |
| 147 "build_number", |
| 148 "5", |
| 149 "--key", |
| 150 "arch", |
| 151 "x86_64", |
| 152 "compiler", |
| 153 "MSVC", |
| 154 "cpu_or_gpu", |
| 155 "CPU", |
| 156 "cpu_or_gpu_value", |
| 157 "AVX2", |
| 158 "model", |
| 159 "GCE", |
| 160 "os", |
| 161 "Win" |
| 162 ], |
| 163 "env": { |
| 164 "BUILDTYPE": "Release_x64", |
| 165 "CHROME_HEADLESS": "1", |
| 166 "GYP_DEFINES": "qt_sdk=C:/Qt/4.8.5/ skia_arch_type=x86_64 skia_gpu=0 skia_
warnings_as_errors=0 skia_win_debuggers_path=c:/DbgHelp", |
| 167 "SKIA_OUT": "[SLAVE_BUILD]\\out" |
| 168 }, |
| 169 "name": "nanobench" |
| 170 }, |
| 171 { |
| 172 "cmd": [ |
| 173 "python", |
| 174 "-u", |
| 175 "\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", |
| 176 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Rel
ease\\data", |
| 177 "511" |
| 178 ], |
| 179 "name": "makedirs perf_dir", |
| 180 "~followup_annotations": [ |
| 181 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 182 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 183 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 184 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 185 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 186 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 187 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 188 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 189 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 190 "@@@STEP_LOG_END@python.inline@@@" |
| 191 ] |
| 192 }, |
| 193 { |
| 194 "name": "$result", |
| 195 "recipe_result": null, |
| 196 "status_code": 0 |
| 197 } |
| 198 ] |
OLD | NEW |