Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "cmd": [ |
| 4 | "python", |
| 5 | "-u", |
| 6 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 7 | "[START_DIR]/skia/infra/bots/assets/skp/VERSION", |
| 8 | "/path/to/tmp/" |
| 9 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 10 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 11 | "name": "Get downloaded SKP VERSION" |
| 12 | }, |
| 13 | { |
| 14 | "cmd": [ |
| 15 | "python", |
| 16 | "-u", |
| 17 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 18 | "42", |
| 19 | "[START_DIR]/tmp/SKP_VERSION" |
| 20 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 21 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 22 | "name": "write SKP_VERSION" |
| 23 | }, |
| 24 | { |
| 25 | "cmd": [ |
| 26 | "python", |
| 27 | "-u", |
| 28 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 29 | "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", |
| 30 | "/path/to/tmp/" |
| 31 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 32 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 33 | "name": "Get downloaded skimage VERSION" |
| 34 | }, |
| 35 | { |
| 36 | "cmd": [ |
| 37 | "python", |
| 38 | "-u", |
| 39 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 40 | "42", |
| 41 | "[START_DIR]/tmp/SK_IMAGE_VERSION" |
| 42 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 43 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 44 | "name": "write SK_IMAGE_VERSION" |
| 45 | }, |
| 46 | { |
| 47 | "cmd": [ |
| 48 | "python", |
| 49 | "-u", |
| 50 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 51 | "[START_DIR]/skia/infra/bots/assets/svg/VERSION", |
| 52 | "/path/to/tmp/" |
| 53 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 54 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 55 | "name": "Get downloaded SVG VERSION" |
| 56 | }, |
| 57 | { |
| 58 | "cmd": [ |
| 59 | "python", |
| 60 | "-u", |
| 61 | "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 62 | "42", |
| 63 | "[START_DIR]/tmp/SVG_VERSION" |
| 64 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 65 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 66 | "name": "write SVG_VERSION" |
| 67 | }, |
| 68 | { |
| 69 | "cmd": [ |
| 70 | "python", |
| 71 | "-u", |
Eric Boren | 5128bd4 | 2017-03-06 08:06:16 -0500 | [diff] [blame] | 72 | "RECIPE_MODULE[build::file]/resources/fileutil.py", |
| 73 | "rmtree", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 74 | "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE/data" |
| 75 | ], |
| 76 | "env": { |
| 77 | "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" |
| 78 | }, |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 79 | "infra_step": true, |
Eric Boren | 5128bd4 | 2017-03-06 08:06:16 -0500 | [diff] [blame] | 80 | "name": "rmtree data" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 81 | }, |
| 82 | { |
| 83 | "cmd": [ |
| 84 | "python", |
| 85 | "-u", |
| 86 | "\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", |
| 87 | "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE/data", |
| 88 | "511" |
| 89 | ], |
Eric Boren | a159085 | 2017-03-20 12:48:31 -0400 | [diff] [blame] | 90 | "infra_step": true, |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 91 | "name": "makedirs data", |
| 92 | "~followup_annotations": [ |
| 93 | "@@@STEP_LOG_LINE@python.inline@@@@", |
| 94 | "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 95 | "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 96 | "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 97 | "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 98 | "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 99 | "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", |
| 100 | "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 101 | "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 102 | "@@@STEP_LOG_END@python.inline@@@" |
| 103 | ] |
| 104 | }, |
| 105 | { |
| 106 | "cmd": [ |
Kevin Lubick | 30f2ec8 | 2017-03-02 08:34:47 -0500 | [diff] [blame] | 107 | "python", |
| 108 | "-u", |
Eric Boren | 6276a7c | 2017-04-06 12:53:31 +0000 | [diff] [blame^] | 109 | "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", |
Kevin Lubick | 30f2ec8 | 2017-03-02 08:34:47 -0500 | [diff] [blame] | 110 | "[START_DIR]", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 111 | "catchsegv", |
| 112 | "[START_DIR]/out/Release/nanobench", |
| 113 | "--undefok", |
| 114 | "-i", |
| 115 | "[START_DIR]/skia/resources", |
| 116 | "--skps", |
| 117 | "[START_DIR]/skp", |
| 118 | "--images", |
| 119 | "[START_DIR]/skimage/nanobench", |
| 120 | "--svgs", |
| 121 | "[START_DIR]/svg", |
| 122 | "--nocpu", |
| 123 | "--pre_log", |
| 124 | "--images", |
| 125 | "--gpuStatsDump", |
| 126 | "true", |
| 127 | "--scales", |
| 128 | "1.0", |
| 129 | "1.1", |
| 130 | "--config", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 131 | "angle_d3d11_es2", |
Ben Wagner | 6b1f024 | 2017-03-31 15:54:47 -0400 | [diff] [blame] | 132 | "angle_d3d11_es2_msaa8", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 133 | "--match", |
Ben Wagner | 6b1f024 | 2017-03-31 15:54:47 -0400 | [diff] [blame] | 134 | "~native_image_to_raster_surface", |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 135 | "~inc0.gif", |
| 136 | "~inc1.gif", |
| 137 | "~incInterlaced.gif", |
| 138 | "~inc0.jpg", |
| 139 | "~incGray.jpg", |
| 140 | "~inc0.wbmp", |
| 141 | "~inc1.wbmp", |
| 142 | "~inc0.webp", |
| 143 | "~inc1.webp", |
| 144 | "~inc0.ico", |
| 145 | "~inc1.ico", |
| 146 | "~inc0.png", |
| 147 | "~inc1.png", |
| 148 | "~inc2.png", |
| 149 | "~inc12.png", |
| 150 | "~inc13.png", |
| 151 | "~inc14.png", |
| 152 | "~inc0.webp", |
| 153 | "~inc1.webp", |
| 154 | "--outResultsFile", |
| 155 | "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE/data/nanobench_abc123_1337000001.json", |
| 156 | "--properties", |
| 157 | "gitHash", |
| 158 | "abc123", |
| 159 | "build_number", |
| 160 | "5", |
| 161 | "--key", |
| 162 | "arch", |
| 163 | "x86_64", |
| 164 | "compiler", |
| 165 | "GCC", |
| 166 | "cpu_or_gpu", |
| 167 | "GPU", |
| 168 | "cpu_or_gpu_value", |
| 169 | "GTX550Ti", |
| 170 | "extra_config", |
| 171 | "ANGLE", |
| 172 | "model", |
| 173 | "ShuttleA", |
| 174 | "os", |
| 175 | "Ubuntu" |
| 176 | ], |
| 177 | "cwd": "[START_DIR]/skia", |
Kevin Lubick | 0a51b48 | 2017-02-06 12:45:29 -0500 | [diff] [blame] | 178 | "env": { |
| 179 | "BUILDTYPE": "Release", |
| 180 | "CHROME_HEADLESS": "1", |
Eric Boren | bbb24f2 | 2017-03-21 08:20:33 -0400 | [diff] [blame] | 181 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
Kevin Lubick | 0a51b48 | 2017-02-06 12:45:29 -0500 | [diff] [blame] | 182 | "SKIA_OUT": "[START_DIR]/out" |
| 183 | }, |
Kevin Lubick | 30f2ec8 | 2017-03-02 08:34:47 -0500 | [diff] [blame] | 184 | "name": "symbolized nanobench" |
Eric Boren | 7e97dc0 | 2017-02-02 09:02:37 -0500 | [diff] [blame] | 185 | }, |
| 186 | { |
| 187 | "cmd": [ |
| 188 | "python", |
| 189 | "-u", |
| 190 | "\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", |
| 191 | "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE/data", |
| 192 | "511" |
| 193 | ], |
| 194 | "name": "makedirs perf_dir", |
| 195 | "~followup_annotations": [ |
| 196 | "@@@STEP_LOG_LINE@python.inline@@@@", |
| 197 | "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 198 | "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 199 | "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 200 | "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 201 | "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 202 | "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", |
| 203 | "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 204 | "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 205 | "@@@STEP_LOG_END@python.inline@@@" |
| 206 | ] |
| 207 | }, |
| 208 | { |
| 209 | "name": "$result", |
| 210 | "recipe_result": null, |
| 211 | "status_code": 0 |
| 212 | } |
| 213 | ] |