| Index: scripts/slave/recipes/findit/chromium/compile.expected/failed_compile_upon_infra_failure.json
|
| diff --git a/scripts/slave/recipes/chromium.expected/archive_dependencies_failure.json b/scripts/slave/recipes/findit/chromium/compile.expected/failed_compile_upon_infra_failure.json
|
| similarity index 80%
|
| copy from scripts/slave/recipes/chromium.expected/archive_dependencies_failure.json
|
| copy to scripts/slave/recipes/findit/chromium/compile.expected/failed_compile_upon_infra_failure.json
|
| index a0857d1293745d7961318d4f32faa5e219251ea1..0c0495063ac0d8360e7860225c92194f5884d036 100644
|
| --- a/scripts/slave/recipes/chromium.expected/archive_dependencies_failure.json
|
| +++ b/scripts/slave/recipes/findit/chromium/compile.expected/failed_compile_upon_infra_failure.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,8 +135,9 @@
|
| "/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_END@json.output@@@"
|
| @@ -146,11 +157,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 +174,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 +196,10 @@
|
| "//out/Release"
|
| ],
|
| "cwd": "[SLAVE_BUILD]",
|
| - "name": "generate_build_files"
|
| + "name": "test r1.generate_build_files",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| },
|
| {
|
| "cmd": [
|
| @@ -202,74 +220,43 @@
|
| "[BUILD]/goma",
|
| "--ninja-ensure-up-to-date",
|
| "--",
|
| - "chromium_swarm_tests"
|
| - ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| - "name": "compile",
|
| - "~followup_annotations": [
|
| - "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
|
| - "@@@STEP_LOG_END@json.output (invalid)@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "[BUILD]/scripts/slave/archive_dependencies.py",
|
| - "--src-dir",
|
| - "[SLAVE_BUILD]/src",
|
| - "--target",
|
| - "Release",
|
| - "--master",
|
| - "chromium.linux",
|
| - "--builder",
|
| - "Linux Builder",
|
| - "--build",
|
| - "0"
|
| + "target_name"
|
| ],
|
| "cwd": "[SLAVE_BUILD]",
|
| - "name": "archive dependencies",
|
| + "name": "test r1.compile",
|
| "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| "step returned non-zero exit code: 1",
|
| - "@@@STEP_EXCEPTION@@@"
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"notice\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"infra_status\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"ping_status_code\": 408@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@",
|
| + "@@@STEP_FAILURE@@@"
|
| ]
|
| },
|
| {
|
| - "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\"}"
|
| + "import sys; sys.exit(0)"
|
| ],
|
| "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_END@result@@@",
|
| + "@@@SET_BUILD_PROPERTY@result@[]@@@"
|
| ]
|
| },
|
| {
|
| "name": "$result",
|
| - "recipe_result": null,
|
| - "status_code": 0
|
| + "reason": "Infra compile failure: Step Failure in test r1.compile",
|
| + "status_code": 1
|
| }
|
| ]
|
|
|