| Index: scripts/slave/recipes/chromium_trybot.expected/unittest_should_run_gn_compile_failure.json
|
| diff --git a/scripts/slave/recipes/chromium_trybot.expected/unittest_should_run_gn_compile_failure.json b/scripts/slave/recipes/chromium_trybot.expected/unittest_should_run_gn_compile_failure.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f9a8c7cb08e4d3c07ff5e1018ce3758d8c4daa2d
|
| --- /dev/null
|
| +++ b/scripts/slave/recipes/chromium_trybot.expected/unittest_should_run_gn_compile_failure.json
|
| @@ -0,0 +1,339 @@
|
| +[
|
| + {
|
| + "abort_on_failure": false,
|
| + "can_fail_build": false,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[DEPOT_TOOLS]/gclient.py",
|
| + "config",
|
| + "--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'}]"
|
| + ],
|
| + "name": "gclient setup"
|
| + },
|
| + {
|
| + "abort_on_failure": false,
|
| + "can_fail_build": false,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[BUILD]/scripts/slave/gclient_safe_revert.py",
|
| + ".",
|
| + "[DEPOT_TOOLS]/gclient"
|
| + ],
|
| + "name": "gclient revert"
|
| + },
|
| + {
|
| + "abort_on_failure": false,
|
| + "can_fail_build": false,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[DEPOT_TOOLS]/gclient.py",
|
| + "sync",
|
| + "--nohooks",
|
| + "--delete_unversioned_trees",
|
| + "--force",
|
| + "--revision",
|
| + "src@HEAD",
|
| + "--output-json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "gclient sync",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"src/third_party/WebKit/\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"revision\": 124383@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc/\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"revision\": 120644@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarm_client/\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"revision\": 200767@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client/\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"revision\": 276089@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@",
|
| + "@@@SET_BUILD_PROPERTY@got_nacl_revision@274981@@@",
|
| + "@@@SET_BUILD_PROPERTY@got_webkit_revision@124383@@@",
|
| + "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@",
|
| + "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@",
|
| + "@@@SET_BUILD_PROPERTY@got_revision@170242@@@",
|
| + "@@@SET_BUILD_PROPERTY@got_swarm_client_revision@200767@@@"
|
| + ]
|
| + },
|
| + {
|
| + "abort_on_failure": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[DEPOT_TOOLS]/apply_issue.py",
|
| + "-r",
|
| + "[SLAVE_BUILD]/src",
|
| + "-i",
|
| + "12853011",
|
| + "-p",
|
| + "1",
|
| + "-s",
|
| + "https://codereview.chromium.org",
|
| + "--no-auth"
|
| + ],
|
| + "name": "apply_issue",
|
| + "seed_steps": [
|
| + "apply_issue",
|
| + "read test spec",
|
| + "gclient runhooks"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| + "[SLAVE_BUILD]/src/testing/buildbot/chromium_trybot.json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "read test spec",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@[]@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[DEPOT_TOOLS]/gclient.py",
|
| + "runhooks"
|
| + ],
|
| + "env": {
|
| + "GYP_DEFINES": "component=shared_library dcheck_always_on=1 fastbuild=1 gomadir='[BUILD]/goma' target_arch=x64 use_goma=1"
|
| + },
|
| + "name": "gclient runhooks"
|
| + },
|
| + {
|
| + "abort_on_failure": false,
|
| + "can_fail_build": false,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[BUILD]/scripts/slave/compile.py",
|
| + "--target",
|
| + "Debug",
|
| + "--src-dir",
|
| + "[SLAVE_BUILD]/src",
|
| + "--build-tool",
|
| + "ninja",
|
| + "--compiler",
|
| + "goma",
|
| + "--goma-dir",
|
| + "[BUILD]/goma",
|
| + "--",
|
| + "base_unittests",
|
| + "cacheinvalidation_unittests",
|
| + "cc_unittests",
|
| + "chromedriver_unittests",
|
| + "components_unittests",
|
| + "content_unittests",
|
| + "crypto_unittests",
|
| + "google_apis_unittests",
|
| + "gpu_unittests",
|
| + "ipc_tests",
|
| + "jingle_unittests",
|
| + "media_unittests",
|
| + "net_unittests",
|
| + "ppapi_unittests",
|
| + "printing_unittests",
|
| + "remoting_unittests",
|
| + "sql_unittests",
|
| + "sync_unit_tests",
|
| + "ui_unittests",
|
| + "unit_tests",
|
| + "browser_tests",
|
| + "content_browsertests",
|
| + "interactive_ui_tests",
|
| + "sync_integration_tests",
|
| + "chrome"
|
| + ],
|
| + "name": "compile (with patch)"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[DEPOT_TOOLS]/gn.py",
|
| + "gen",
|
| + "-o",
|
| + "[SLAVE_BUILD]/Debug_gn",
|
| + "--args=is_debug=true"
|
| + ],
|
| + "name": "gn"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "[DEPOT_TOOLS]/ninja",
|
| + "-C",
|
| + "[SLAVE_BUILD]/Debug_gn"
|
| + ],
|
| + "name": "compile (gn with patch)",
|
| + "~followup_annotations": [
|
| + "step returned non-zero exit code: 1",
|
| + "@@@STEP_FAILURE@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[DEPOT_TOOLS]/gclient.py",
|
| + "config",
|
| + "--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', 'safesync_url': 'https://build.chromium.org/p/chromium/lkcr-status/lkgr', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]"
|
| + ],
|
| + "name": "gclient setup (2)",
|
| + "skip": true
|
| + },
|
| + {
|
| + "abort_on_failure": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[BUILD]/scripts/slave/gclient_safe_revert.py",
|
| + ".",
|
| + "[DEPOT_TOOLS]/gclient"
|
| + ],
|
| + "name": "gclient revert (2)",
|
| + "skip": true
|
| + },
|
| + {
|
| + "abort_on_failure": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[DEPOT_TOOLS]/gclient.py",
|
| + "sync",
|
| + "--nohooks",
|
| + "--delete_unversioned_trees",
|
| + "--force",
|
| + "--revision",
|
| + "src@HEAD",
|
| + "--output-json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "gclient sync (2)",
|
| + "skip": true
|
| + },
|
| + {
|
| + "abort_on_failure": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[DEPOT_TOOLS]/apply_issue.py",
|
| + "-r",
|
| + "[SLAVE_BUILD]/src",
|
| + "-i",
|
| + "12853011",
|
| + "-p",
|
| + "1",
|
| + "-s",
|
| + "https://codereview.chromium.org",
|
| + "--no-auth"
|
| + ],
|
| + "name": "apply_issue (2)",
|
| + "seed_steps": [
|
| + "apply_issue (2)",
|
| + "compile (with patch, lkcr, clobber)"
|
| + ],
|
| + "skip": true
|
| + },
|
| + {
|
| + "abort_on_failure": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[BUILD]/scripts/slave/compile.py",
|
| + "--target",
|
| + "Debug",
|
| + "--src-dir",
|
| + "[SLAVE_BUILD]/src",
|
| + "--build-tool",
|
| + "ninja",
|
| + "--compiler",
|
| + "goma",
|
| + "--goma-dir",
|
| + "[BUILD]/goma",
|
| + "--clobber",
|
| + "--",
|
| + "base_unittests",
|
| + "cacheinvalidation_unittests",
|
| + "cc_unittests",
|
| + "chromedriver_unittests",
|
| + "components_unittests",
|
| + "content_unittests",
|
| + "crypto_unittests",
|
| + "google_apis_unittests",
|
| + "gpu_unittests",
|
| + "ipc_tests",
|
| + "jingle_unittests",
|
| + "media_unittests",
|
| + "net_unittests",
|
| + "ppapi_unittests",
|
| + "printing_unittests",
|
| + "remoting_unittests",
|
| + "sql_unittests",
|
| + "sync_unit_tests",
|
| + "ui_unittests",
|
| + "unit_tests",
|
| + "browser_tests",
|
| + "content_browsertests",
|
| + "interactive_ui_tests",
|
| + "sync_integration_tests",
|
| + "chrome"
|
| + ],
|
| + "name": "compile (with patch, lkcr, clobber)",
|
| + "skip": true
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\nimport os, shutil, sys\nfor p in [os.path.join(sys.argv[1], x) for x in os.listdir(sys.argv[1])]:\n if os.path.isdir(p):\n shutil.rmtree(p)\n else:\n os.unlink(p)\n",
|
| + "[SLAVE_BUILD]/Debug_gn"
|
| + ],
|
| + "name": "rmcontents slave gn build directory",
|
| + "skip": true
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[DEPOT_TOOLS]/gn.py",
|
| + "gen",
|
| + "-o",
|
| + "[SLAVE_BUILD]/Debug_gn",
|
| + "--args=is_debug=true"
|
| + ],
|
| + "name": "gn (2)",
|
| + "skip": true
|
| + },
|
| + {
|
| + "cmd": [
|
| + "[DEPOT_TOOLS]/ninja",
|
| + "-C",
|
| + "[SLAVE_BUILD]/Debug_gn"
|
| + ],
|
| + "name": "compile (gn with patch, lkcr, clobber)",
|
| + "skip": true
|
| + }
|
| +]
|
|
|