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

Unified Diff: scripts/slave/recipe_modules/auto_bisect/example.expected/failed_build_test.json

Issue 1339613005: Refactoring scripts that wait for buildbot jobs to complete. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@hax
Patch Set: removing blank line Created 5 years, 3 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/recipe_modules/auto_bisect/example.expected/failed_build_test.json
diff --git a/scripts/slave/recipe_modules/auto_bisect/example.expected/failed_test.json b/scripts/slave/recipe_modules/auto_bisect/example.expected/failed_build_test.json
similarity index 56%
copy from scripts/slave/recipe_modules/auto_bisect/example.expected/failed_test.json
copy to scripts/slave/recipe_modules/auto_bisect/example.expected/failed_build_test.json
index d3976de6b02fbc5f31fa310e2b9c996456b4ef1e..d46913b8bfe60078e0a10c600861482ae0b4e360 100644
--- a/scripts/slave/recipe_modules/auto_bisect/example.expected/failed_test.json
+++ b/scripts/slave/recipe_modules/auto_bisect/example.expected/failed_build_test.json
@@ -114,37 +114,6 @@
},
{
"cmd": [
- "git",
- "footers",
- "--position",
- "dcdcdc0ff1122212323134879ddceeb1240b0988"
- ],
- "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
- "name": "Expanding revision range.resolving hash dcdcdc0ff1122212323134879ddceeb1240b0988",
- "stdout": "/path/to/tmp/",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "log",
- "--format=hash:%H",
- "--grep",
- "Cr-Commit-Position: refs/heads/master@{#314016}",
- "-1",
- "origin/master"
- ],
- "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
- "name": "Expanding revision range.resolving commit_pos 314016",
- "stdout": "/path/to/tmp/",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
"python",
"-u",
"RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
@@ -220,16 +189,16 @@
"python",
"-u",
"RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py",
- "[DEPOT_TOOLS]/gsutil.py",
- "gs://chrome-perf/Linux Builder/full-build-linux_00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111.zip",
- "gs://chrome-perf/Linux Builder/full-build-linux_a6298e4afedbf2cd461755ea6f45b0ad64222222.zip",
- "bb:tryserver.chromium.perf:linux_perf_bisect_builder:00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-build",
- "bb:tryserver.chromium.perf:linux_perf_bisect_builder:a6298e4afedbf2cd461755ea6f45b0ad64222222-build",
- "--timeout=7200"
+ "[DEPOT_TOOLS]/gsutil.py"
],
"cwd": "[SLAVE_BUILD]",
"name": "Waiting for revision 314015 and 1 other revision(s).",
- "stdout": "/path/to/tmp/"
+ "stdin": "{\"jobs\": [{\"builder\": \"linux_perf_bisect_builder\", \"job_name\": \"a6298e4afedbf2cd461755ea6f45b0ad64222222-build\", \"master\": \"tryserver.chromium.perf\", \"type\": \"buildbot\"}, {\"builder\": \"linux_perf_bisect_builder\", \"job_name\": \"00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-build\", \"master\": \"tryserver.chromium.perf\", \"type\": \"buildbot\"}, {\"location\": \"gs://chrome-perf/Linux Builder/full-build-linux_a6298e4afedbf2cd461755ea6f45b0ad64222222.zip\", \"type\": \"gs\"}, {\"location\": \"gs://chrome-perf/Linux Builder/full-build-linux_00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111.zip\", \"type\": \"gs\"}]}",
+ "stdout": "/path/to/tmp/json",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
+ "@@@STEP_LOG_END@json.output (invalid)@@@"
+ ]
},
{
"cmd": [
@@ -316,63 +285,44 @@
"python",
"-u",
"RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py",
- "[DEPOT_TOOLS]/gsutil.py",
- "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test.results",
- "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222-test.results",
- "bb:tryserver.chromium.perf:linux_perf_tester:a6298e4afedbf2cd461755ea6f45b0ad64222222-test",
- "bb:tryserver.chromium.perf:linux_perf_tester:00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test",
- "--timeout=7200"
+ "[DEPOT_TOOLS]/gsutil.py"
],
"cwd": "[SLAVE_BUILD]",
"name": "Waiting for revision 314015 and 1 other revision(s). (2)",
- "stdout": "/path/to/tmp/"
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
- "--",
- "[DEPOT_TOOLS]/gsutil.py",
- "--force-version",
- "3.25",
- "----",
- "ls",
- "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222-test.results"
- ],
- "cwd": "[SLAVE_BUILD]",
- "name": "gsutil ls (5)"
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
- "--",
- "[DEPOT_TOOLS]/gsutil.py",
- "--force-version",
- "3.25",
- "----",
- "cat",
- "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222-test.results"
- ],
- "cwd": "[SLAVE_BUILD]",
- "name": "gsutil Get test results for build a6298e4afedbf2cd461755ea6f45b0ad64222222",
- "stdout": "/path/to/tmp/"
+ "stdin": "{\"jobs\": [{\"builder\": \"linux_perf_tester\", \"job_name\": \"a6298e4afedbf2cd461755ea6f45b0ad64222222-test\", \"master\": \"tryserver.chromium.perf\", \"type\": \"buildbot\"}, {\"builder\": \"linux_perf_tester\", \"job_name\": \"00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test\", \"master\": \"tryserver.chromium.perf\", \"type\": \"buildbot\"}, {\"location\": \"gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222-test.results\", \"type\": \"gs\"}, {\"location\": \"gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test.results\", \"type\": \"gs\"}]}",
+ "stdout": "/path/to/tmp/json",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@json.output@{@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"failed\": [@@@",
+ "@@@STEP_LOG_LINE@json.output@ {@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"builder\": \"linux_perf_tester\", @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"job_name\": \"a6298e4afedbf2cd461755ea6f45b0ad64222222-test\", @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"job_url\": \"http://tempuri.org/log\", @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"master\": \"tryserver.chromium.perf\", @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"type\": \"buildbot\"@@@",
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
+ "@@@STEP_LOG_LINE@json.output@}@@@",
+ "@@@STEP_LOG_END@json.output@@@",
+ "@@@STEP_LINK@Failed build@http://tempuri.org/log@@@",
+ "@@@STEP_FAILURE@@@"
+ ]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py",
- "[DEPOT_TOOLS]/gsutil.py",
- "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test.results",
- "bb:tryserver.chromium.perf:linux_perf_tester:00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test",
- "--timeout=7200"
+ "[DEPOT_TOOLS]/gsutil.py"
],
"cwd": "[SLAVE_BUILD]",
"name": "Waiting for revision 314017",
- "stdout": "/path/to/tmp/"
+ "stdin": "{\"jobs\": [{\"builder\": \"linux_perf_tester\", \"job_name\": \"00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test\", \"master\": \"tryserver.chromium.perf\", \"type\": \"buildbot\"}, {\"location\": \"gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test.results\", \"type\": \"gs\"}]}",
+ "stdout": "/path/to/tmp/json",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
+ "@@@STEP_LOG_END@json.output (invalid)@@@"
+ ]
},
{
"cmd": [
@@ -388,7 +338,7 @@
"gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test.results"
],
"cwd": "[SLAVE_BUILD]",
- "name": "gsutil ls (6)"
+ "name": "gsutil ls (5)"
},
{
"cmd": [
@@ -406,147 +356,5 @@
"cwd": "[SLAVE_BUILD]",
"name": "gsutil Get test results for build 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
"stdout": "/path/to/tmp/"
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
- "--",
- "[DEPOT_TOOLS]/gsutil.py",
- "--force-version",
- "3.25",
- "----",
- "ls",
- "gs://chrome-perf/Linux Builder/full-build-linux_dcdcdc0ff1122212323134879ddceeb1240b0988.zip"
- ],
- "cwd": "[SLAVE_BUILD]",
- "name": "gsutil ls (7)"
- },
- {
- "cmd": [
- "git",
- "-c",
- "user.email=FAKE_PERF_PUMPKIN@chromium.org",
- "try",
- "--bot",
- "linux_perf_bisect_builder",
- "--revision",
- "dcdcdc0ff1122212323134879ddceeb1240b0988",
- "--name",
- "dcdcdc0ff1122212323134879ddceeb1240b0988-build",
- "--svn_repo",
- "svn://svn.chromium.org/chrome-try/try-perf",
- "--diff",
- "/dev/null"
- ],
- "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
- "name": "Requesting build for dcdcdc0ff1122212323134879ddceeb1240b0988 via git try."
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py",
- "[DEPOT_TOOLS]/gsutil.py",
- "gs://chrome-perf/Linux Builder/full-build-linux_dcdcdc0ff1122212323134879ddceeb1240b0988.zip",
- "bb:tryserver.chromium.perf:linux_perf_bisect_builder:dcdcdc0ff1122212323134879ddceeb1240b0988-build",
- "--timeout=7200"
- ],
- "cwd": "[SLAVE_BUILD]",
- "name": "Waiting for revision dcdcdc0ff1122212323134879ddceeb1240b0988",
- "stdout": "/path/to/tmp/"
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
- "--",
- "[DEPOT_TOOLS]/gsutil.py",
- "--force-version",
- "3.25",
- "----",
- "ls",
- "gs://chrome-perf/Linux Builder/full-build-linux_dcdcdc0ff1122212323134879ddceeb1240b0988.zip"
- ],
- "cwd": "[SLAVE_BUILD]",
- "name": "gsutil ls (8)"
- },
- {
- "cmd": [],
- "cwd": "[SLAVE_BUILD]",
- "name": "Triggering test job for dcdcdc0ff1122212323134879ddceeb1240b0988",
- "trigger_specs": [
- {
- "builder_name": "linux_perf_tester",
- "properties": {
- "bisect_config": {
- "command": "src/tools/perf/run_benchmark -v --browser=release smoothness.tough_scrolling_cases",
- "max_time_minutes": "5",
- "metric": "mean_input_event_latency/mean_input_event_latency",
- "repeat_count": "2",
- "test_type": "perf",
- "truncate_percent": "0"
- },
- "job_name": "dcdcdc0ff1122212323134879ddceeb1240b0988-test",
- "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build-linux_dcdcdc0ff1122212323134879ddceeb1240b0988.zip",
- "parent_got_revision": "dcdcdc0ff1122212323134879ddceeb1240b0988",
- "revision": "dcdcdc0ff1122212323134879ddceeb1240b0988"
- }
- }
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py",
- "[DEPOT_TOOLS]/gsutil.py",
- "gs://chrome-perf/bisect-results/dcdcdc0ff1122212323134879ddceeb1240b0988-test.results",
- "bb:tryserver.chromium.perf:linux_perf_tester:dcdcdc0ff1122212323134879ddceeb1240b0988-test",
- "--timeout=7200"
- ],
- "cwd": "[SLAVE_BUILD]",
- "name": "Waiting for revision dcdcdc0ff1122212323134879ddceeb1240b0988 (2)",
- "stdout": "/path/to/tmp/"
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
- "--",
- "[DEPOT_TOOLS]/gsutil.py",
- "--force-version",
- "3.25",
- "----",
- "ls",
- "gs://chrome-perf/bisect-results/dcdcdc0ff1122212323134879ddceeb1240b0988-test.results"
- ],
- "cwd": "[SLAVE_BUILD]",
- "name": "gsutil ls (9)"
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
- "--",
- "[DEPOT_TOOLS]/gsutil.py",
- "--force-version",
- "3.25",
- "----",
- "cat",
- "gs://chrome-perf/bisect-results/dcdcdc0ff1122212323134879ddceeb1240b0988-test.results"
- ],
- "cwd": "[SLAVE_BUILD]",
- "name": "gsutil Get test results for build dcdcdc0ff1122212323134879ddceeb1240b0988",
- "stdout": "/path/to/tmp/"
- },
- {
- "name": "$final_result",
- "reason": "Expected revisions to check.",
- "status_code": 1
}
]

Powered by Google App Engine
This is Rietveld 408576698