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

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

Issue 940123005: Adding ability to bisect recipe to bisect into dependency repos. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@hax
Patch Set: WIP: Early feedback request Created 5 years, 10 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/basic.json
diff --git a/scripts/slave/recipe_modules/auto_bisect/example.expected/basic.json b/scripts/slave/recipe_modules/auto_bisect/example.expected/basic.json
new file mode 100644
index 0000000000000000000000000000000000000000..d35aac3146a784a67ea40e2caf4d7dc0803bb4a5
--- /dev/null
+++ b/scripts/slave/recipe_modules/auto_bisect/example.expected/basic.json
@@ -0,0 +1,233 @@
+[
+ {
+ "cmd": [
+ "git",
+ "log",
+ "--format=hash:%H",
+ "--grep",
+ "Cr-Commit-Position: refs/heads/master@{#314016}",
+ "-1",
+ "refs/heads/master"
+ ],
+ "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
+ "name": "resolving commit_pos 314016",
+ "stdout": "/path/to/tmp/"
+ },
+ {
+ "cmd": [
+ "git",
+ "footers",
+ "--position",
+ "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111"
+ ],
+ "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
+ "name": "resolving hash 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
+ "stdout": "/path/to/tmp/"
+ },
+ {
+ "cmd": [
+ "git",
+ "log",
+ "--format=hash:%H",
+ "--grep",
+ "Cr-Commit-Position: refs/heads/master@{#314015}",
+ "-1",
+ "refs/heads/master"
+ ],
+ "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
+ "name": "resolving commit_pos 314015",
+ "stdout": "/path/to/tmp/"
+ },
+ {
+ "cmd": [
+ "git",
+ "footers",
+ "--position",
+ "a6298e4afedbf2cd461755ea6f45b0ad64222222"
+ ],
+ "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
+ "name": "resolving hash a6298e4afedbf2cd461755ea6f45b0ad64222222",
+ "stdout": "/path/to/tmp/"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
+ "--",
+ "[DEPOT_TOOLS]/gsutil.py",
+ "--force-version",
+ "3.25",
+ "--",
+ "ls",
+ "gs://chrome-perf/Linux Builder/full-build-linux_00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111.zip"
+ ],
+ "name": "gsutil ls"
+ },
+ {
+ "cmd": [
+ "git",
+ "try",
+ "--bot=linux_perf_bisect_builder",
+ "--revision=a6298e4afedbf2cd461755ea6f45b0ad64222222",
+ "--name=a6298e4afedbf2cd461755ea6f45b0ad64222222-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 a6298e4afedbf2cd461755ea6f45b0ad64222222 via git try."
+ },
+ {
+ "cmd": [
+ "git",
+ "try",
+ "--bot=linux_perf_bisect_builder",
+ "--revision=00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
+ "--name=00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-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 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111 via git try."
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/wait_for_any.py",
+ "[DEPOT_TOOLS]/gsutil.py",
+ "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test"
+ ],
+ "name": "Waiting for any of these revisions:314015 314016"
+ },
+ {
+ "cmd": [],
+ "name": "Triggering test job for 314015",
+ "trigger_specs": [
+ {
+ "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"
+ },
+ "buildername": "linux_perf_tester",
+ "job_name": "a6298e4afedbf2cd461755ea6f45b0ad64222222-test",
+ "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build-linux_a6298e4afedbf2cd461755ea6f45b0ad64222222.zip",
+ "revision": "314015"
+ }
+ }
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
+ "--",
+ "[DEPOT_TOOLS]/gsutil.py",
+ "--force-version",
+ "3.25",
+ "--",
+ "cat",
+ "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222-test"
+ ],
+ "name": "gsutil Get test status url for build a6298e4afedbf2cd461755ea6f45b0ad64222222",
+ "stdout": "/path/to/tmp/"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/check_job_status.py",
+ "dummy/url"
+ ],
+ "name": "Get test status for build a6298e4afedbf2cd461755ea6f45b0ad64222222",
+ "stdout": "/path/to/tmp/"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
+ "--",
+ "[DEPOT_TOOLS]/gsutil.py",
+ "--force-version",
+ "3.25",
+ "--",
+ "cat",
+ "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222-test.results"
+ ],
+ "name": "gsutil Get test results for build a6298e4afedbf2cd461755ea6f45b0ad64222222",
+ "stdout": "/path/to/tmp/"
+ },
+ {
+ "cmd": [],
+ "name": "Triggering test job for 314016",
+ "trigger_specs": [
+ {
+ "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"
+ },
+ "buildername": "linux_perf_tester",
+ "job_name": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test",
+ "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build-linux_00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111.zip",
+ "revision": "314016"
+ }
+ }
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
+ "--",
+ "[DEPOT_TOOLS]/gsutil.py",
+ "--force-version",
+ "3.25",
+ "--",
+ "cat",
+ "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test"
+ ],
+ "name": "gsutil Get test status url for build 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
+ "stdout": "/path/to/tmp/"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/check_job_status.py",
+ "dummy/url"
+ ],
+ "name": "Get test status for build 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
+ "stdout": "/path/to/tmp/"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
+ "--",
+ "[DEPOT_TOOLS]/gsutil.py",
+ "--force-version",
+ "3.25",
+ "--",
+ "cat",
+ "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test.results"
+ ],
+ "name": "gsutil Get test results for build 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
+ "stdout": "/path/to/tmp/"
+ }
+]

Powered by Google App Engine
This is Rietveld 408576698