| 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 "\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_WORK]", | 7 "[CUSTOM_/_B_WORK]", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout_path", | 10 "name": "makedirs checkout_path", |
| 11 "~followup_annotations": [ | 11 "~followup_annotations": [ |
| 12 "@@@STEP_LOG_LINE@python.inline@@@@", | 12 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(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@@@", | 18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 21 "@@@STEP_LOG_END@python.inline@@@" | 21 "@@@STEP_LOG_END@python.inline@@@" |
| 22 ] | 22 ] |
| 23 }, | 23 }, |
| 24 { | 24 { |
| 25 "cmd": [ | 25 "cmd": [ |
| 26 "python", | 26 "python", |
| 27 "-u", | 27 "-u", |
| 28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| 29 "config", | |
| 30 "--spec", | 29 "--spec", |
| 31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git',
'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi
t'}, {'deps_file': '.DEPS.git', 'managed': False, 'name': 'src', 'url': 'https:/
/chromium.googlesource.com/chromium/src.git'}]" | 30 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git',
'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi
t'}, {'deps_file': '.DEPS.git', 'managed': False, 'name': 'src', 'url': 'https:/
/chromium.googlesource.com/chromium/src.git'}]", |
| 31 "--patch_root", |
| 32 "skia", |
| 33 "--revision_mapping_file", |
| 34 "{\"skia\": \"got_revision\"}", |
| 35 "--git-cache-dir", |
| 36 "[CUSTOM_/_B_CACHE]", |
| 37 "--output_json", |
| 38 "/path/to/tmp/json", |
| 39 "--revision", |
| 40 "skia@abc123", |
| 41 "--revision", |
| 42 "src@origin/lkgr", |
| 43 "--output_manifest" |
| 32 ], | 44 ], |
| 33 "cwd": "[CUSTOM_/_B_WORK]", | 45 "cwd": "[CUSTOM_/_B_WORK]", |
| 34 "env": { | 46 "env": { |
| 35 "BUILDTYPE": "Debug", | 47 "BUILDTYPE": "Debug", |
| 36 "CHROME_HEADLESS": "1", | 48 "CHROME_HEADLESS": "1", |
| 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", | 49 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma
ndBuffer" | 50 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma
ndBuffer" |
| 39 }, | 51 }, |
| 40 "name": "gclient setup" | 52 "name": "bot_update", |
| 41 }, | |
| 42 { | |
| 43 "cmd": [ | |
| 44 "python", | |
| 45 "-u", | |
| 46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
| 47 "sync", | |
| 48 "--verbose", | |
| 49 "--with_branch_heads", | |
| 50 "--nohooks", | |
| 51 "-j8", | |
| 52 "--reset", | |
| 53 "--force", | |
| 54 "--upstream", | |
| 55 "--no-nag-max", | |
| 56 "--delete_unversioned_trees", | |
| 57 "--revision", | |
| 58 "skia@abc123", | |
| 59 "--revision", | |
| 60 "src@origin/lkgr", | |
| 61 "--output-json", | |
| 62 "/path/to/tmp/json" | |
| 63 ], | |
| 64 "cwd": "[CUSTOM_/_B_WORK]", | |
| 65 "env": { | |
| 66 "BUILDTYPE": "Debug", | |
| 67 "CHROME_HEADLESS": "1", | |
| 68 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | |
| 69 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma
ndBuffer" | |
| 70 }, | |
| 71 "name": "gclient sync", | |
| 72 "~followup_annotations": [ | 53 "~followup_annotations": [ |
| 54 "@@@STEP_TEXT@Some step text@@@", |
| 73 "@@@STEP_LOG_LINE@json.output@{@@@", | 55 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 74 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 56 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
| 75 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 57 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
| 58 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\", @@@", |
| 59 "@@@STEP_LOG_LINE@json.output@ \"src\": \"origin/lkgr\"@@@", |
| 60 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 61 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", |
| 62 "@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@", |
| 63 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/ski
a.git\", @@@", |
| 76 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b
694580e5d17ad10748\"@@@", | 64 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b
694580e5d17ad10748\"@@@", |
| 77 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 78 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | |
| 79 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | |
| 80 "@@@STEP_LOG_LINE@json.output@ }@@@", | 65 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 81 "@@@STEP_LOG_LINE@json.output@ }@@@", | 66 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 67 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
| 68 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@", |
| 69 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", |
| 70 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e97
2b694580e5d17ad10748\", @@@", |
| 71 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#164710}\"@@@", |
| 72 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 73 "@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@", |
| 74 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", |
| 82 "@@@STEP_LOG_LINE@json.output@}@@@", | 75 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 83 "@@@STEP_LOG_END@json.output@@@", | 76 "@@@STEP_LOG_END@json.output@@@", |
| 84 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1
0748\"@@@" | 77 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1
0748\"@@@", |
| 78 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@" |
| 85 ] | 79 ] |
| 86 }, | 80 }, |
| 87 { | 81 { |
| 88 "cmd": [ | 82 "cmd": [ |
| 89 "python", | 83 "python", |
| 90 "-u", | 84 "-u", |
| 91 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 85 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 92 "recurse", | |
| 93 "git", | |
| 94 "config", | |
| 95 "user.name", | |
| 96 "local_bot" | |
| 97 ], | |
| 98 "cwd": "[CUSTOM_/_B_WORK]", | |
| 99 "env": { | |
| 100 "BUILDTYPE": "Debug", | |
| 101 "CHROME_HEADLESS": "1", | |
| 102 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", | |
| 103 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma
ndBuffer" | |
| 104 }, | |
| 105 "name": "gclient recurse (git config user.name)" | |
| 106 }, | |
| 107 { | |
| 108 "cmd": [ | |
| 109 "python", | |
| 110 "-u", | |
| 111 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
| 112 "recurse", | |
| 113 "git", | |
| 114 "config", | |
| 115 "user.email", | |
| 116 "local_bot@example.com" | |
| 117 ], | |
| 118 "cwd": "[CUSTOM_/_B_WORK]", | |
| 119 "env": { | |
| 120 "BUILDTYPE": "Debug", | |
| 121 "CHROME_HEADLESS": "1", | |
| 122 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", | |
| 123 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma
ndBuffer" | |
| 124 }, | |
| 125 "name": "gclient recurse (git config user.email)" | |
| 126 }, | |
| 127 { | |
| 128 "cmd": [ | |
| 129 "python", | |
| 130 "-u", | |
| 131 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
| 132 "runhooks" | 86 "runhooks" |
| 133 ], | 87 ], |
| 134 "cwd": "[CUSTOM_/_B_WORK]", | 88 "cwd": "[CUSTOM_/_B_WORK]", |
| 135 "env": { | 89 "env": { |
| 136 "GYP_CHROMIUM_NO_ACTION": "0", | 90 "GYP_CHROMIUM_NO_ACTION": "0", |
| 137 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 91 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 138 }, | 92 }, |
| 139 "name": "gclient runhooks" | 93 "name": "gclient runhooks" |
| 140 }, | 94 }, |
| 141 { | 95 { |
| 142 "cmd": [ | 96 "cmd": [ |
| 143 "python", | 97 "python", |
| 144 "-u", | 98 "-u", |
| 145 "[CUSTOM_/_B_WORK]/skia/tools/build_command_buffer.py", | 99 "[CUSTOM_/_B_WORK]/skia/tools/build_command_buffer.py", |
| 146 "--chrome-dir", | 100 "--chrome-dir", |
| 147 "[CUSTOM_/_B_WORK]", | 101 "[CUSTOM_/_B_WORK]", |
| 148 "--output-dir", | 102 "--output-dir", |
| 149 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", | 103 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", |
| 150 "--chrome-build-type", | 104 "--chrome-build-type", |
| 151 "Debug", | 105 "Debug", |
| 152 "--no-sync", | 106 "--no-sync", |
| 153 "--make-output-dir" | 107 "--make-output-dir" |
| 154 ], | 108 ], |
| 155 "env": { | 109 "env": { |
| 156 "BUILDTYPE": "Debug", | 110 "BUILDTYPE": "Debug", |
| 157 "CHROME_HEADLESS": "1", | 111 "CHROME_HEADLESS": "1", |
| 158 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", | 112 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 159 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma
ndBuffer" | 113 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma
ndBuffer" |
| 160 }, | 114 }, |
| 161 "name": "build command_buffer" | 115 "name": "build command_buffer" |
| 162 }, | 116 }, |
| 163 { | 117 { |
| 164 "cmd": [ | 118 "cmd": [ |
| 165 "python", | 119 "python", |
| 166 "-u", | 120 "-u", |
| 167 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" | 121 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
| 168 ], | 122 ], |
| 169 "cwd": "[CUSTOM_/_B_WORK]/skia", | 123 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 170 "env": { | 124 "env": { |
| 171 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" | 125 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 172 }, | 126 }, |
| 173 "name": "fetch-gn" | 127 "name": "fetch-gn" |
| 174 }, | 128 }, |
| 175 { | 129 { |
| 176 "cmd": [ | 130 "cmd": [ |
| 177 "gn", | 131 "gn", |
| 178 "gen", | 132 "gen", |
| 179 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", | 133 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", |
| 180 "--args=cc=\"clang\" cxx=\"clang++\"" | 134 "--args=cc=\"clang\" cxx=\"clang++\"" |
| 181 ], | 135 ], |
| 182 "cwd": "[CUSTOM_/_B_WORK]/skia", | 136 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 183 "env": { | 137 "env": { |
| 184 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" | 138 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 185 }, | 139 }, |
| 186 "name": "gn gen" | 140 "name": "gn gen" |
| 187 }, | 141 }, |
| 188 { | 142 { |
| 189 "cmd": [ | 143 "cmd": [ |
| 190 "ninja", | 144 "ninja", |
| 191 "-C", | 145 "-C", |
| 192 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug" | 146 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug" |
| 193 ], | 147 ], |
| 194 "cwd": "[CUSTOM_/_B_WORK]/skia", | 148 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 195 "env": { | 149 "env": { |
| 196 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" | 150 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 197 }, | 151 }, |
| 198 "name": "ninja" | 152 "name": "ninja" |
| 199 }, | 153 }, |
| 200 { | 154 { |
| 201 "cmd": [ | 155 "cmd": [ |
| 202 "python", | 156 "python", |
| 203 "-u", | 157 "-u", |
| 204 "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', 'get
_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '*
.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell
.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs(
dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt
ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i
n glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n
if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.d
irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n
shutil.move(f, dst_path)\n", | 158 "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', 'get
_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '*
.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell
.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs(
dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt
ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i
n glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n
if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.d
irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n
shutil.move(f, dst_path)\n", |
| 205 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", | 159 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", |
| 206 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 160 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 233 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 187 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
| 234 "@@@STEP_LOG_END@python.inline@@@" | 188 "@@@STEP_LOG_END@python.inline@@@" |
| 235 ] | 189 ] |
| 236 }, | 190 }, |
| 237 { | 191 { |
| 238 "name": "$result", | 192 "name": "$result", |
| 239 "recipe_result": null, | 193 "recipe_result": null, |
| 240 "status_code": 0 | 194 "status_code": 0 |
| 241 } | 195 } |
| 242 ] | 196 ] |
| OLD | NEW |