| Index: scripts/slave/recipes/bisection/android_bisect_staging.expected/basic_perf_tryjob_with_metric_android_nexus5_perf_bisect.json
|
| diff --git a/scripts/slave/recipes/bisection/android_bisect_staging.expected/basic_perf_tryjob_with_metric_android_nexus5_perf_bisect.json b/scripts/slave/recipes/bisection/android_bisect_staging.expected/basic_perf_tryjob_with_metric_android_nexus5_perf_bisect.json
|
| index 224c35ead94507566c652e4fe4217752f9ff4b51..624cf0867464ffb3ff2af9139bde7bc65e3ad333 100644
|
| --- a/scripts/slave/recipes/bisection/android_bisect_staging.expected/basic_perf_tryjob_with_metric_android_nexus5_perf_bisect.json
|
| +++ b/scripts/slave/recipes/bisection/android_bisect_staging.expected/basic_perf_tryjob_with_metric_android_nexus5_perf_bisect.json
|
| @@ -489,7 +489,7 @@
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"client_operation_id\": \"12345726327327\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"command\": \"./tools/perf/run_benchmark -v --browser=android-chrome sunspider\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"command\": \"./tools/perf/run_benchmark -v --browser=android-chrome --output-format=chartjson sunspider\", @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"max_time_minutes\": \"25\", @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"metric\": \"dummy/dummy\", @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"repeat_count\": \"1\", @@@",
|
| @@ -715,10 +715,12 @@
|
| "[BUILDER_CACHE]/android_nexus5_perf_bisect/src/tools/perf/run_benchmark",
|
| "-v",
|
| "--browser=android-chrome",
|
| + "--output-format=chartjson",
|
| "sunspider",
|
| "--reset-results",
|
| "--upload-results",
|
| - "--results-label=Patch"
|
| + "--results-label=Patch",
|
| + "--output-dir=[TMP_BASE]/perf-test-output_tmp_1"
|
| ],
|
| "cwd": "[BUILDER_CACHE]/android_nexus5_perf_bisect",
|
| "env": {
|
| @@ -742,6 +744,32 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| + "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\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",
|
| + "[TMP_BASE]/perf-test-output_tmp_1/results.txt"
|
| + ],
|
| + "cwd": "[BUILDER_CACHE]/android_nexus5_perf_bisect",
|
| + "name": "write buildbot output to disk"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| + "[TMP_BASE]/perf-test-output_tmp_1/results-chart.json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "cwd": "[BUILDER_CACHE]/android_nexus5_perf_bisect",
|
| + "name": "Reading chartjson results",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
|
| + "@@@STEP_LOG_END@json.output (invalid)@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
| "--spec",
|
| "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/data/firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchplugins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/frame_rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/data/ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src/data/mach_ports': None, 'src/data/memory_test': None, 'src/data/mozilla_js_tests': None, 'src/data/selenium_core': None, 'src/data/tab_switching': None, 'src/tools/grit/grit/test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webkit/data/ico_decoder': None, 'src/webkit/data/test_shell/plugins': None, 'src/webkit/data/xbm_decoder': None}, 'deps_file': '.DEPS.git', 'managed': False, 'name': 'src-internal', 'url': 'https://chrome-internal.googlesource.com/chrome/src-internal.git'}]\ntarget_os = ['android']",
|
| @@ -1063,9 +1091,11 @@
|
| "[BUILDER_CACHE]/android_nexus5_perf_bisect/src/tools/perf/run_benchmark",
|
| "-v",
|
| "--browser=android-chrome",
|
| + "--output-format=chartjson",
|
| "sunspider",
|
| "--upload-results",
|
| - "--results-label=TOT"
|
| + "--results-label=TOT",
|
| + "--output-dir=[TMP_BASE]/perf-test-output_tmp_2"
|
| ],
|
| "cwd": "[BUILDER_CACHE]/android_nexus5_perf_bisect",
|
| "env": {
|
| @@ -1086,6 +1116,74 @@
|
| ]
|
| },
|
| {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\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",
|
| + "[TMP_BASE]/perf-test-output_tmp_2/results.txt"
|
| + ],
|
| + "cwd": "[BUILDER_CACHE]/android_nexus5_perf_bisect",
|
| + "name": "write buildbot output to disk (2)"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| + "[TMP_BASE]/perf-test-output_tmp_2/results-chart.json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "cwd": "[BUILDER_CACHE]/android_nexus5_perf_bisect",
|
| + "name": "Reading chartjson results (2)",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
|
| + "@@@STEP_LOG_END@json.output (invalid)@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[BUILDER_CACHE]/android_nexus5_perf_bisect/catapult/tracing/bin/parse_metric_cmdline",
|
| + "",
|
| + "dummy/dummy",
|
| + "--chartjson"
|
| + ],
|
| + "cwd": "[BUILDER_CACHE]/android_nexus5_perf_bisect",
|
| + "name": "Parse metric values",
|
| + "stdout": "/path/to/tmp/json",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@[@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ 1, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ 1, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ 1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@]@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[BUILDER_CACHE]/android_nexus5_perf_bisect/catapult/tracing/bin/parse_metric_cmdline",
|
| + "",
|
| + "dummy/dummy",
|
| + "--chartjson"
|
| + ],
|
| + "cwd": "[BUILDER_CACHE]/android_nexus5_perf_bisect",
|
| + "name": "Parse metric values (2)",
|
| + "stdout": "/path/to/tmp/json",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@[@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ 9, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ 9, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ 9@@@",
|
| + "@@@STEP_LOG_LINE@json.output@]@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| "cmd": [],
|
| "cwd": "[BUILDER_CACHE]/android_nexus5_perf_bisect",
|
| "name": "Results",
|
| @@ -1093,14 +1191,14 @@
|
| "@@@STEP_TEXT@",
|
| "===== PERF TRY JOB RESULTS =====",
|
| "",
|
| - "Test Command: src/tools/perf/run_benchmark -v --browser=android-chrome sunspider",
|
| + "Test Command: src/tools/perf/run_benchmark -v --browser=android-chrome --output-format=chartjson sunspider",
|
| "Test Metric: dummy/dummy",
|
| - "Relative Change: 0.00000%",
|
| - "Standard Error: +- 0.18047 delta",
|
| + "Relative Change: 88.88889%",
|
| + "Standard Error: +- 0.00000 delta",
|
| "",
|
| "Revision Mean Std.Error",
|
| - "Patch 5.805333333330.127614436662",
|
| - "No Patch 5.805333333330.127614436662",
|
| + "Patch 1.0 0.0",
|
| + "No Patch 9.0 0.0",
|
| "@@@",
|
| "@@@STEP_LINK@HTML Results@http://storage.googleapis.com/chromium-telemetry/html-results/results-without_patch@@@"
|
| ]
|
| @@ -1109,11 +1207,53 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| + "[BUILDER_CACHE]/android_nexus5_perf_bisect/catapult/tracing/bin/parse_metric_cmdline",
|
| + "",
|
| + "dummy/dummy",
|
| + "--chartjson"
|
| + ],
|
| + "cwd": "[BUILDER_CACHE]/android_nexus5_perf_bisect",
|
| + "name": "Parse metric values (3)",
|
| + "stdout": "/path/to/tmp/json",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@[@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ 1, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ 1, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ 1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@]@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[BUILDER_CACHE]/android_nexus5_perf_bisect/catapult/tracing/bin/parse_metric_cmdline",
|
| + "",
|
| + "dummy/dummy",
|
| + "--chartjson"
|
| + ],
|
| + "cwd": "[BUILDER_CACHE]/android_nexus5_perf_bisect",
|
| + "name": "Parse metric values (4)",
|
| + "stdout": "/path/to/tmp/json",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@[@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ 9, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ 9, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ 9@@@",
|
| + "@@@STEP_LOG_LINE@json.output@]@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| "RECIPE_MODULE[build::perf_dashboard]/resources/post_json.py"
|
| ],
|
| "cwd": "[BUILDER_CACHE]/android_nexus5_perf_bisect",
|
| "name": "Post bisect results",
|
| - "stdin": "{\"data\": {\"bisect_bot\": \"android_nexus5_perf_bisect\", \"buildbot_log_url\": \"http://c.org/p/cr/builders/android_nexus5_perf_bisect/builds/571\", \"change\": 0.0, \"cloud_link\": \"http://storage.googleapis.com/chromium-telemetry/html-results/results-without_patch\", \"command\": \"src/tools/perf/run_benchmark -v --browser=android-chrome sunspider\", \"metric\": \"dummy/dummy\", \"profiler_links\": [], \"result\": \"Revision Mean Std.Error\\nPatch 5.805333333330.127614436662\\nNo Patch 5.805333333330.127614436662\", \"status\": \"completed\", \"std_err\": 0.1804740670813644, \"try_job_id\": null}, \"url\": \"https://chromeperf.appspot.com/post_bisect_results\"}",
|
| + "stdin": "{\"data\": {\"bisect_bot\": \"android_nexus5_perf_bisect\", \"buildbot_log_url\": \"http://c.org/p/cr/builders/android_nexus5_perf_bisect/builds/571\", \"change\": 88.88888888888889, \"cloud_link\": \"http://storage.googleapis.com/chromium-telemetry/html-results/results-without_patch\", \"command\": \"src/tools/perf/run_benchmark -v --browser=android-chrome --output-format=chartjson sunspider\", \"metric\": \"dummy/dummy\", \"profiler_links\": [], \"result\": \"Revision Mean Std.Error\\nPatch 1.0 0.0\\nNo Patch 9.0 0.0\", \"status\": \"completed\", \"std_err\": 0.0, \"try_job_id\": null}, \"url\": \"https://chromeperf.appspot.com/post_bisect_results\"}",
|
| "stdout": "/path/to/tmp/json",
|
| "~followup_annotations": [
|
| "@@@STEP_TEXT@Failed to upload result to Perf Dashboard. Error response: None@@@",
|
|
|