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

Side by Side Diff: scripts/slave/recipes/perf/telemetry_generate_large_profile.expected/mac.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "master.chromium.perf.fyi", 8 "master.chromium.perf.fyi",
9 "--builder", 9 "--builder",
10 "TestBuilder", 10 "TestBuilder",
11 "--slave", 11 "--slave",
12 "TestSlavename", 12 "TestSlavename",
13 "--spec", 13 "--spec",
14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]", 14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]",
15 "--root", 15 "--root",
16 "src", 16 "src",
17 "--revision_mapping_file", 17 "--revision_mapping_file",
18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}", 18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}",
19 "--output_json", 19 "--output_json",
20 "/path/to/tmp/json", 20 "/path/to/tmp/json",
21 "--revision", 21 "--revision",
22 "src@5d6dd8eaee742daf7f298f533fb0827dc4a693fd", 22 "src@5d6dd8eaee742daf7f298f533fb0827dc4a693fd",
23 "--force" 23 "--force"
24 ], 24 ],
25 "cwd": "[SLAVE_BUILD]",
25 "name": "bot_update", 26 "name": "bot_update",
26 "~followup_annotations": [ 27 "~followup_annotations": [
27 "@@@STEP_TEXT@Some step text@@@", 28 "@@@STEP_TEXT@Some step text@@@",
28 "@@@STEP_LOG_LINE@json.output@{@@@", 29 "@@@STEP_LOG_LINE@json.output@{@@@",
29 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 30 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
30 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", 31 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
31 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", 32 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
32 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 33 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
33 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@", 34 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@",
34 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@", 35 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 "Release", 71 "Release",
71 "--build-url", 72 "--build-url",
72 "gs://chrome-perf/Mac Builder/testbuildurl", 73 "gs://chrome-perf/Mac Builder/testbuildurl",
73 "--build_revision", 74 "--build_revision",
74 "5d6dd8eaee742daf7f298f533fb0827dc4a693fd", 75 "5d6dd8eaee742daf7f298f533fb0827dc4a693fd",
75 "--factory-properties", 76 "--factory-properties",
76 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"TestBuilder\", \"buildnumber\": 571, \"mastername\": \"master.c hromium.perf.fyi\", \"parent_build_archive_url\": \"gs://chrome-perf/Mac Builder /testbuildurl\", \"parent_got_revision\": \"5d6dd8eaee742daf7f298f533fb0827dc4a6 93fd\", \"recipe\": \"perf/telemetry_generate_large_profile\", \"slavename\": \" TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}", 77 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"TestBuilder\", \"buildnumber\": 571, \"mastername\": \"master.c hromium.perf.fyi\", \"parent_build_archive_url\": \"gs://chrome-perf/Mac Builder /testbuildurl\", \"parent_got_revision\": \"5d6dd8eaee742daf7f298f533fb0827dc4a6 93fd\", \"recipe\": \"perf/telemetry_generate_large_profile\", \"slavename\": \" TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
77 "--build-properties", 78 "--build-properties",
78 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"TestBuilder\", \"buildnumber\": 571, \"mastername\": \"master.c hromium.perf.fyi\", \"parent_build_archive_url\": \"gs://chrome-perf/Mac Builder /testbuildurl\", \"parent_got_revision\": \"5d6dd8eaee742daf7f298f533fb0827dc4a6 93fd\", \"recipe\": \"perf/telemetry_generate_large_profile\", \"slavename\": \" TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}" 79 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"TestBuilder\", \"buildnumber\": 571, \"mastername\": \"master.c hromium.perf.fyi\", \"parent_build_archive_url\": \"gs://chrome-perf/Mac Builder /testbuildurl\", \"parent_got_revision\": \"5d6dd8eaee742daf7f298f533fb0827dc4a6 93fd\", \"recipe\": \"perf/telemetry_generate_large_profile\", \"slavename\": \" TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}"
79 ], 80 ],
81 "cwd": "[SLAVE_BUILD]",
80 "name": "Download and Extract Binary" 82 "name": "Download and Extract Binary"
81 }, 83 },
82 { 84 {
83 "cmd": [ 85 "cmd": [
84 "python", 86 "python",
85 "-u", 87 "-u",
86 "[SLAVE_BUILD]/src/tools/perf/generate_profile", 88 "[SLAVE_BUILD]/src/tools/perf/generate_profile",
87 "--browser=exact", 89 "--browser=exact",
88 "--browser-executable=[SLAVE_BUILD]/src/out/Release/Google Chrome.app/Cont ents/MacOS/Google Chrome", 90 "--browser-executable=[SLAVE_BUILD]/src/out/Release/Google Chrome.app/Cont ents/MacOS/Google Chrome",
89 "--profile-type-to-generate=large_profile", 91 "--profile-type-to-generate=large_profile",
90 "--output-dir=[TMP_BASE]/large-profile_tmp_1" 92 "--output-dir=[TMP_BASE]/large-profile_tmp_1"
91 ], 93 ],
94 "cwd": "[SLAVE_BUILD]",
92 "name": "Generate Large Profile" 95 "name": "Generate Large Profile"
93 }, 96 },
94 { 97 {
95 "cmd": [ 98 "cmd": [
96 "python", 99 "python",
97 "-u", 100 "-u",
98 "RECIPE_MODULE[zip]/resources/zip.py" 101 "RECIPE_MODULE[zip]/resources/zip.py"
99 ], 102 ],
103 "cwd": "[SLAVE_BUILD]",
100 "name": "Zip Large Profile", 104 "name": "Zip Large Profile",
101 "stdin": "{\"entries\": [{\"path\": \"[TMP_BASE]/large-profile_tmp_1\", \"ty pe\": \"dir\"}], \"output\": \"[TMP_BASE]/zipped-profile_tmp_2/large_profile.zip \", \"root\": \"[TMP_BASE]/large-profile_tmp_1\", \"use_python_zip\": false}" 105 "stdin": "{\"entries\": [{\"path\": \"[TMP_BASE]/large-profile_tmp_1\", \"ty pe\": \"dir\"}], \"output\": \"[TMP_BASE]/zipped-profile_tmp_2/large_profile.zip \", \"root\": \"[TMP_BASE]/large-profile_tmp_1\", \"use_python_zip\": false}"
102 }, 106 },
103 { 107 {
104 "cmd": [ 108 "cmd": [
105 "python", 109 "python",
106 "-u", 110 "-u",
107 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 111 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
108 "--", 112 "--",
109 "[DEPOT_TOOLS]/gsutil.py", 113 "[DEPOT_TOOLS]/gsutil.py",
110 "--force-version", 114 "--force-version",
111 "3.25", 115 "3.25",
112 "--", 116 "--",
113 "cp", 117 "cp",
114 "[TMP_BASE]/zipped-profile_tmp_2/large_profile.zip", 118 "[TMP_BASE]/zipped-profile_tmp_2/large_profile.zip",
115 "gs://chrome-partner-telemetry/large_profile/mac" 119 "gs://chrome-partner-telemetry/large_profile/mac"
116 ], 120 ],
121 "cwd": "[SLAVE_BUILD]",
117 "name": "gsutil upload", 122 "name": "gsutil upload",
118 "~followup_annotations": [ 123 "~followup_annotations": [
119 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-partne r-telemetry/large_profile/mac@@@" 124 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-partne r-telemetry/large_profile/mac@@@"
120 ] 125 ]
121 }, 126 },
122 { 127 {
123 "cmd": [ 128 "cmd": [
124 "python", 129 "python",
125 "-u", 130 "-u",
126 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", 131 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
127 "[TMP_BASE]/large-profile_tmp_1" 132 "[TMP_BASE]/large-profile_tmp_1"
128 ], 133 ],
134 "cwd": "[SLAVE_BUILD]",
129 "name": "rmtree Remove profile directory.", 135 "name": "rmtree Remove profile directory.",
130 "~followup_annotations": [ 136 "~followup_annotations": [
131 "@@@STEP_LOG_LINE@python.inline@@@@", 137 "@@@STEP_LOG_LINE@python.inline@@@@",
132 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 138 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
133 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", 139 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@",
134 "@@@STEP_LOG_LINE@python.inline@@@@", 140 "@@@STEP_LOG_LINE@python.inline@@@@",
135 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 141 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
136 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 142 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
137 "@@@STEP_LOG_END@python.inline@@@" 143 "@@@STEP_LOG_END@python.inline@@@"
138 ] 144 ]
139 }, 145 },
140 { 146 {
141 "cmd": [ 147 "cmd": [
142 "python", 148 "python",
143 "-u", 149 "-u",
144 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", 150 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
145 "[TMP_BASE]/zipped-profile_tmp_2" 151 "[TMP_BASE]/zipped-profile_tmp_2"
146 ], 152 ],
153 "cwd": "[SLAVE_BUILD]",
147 "name": "rmtree Remove zipped profile directory.", 154 "name": "rmtree Remove zipped profile directory.",
148 "~followup_annotations": [ 155 "~followup_annotations": [
149 "@@@STEP_LOG_LINE@python.inline@@@@", 156 "@@@STEP_LOG_LINE@python.inline@@@@",
150 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 157 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
151 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", 158 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@",
152 "@@@STEP_LOG_LINE@python.inline@@@@", 159 "@@@STEP_LOG_LINE@python.inline@@@@",
153 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 160 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
154 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 161 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
155 "@@@STEP_LOG_END@python.inline@@@" 162 "@@@STEP_LOG_END@python.inline@@@"
156 ] 163 ]
157 } 164 }
158 ] 165 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698