OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", | 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_CACHE]", |
| 8 "511" |
| 9 ], |
| 10 "name": "makedirs checkout_path", |
| 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 = None\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'n
ame': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['l
lvm']" |
| 32 ], |
| 33 "cwd": "[CUSTOM_/_B_CACHE]", |
| 34 "env": { |
| 35 "CHROME_HEADLESS": "1", |
| 36 "PATH": "[DEPOT_TOOLS]:%(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 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 46 "sync", |
| 47 "--nohooks", |
| 48 "--force", |
| 49 "--verbose", |
| 50 "--delete_unversioned_trees", |
| 51 "--revision", |
| 52 "skia@abc123", |
| 53 "--output-json", |
| 54 "/path/to/tmp/json" |
| 55 ], |
| 56 "cwd": "[CUSTOM_/_B_CACHE]", |
| 57 "env": { |
| 58 "CHROME_HEADLESS": "1", |
| 59 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA
CKAGE_REPO[depot_tools]", |
| 60 "PYTHONPATH": "[BUILD]/scripts" |
| 61 }, |
| 62 "name": "gclient sync", |
| 63 "~followup_annotations": [ |
| 64 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 65 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| 66 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
| 67 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", |
| 68 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 69 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 70 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 71 "@@@STEP_LOG_END@json.output@@@", |
| 72 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" |
| 73 ] |
| 74 }, |
| 75 { |
| 76 "cmd": [ |
| 77 "python", |
| 78 "-u", |
| 79 "[CUSTOM_/_B_CACHE]/skia/tools/buildbot_spec.py", |
7 "/path/to/tmp/json", | 80 "/path/to/tmp/json", |
8 "Build-Ubuntu-GCC-x86_64-Release-Valgrind" | 81 "Build-Ubuntu-GCC-x86_64-Release-Valgrind" |
9 ], | 82 ], |
10 "cwd": "[SLAVE_BUILD]/skia", | 83 "cwd": "[CUSTOM_/_B_CACHE]/skia", |
11 "name": "exec buildbot_spec.py", | 84 "name": "exec buildbot_spec.py", |
12 "~followup_annotations": [ | 85 "~followup_annotations": [ |
13 "@@@STEP_LOG_LINE@json.output@{@@@", | 86 "@@@STEP_LOG_LINE@json.output@{@@@", |
14 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", | 87 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
15 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", | 88 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", |
16 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 89 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
17 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", | 90 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", |
18 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", | 91 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", |
19 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", | 92 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", |
20 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Valgrind\", @@@", | 93 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Valgrind\", @@@", |
(...skipping 18 matching lines...) Expand all Loading... |
39 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", | 112 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", |
40 "@@@STEP_LOG_LINE@json.output@}@@@", | 113 "@@@STEP_LOG_LINE@json.output@}@@@", |
41 "@@@STEP_LOG_END@json.output@@@" | 114 "@@@STEP_LOG_END@json.output@@@" |
42 ] | 115 ] |
43 }, | 116 }, |
44 { | 117 { |
45 "cmd": [ | 118 "cmd": [ |
46 "make", | 119 "make", |
47 "most" | 120 "most" |
48 ], | 121 ], |
49 "cwd": "[SLAVE_BUILD]/skia", | 122 "cwd": "[CUSTOM_/_B_CACHE]/skia", |
50 "env": { | 123 "env": { |
51 "BUILDTYPE": "Release", | 124 "BUILDTYPE": "Release", |
52 "CHROME_HEADLESS": "1", | 125 "CHROME_HEADLESS": "1", |
53 "CHROME_PATH": "[SLAVE_BUILD]/src", | 126 "CHROME_PATH": "[CUSTOM_/_B_CACHE]/src", |
54 "GYP_DEFINES": "skia_arch_type=x86_64 skia_release_optimization_level=1 sk
ia_warnings_as_errors=1", | 127 "GYP_DEFINES": "skia_arch_type=x86_64 skia_release_optimization_level=1 sk
ia_warnings_as_errors=1", |
55 "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", | 128 "PATH": "[DEPOT_TOOLS]:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PA
CKAGE_REPO[depot_tools]", |
56 "SKIA_OUT": "[SLAVE_BUILD]/out" | 129 "PYTHONPATH": "[BUILD]/scripts", |
| 130 "SKIA_OUT": "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Release-V
algrind" |
57 }, | 131 }, |
58 "name": "build most" | 132 "name": "build most" |
59 }, | 133 }, |
60 { | 134 { |
61 "cmd": [ | 135 "cmd": [ |
62 "python", | 136 "python", |
63 "-u", | 137 "-u", |
64 "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', 'nan
obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so
', 'iOSShell.app', 'iOSShell.ipa']\n\ntry:\n os.makedirs(dst)\nexcept OSError a
s e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products_
whitelist:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n
print 'Copying build product %s to %s' % (f, dst)\n shutil.move(f, dst)\n", | 138 "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', 'nan
obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so
', 'iOSShell.app', 'iOSShell.ipa']\n\ntry:\n os.makedirs(dst)\nexcept OSError a
s e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products_
whitelist:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n
print 'Copying build product %s to %s' % (f, dst)\n shutil.move(f, dst)\n", |
65 "[SLAVE_BUILD]/out/Release", | 139 "[CUSTOM_/_B_CACHE]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Valgrind/Rele
ase", |
66 "[SWARM_OUT_DIR]/out/Release" | 140 "[SWARM_OUT_DIR]/out/Release" |
67 ], | 141 ], |
68 "name": "copy build products", | 142 "name": "copy build products", |
69 "~followup_annotations": [ | 143 "~followup_annotations": [ |
70 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 144 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
71 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 145 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
72 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 146 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
73 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 147 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
74 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 148 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
75 "@@@STEP_LOG_LINE@python.inline@@@@", | 149 "@@@STEP_LOG_LINE@python.inline@@@@", |
(...skipping 14 matching lines...) Expand all Loading... |
90 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst)@@@", | 164 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst)@@@", |
91 "@@@STEP_LOG_END@python.inline@@@" | 165 "@@@STEP_LOG_END@python.inline@@@" |
92 ] | 166 ] |
93 }, | 167 }, |
94 { | 168 { |
95 "name": "$result", | 169 "name": "$result", |
96 "recipe_result": null, | 170 "recipe_result": null, |
97 "status_code": 0 | 171 "status_code": 0 |
98 } | 172 } |
99 ] | 173 ] |
OLD | NEW |