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

Unified Diff: scripts/slave/recipes/findit/chromium/compile.expected/compile_default_targets.json

Issue 1416763007: Add a recipe to identify culprits for chromium compile failures. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebase, and add an owner file. Created 5 years 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/findit/chromium/compile.expected/compile_default_targets.json
diff --git a/scripts/slave/recipes/chromium.expected/archive_dependencies_failure.json b/scripts/slave/recipes/findit/chromium/compile.expected/compile_default_targets.json
similarity index 81%
copy from scripts/slave/recipes/chromium.expected/archive_dependencies_failure.json
copy to scripts/slave/recipes/findit/chromium/compile.expected/compile_default_targets.json
index a0857d1293745d7961318d4f32faa5e219251ea1..7188d3124473c99c490c5cea2e22ccb8e50d9a5a 100644
--- a/scripts/slave/recipes/chromium.expected/archive_dependencies_failure.json
+++ b/scripts/slave/recipes/findit/chromium/compile.expected/compile_default_targets.json
@@ -1,15 +1,20 @@
[
{
+ "cmd": [],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "test r1"
+ },
+ {
"cmd": [
"python",
"-u",
"[BUILD]/scripts/slave/bot_update.py",
"--master",
- "chromium.linux",
+ "tryserver.chromium.linux",
"--builder",
- "Linux Builder",
+ "linux_variable",
"--slave",
- "TestSlavename",
+ "build1-a1",
"--spec",
"cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]",
"--root",
@@ -19,12 +24,13 @@
"--output_json",
"/path/to/tmp/json",
"--revision",
- "src@HEAD",
+ "src@r1",
"--output_manifest"
],
"cwd": "[SLAVE_BUILD]",
- "name": "bot_update",
+ "name": "test r1.bot_update",
"~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@Some step text@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
@@ -96,9 +102,10 @@
"--version"
],
"cwd": "[SLAVE_BUILD]",
- "name": "swarming.py --version",
+ "name": "test r1.swarming.py --version",
"stdout": "/path/to/tmp/",
"~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@0.4.10@@@"
]
},
@@ -114,7 +121,10 @@
"GYP_CHROMIUM_NO_ACTION": "1",
"GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arch=x64 test_isolation_mode=prepare use_goma=1"
},
- "name": "gclient runhooks"
+ "name": "test r1.gclient runhooks",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
},
{
"cmd": [
@@ -125,10 +135,17 @@
"/path/to/tmp/json"
],
"cwd": "[SLAVE_BUILD]",
- "name": "read test spec",
+ "name": "test r1.read test spec",
"~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json@@@",
- "@@@STEP_LOG_LINE@json.output@{}@@@",
+ "@@@STEP_LOG_LINE@json.output@{@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"Linux Builder\": {@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"additional_compile_targets\": [@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"base_unittests\"@@@",
+ "@@@STEP_LOG_LINE@json.output@ ]@@@",
+ "@@@STEP_LOG_LINE@json.output@ }@@@",
+ "@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
@@ -146,11 +163,12 @@
"--paths",
"{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}",
"--properties",
- "{\"buildername\": \"Linux Builder\", \"buildnumber\": 0, \"mastername\": \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"linux\"}"
+ "{\"buildername\": \"linux_variable\", \"buildnumber\": \"1\", \"mastername\": \"tryserver.chromium.linux\", \"slavename\": \"build1-a1\", \"target_platform\": \"linux\"}"
],
"cwd": "[SLAVE_BUILD]",
- "name": "get compile targets for scripts",
+ "name": "test r1.get compile targets for scripts",
"~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
@@ -162,7 +180,10 @@
"[BUILD]/scripts/slave/cleanup_temp.py"
],
"cwd": "[SLAVE_BUILD]",
- "name": "cleanup_temp"
+ "name": "test r1.cleanup_temp",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
},
{
"cmd": [
@@ -181,7 +202,10 @@
"//out/Release"
],
"cwd": "[SLAVE_BUILD]",
- "name": "generate_build_files"
+ "name": "test r1.generate_build_files",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
},
{
"cmd": [
@@ -202,11 +226,13 @@
"[BUILD]/goma",
"--ninja-ensure-up-to-date",
"--",
+ "base_unittests",
"chromium_swarm_tests"
],
"cwd": "[SLAVE_BUILD]",
- "name": "compile",
+ "name": "test r1.compile",
"~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
"@@@STEP_LOG_END@json.output (invalid)@@@"
]
@@ -215,56 +241,19 @@
"cmd": [
"python",
"-u",
- "[BUILD]/scripts/slave/archive_dependencies.py",
- "--src-dir",
- "[SLAVE_BUILD]/src",
- "--target",
- "Release",
- "--master",
- "chromium.linux",
- "--builder",
- "Linux Builder",
- "--build",
- "0"
+ "import sys; sys.exit(0)"
],
"cwd": "[SLAVE_BUILD]",
- "name": "archive dependencies",
- "~followup_annotations": [
- "step returned non-zero exit code: 1",
- "@@@STEP_EXCEPTION@@@"
- ]
- },
- {
- "allow_subannotations": true,
- "cmd": [
- "python",
- "-u",
- "[BUILD]/scripts/slave/zip_build.py",
- "--target",
- "Release",
- "--build-url",
- "gs://chromium-linux-archive/chromium.linux/Linux Builder",
- "--build_revision",
- "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
- "--factory-properties",
- "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"Linux Builder\", \"buildnumber\": 0, \"mastername\": \"chromium.linux\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
- "--build-properties",
- "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"Linux Builder\", \"buildnumber\": 0, \"mastername\": \"chromium.linux\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}"
- ],
- "cwd": "[SLAVE_BUILD]",
- "name": "package build"
- },
- {
- "cmd": [],
- "cwd": "[SLAVE_BUILD]",
- "name": "trigger",
- "trigger_specs": [
- {
- "builder_name": "Linux Tests"
- }
- ],
+ "name": "report",
"~followup_annotations": [
- "@@@STEP_TEXT@Linux Tests@@@"
+ "@@@STEP_LOG_LINE@result@[@@@",
+ "@@@STEP_LOG_LINE@result@ [@@@",
+ "@@@STEP_LOG_LINE@result@ \"r1\", @@@",
+ "@@@STEP_LOG_LINE@result@ \"passed\"@@@",
+ "@@@STEP_LOG_LINE@result@ ]@@@",
+ "@@@STEP_LOG_LINE@result@]@@@",
+ "@@@STEP_LOG_END@result@@@",
+ "@@@SET_BUILD_PROPERTY@result@[[\"r1\", \"passed\"]]@@@"
]
},
{

Powered by Google App Engine
This is Rietveld 408576698