| Index: scripts/slave/recipes/bisection/desktop_bisect.expected/basic_perf_tryjob.json
|
| diff --git a/scripts/slave/recipes/bisection/desktop_bisect.expected/basic_perf_tryjob.json b/scripts/slave/recipes/bisection/desktop_bisect.expected/basic_perf_tryjob.json
|
| index 1d1511294339e04b5fee3210fa88afb90610a6fb..4accfc7e14142fc5d458a0295b3e713b48f6bb72 100644
|
| --- a/scripts/slave/recipes/bisection/desktop_bisect.expected/basic_perf_tryjob.json
|
| +++ b/scripts/slave/recipes/bisection/desktop_bisect.expected/basic_perf_tryjob.json
|
| @@ -204,6 +204,28 @@
|
| },
|
| {
|
| "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\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",
|
| + "[BUILDER_CACHE]/linux_perf_bisect",
|
| + "511"
|
| + ],
|
| + "name": "makedirs checkout path (2)",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@python.inline@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
|
| + "@@@STEP_LOG_END@python.inline@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| "git",
|
| "diff",
|
| "--cached",
|
| @@ -219,6 +241,7 @@
|
| },
|
| {
|
| "cmd": [],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "***PERF TRYJOB***"
|
| },
|
| {
|
| @@ -231,6 +254,7 @@
|
| "--output_json",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "load config",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -252,6 +276,7 @@
|
| "python",
|
| "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "cleanup_temp"
|
| },
|
| {
|
| @@ -264,6 +289,7 @@
|
| "/creds/service_accounts/service-account-chromium-bisect.json",
|
| "{\"bucket\": \"master.tryserver.chromium.perf\", \"client_operation_id\": \"123456\", \"parameters_json\": \"{\\\"builder_name\\\": \\\"linux_perf_bisect_builder\\\", \\\"properties\\\": {\\\"build_archive_url\\\": \\\"gs://chrome-perf-tryjob/Linux Builder/full-build-linuxf27fede2220bcd326aee3e86ddfd4ebd0fe58cb9_123456.zip\\\", \\\"clobber\\\": true, \\\"issue\\\": \\\"12345\\\", \\\"parent_got_revision\\\": \\\"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\\\", \\\"patch_storage\\\": \\\"rietveld\\\", \\\"patchset\\\": \\\"20001\\\", \\\"rietveld\\\": \\\"https://codereview.chromium.org\\\"}}\", \"tags\": [\"builder:linux_perf_bisect_builder\", \"master:tryserver.chromium.perf\", \"user_agent:recipe\"]}"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "buildbucket.put",
|
| "stdout": "/path/to/tmp/json",
|
| "~followup_annotations": [
|
| @@ -298,6 +324,7 @@
|
| "cr-buildbucket.appspot.com",
|
| "9016911228971028736"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "buildbucket.get",
|
| "stdout": "/path/to/tmp/json",
|
| "~followup_annotations": [
|
| @@ -323,6 +350,7 @@
|
| "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
|
| "[BUILDER_CACHE]/linux_perf_bisect/src/out/Release"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "rmtree build directory",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -356,6 +384,7 @@
|
| "--build-number",
|
| "571"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "extract build"
|
| },
|
| {
|
| @@ -383,6 +412,7 @@
|
| "--upload-results",
|
| "--results-label=Patch"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "Performance Test (With Patch) 1 of 1",
|
| "stderr": "/path/to/tmp/",
|
| "stdout": "/path/to/tmp/",
|
| @@ -518,6 +548,7 @@
|
| "ls",
|
| "gs://chrome-perf/Linux Builder/full-build-linuxf27fede2220bcd326aee3e86ddfd4ebd0fe58cb9.zip"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "gsutil exists",
|
| "~followup_annotations": [
|
| "step returned non-zero exit code: 1",
|
| @@ -533,6 +564,7 @@
|
| "python",
|
| "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "cleanup_temp (2)"
|
| },
|
| {
|
| @@ -545,6 +577,7 @@
|
| "/creds/service_accounts/service-account-chromium-bisect.json",
|
| "{\"bucket\": \"master.tryserver.chromium.perf\", \"client_operation_id\": \"123456\", \"parameters_json\": \"{\\\"builder_name\\\": \\\"linux_perf_bisect_builder\\\", \\\"properties\\\": {\\\"build_archive_url\\\": \\\"gs://chrome-perf/Linux Builder/full-build-linuxf27fede2220bcd326aee3e86ddfd4ebd0fe58cb9.zip\\\", \\\"clobber\\\": true, \\\"parent_got_revision\\\": \\\"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\\\"}}\", \"tags\": [\"builder:linux_perf_bisect_builder\", \"master:tryserver.chromium.perf\", \"user_agent:recipe\"]}"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "buildbucket.put (2)",
|
| "stdout": "/path/to/tmp/json",
|
| "~followup_annotations": [
|
| @@ -579,6 +612,7 @@
|
| "cr-buildbucket.appspot.com",
|
| "9016911228971028736"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "buildbucket.get (2)",
|
| "stdout": "/path/to/tmp/json",
|
| "~followup_annotations": [
|
| @@ -604,6 +638,7 @@
|
| "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
|
| "[BUILDER_CACHE]/linux_perf_bisect/src/out/Release"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "rmtree build directory (2)",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -637,6 +672,7 @@
|
| "--build-number",
|
| "571"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "extract build (2)"
|
| },
|
| {
|
| @@ -663,6 +699,7 @@
|
| "--upload-results",
|
| "--results-label=TOT"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "Performance Test (Without Patch) 1 of 1",
|
| "stderr": "/path/to/tmp/",
|
| "stdout": "/path/to/tmp/",
|
| @@ -679,6 +716,7 @@
|
| },
|
| {
|
| "cmd": [],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "Results",
|
| "~followup_annotations": [
|
| "@@@STEP_TEXT@No values from test with patch, or none from test without patch.",
|
| @@ -710,6 +748,7 @@
|
| "-u",
|
| "RECIPE_MODULE[build::perf_dashboard]/resources/post_json.py"
|
| ],
|
| + "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "Post bisect results",
|
| "stdin": "{\"data\": {\"bisect_bot\": \"linux_perf_bisect\", \"buildbot_log_url\": \"http://c.org/p/cr/builders/linux_perf_bisect/builds/571\", \"cloud_link\": \"http://storage.googleapis.com/chromium-telemetry/html-results/results-without_patch\", \"command\": \"src/tools/perf/run_benchmark -v --browser=release sunspider\", \"metric\": null, \"status\": \"completed\", \"try_job_id\": null, \"warnings\": [\"No values from test with patch, or none from test without patch.\\n Output with patch:\\n*RESULT dummy: dummy= [5.83,6.013,5.573]ms\\nAvg dummy: 5.907711ms\\nSd dummy: 0.255921ms\\nRESULT telemetry_page_measurement_results: num_failed= 0 count\\nRESULT telemetry_page_measurement_results: num_errored= 0 count\\n\\nView online at http://storage.googleapis.com/chromium-telemetry/html-results/results-with_patch\\n\\n\\nOutput without patch:\\n*RESULT dummy: dummy= [5.83,6.013,5.573]ms\\nAvg dummy: 5.907711ms\\nSd dummy: 0.255921ms\\nRESULT telemetry_page_measurement_results: num_failed= 0 count\\nRESULT telemetry_page_measurement_results: num_errored= 0 count\\n\\nView online at http://storage.googleapis.com/chromium-telemetry/html-results/results-without_patch\\n\"]}, \"url\": \"https://chromeperf.appspot.com/post_bisect_results\"}",
|
| "stdout": "/path/to/tmp/json",
|
|
|