| Index: scripts/slave/recipes/ios/try.expected/swarming.json
|
| diff --git a/scripts/slave/recipes/ios/try.expected/swarming.json b/scripts/slave/recipes/ios/try.expected/swarming.json
|
| deleted file mode 100644
|
| index a3f13d24d03be4504d9e74c6fb2f2aceeb6fba85..0000000000000000000000000000000000000000
|
| --- a/scripts/slave/recipes/ios/try.expected/swarming.json
|
| +++ /dev/null
|
| @@ -1,692 +0,0 @@
|
| -[
|
| - {
|
| - "cmd": [
|
| - "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py",
|
| - "--json-file",
|
| - "/path/to/tmp/json"
|
| - ],
|
| - "name": "host and tools info",
|
| - "~followup_annotations": [
|
| - "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@",
|
| - "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"Mac OS X Version\": \"1.2.3\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"Xcode Build Version\": \"5D342509a\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"Xcode SDKs\": [@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"fake sdk 1.0\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"fake sdk 1.1\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"fake sdk 2.0\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ ], @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"Xcode Version\": \"6.7.8\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@}@@@",
|
| - "@@@STEP_LOG_END@json.output@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
|
| - "[BUILDER_CACHE]/ios_simulator_swarming",
|
| - "511"
|
| - ],
|
| - "name": "makedirs checkout path",
|
| - "~followup_annotations": [
|
| - "@@@STEP_LOG_LINE@python.inline@@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
|
| - "@@@STEP_LOG_END@python.inline@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
| - "--spec",
|
| - "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/data/firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchplugins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/frame_rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/data/ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src/data/mach_ports': None, 'src/data/memory_test': None, 'src/data/mozilla_js_tests': None, 'src/data/page_cycler': None, 'src/data/selenium_core': None, 'src/data/tab_switching': None, 'src/tools/grit/grit/test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webkit/data/ico_decoder': None, 'src/webkit/data/test_shell/plugins': None, 'src/webkit/data/xbm_decoder': None}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'src-internal', 'url': 'https://chrome-internal.googlesource.com/chrome/src-internal.git'}]\ntarget_os = ['ios']",
|
| - "--patch_root",
|
| - "src",
|
| - "--revision_mapping_file",
|
| - "{\"src\": \"got_revision\", \"src/buildtools\": \"got_buildtools_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_revision\"}",
|
| - "--git-cache-dir",
|
| - "[GIT_CACHE]",
|
| - "--issue",
|
| - "123456",
|
| - "--patchset",
|
| - "1",
|
| - "--rietveld_server",
|
| - "fake://rietveld.url",
|
| - "--output_json",
|
| - "/path/to/tmp/json",
|
| - "--revision",
|
| - "src@HEAD",
|
| - "--output_manifest"
|
| - ],
|
| - "cwd": "[BUILDER_CACHE]/ios_simulator_swarming",
|
| - "env": {
|
| - "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| - },
|
| - "name": "bot_update",
|
| - "~followup_annotations": [
|
| - "@@@STEP_TEXT@Some step text@@@",
|
| - "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src.git\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/buildtools.git\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b2809876916353cb994259692140934\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"src/native_client\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/native_client.git\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e269b7982aeeefc1b9b50\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/third_party/angle.git\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a728eb85b8d7bc6080c\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/third_party/webrtc.git\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d9268596da93418c623137f4\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/tools/swarming_client.git\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c759c837980b63b99566\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"src/v8\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/v8.git\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a35f03975671d43e399\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f77757b9a728eb85b8d7bc6080c\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/master@{#297276}\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision\": \"f0319a328b2809876916353cb994259692140934\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision_cp\": \"refs/heads/master@{#182578}\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e8253980d76e269b7982aeeefc1b9b50\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/master@{#274981}\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#170242}\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee5d99f1d4b38ddaa4c759c837980b63b99566\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"refs/heads/master@{#276089}\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c132c3a35f03975671d43e399\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/master@{#43426}\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546e61d9268596da93418c623137f4\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads/master@{#120644}\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@}@@@",
|
| - "@@@STEP_LOG_END@json.output@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aeeefc1b9b50\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4c759c837980b63b99566\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_buildtools_revision_cp@\"refs/heads/master@{#182578}\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da93418c623137f4\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b8d7bc6080c\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671d43e399\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master@{#276089}\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644}\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}\"@@@",
|
| - "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb994259692140934\"@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[BUILDER_CACHE]/ios_simulator_swarming/src/ios/build/bots/chromium.mac/ios-simulator-swarming.json",
|
| - "/path/to/tmp/json"
|
| - ],
|
| - "name": "read build config",
|
| - "~followup_annotations": [
|
| - "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"fake gyp define 1\": \"fake value 1\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"fake gyp define 2\": \"fake value 2\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"sdk\": \"iphonesimulator8.0\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"tests\": [@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"app\": \"fake test\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"device type\": \"fake device\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"os\": \"8.1\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ ], @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"xcode version\": \"fake xcode version\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@}@@@",
|
| - "@@@STEP_LOG_END@json.output@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "echo",
|
| - "-e",
|
| - "{\n \"GYP_DEFINES\": {\n \"OS\": \"ios\", \n \"component\": \"static_library\", \n \"fake gyp define 1\": \"fake value 1\", \n \"fake gyp define 2\": \"fake value 2\"\n }, \n \"additional_compile_targets\": [\n \"All\"\n ], \n \"configuration\": \"Debug\", \n \"env\": {}, \n \"gn_args\": [], \n \"mastername\": \"chromium.mac\", \n \"mb_type\": null, \n \"sdk\": \"iphonesimulator8.0\", \n \"tests\": [\n {\n \"app\": \"fake test\", \n \"device type\": \"fake device\", \n \"id\": \"0\", \n \"os\": \"8.1\"\n }\n ], \n \"triggered bots\": {}, \n \"use_analyze\": true, \n \"xcode version\": \"fake xcode version\"\n}"
|
| - ],
|
| - "name": "finalize build config"
|
| - },
|
| - {
|
| - "cmd": [
|
| - "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/find_xcode.py",
|
| - "--json-file",
|
| - "/path/to/tmp/json",
|
| - "--version",
|
| - "fake xcode version"
|
| - ],
|
| - "name": "find xcode",
|
| - "~followup_annotations": [
|
| - "@@@STEP_LOG_LINE@json.output@{}@@@",
|
| - "@@@STEP_LOG_END@json.output@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
|
| - "runhooks"
|
| - ],
|
| - "cwd": "[BUILDER_CACHE]/ios_simulator_swarming/src",
|
| - "env": {
|
| - "GYP_CROSSCOMPILE": "1",
|
| - "GYP_DEFINES": "fake gyp define 1=fake value 1 fake gyp define 2=fake value 2 component=static_library OS=ios",
|
| - "GYP_GENERATORS": "ninja",
|
| - "LANDMINES_VERBOSE": "1",
|
| - "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| - },
|
| - "name": "gclient runhooks (with patch)",
|
| - "~followup_annotations": [
|
| - "@@@STEP_TEXT@<br />GYP_DEFINES:<br />fake gyp define 1=fake value 1<br />fake gyp define 2=fake value 2<br />component=static_library<br />OS=ios@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "git",
|
| - "diff",
|
| - "--cached",
|
| - "--name-only"
|
| - ],
|
| - "cwd": "[BUILDER_CACHE]/ios_simulator_swarming/src",
|
| - "name": "git diff to analyze patch",
|
| - "stdout": "/path/to/tmp/",
|
| - "~followup_annotations": [
|
| - "@@@STEP_LOG_LINE@files@foo.cc@@@",
|
| - "@@@STEP_LOG_END@files@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[BUILDER_CACHE]/ios_simulator_swarming/src/testing/buildbot/trybot_analyze_config.json",
|
| - "/path/to/tmp/json"
|
| - ],
|
| - "name": "read filter exclusion spec",
|
| - "~followup_annotations": [
|
| - "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
|
| - "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"exclusions\": [@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"f.*\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"ios\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| - "@@@STEP_LOG_LINE@json.output@}@@@",
|
| - "@@@STEP_LOG_END@json.output@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "import sys; sys.exit(0)"
|
| - ],
|
| - "name": "analyze",
|
| - "~followup_annotations": [
|
| - "@@@STEP_TEXT@Analyze disabled: matched exclusion@@@",
|
| - "@@@STEP_LOG_LINE@excluded_files@foo.cc (regex = 'f.*')@@@",
|
| - "@@@STEP_LOG_END@excluded_files@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@{@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"additional_compile_targets\": [@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"All\", @@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"fake test\"@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"compile_targets\": [@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"All\", @@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"fake test\"@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"self.m.filter.compile_targets\": [@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"All\", @@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"fake test\"@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"self.m.filter.test_targets\": [@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"fake test\"@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"test_targets\": [@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ \"fake test\"@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@ ]@@@",
|
| - "@@@STEP_LOG_LINE@analyze_details@}@@@",
|
| - "@@@STEP_LOG_END@analyze_details@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "ninja",
|
| - "-C",
|
| - "[BUILDER_CACHE]/ios_simulator_swarming/src/out/Debug-iphonesimulator",
|
| - "All",
|
| - "fake test"
|
| - ],
|
| - "cwd": "[BUILDER_CACHE]/ios_simulator_swarming/src/out/Debug-iphonesimulator",
|
| - "name": "compile (with patch)"
|
| - },
|
| - {
|
| - "cmd": [],
|
| - "name": "bootstrap swarming"
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
|
| - "--path",
|
| - "[SLAVE_BUILD]/swarming.client",
|
| - "--url",
|
| - "https://chromium.googlesource.com/external/swarming.client.git"
|
| - ],
|
| - "name": "bootstrap swarming.git setup (swarming_client)",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "git",
|
| - "retry",
|
| - "fetch",
|
| - "origin",
|
| - "stable"
|
| - ],
|
| - "cwd": "[SLAVE_BUILD]/swarming.client",
|
| - "env": {
|
| - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
|
| - },
|
| - "name": "bootstrap swarming.git fetch (swarming_client)",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "git",
|
| - "checkout",
|
| - "-f",
|
| - "FETCH_HEAD"
|
| - ],
|
| - "cwd": "[SLAVE_BUILD]/swarming.client",
|
| - "name": "bootstrap swarming.git checkout (swarming_client)",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "git",
|
| - "rev-parse",
|
| - "HEAD"
|
| - ],
|
| - "cwd": "[SLAVE_BUILD]/swarming.client",
|
| - "name": "bootstrap swarming.read revision",
|
| - "stdout": "/path/to/tmp/",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@",
|
| - "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "git",
|
| - "clean",
|
| - "-f",
|
| - "-d",
|
| - "-x"
|
| - ],
|
| - "cwd": "[SLAVE_BUILD]/swarming.client",
|
| - "name": "bootstrap swarming.git clean (swarming_client)",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "git",
|
| - "submodule",
|
| - "sync"
|
| - ],
|
| - "cwd": "[SLAVE_BUILD]/swarming.client",
|
| - "name": "bootstrap swarming.submodule sync (swarming_client)",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "git",
|
| - "submodule",
|
| - "update",
|
| - "--init",
|
| - "--recursive"
|
| - ],
|
| - "cwd": "[SLAVE_BUILD]/swarming.client",
|
| - "name": "bootstrap swarming.submodule update (swarming_client)",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "[SLAVE_BUILD]/swarming.client/swarming.py",
|
| - "--version"
|
| - ],
|
| - "name": "bootstrap swarming.swarming.py --version",
|
| - "stdout": "/path/to/tmp/",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@",
|
| - "@@@STEP_TEXT@1.2.3@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [],
|
| - "name": "isolate"
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "{\n \"conditions\": [\n [\n \"OS == \\\"ios\\\"\", \n {\n \"variables\": {\n \"command\": [\n \"src/ios/build/bots/scripts/run.py\", \n \"--app\", \n \"<(app_path)\", \n \"--args-json\", \n \"{\\\"xctest\\\": <(xctest)}\", \n \"--out-dir\", \n \"${ISOLATED_OUTDIR}\", \n \"--xcode-version\", \n \"<(xcode_version)\", \n \"--iossim\", \n \"src/out/Debug-iphonesimulator/iossim\", \n \"--platform\", \n \"<(platform)\", \n \"--version\", \n \"<(version)\"\n ], \n \"files\": [\n \"<(app_path)/\", \n \"src/ios/build/bots/scripts/\", \n \"src/out/Debug-iphonesimulator/iossim\"\n ]\n }\n }\n ]\n ]\n}",
|
| - "[SLAVE_BUILD]/template.isolate"
|
| - ],
|
| - "name": "isolate.generate template.isolate",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@{@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"conditions\": [@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ [@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"OS == \\\"ios\\\"\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ {@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"variables\": {@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"command\": [@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"src/ios/build/bots/scripts/run.py\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"--app\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"<(app_path)\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"--args-json\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"{\\\"xctest\\\": <(xctest)}\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"--out-dir\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"${ISOLATED_OUTDIR}\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"--xcode-version\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"<(xcode_version)\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"--iossim\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"src/out/Debug-iphonesimulator/iossim\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"--platform\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"<(platform)\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"--version\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"<(version)\"@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ ], @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"files\": [@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"<(app_path)/\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"src/ios/build/bots/scripts/\", @@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ \"src/out/Debug-iphonesimulator/iossim\"@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ ]@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ }@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ }@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ ]@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@ ]@@@",
|
| - "@@@STEP_LOG_LINE@template.isolate@}@@@",
|
| - "@@@STEP_LOG_END@template.isolate@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "{\n \"args\": [\n \"--config-variable\", \n \"OS\", \n \"ios\", \n \"--config-variable\", \n \"app_path\", \n \"src/out/Debug-iphonesimulator/fake test.app\", \n \"--config-variable\", \n \"xcode_version\", \n \"fake xcode version\", \n \"--config-variable\", \n \"xctest\", \n \"false\", \n \"--isolate\", \n \"[SLAVE_BUILD]/template.isolate\", \n \"--isolated\", \n \"[TMP_BASE]/isolate_tmp_1/0.isolated\", \n \"--path-variable\", \n \"app_path\", \n \"src/out/Debug-iphonesimulator/fake test.app\", \n \"--config-variable\", \n \"platform\", \n \"fake device\", \n \"--config-variable\", \n \"version\", \n \"8.1\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}",
|
| - "[TMP_BASE]/isolate_tmp_1/0.isolate.gen.json"
|
| - ],
|
| - "name": "isolate.generate 0.isolate.gen.json",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@",
|
| - "@@@STEP_TEXT@fake test (fake device iOS 8.1)@@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@{@@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"args\": [@@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--config-variable\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"OS\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"ios\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--config-variable\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"app_path\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"src/out/Debug-iphonesimulator/fake test.app\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--config-variable\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"xcode_version\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"fake xcode version\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--config-variable\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"xctest\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"false\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--isolate\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"[SLAVE_BUILD]/template.isolate\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--isolated\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"[TMP_BASE]/isolate_tmp_1/0.isolated\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--path-variable\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"app_path\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"src/out/Debug-iphonesimulator/fake test.app\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--config-variable\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"platform\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"fake device\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--config-variable\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"version\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"8.1\"@@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ ], @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"dir\": \"[SLAVE_BUILD]\", @@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"version\": 1@@@",
|
| - "@@@STEP_LOG_LINE@0.isolate.gen.json@}@@@",
|
| - "@@@STEP_LOG_END@0.isolate.gen.json@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "[SLAVE_BUILD]/swarming.client/isolate.py",
|
| - "batcharchive",
|
| - "--dump-json",
|
| - "/path/to/tmp/json",
|
| - "--isolate-server",
|
| - "https://isolateserver.appspot.com",
|
| - "[TMP_BASE]/isolate_tmp_1/0.isolate.gen.json"
|
| - ],
|
| - "name": "isolate.archive",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@",
|
| - "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"0\": \"fake-hash-0\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@}@@@",
|
| - "@@@STEP_LOG_END@json.output@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [],
|
| - "name": "trigger"
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "[SLAVE_BUILD]/swarming.client/swarming.py",
|
| - "trigger",
|
| - "--swarming",
|
| - "https://chromium-swarm.appspot.com",
|
| - "--isolate-server",
|
| - "https://isolateserver.appspot.com",
|
| - "--priority",
|
| - "200",
|
| - "--shards",
|
| - "1",
|
| - "--task-name",
|
| - "fake test (fake device iOS 8.1)/Mac/fake-hash-/ios-simulator-swarming/0",
|
| - "--dump-json",
|
| - "/path/to/tmp/json",
|
| - "--expiration",
|
| - "3600",
|
| - "--io-timeout",
|
| - "1200",
|
| - "--hard-timeout",
|
| - "3600",
|
| - "--dimension",
|
| - "os",
|
| - "Mac",
|
| - "--dimension",
|
| - "pool",
|
| - "Chrome",
|
| - "--dimension",
|
| - "xcode_version",
|
| - "fake xcode version",
|
| - "--tag",
|
| - "buildername:ios-simulator-swarming",
|
| - "--tag",
|
| - "buildnumber:0",
|
| - "--tag",
|
| - "data:fake-hash-0",
|
| - "--tag",
|
| - "device_type:fake device",
|
| - "--tag",
|
| - "ios_version:8.1",
|
| - "--tag",
|
| - "master:tryserver.fake",
|
| - "--tag",
|
| - "name:fake",
|
| - "--tag",
|
| - "os:Mac",
|
| - "--tag",
|
| - "platform:simulator",
|
| - "--tag",
|
| - "rietveld:fake://rietveld.url/123456/#ps1",
|
| - "--tag",
|
| - "slavename:fake-vm",
|
| - "--tag",
|
| - "spec_name:tryserver.fake:ios-simulator-swarming:fake test:simulator:fake device:8.1:fake xcode version",
|
| - "--tag",
|
| - "stepname:fake test (fake device iOS 8.1) on Mac",
|
| - "--tag",
|
| - "test:fake test",
|
| - "fake-hash-0"
|
| - ],
|
| - "name": "trigger.[trigger] fake test (fake device iOS 8.1) on Mac",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@",
|
| - "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"fake test (fake device iOS 8.1)/Mac/fake-hash-/ios-simulator-swarming/0\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"fake test (fake device iOS 8.1)/Mac/fake-hash-/ios-simulator-swarming/0\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| - "@@@STEP_LOG_LINE@json.output@}@@@",
|
| - "@@@STEP_LOG_END@json.output@@@",
|
| - "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "[SLAVE_BUILD]/swarming.client/swarming.py",
|
| - "collect",
|
| - "--swarming",
|
| - "https://chromium-swarm.appspot.com",
|
| - "--decorate",
|
| - "--print-status-updates",
|
| - "--json",
|
| - "{\"base_task_name\": \"fake test (fake device iOS 8.1)/Mac/fake-hash-/ios-simulator-swarming/0\", \"tasks\": {\"fake test (fake device iOS 8.1)/Mac/fake-hash-/ios-simulator-swarming/0\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}",
|
| - "--task-summary-json",
|
| - "/path/to/tmp/json",
|
| - "--task-output-dir",
|
| - "[TMP_BASE]/0_tmp_2"
|
| - ],
|
| - "name": "fake test (fake device iOS 8.1) on Mac",
|
| - "~followup_annotations": [
|
| - "@@@STEP_TEXT@swarming pending 71s@@@",
|
| - "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ ], @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ 0, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ 0@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ ], @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ ], @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| - "@@@STEP_LOG_LINE@json.output@}@@@",
|
| - "@@@STEP_LOG_END@json.output@@@",
|
| - "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@@@"
|
| - ]
|
| - },
|
| - {
|
| - "name": "$result",
|
| - "recipe_result": null,
|
| - "status_code": 0
|
| - }
|
| -]
|
|
|