Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(549)

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/big_issue_number.json

Issue 2242213007: Try to use bot_update in Skia repo recipes Base URL: https://skia.googlesource.com/skia@master
Patch Set: Update expectations Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_C:\\_B_WORK]", 7 "[CUSTOM_C:\\_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", 29 "--master",
30 "client.skia.compile",
31 "--builder",
32 "Build-Win-MSVC-x86-Debug",
33 "--slave",
34 "skiabot-win-compile-000",
30 "--spec", 35 "--spec",
31 "cache_dir = '[CUSTOM_C:\\\\_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}]\ntarget_os = ['llvm']" 36 "cache_dir = '[CUSTOM_C:\\\\_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}]\ntarget_os = ['llvm']",
37 "--root",
38 "skia",
39 "--revision_mapping_file",
40 "{\"skia\": \"got_revision\"}",
41 "--git-cache-dir",
42 "[CUSTOM_C:\\_B_CACHE]",
43 "--issue",
44 "2147533002",
45 "--patchset",
46 "1",
47 "--rietveld_server",
48 "https://codereview.chromium.org",
49 "--output_json",
50 "/path/to/tmp/json",
51 "--revision",
52 "skia@abc123",
53 "--force",
54 "--output_manifest"
32 ], 55 ],
33 "cwd": "[CUSTOM_C:\\_B_WORK]", 56 "cwd": "[CUSTOM_C:\\_B_WORK]",
34 "env": { 57 "env": {
35 "BUILDTYPE": "Debug", 58 "BUILDTYPE": "Debug",
36 "CHROME_HEADLESS": "1", 59 "CHROME_HEADLESS": "1",
37 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]", 60 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
38 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug" 61 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug"
39 }, 62 },
40 "name": "gclient setup" 63 "name": "bot_update",
41 },
42 {
43 "cmd": [
44 "python",
45 "-u",
46 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
47 "sync",
48 "--nohooks",
49 "--force",
50 "--verbose",
51 "--delete_unversioned_trees",
52 "--revision",
53 "skia@abc123",
54 "--output-json",
55 "/path/to/tmp/json"
56 ],
57 "cwd": "[CUSTOM_C:\\_B_WORK]",
58 "env": {
59 "BUILDTYPE": "Debug",
60 "CHROME_HEADLESS": "1",
61 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]",
62 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug"
63 },
64 "name": "gclient sync",
65 "~followup_annotations": [ 64 "~followup_annotations": [
65 "@@@STEP_TEXT@Some step text@@@",
66 "@@@STEP_LOG_LINE@json.output@{@@@", 66 "@@@STEP_LOG_LINE@json.output@{@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 67 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 68 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", 69 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
70 "@@@STEP_LOG_LINE@json.output@ }, @@@",
71 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
72 "@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@",
73 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/ski a.git\", @@@",
74 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@",
70 "@@@STEP_LOG_LINE@json.output@ }@@@", 75 "@@@STEP_LOG_LINE@json.output@ }@@@",
71 "@@@STEP_LOG_LINE@json.output@ }@@@", 76 "@@@STEP_LOG_LINE@json.output@ }, @@@",
77 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
78 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@",
79 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
80 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e97 2b694580e5d17ad10748\", @@@",
81 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#164710}\"@@@",
82 "@@@STEP_LOG_LINE@json.output@ }, @@@",
83 "@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@",
84 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
72 "@@@STEP_LOG_LINE@json.output@}@@@", 85 "@@@STEP_LOG_LINE@json.output@}@@@",
73 "@@@STEP_LOG_END@json.output@@@", 86 "@@@STEP_LOG_END@json.output@@@",
74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" 87 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1 0748\"@@@",
88 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
75 ] 89 ]
76 }, 90 },
77 { 91 {
78 "cmd": [
79 "python",
80 "-u",
81 "[DEPOT_TOOLS]\\apply_issue.py",
82 "-r",
83 "[CUSTOM_C:\\_B_WORK]\\skia",
84 "-i",
85 "2147533002",
86 "-p",
87 "1",
88 "-s",
89 "https://codereview.chromium.org",
90 "--no-auth"
91 ],
92 "name": "apply_issue",
93 "~followup_annotations": [
94 "@@@STEP_LINK@Applied issue 2147533002@https://codereview.chromium.org/214 7533002@@@"
95 ]
96 },
97 {
98 "cmd": [ 92 "cmd": [
99 "python", 93 "python",
100 "-u", 94 "-u",
101 "[CUSTOM_C:\\_B_WORK]\\skia\\infra\\bots\\bootstrap_win_toolchain_json.py" , 95 "[CUSTOM_C:\\_B_WORK]\\skia\\infra\\bots\\bootstrap_win_toolchain_json.py" ,
102 "--win_toolchain_json", 96 "--win_toolchain_json",
103 "[SLAVE_BUILD]\\src\\build\\win_toolchain.json", 97 "[SLAVE_BUILD]\\src\\build\\win_toolchain.json",
104 "--depot_tools_parent_dir", 98 "--depot_tools_parent_dir",
105 "[SLAVE_BUILD]" 99 "[SLAVE_BUILD]"
106 ], 100 ],
107 "name": "bootstrap win toolchain" 101 "name": "bootstrap win toolchain"
108 }, 102 },
109 { 103 {
110 "cmd": [ 104 "cmd": [
111 "python", 105 "python",
112 "make.py", 106 "make.py",
113 "most" 107 "most"
114 ], 108 ],
115 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia", 109 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia",
116 "env": { 110 "env": {
117 "BUILDTYPE": "Debug", 111 "BUILDTYPE": "Debug",
118 "CHROME_HEADLESS": "1", 112 "CHROME_HEADLESS": "1",
119 "CHROME_PATH": "[SLAVE_BUILD]\\src", 113 "CHROME_PATH": "[SLAVE_BUILD]\\src",
120 "GYP_DEFINES": "qt_sdk=C:/Qt/4.8.5/ skia_arch_type=x86 skia_warnings_as_er rors=1 skia_win_debuggers_path=c:/DbgHelp skia_win_ltcg=0", 114 "GYP_DEFINES": "qt_sdk=C:/Qt/4.8.5/ skia_arch_type=x86 skia_warnings_as_er rors=1 skia_win_debuggers_path=c:/DbgHelp skia_win_ltcg=0",
121 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]", 115 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
122 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug" 116 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug"
123 }, 117 },
124 "name": "build most" 118 "name": "build most"
125 }, 119 },
126 { 120 {
127 "cmd": [ 121 "cmd": [
128 "python", 122 "python",
129 "-u", 123 "-u",
130 "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", 124 "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",
131 "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug\\Debug", 125 "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug\\Debug",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 171 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
178 "@@@STEP_LOG_END@python.inline@@@" 172 "@@@STEP_LOG_END@python.inline@@@"
179 ] 173 ]
180 }, 174 },
181 { 175 {
182 "name": "$result", 176 "name": "$result",
183 "recipe_result": null, 177 "recipe_result": null,
184 "status_code": 0 178 "status_code": 0
185 } 179 }
186 ] 180 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698