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

Unified Diff: scripts/slave/recipes/bisection/android_bisect_staging.expected/perf_tryjob_failed_test_android_webview_nexus6_aosp_perf_bisect.json

Issue 2247373002: Refactor stages 1, 2 and test_api overhaul. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Relative intra-module imports. Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/bisection/android_bisect_staging.expected/perf_tryjob_failed_test_android_webview_nexus6_aosp_perf_bisect.json
diff --git a/scripts/slave/recipes/bisection/android_bisect_staging.expected/perf_tryjob_failed_test_android_webview_nexus6_aosp_perf_bisect.json b/scripts/slave/recipes/bisection/android_bisect_staging.expected/perf_tryjob_failed_test_android_webview_nexus6_aosp_perf_bisect.json
index 8e1949871f5c164b5ce65468c97356fa3a6b7c3d..32770f7a46f05c497ad0c2d08519ebf44eba9bf4 100644
--- a/scripts/slave/recipes/bisection/android_bisect_staging.expected/perf_tryjob_failed_test_android_webview_nexus6_aosp_perf_bisect.json
+++ b/scripts/slave/recipes/bisection/android_bisect_staging.expected/perf_tryjob_failed_test_android_webview_nexus6_aosp_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_webview_nexus6_aosp_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_webview_nexus6_aosp_perf_bisect",
"env": {
@@ -737,6 +739,21 @@
"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_webview_nexus6_aosp_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']",
@@ -1058,9 +1075,11 @@
"[BUILDER_CACHE]/android_webview_nexus6_aosp_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_webview_nexus6_aosp_perf_bisect",
"env": {
@@ -1074,9 +1093,122 @@
]
},
{
+ "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_webview_nexus6_aosp_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_webview_nexus6_aosp_perf_bisect/catapult/tracing/bin/parse_metric_cmdline",
+ "",
+ "dummy/dummy",
+ "--chartjson"
+ ],
+ "cwd": "[BUILDER_CACHE]/android_webview_nexus6_aosp_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_webview_nexus6_aosp_perf_bisect/catapult/tracing/bin/parse_metric_cmdline",
+ "",
+ "dummy/dummy",
+ "--chartjson"
+ ],
+ "cwd": "[BUILDER_CACHE]/android_webview_nexus6_aosp_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_webview_nexus6_aosp_perf_bisect",
- "name": "Results"
+ "name": "Results",
+ "~followup_annotations": [
+ "@@@STEP_TEXT@",
+ "===== PERF TRY JOB RESULTS =====",
+ "",
+ "Test Command: src/tools/perf/run_benchmark -v --browser=android-chrome --output-format=chartjson sunspider",
+ "Test Metric: dummy/dummy",
+ "Relative Change: 88.88889%",
+ "Standard Error: +- 0.00000 delta",
+ "",
+ "Revision Mean Std.Error",
+ "Patch 1.0 0.0",
+ "No Patch 9.0 0.0",
+ "@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILDER_CACHE]/android_webview_nexus6_aosp_perf_bisect/catapult/tracing/bin/parse_metric_cmdline",
+ "",
+ "dummy/dummy",
+ "--chartjson"
+ ],
+ "cwd": "[BUILDER_CACHE]/android_webview_nexus6_aosp_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_webview_nexus6_aosp_perf_bisect/catapult/tracing/bin/parse_metric_cmdline",
+ "",
+ "dummy/dummy",
+ "--chartjson"
+ ],
+ "cwd": "[BUILDER_CACHE]/android_webview_nexus6_aosp_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": [
@@ -1086,7 +1218,7 @@
],
"cwd": "[BUILDER_CACHE]/android_webview_nexus6_aosp_perf_bisect",
"name": "Post bisect results",
- "stdin": "{\"data\": {\"bisect_bot\": \"android_webview_nexus6_aosp_perf_bisect\", \"buildbot_log_url\": \"http://c.org/p/cr/builders/android_webview_nexus6_aosp_perf_bisect/builds/571\", \"cloud_link\": \"\", \"command\": \"src/tools/perf/run_benchmark -v --browser=android-chrome sunspider\", \"metric\": \"dummy/dummy\", \"profiler_links\": [], \"status\": \"completed\", \"try_job_id\": null}, \"url\": \"https://chromeperf.appspot.com/post_bisect_results\"}",
+ "stdin": "{\"data\": {\"bisect_bot\": \"android_webview_nexus6_aosp_perf_bisect\", \"buildbot_log_url\": \"http://c.org/p/cr/builders/android_webview_nexus6_aosp_perf_bisect/builds/571\", \"change\": 88.88888888888889, \"cloud_link\": \"\", \"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@@@",

Powered by Google App Engine
This is Rietveld 408576698