| Index: scripts/slave/recipes/findit/chromium/test.expected/findit_culprit_in_middle_sub_range.json
|
| diff --git a/scripts/slave/recipes/findit/chromium/compile.expected/find_culprit_in_second_sub_range.json b/scripts/slave/recipes/findit/chromium/test.expected/findit_culprit_in_middle_sub_range.json
|
| similarity index 52%
|
| copy from scripts/slave/recipes/findit/chromium/compile.expected/find_culprit_in_second_sub_range.json
|
| copy to scripts/slave/recipes/findit/chromium/test.expected/findit_culprit_in_middle_sub_range.json
|
| index a4a7c754a2e922b3ef1872775f72eec90a7f06cc..fa9505fa1c7a4bda42ec9bae3461d3940ec289aa 100644
|
| --- a/scripts/slave/recipes/findit/chromium/compile.expected/find_culprit_in_second_sub_range.json
|
| +++ b/scripts/slave/recipes/findit/chromium/test.expected/findit_culprit_in_middle_sub_range.json
|
| @@ -5,9 +5,9 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
| "--master",
|
| - "tryserver.chromium.linux",
|
| + "tryserver.chromium.mac",
|
| "--builder",
|
| - "linux_variable",
|
| + "mac_chromium_variable",
|
| "--slave",
|
| "build1-a1",
|
| "--spec",
|
| @@ -113,7 +113,7 @@
|
| "-u",
|
| "RECIPE_MODULE[build::cipd]/resources/bootstrap.py",
|
| "--platform",
|
| - "linux-amd64",
|
| + "mac-amd64",
|
| "--dest-directory",
|
| "[SLAVE_BUILD]/cipd",
|
| "--json-output",
|
| @@ -137,7 +137,7 @@
|
| "--root",
|
| "[CACHE]/cipd/goma",
|
| "--list",
|
| - "infra_internal/goma/client/linux-amd64 release",
|
| + "infra_internal/goma/client/mac-amd64 release",
|
| "--json-output",
|
| "/path/to/tmp/json",
|
| "--service-account-json",
|
| @@ -150,7 +150,7 @@
|
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
|
| "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-release---------\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/linux-amd64\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/mac-amd64\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| "@@@STEP_LOG_LINE@json.output@}@@@",
|
| @@ -179,9 +179,10 @@
|
| ],
|
| "cwd": "[SLAVE_BUILD]/src",
|
| "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| "GYP_CHROMIUM_NO_ACTION": "1",
|
| - "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1",
|
| + "GYP_DEFINES": "archive_gpu_tests=1 clang=1 component=static_library ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1",
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| "name": "gclient runhooks"
|
| @@ -200,7 +201,7 @@
|
| "--paths",
|
| "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}",
|
| "--properties",
|
| - "{\"buildername\": \"linux_variable\", \"buildnumber\": \"1\", \"mastername\": \"tryserver.chromium.linux\", \"slavename\": \"build1-a1\", \"target_platform\": \"linux\"}"
|
| + "{\"buildername\": \"mac_chromium_variable\", \"buildnumber\": 1, \"mastername\": \"tryserver.chromium.mac\", \"slavename\": \"build1-a1\", \"target_platform\": \"mac\"}"
|
| ],
|
| "name": "get compile targets for scripts",
|
| "~followup_annotations": [
|
| @@ -213,12 +214,12 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json",
|
| + "[SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json",
|
| "/path/to/tmp/json"
|
| ],
|
| "name": "read test spec",
|
| "~followup_annotations": [
|
| - "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json@@@",
|
| + "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json@@@",
|
| "@@@STEP_LOG_LINE@json.output@{}@@@",
|
| "@@@STEP_LOG_END@json.output@@@"
|
| ]
|
| @@ -228,27 +229,24 @@
|
| "git",
|
| "log",
|
| "--format=%H",
|
| - "r1..r6"
|
| + "r0..r6"
|
| ],
|
| "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git commits in range",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@revisions@r1@@@",
|
| "@@@STEP_LOG_LINE@revisions@r2@@@",
|
| "@@@STEP_LOG_LINE@revisions@r3@@@",
|
| "@@@STEP_LOG_LINE@revisions@r4@@@",
|
| "@@@STEP_LOG_LINE@revisions@r5@@@",
|
| "@@@STEP_LOG_LINE@revisions@r6@@@",
|
| - "@@@STEP_LOG_LINE@revisions@r7@@@",
|
| - "@@@STEP_LOG_LINE@revisions@r8@@@",
|
| - "@@@STEP_LOG_LINE@revisions@r9@@@",
|
| - "@@@STEP_LOG_LINE@revisions@r10@@@",
|
| "@@@STEP_LOG_END@revisions@@@"
|
| ]
|
| },
|
| {
|
| "cmd": [],
|
| - "name": "test r7"
|
| + "name": "test r5"
|
| },
|
| {
|
| "cmd": [
|
| @@ -256,9 +254,9 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
| "--master",
|
| - "tryserver.chromium.linux",
|
| + "tryserver.chromium.mac",
|
| "--builder",
|
| - "linux_variable",
|
| + "mac_chromium_variable",
|
| "--slave",
|
| "build1-a1",
|
| "--spec",
|
| @@ -272,20 +270,20 @@
|
| "--output_json",
|
| "/path/to/tmp/json",
|
| "--revision",
|
| - "src@r7",
|
| + "src@r5",
|
| "--output_manifest"
|
| ],
|
| "env": {
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| - "name": "test r7.bot_update",
|
| + "name": "test r5.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, @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"src\": \"r7\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"src\": \"r5\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
|
| @@ -357,7 +355,7 @@
|
| },
|
| {
|
| "cmd": [],
|
| - "name": "test r7.ensure_goma",
|
| + "name": "test r5.ensure_goma",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| @@ -368,13 +366,13 @@
|
| "-u",
|
| "RECIPE_MODULE[build::cipd]/resources/bootstrap.py",
|
| "--platform",
|
| - "linux-amd64",
|
| + "mac-amd64",
|
| "--dest-directory",
|
| "[SLAVE_BUILD]/cipd",
|
| "--json-output",
|
| "/path/to/tmp/json"
|
| ],
|
| - "name": "test r7.ensure_goma.install cipd",
|
| + "name": "test r5.ensure_goma.install cipd",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@2@@@",
|
| "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
|
| @@ -392,20 +390,20 @@
|
| "--root",
|
| "[CACHE]/cipd/goma",
|
| "--list",
|
| - "infra_internal/goma/client/linux-amd64 release",
|
| + "infra_internal/goma/client/mac-amd64 release",
|
| "--json-output",
|
| "/path/to/tmp/json",
|
| "--service-account-json",
|
| "/creds/service_accounts/service-account-goma-client.json"
|
| ],
|
| - "name": "test r7.ensure_goma.ensure_installed",
|
| + "name": "test r5.ensure_goma.ensure_installed",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@2@@@",
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
|
| "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-release---------\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/linux-amd64\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/mac-amd64\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| "@@@STEP_LOG_LINE@json.output@}@@@",
|
| @@ -421,12 +419,13 @@
|
| ],
|
| "cwd": "[SLAVE_BUILD]/src",
|
| "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| "GYP_CHROMIUM_NO_ACTION": "1",
|
| - "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1",
|
| + "GYP_DEFINES": "archive_gpu_tests=1 clang=1 component=static_library ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1",
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| - "name": "test r7.gclient runhooks",
|
| + "name": "test r5.gclient runhooks",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| @@ -445,9 +444,9 @@
|
| "--paths",
|
| "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}",
|
| "--properties",
|
| - "{\"buildername\": \"linux_variable\", \"buildnumber\": \"1\", \"mastername\": \"tryserver.chromium.linux\", \"slavename\": \"build1-a1\", \"target_platform\": \"linux\"}"
|
| + "{\"buildername\": \"mac_chromium_variable\", \"buildnumber\": 1, \"mastername\": \"tryserver.chromium.mac\", \"slavename\": \"build1-a1\", \"target_platform\": \"mac\"}"
|
| ],
|
| - "name": "test r7.get compile targets for scripts",
|
| + "name": "test r5.get compile targets for scripts",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@",
|
| "@@@STEP_LOG_LINE@json.output@{}@@@",
|
| @@ -459,14 +458,25 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json",
|
| + "[SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json",
|
| "/path/to/tmp/json"
|
| ],
|
| - "name": "test r7.read test spec",
|
| + "name": "test r5.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_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"Mac10.9 Tests\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": true@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"test\": \"gl_tests\"@@@",
|
| + "@@@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@@@"
|
| ]
|
| },
|
| @@ -474,22 +484,12 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[SLAVE_BUILD]/src/tools/mb/mb.py",
|
| - "gen",
|
| - "-m",
|
| - "chromium.linux",
|
| - "-b",
|
| - "Linux Builder",
|
| - "--config-file",
|
| - "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl",
|
| - "--goma-dir",
|
| - "[CACHE]/cipd/goma",
|
| - "//out/Release"
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
|
| + "--show-path",
|
| + "python",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
|
| ],
|
| - "env": {
|
| - "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| - },
|
| - "name": "test r7.generate_build_files",
|
| + "name": "test r5.cleanup_temp",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| @@ -498,36 +498,12 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "RECIPE_MODULE[build::findit]/resources/check_target_existence.py",
|
| - "--target-build-dir",
|
| + "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
|
| + "--build-dir",
|
| "[SLAVE_BUILD]/src/out/Release",
|
| - "--target",
|
| - "target_name",
|
| - "--json-output",
|
| - "/path/to/tmp/json"
|
| + "--clean-isolated-files"
|
| ],
|
| - "name": "test r7.check_targets",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@",
|
| - "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"found\": [@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"target_name\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ ], @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"not_found\": []@@@",
|
| - "@@@STEP_LOG_LINE@json.output@}@@@",
|
| - "@@@STEP_LOG_END@json.output@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
|
| - "--show-path",
|
| - "python",
|
| - "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
|
| - ],
|
| - "name": "test r7.cleanup_temp",
|
| + "name": "test r5.clean isolated files",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| @@ -539,21 +515,50 @@
|
| "[SLAVE_BUILD]/src/tools/mb/mb.py",
|
| "gen",
|
| "-m",
|
| - "chromium.linux",
|
| + "chromium.mac",
|
| "-b",
|
| - "Linux Builder",
|
| + "Mac Builder",
|
| "--config-file",
|
| "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl",
|
| "--goma-dir",
|
| "[CACHE]/cipd/goma",
|
| + "--swarming-targets-file",
|
| + "gl_tests\n",
|
| "//out/Release"
|
| ],
|
| "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| },
|
| - "name": "test r7.generate_build_files (2)",
|
| + "name": "test r5.generate_build_files",
|
| "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@"
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@swarming-targets-file.txt@gl_tests@@@",
|
| + "@@@STEP_LOG_END@swarming-targets-file.txt@@@"
|
| + ]
|
| + },
|
| + {
|
| + "allow_subannotations": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py",
|
| + "--src-dir",
|
| + "[SLAVE_BUILD]/src",
|
| + "--output-json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| + },
|
| + "name": "test r5.clang_revision",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| ]
|
| },
|
| {
|
| @@ -577,7 +582,7 @@
|
| "--build-tool",
|
| "ninja",
|
| "--compiler",
|
| - "goma",
|
| + "goma-clang",
|
| "--goma-jsonstatus",
|
| "/path/to/tmp/json",
|
| "--goma-service-account-json-file",
|
| @@ -586,25 +591,197 @@
|
| "[CACHE]/cipd/goma",
|
| "--ninja-ensure-up-to-date",
|
| "--",
|
| - "target_name"
|
| + "gl_tests",
|
| + "gl_tests_run"
|
| ],
|
| "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| },
|
| - "name": "test r7.compile",
|
| + "name": "test r5.compile",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@",
|
| - "step returned non-zero exit code: 1",
|
| "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
|
| - "@@@STEP_LOG_END@json.output (invalid)@@@",
|
| - "@@@STEP_LOG_LINE@exception@TypeError(\"'NoneType' object has no attribute '__getitem__'\",)@@@",
|
| - "@@@STEP_LOG_END@exception@@@",
|
| - "@@@STEP_WARNINGS@@@"
|
| + "@@@STEP_LOG_END@json.output (invalid)@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py",
|
| + "--build-dir",
|
| + "[SLAVE_BUILD]/src/out/Release",
|
| + "--src-dir",
|
| + "[SLAVE_BUILD]/src"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| + "name": "test r5.remove_build_metadata",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::isolate]/resources/isolate.py",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client",
|
| + "batcharchive",
|
| + "--dump-json",
|
| + "/path/to/tmp/json",
|
| + "--isolate-server",
|
| + "https://isolateserver.appspot.com",
|
| + "--verbose",
|
| + "[SLAVE_BUILD]/src/out/Release/gl_tests.isolated.gen.json"
|
| + ],
|
| + "name": "test r5.isolate tests",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gl_tests\": \"[dummy hash for gl_tests]\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
|
| + "trigger",
|
| + "--swarming",
|
| + "https://chromium-swarm.appspot.com",
|
| + "--isolate-server",
|
| + "https://isolateserver.appspot.com",
|
| + "--priority",
|
| + "25",
|
| + "--shards",
|
| + "1",
|
| + "--task-name",
|
| + "gl_tests (r5)/Mac-10.9/[dummy has/mac_chromium_variable/1",
|
| + "--dump-json",
|
| + "/path/to/tmp/json",
|
| + "--expiration",
|
| + "3600",
|
| + "--io-timeout",
|
| + "1200",
|
| + "--hard-timeout",
|
| + "3600",
|
| + "--dimension",
|
| + "cpu",
|
| + "x86-64",
|
| + "--dimension",
|
| + "gpu",
|
| + "none",
|
| + "--dimension",
|
| + "os",
|
| + "Mac-10.9",
|
| + "--dimension",
|
| + "pool",
|
| + "Chrome",
|
| + "--tag",
|
| + "buildername:mac_chromium_variable",
|
| + "--tag",
|
| + "buildnumber:1",
|
| + "--tag",
|
| + "data:[dummy hash for gl_tests]",
|
| + "--tag",
|
| + "master:tryserver.chromium.mac",
|
| + "--tag",
|
| + "name:gl_tests",
|
| + "--tag",
|
| + "os:Mac-10.9",
|
| + "--tag",
|
| + "project:chromium",
|
| + "--tag",
|
| + "purpose:CI",
|
| + "--tag",
|
| + "purpose:post-commit",
|
| + "--tag",
|
| + "slavename:build1-a1",
|
| + "--tag",
|
| + "stepname:gl_tests (r5) on Mac-10.9",
|
| + "--idempotent",
|
| + "[dummy hash for gl_tests]",
|
| + "--",
|
| + "--gtest_filter=Test.One",
|
| + "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
|
| + ],
|
| + "name": "test r5.[trigger] gl_tests (r5) on Mac-10.9",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"gl_tests (r5)/Mac-10.9/[dummy has/mac_chromium_variable/1\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gl_tests (r5)/Mac-10.9/[dummy has/mac_chromium_variable/1\": {@@@",
|
| + "@@@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@@@"
|
| + ]
|
| + },
|
| + {
|
| + "allow_subannotations": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
|
| + "python",
|
| + "RECIPE_MODULE[build::swarming]/resources/collect_gtest_task.py",
|
| + "--swarming-client-dir",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client",
|
| + "--temp-root-dir",
|
| + "[TMP_BASE]",
|
| + "--merged-test-output",
|
| + "/path/to/tmp/json",
|
| + "--",
|
| + "collect",
|
| + "--swarming",
|
| + "https://chromium-swarm.appspot.com",
|
| + "--decorate",
|
| + "--print-status-updates",
|
| + "--shards",
|
| + "1",
|
| + "gl_tests (r5)/Mac-10.9/[dummy has/mac_chromium_variable/1"
|
| + ],
|
| + "name": "test r5.gl_tests (r5) on Mac-10.9",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::test_results]/resources/upload_gtest_test_results.py",
|
| + "--input-gtest-json",
|
| + "{\"per_iteration_data\": [{\"Test.One\": [{\"elapsed_time_ms\": 0, \"output_snippet\": \"\", \"status\": \"SUCCESS\"}]}]}",
|
| + "--master-name",
|
| + "tryserver.chromium.mac",
|
| + "--builder-name",
|
| + "mac_chromium_variable",
|
| + "--build-number",
|
| + "1",
|
| + "--test-type",
|
| + "test r5.gl_tests (r5) on Mac-10.9",
|
| + "--test-results-server",
|
| + "test-results.appspot.com",
|
| + "--chrome-revision",
|
| + "170242"
|
| + ],
|
| + "name": "test r5.Upload to test-results [test r5.gl_tests (r5) on Mac-10.9]",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| },
|
| {
|
| "cmd": [],
|
| - "name": "test r3"
|
| + "name": "test r6"
|
| },
|
| {
|
| "cmd": [
|
| @@ -612,9 +789,9 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
| "--master",
|
| - "tryserver.chromium.linux",
|
| + "tryserver.chromium.mac",
|
| "--builder",
|
| - "linux_variable",
|
| + "mac_chromium_variable",
|
| "--slave",
|
| "build1-a1",
|
| "--spec",
|
| @@ -628,20 +805,20 @@
|
| "--output_json",
|
| "/path/to/tmp/json",
|
| "--revision",
|
| - "src@r3",
|
| + "src@r6",
|
| "--output_manifest"
|
| ],
|
| "env": {
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| - "name": "test r3.bot_update",
|
| + "name": "test r6.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, @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"src\": \"r3\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"src\": \"r6\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
|
| @@ -713,7 +890,7 @@
|
| },
|
| {
|
| "cmd": [],
|
| - "name": "test r3.ensure_goma",
|
| + "name": "test r6.ensure_goma",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| @@ -724,13 +901,13 @@
|
| "-u",
|
| "RECIPE_MODULE[build::cipd]/resources/bootstrap.py",
|
| "--platform",
|
| - "linux-amd64",
|
| + "mac-amd64",
|
| "--dest-directory",
|
| "[SLAVE_BUILD]/cipd",
|
| "--json-output",
|
| "/path/to/tmp/json"
|
| ],
|
| - "name": "test r3.ensure_goma.install cipd",
|
| + "name": "test r6.ensure_goma.install cipd",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@2@@@",
|
| "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
|
| @@ -748,20 +925,20 @@
|
| "--root",
|
| "[CACHE]/cipd/goma",
|
| "--list",
|
| - "infra_internal/goma/client/linux-amd64 release",
|
| + "infra_internal/goma/client/mac-amd64 release",
|
| "--json-output",
|
| "/path/to/tmp/json",
|
| "--service-account-json",
|
| "/creds/service_accounts/service-account-goma-client.json"
|
| ],
|
| - "name": "test r3.ensure_goma.ensure_installed",
|
| + "name": "test r6.ensure_goma.ensure_installed",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@2@@@",
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
|
| "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-release---------\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/linux-amd64\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/mac-amd64\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| "@@@STEP_LOG_LINE@json.output@}@@@",
|
| @@ -777,12 +954,13 @@
|
| ],
|
| "cwd": "[SLAVE_BUILD]/src",
|
| "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| "GYP_CHROMIUM_NO_ACTION": "1",
|
| - "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1",
|
| + "GYP_DEFINES": "archive_gpu_tests=1 clang=1 component=static_library ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1",
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| - "name": "test r3.gclient runhooks",
|
| + "name": "test r6.gclient runhooks",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| @@ -801,9 +979,9 @@
|
| "--paths",
|
| "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}",
|
| "--properties",
|
| - "{\"buildername\": \"linux_variable\", \"buildnumber\": \"1\", \"mastername\": \"tryserver.chromium.linux\", \"slavename\": \"build1-a1\", \"target_platform\": \"linux\"}"
|
| + "{\"buildername\": \"mac_chromium_variable\", \"buildnumber\": 1, \"mastername\": \"tryserver.chromium.mac\", \"slavename\": \"build1-a1\", \"target_platform\": \"mac\"}"
|
| ],
|
| - "name": "test r3.get compile targets for scripts",
|
| + "name": "test r6.get compile targets for scripts",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@",
|
| "@@@STEP_LOG_LINE@json.output@{}@@@",
|
| @@ -815,14 +993,25 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json",
|
| + "[SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json",
|
| "/path/to/tmp/json"
|
| ],
|
| - "name": "test r3.read test spec",
|
| + "name": "test r6.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_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"Mac10.9 Tests\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": true@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"test\": \"gl_tests\"@@@",
|
| + "@@@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@@@"
|
| ]
|
| },
|
| @@ -830,22 +1019,483 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
|
| + "--show-path",
|
| + "python",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
|
| + ],
|
| + "name": "test r6.cleanup_temp",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
|
| + "--build-dir",
|
| + "[SLAVE_BUILD]/src/out/Release",
|
| + "--clean-isolated-files"
|
| + ],
|
| + "name": "test r6.clean isolated files",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| "[SLAVE_BUILD]/src/tools/mb/mb.py",
|
| "gen",
|
| "-m",
|
| - "chromium.linux",
|
| + "chromium.mac",
|
| "-b",
|
| - "Linux Builder",
|
| + "Mac Builder",
|
| "--config-file",
|
| "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl",
|
| "--goma-dir",
|
| "[CACHE]/cipd/goma",
|
| + "--swarming-targets-file",
|
| + "gl_tests\n",
|
| "//out/Release"
|
| ],
|
| "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| },
|
| - "name": "test r3.generate_build_files",
|
| + "name": "test r6.generate_build_files",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@swarming-targets-file.txt@gl_tests@@@",
|
| + "@@@STEP_LOG_END@swarming-targets-file.txt@@@"
|
| + ]
|
| + },
|
| + {
|
| + "allow_subannotations": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py",
|
| + "--src-dir",
|
| + "[SLAVE_BUILD]/src",
|
| + "--output-json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| + },
|
| + "name": "test r6.clang_revision",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
|
| + "--show-path",
|
| + "python",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
|
| + "--gsutil-py-path",
|
| + "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
|
| + "--ninja-path",
|
| + "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
|
| + "--target",
|
| + "Release",
|
| + "--src-dir",
|
| + "[SLAVE_BUILD]/src",
|
| + "--goma-cache-dir",
|
| + "[GOMA_CACHE]",
|
| + "--build-tool",
|
| + "ninja",
|
| + "--compiler",
|
| + "goma-clang",
|
| + "--goma-jsonstatus",
|
| + "/path/to/tmp/json",
|
| + "--goma-service-account-json-file",
|
| + "/creds/service_accounts/service-account-goma-client.json",
|
| + "--goma-dir",
|
| + "[CACHE]/cipd/goma",
|
| + "--ninja-ensure-up-to-date",
|
| + "--",
|
| + "gl_tests",
|
| + "gl_tests_run"
|
| + ],
|
| + "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| + },
|
| + "name": "test r6.compile",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
|
| + "@@@STEP_LOG_END@json.output (invalid)@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py",
|
| + "--build-dir",
|
| + "[SLAVE_BUILD]/src/out/Release",
|
| + "--src-dir",
|
| + "[SLAVE_BUILD]/src"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| + "name": "test r6.remove_build_metadata",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::isolate]/resources/isolate.py",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client",
|
| + "batcharchive",
|
| + "--dump-json",
|
| + "/path/to/tmp/json",
|
| + "--isolate-server",
|
| + "https://isolateserver.appspot.com",
|
| + "--verbose",
|
| + "[SLAVE_BUILD]/src/out/Release/gl_tests.isolated.gen.json"
|
| + ],
|
| + "name": "test r6.isolate tests",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gl_tests\": \"[dummy hash for gl_tests]\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
|
| + "trigger",
|
| + "--swarming",
|
| + "https://chromium-swarm.appspot.com",
|
| + "--isolate-server",
|
| + "https://isolateserver.appspot.com",
|
| + "--priority",
|
| + "25",
|
| + "--shards",
|
| + "1",
|
| + "--task-name",
|
| + "gl_tests (r6)/Mac-10.9/[dummy has/mac_chromium_variable/1",
|
| + "--dump-json",
|
| + "/path/to/tmp/json",
|
| + "--expiration",
|
| + "3600",
|
| + "--io-timeout",
|
| + "1200",
|
| + "--hard-timeout",
|
| + "3600",
|
| + "--dimension",
|
| + "cpu",
|
| + "x86-64",
|
| + "--dimension",
|
| + "gpu",
|
| + "none",
|
| + "--dimension",
|
| + "os",
|
| + "Mac-10.9",
|
| + "--dimension",
|
| + "pool",
|
| + "Chrome",
|
| + "--tag",
|
| + "buildername:mac_chromium_variable",
|
| + "--tag",
|
| + "buildnumber:1",
|
| + "--tag",
|
| + "data:[dummy hash for gl_tests]",
|
| + "--tag",
|
| + "master:tryserver.chromium.mac",
|
| + "--tag",
|
| + "name:gl_tests",
|
| + "--tag",
|
| + "os:Mac-10.9",
|
| + "--tag",
|
| + "project:chromium",
|
| + "--tag",
|
| + "purpose:CI",
|
| + "--tag",
|
| + "purpose:post-commit",
|
| + "--tag",
|
| + "slavename:build1-a1",
|
| + "--tag",
|
| + "stepname:gl_tests (r6) on Mac-10.9",
|
| + "--idempotent",
|
| + "[dummy hash for gl_tests]",
|
| + "--",
|
| + "--gtest_filter=Test.One",
|
| + "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
|
| + ],
|
| + "name": "test r6.[trigger] gl_tests (r6) on Mac-10.9",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"gl_tests (r6)/Mac-10.9/[dummy has/mac_chromium_variable/1\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gl_tests (r6)/Mac-10.9/[dummy has/mac_chromium_variable/1\": {@@@",
|
| + "@@@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@@@"
|
| + ]
|
| + },
|
| + {
|
| + "allow_subannotations": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
|
| + "python",
|
| + "RECIPE_MODULE[build::swarming]/resources/collect_gtest_task.py",
|
| + "--swarming-client-dir",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client",
|
| + "--temp-root-dir",
|
| + "[TMP_BASE]",
|
| + "--merged-test-output",
|
| + "/path/to/tmp/json",
|
| + "--",
|
| + "collect",
|
| + "--swarming",
|
| + "https://chromium-swarm.appspot.com",
|
| + "--decorate",
|
| + "--print-status-updates",
|
| + "--shards",
|
| + "1",
|
| + "gl_tests (r6)/Mac-10.9/[dummy has/mac_chromium_variable/1"
|
| + ],
|
| + "name": "test r6.gl_tests (r6) on Mac-10.9",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::test_results]/resources/upload_gtest_test_results.py",
|
| + "--input-gtest-json",
|
| + "{\"per_iteration_data\": [{\"Test.One\": [{\"elapsed_time_ms\": 0, \"output_snippet\": \"\", \"status\": \"SUCCESS\"}]}]}",
|
| + "--master-name",
|
| + "tryserver.chromium.mac",
|
| + "--builder-name",
|
| + "mac_chromium_variable",
|
| + "--build-number",
|
| + "1",
|
| + "--test-type",
|
| + "test r6.gl_tests (r6) on Mac-10.9",
|
| + "--test-results-server",
|
| + "test-results.appspot.com",
|
| + "--chrome-revision",
|
| + "170242"
|
| + ],
|
| + "name": "test r6.Upload to test-results [test r6.gl_tests (r6) on Mac-10.9]",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [],
|
| + "name": "test r2"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
| + "--master",
|
| + "tryserver.chromium.mac",
|
| + "--builder",
|
| + "mac_chromium_variable",
|
| + "--slave",
|
| + "build1-a1",
|
| + "--spec",
|
| + "cache_dir = '[GIT_CACHE]'\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",
|
| + "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]",
|
| + "--output_json",
|
| + "/path/to/tmp/json",
|
| + "--revision",
|
| + "src@r2",
|
| + "--output_manifest"
|
| + ],
|
| + "env": {
|
| + "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| + },
|
| + "name": "test r2.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, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"src\": \"r2\"@@@",
|
| + "@@@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": [],
|
| + "name": "test r2.ensure_goma",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::cipd]/resources/bootstrap.py",
|
| + "--platform",
|
| + "mac-amd64",
|
| + "--dest-directory",
|
| + "[SLAVE_BUILD]/cipd",
|
| + "--json-output",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "test r2.ensure_goma.install cipd",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@2@@@",
|
| + "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "[SLAVE_BUILD]/cipd/cipd",
|
| + "ensure",
|
| + "--root",
|
| + "[CACHE]/cipd/goma",
|
| + "--list",
|
| + "infra_internal/goma/client/mac-amd64 release",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "--service-account-json",
|
| + "/creds/service_accounts/service-account-goma-client.json"
|
| + ],
|
| + "name": "test r2.ensure_goma.ensure_installed",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@2@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-release---------\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/mac-amd64\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
|
| + "runhooks"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| + "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "GYP_CHROMIUM_NO_ACTION": "1",
|
| + "GYP_DEFINES": "archive_gpu_tests=1 clang=1 component=static_library ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1",
|
| + "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| + },
|
| + "name": "test r2.gclient runhooks",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| @@ -854,22 +1504,48 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "RECIPE_MODULE[build::findit]/resources/check_target_existence.py",
|
| - "--target-build-dir",
|
| - "[SLAVE_BUILD]/src/out/Release",
|
| - "--target",
|
| - "target_name",
|
| - "--json-output",
|
| + "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
|
| + "--output",
|
| + "/path/to/tmp/json",
|
| + "--",
|
| + "--build-config-fs",
|
| + "Release",
|
| + "--use-src-side-runtest-py",
|
| + "--paths",
|
| + "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}",
|
| + "--properties",
|
| + "{\"buildername\": \"mac_chromium_variable\", \"buildnumber\": 1, \"mastername\": \"tryserver.chromium.mac\", \"slavename\": \"build1-a1\", \"target_platform\": \"mac\"}"
|
| + ],
|
| + "name": "test r2.get compile targets for scripts",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| + "[SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json",
|
| "/path/to/tmp/json"
|
| ],
|
| - "name": "test r3.check_targets",
|
| + "name": "test r2.read test spec",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json@@@",
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"found\": [@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"target_name\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ ], @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"not_found\": []@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"Mac10.9 Tests\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": true@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"test\": \"gl_tests\"@@@",
|
| + "@@@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@@@"
|
| ]
|
| @@ -883,7 +1559,21 @@
|
| "python",
|
| "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
|
| ],
|
| - "name": "test r3.cleanup_temp",
|
| + "name": "test r2.cleanup_temp",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
|
| + "--build-dir",
|
| + "[SLAVE_BUILD]/src/out/Release",
|
| + "--clean-isolated-files"
|
| + ],
|
| + "name": "test r2.clean isolated files",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| @@ -895,21 +1585,50 @@
|
| "[SLAVE_BUILD]/src/tools/mb/mb.py",
|
| "gen",
|
| "-m",
|
| - "chromium.linux",
|
| + "chromium.mac",
|
| "-b",
|
| - "Linux Builder",
|
| + "Mac Builder",
|
| "--config-file",
|
| "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl",
|
| "--goma-dir",
|
| "[CACHE]/cipd/goma",
|
| + "--swarming-targets-file",
|
| + "gl_tests\n",
|
| "//out/Release"
|
| ],
|
| "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| },
|
| - "name": "test r3.generate_build_files (2)",
|
| + "name": "test r2.generate_build_files",
|
| "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@"
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@swarming-targets-file.txt@gl_tests@@@",
|
| + "@@@STEP_LOG_END@swarming-targets-file.txt@@@"
|
| + ]
|
| + },
|
| + {
|
| + "allow_subannotations": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py",
|
| + "--src-dir",
|
| + "[SLAVE_BUILD]/src",
|
| + "--output-json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| + },
|
| + "name": "test r2.clang_revision",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| ]
|
| },
|
| {
|
| @@ -933,7 +1652,7 @@
|
| "--build-tool",
|
| "ninja",
|
| "--compiler",
|
| - "goma",
|
| + "goma-clang",
|
| "--goma-jsonstatus",
|
| "/path/to/tmp/json",
|
| "--goma-service-account-json-file",
|
| @@ -942,12 +1661,14 @@
|
| "[CACHE]/cipd/goma",
|
| "--ninja-ensure-up-to-date",
|
| "--",
|
| - "target_name"
|
| + "gl_tests",
|
| + "gl_tests_run"
|
| ],
|
| "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| },
|
| - "name": "test r3.compile",
|
| + "name": "test r2.compile",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@",
|
| "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
|
| @@ -955,8 +1676,182 @@
|
| ]
|
| },
|
| {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py",
|
| + "--build-dir",
|
| + "[SLAVE_BUILD]/src/out/Release",
|
| + "--src-dir",
|
| + "[SLAVE_BUILD]/src"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| + "name": "test r2.remove_build_metadata",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::isolate]/resources/isolate.py",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client",
|
| + "batcharchive",
|
| + "--dump-json",
|
| + "/path/to/tmp/json",
|
| + "--isolate-server",
|
| + "https://isolateserver.appspot.com",
|
| + "--verbose",
|
| + "[SLAVE_BUILD]/src/out/Release/gl_tests.isolated.gen.json"
|
| + ],
|
| + "name": "test r2.isolate tests",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gl_tests\": \"[dummy hash for gl_tests]\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
|
| + "trigger",
|
| + "--swarming",
|
| + "https://chromium-swarm.appspot.com",
|
| + "--isolate-server",
|
| + "https://isolateserver.appspot.com",
|
| + "--priority",
|
| + "25",
|
| + "--shards",
|
| + "1",
|
| + "--task-name",
|
| + "gl_tests (r2)/Mac-10.9/[dummy has/mac_chromium_variable/1",
|
| + "--dump-json",
|
| + "/path/to/tmp/json",
|
| + "--expiration",
|
| + "3600",
|
| + "--io-timeout",
|
| + "1200",
|
| + "--hard-timeout",
|
| + "3600",
|
| + "--dimension",
|
| + "cpu",
|
| + "x86-64",
|
| + "--dimension",
|
| + "gpu",
|
| + "none",
|
| + "--dimension",
|
| + "os",
|
| + "Mac-10.9",
|
| + "--dimension",
|
| + "pool",
|
| + "Chrome",
|
| + "--tag",
|
| + "buildername:mac_chromium_variable",
|
| + "--tag",
|
| + "buildnumber:1",
|
| + "--tag",
|
| + "data:[dummy hash for gl_tests]",
|
| + "--tag",
|
| + "master:tryserver.chromium.mac",
|
| + "--tag",
|
| + "name:gl_tests",
|
| + "--tag",
|
| + "os:Mac-10.9",
|
| + "--tag",
|
| + "project:chromium",
|
| + "--tag",
|
| + "purpose:CI",
|
| + "--tag",
|
| + "purpose:post-commit",
|
| + "--tag",
|
| + "slavename:build1-a1",
|
| + "--tag",
|
| + "stepname:gl_tests (r2) on Mac-10.9",
|
| + "--idempotent",
|
| + "[dummy hash for gl_tests]",
|
| + "--",
|
| + "--gtest_filter=Test.One",
|
| + "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
|
| + ],
|
| + "name": "test r2.[trigger] gl_tests (r2) on Mac-10.9",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"gl_tests (r2)/Mac-10.9/[dummy has/mac_chromium_variable/1\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gl_tests (r2)/Mac-10.9/[dummy has/mac_chromium_variable/1\": {@@@",
|
| + "@@@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@@@"
|
| + ]
|
| + },
|
| + {
|
| + "allow_subannotations": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
|
| + "python",
|
| + "RECIPE_MODULE[build::swarming]/resources/collect_gtest_task.py",
|
| + "--swarming-client-dir",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client",
|
| + "--temp-root-dir",
|
| + "[TMP_BASE]",
|
| + "--merged-test-output",
|
| + "/path/to/tmp/json",
|
| + "--",
|
| + "collect",
|
| + "--swarming",
|
| + "https://chromium-swarm.appspot.com",
|
| + "--decorate",
|
| + "--print-status-updates",
|
| + "--shards",
|
| + "1",
|
| + "gl_tests (r2)/Mac-10.9/[dummy has/mac_chromium_variable/1"
|
| + ],
|
| + "name": "test r2.gl_tests (r2) on Mac-10.9",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::test_results]/resources/upload_gtest_test_results.py",
|
| + "--input-gtest-json",
|
| + "{\"per_iteration_data\": [{\"Test.One\": [{\"elapsed_time_ms\": 0, \"output_snippet\": \"\", \"status\": \"SUCCESS\"}]}]}",
|
| + "--master-name",
|
| + "tryserver.chromium.mac",
|
| + "--builder-name",
|
| + "mac_chromium_variable",
|
| + "--build-number",
|
| + "1",
|
| + "--test-type",
|
| + "test r2.gl_tests (r2) on Mac-10.9",
|
| + "--test-results-server",
|
| + "test-results.appspot.com",
|
| + "--chrome-revision",
|
| + "170242"
|
| + ],
|
| + "name": "test r2.Upload to test-results [test r2.gl_tests (r2) on Mac-10.9]",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| "cmd": [],
|
| - "name": "test r4"
|
| + "name": "test r3"
|
| },
|
| {
|
| "cmd": [
|
| @@ -964,9 +1859,9 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
| "--master",
|
| - "tryserver.chromium.linux",
|
| + "tryserver.chromium.mac",
|
| "--builder",
|
| - "linux_variable",
|
| + "mac_chromium_variable",
|
| "--slave",
|
| "build1-a1",
|
| "--spec",
|
| @@ -980,20 +1875,20 @@
|
| "--output_json",
|
| "/path/to/tmp/json",
|
| "--revision",
|
| - "src@r4",
|
| + "src@r3",
|
| "--output_manifest"
|
| ],
|
| "env": {
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| - "name": "test r4.bot_update",
|
| + "name": "test r3.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, @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"src\": \"r4\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"src\": \"r3\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
|
| @@ -1065,7 +1960,7 @@
|
| },
|
| {
|
| "cmd": [],
|
| - "name": "test r4.ensure_goma",
|
| + "name": "test r3.ensure_goma",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| @@ -1076,13 +1971,13 @@
|
| "-u",
|
| "RECIPE_MODULE[build::cipd]/resources/bootstrap.py",
|
| "--platform",
|
| - "linux-amd64",
|
| + "mac-amd64",
|
| "--dest-directory",
|
| "[SLAVE_BUILD]/cipd",
|
| "--json-output",
|
| "/path/to/tmp/json"
|
| ],
|
| - "name": "test r4.ensure_goma.install cipd",
|
| + "name": "test r3.ensure_goma.install cipd",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@2@@@",
|
| "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
|
| @@ -1100,20 +1995,20 @@
|
| "--root",
|
| "[CACHE]/cipd/goma",
|
| "--list",
|
| - "infra_internal/goma/client/linux-amd64 release",
|
| + "infra_internal/goma/client/mac-amd64 release",
|
| "--json-output",
|
| "/path/to/tmp/json",
|
| "--service-account-json",
|
| "/creds/service_accounts/service-account-goma-client.json"
|
| ],
|
| - "name": "test r4.ensure_goma.ensure_installed",
|
| + "name": "test r3.ensure_goma.ensure_installed",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@2@@@",
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
|
| "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-release---------\", @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/linux-amd64\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/mac-amd64\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@ }@@@",
|
| "@@@STEP_LOG_LINE@json.output@ ]@@@",
|
| "@@@STEP_LOG_LINE@json.output@}@@@",
|
| @@ -1129,12 +2024,13 @@
|
| ],
|
| "cwd": "[SLAVE_BUILD]/src",
|
| "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| "GYP_CHROMIUM_NO_ACTION": "1",
|
| - "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1",
|
| + "GYP_DEFINES": "archive_gpu_tests=1 clang=1 component=static_library ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_isolation_mode=prepare use_goma=1",
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| - "name": "test r4.gclient runhooks",
|
| + "name": "test r3.gclient runhooks",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| @@ -1153,9 +2049,9 @@
|
| "--paths",
|
| "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}",
|
| "--properties",
|
| - "{\"buildername\": \"linux_variable\", \"buildnumber\": \"1\", \"mastername\": \"tryserver.chromium.linux\", \"slavename\": \"build1-a1\", \"target_platform\": \"linux\"}"
|
| + "{\"buildername\": \"mac_chromium_variable\", \"buildnumber\": 1, \"mastername\": \"tryserver.chromium.mac\", \"slavename\": \"build1-a1\", \"target_platform\": \"mac\"}"
|
| ],
|
| - "name": "test r4.get compile targets for scripts",
|
| + "name": "test r3.get compile targets for scripts",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@",
|
| "@@@STEP_LOG_LINE@json.output@{}@@@",
|
| @@ -1167,14 +2063,25 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json",
|
| + "[SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json",
|
| "/path/to/tmp/json"
|
| ],
|
| - "name": "test r4.read test spec",
|
| + "name": "test r3.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_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.mac.json@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"Mac10.9 Tests\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": true@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"test\": \"gl_tests\"@@@",
|
| + "@@@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@@@"
|
| ]
|
| },
|
| @@ -1182,22 +2089,12 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[SLAVE_BUILD]/src/tools/mb/mb.py",
|
| - "gen",
|
| - "-m",
|
| - "chromium.linux",
|
| - "-b",
|
| - "Linux Builder",
|
| - "--config-file",
|
| - "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl",
|
| - "--goma-dir",
|
| - "[CACHE]/cipd/goma",
|
| - "//out/Release"
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
|
| + "--show-path",
|
| + "python",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
|
| ],
|
| - "env": {
|
| - "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| - },
|
| - "name": "test r4.generate_build_files",
|
| + "name": "test r3.cleanup_temp",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| @@ -1206,36 +2103,12 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "RECIPE_MODULE[build::findit]/resources/check_target_existence.py",
|
| - "--target-build-dir",
|
| + "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
|
| + "--build-dir",
|
| "[SLAVE_BUILD]/src/out/Release",
|
| - "--target",
|
| - "target_name",
|
| - "--json-output",
|
| - "/path/to/tmp/json"
|
| - ],
|
| - "name": "test r4.check_targets",
|
| - "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@",
|
| - "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"found\": [@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"target_name\"@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ ], @@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"not_found\": []@@@",
|
| - "@@@STEP_LOG_LINE@json.output@}@@@",
|
| - "@@@STEP_LOG_END@json.output@@@"
|
| - ]
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
|
| - "--show-path",
|
| - "python",
|
| - "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
|
| + "--clean-isolated-files"
|
| ],
|
| - "name": "test r4.cleanup_temp",
|
| + "name": "test r3.clean isolated files",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| @@ -1247,21 +2120,50 @@
|
| "[SLAVE_BUILD]/src/tools/mb/mb.py",
|
| "gen",
|
| "-m",
|
| - "chromium.linux",
|
| + "chromium.mac",
|
| "-b",
|
| - "Linux Builder",
|
| + "Mac Builder",
|
| "--config-file",
|
| "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl",
|
| "--goma-dir",
|
| "[CACHE]/cipd/goma",
|
| + "--swarming-targets-file",
|
| + "gl_tests\n",
|
| "//out/Release"
|
| ],
|
| "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| },
|
| - "name": "test r4.generate_build_files (2)",
|
| + "name": "test r3.generate_build_files",
|
| "~followup_annotations": [
|
| - "@@@STEP_NEST_LEVEL@1@@@"
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@swarming-targets-file.txt@gl_tests@@@",
|
| + "@@@STEP_LOG_END@swarming-targets-file.txt@@@"
|
| + ]
|
| + },
|
| + {
|
| + "allow_subannotations": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py",
|
| + "--src-dir",
|
| + "[SLAVE_BUILD]/src",
|
| + "--output-json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| + },
|
| + "name": "test r3.clang_revision",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| ]
|
| },
|
| {
|
| @@ -1285,7 +2187,7 @@
|
| "--build-tool",
|
| "ninja",
|
| "--compiler",
|
| - "goma",
|
| + "goma-clang",
|
| "--goma-jsonstatus",
|
| "/path/to/tmp/json",
|
| "--goma-service-account-json-file",
|
| @@ -1294,20 +2196,195 @@
|
| "[CACHE]/cipd/goma",
|
| "--ninja-ensure-up-to-date",
|
| "--",
|
| - "target_name"
|
| + "gl_tests",
|
| + "gl_tests_run"
|
| ],
|
| "env": {
|
| + "FORCE_MAC_TOOLCHAIN": "1",
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| },
|
| - "name": "test r4.compile",
|
| + "name": "test r3.compile",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@",
|
| - "step returned non-zero exit code: 1",
|
| "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
|
| - "@@@STEP_LOG_END@json.output (invalid)@@@",
|
| - "@@@STEP_LOG_LINE@exception@TypeError(\"'NoneType' object has no attribute '__getitem__'\",)@@@",
|
| - "@@@STEP_LOG_END@exception@@@",
|
| - "@@@STEP_WARNINGS@@@"
|
| + "@@@STEP_LOG_END@json.output (invalid)@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py",
|
| + "--build-dir",
|
| + "[SLAVE_BUILD]/src/out/Release",
|
| + "--src-dir",
|
| + "[SLAVE_BUILD]/src"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| + "name": "test r3.remove_build_metadata",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::isolate]/resources/isolate.py",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client",
|
| + "batcharchive",
|
| + "--dump-json",
|
| + "/path/to/tmp/json",
|
| + "--isolate-server",
|
| + "https://isolateserver.appspot.com",
|
| + "--verbose",
|
| + "[SLAVE_BUILD]/src/out/Release/gl_tests.isolated.gen.json"
|
| + ],
|
| + "name": "test r3.isolate tests",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gl_tests\": \"[dummy hash for gl_tests]\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
|
| + "trigger",
|
| + "--swarming",
|
| + "https://chromium-swarm.appspot.com",
|
| + "--isolate-server",
|
| + "https://isolateserver.appspot.com",
|
| + "--priority",
|
| + "25",
|
| + "--shards",
|
| + "1",
|
| + "--task-name",
|
| + "gl_tests (r3)/Mac-10.9/[dummy has/mac_chromium_variable/1",
|
| + "--dump-json",
|
| + "/path/to/tmp/json",
|
| + "--expiration",
|
| + "3600",
|
| + "--io-timeout",
|
| + "1200",
|
| + "--hard-timeout",
|
| + "3600",
|
| + "--dimension",
|
| + "cpu",
|
| + "x86-64",
|
| + "--dimension",
|
| + "gpu",
|
| + "none",
|
| + "--dimension",
|
| + "os",
|
| + "Mac-10.9",
|
| + "--dimension",
|
| + "pool",
|
| + "Chrome",
|
| + "--tag",
|
| + "buildername:mac_chromium_variable",
|
| + "--tag",
|
| + "buildnumber:1",
|
| + "--tag",
|
| + "data:[dummy hash for gl_tests]",
|
| + "--tag",
|
| + "master:tryserver.chromium.mac",
|
| + "--tag",
|
| + "name:gl_tests",
|
| + "--tag",
|
| + "os:Mac-10.9",
|
| + "--tag",
|
| + "project:chromium",
|
| + "--tag",
|
| + "purpose:CI",
|
| + "--tag",
|
| + "purpose:post-commit",
|
| + "--tag",
|
| + "slavename:build1-a1",
|
| + "--tag",
|
| + "stepname:gl_tests (r3) on Mac-10.9",
|
| + "--idempotent",
|
| + "[dummy hash for gl_tests]",
|
| + "--",
|
| + "--gtest_filter=Test.One",
|
| + "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
|
| + ],
|
| + "name": "test r3.[trigger] gl_tests (r3) on Mac-10.9",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"gl_tests (r3)/Mac-10.9/[dummy has/mac_chromium_variable/1\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"gl_tests (r3)/Mac-10.9/[dummy has/mac_chromium_variable/1\": {@@@",
|
| + "@@@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@@@"
|
| + ]
|
| + },
|
| + {
|
| + "allow_subannotations": true,
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
|
| + "python",
|
| + "RECIPE_MODULE[build::swarming]/resources/collect_gtest_task.py",
|
| + "--swarming-client-dir",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client",
|
| + "--temp-root-dir",
|
| + "[TMP_BASE]",
|
| + "--merged-test-output",
|
| + "/path/to/tmp/json",
|
| + "--",
|
| + "collect",
|
| + "--swarming",
|
| + "https://chromium-swarm.appspot.com",
|
| + "--decorate",
|
| + "--print-status-updates",
|
| + "--shards",
|
| + "1",
|
| + "gl_tests (r3)/Mac-10.9/[dummy has/mac_chromium_variable/1"
|
| + ],
|
| + "name": "test r3.gl_tests (r3) on Mac-10.9",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@",
|
| + "step returned non-zero exit code: 1",
|
| + "@@@STEP_TEXT@<br/>failures:<br/>Test.One<br/>@@@",
|
| + "@@@STEP_FAILURE@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::test_results]/resources/upload_gtest_test_results.py",
|
| + "--input-gtest-json",
|
| + "{\"per_iteration_data\": [{\"Test.One\": [{\"elapsed_time_ms\": 0, \"output_snippet\": \"\", \"status\": \"FAILURE\"}]}]}",
|
| + "--master-name",
|
| + "tryserver.chromium.mac",
|
| + "--builder-name",
|
| + "mac_chromium_variable",
|
| + "--build-number",
|
| + "1",
|
| + "--test-type",
|
| + "test r3.gl_tests (r3) on Mac-10.9",
|
| + "--test-results-server",
|
| + "test-results.appspot.com",
|
| + "--chrome-revision",
|
| + "170242"
|
| + ],
|
| + "name": "test r3.Upload to test-results [test r3.gl_tests (r3) on Mac-10.9]",
|
| + "~followup_annotations": [
|
| + "@@@STEP_NEST_LEVEL@1@@@"
|
| ]
|
| },
|
| {
|
| @@ -1318,39 +2395,47 @@
|
| ],
|
| "name": "report",
|
| "~followup_annotations": [
|
| - "@@@STEP_TEXT@<br/>Culprit: <a href=\"https://crrev.com/r4\">r4</a>@@@",
|
| "@@@STEP_LOG_LINE@report@{@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"culprits\": {@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"gl_tests\": {@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"Test.One\": \"r3\"@@@",
|
| + "@@@STEP_LOG_LINE@report@ }@@@",
|
| + "@@@STEP_LOG_LINE@report@ }, @@@",
|
| "@@@STEP_LOG_LINE@report@ \"result\": {@@@",
|
| - "@@@STEP_LOG_LINE@report@ \"r4\": \"failed\", @@@",
|
| - "@@@STEP_LOG_LINE@report@ \"r7\": \"failed\", @@@",
|
| - "@@@STEP_LOG_LINE@report@ \"r3\": \"passed\"@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"r5\": {@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"gl_tests\": {@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"status\": \"passed\", @@@",
|
| + "@@@STEP_LOG_LINE@report@ \"valid\": true@@@",
|
| + "@@@STEP_LOG_LINE@report@ }@@@",
|
| + "@@@STEP_LOG_LINE@report@ }, @@@",
|
| + "@@@STEP_LOG_LINE@report@ \"r6\": {@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"gl_tests\": {@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"status\": \"passed\", @@@",
|
| + "@@@STEP_LOG_LINE@report@ \"valid\": true@@@",
|
| + "@@@STEP_LOG_LINE@report@ }@@@",
|
| + "@@@STEP_LOG_LINE@report@ }, @@@",
|
| + "@@@STEP_LOG_LINE@report@ \"r2\": {@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"gl_tests\": {@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"status\": \"passed\", @@@",
|
| + "@@@STEP_LOG_LINE@report@ \"valid\": true@@@",
|
| + "@@@STEP_LOG_LINE@report@ }@@@",
|
| + "@@@STEP_LOG_LINE@report@ }, @@@",
|
| + "@@@STEP_LOG_LINE@report@ \"r3\": {@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"gl_tests\": {@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"status\": \"failed\", @@@",
|
| + "@@@STEP_LOG_LINE@report@ \"failures\": [@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"Test.One\"@@@",
|
| + "@@@STEP_LOG_LINE@report@ ], @@@",
|
| + "@@@STEP_LOG_LINE@report@ \"valid\": true@@@",
|
| + "@@@STEP_LOG_LINE@report@ }@@@",
|
| + "@@@STEP_LOG_LINE@report@ }@@@",
|
| "@@@STEP_LOG_LINE@report@ }, @@@",
|
| - "@@@STEP_LOG_LINE@report@ \"culprit\": \"r4\", @@@",
|
| "@@@STEP_LOG_LINE@report@ \"metadata\": {@@@",
|
| - "@@@STEP_LOG_LINE@report@ \"use_bisect\": false, @@@",
|
| - "@@@STEP_LOG_LINE@report@ \"regression_range_size\": 9, @@@",
|
| - "@@@STEP_LOG_LINE@report@ \"sub_ranges\": [@@@",
|
| - "@@@STEP_LOG_LINE@report@ [@@@",
|
| - "@@@STEP_LOG_LINE@report@ \"r7\", @@@",
|
| - "@@@STEP_LOG_LINE@report@ \"r8\", @@@",
|
| - "@@@STEP_LOG_LINE@report@ \"r9\", @@@",
|
| - "@@@STEP_LOG_LINE@report@ \"r10\"@@@",
|
| - "@@@STEP_LOG_LINE@report@ ], @@@",
|
| - "@@@STEP_LOG_LINE@report@ [@@@",
|
| - "@@@STEP_LOG_LINE@report@ \"r3\", @@@",
|
| - "@@@STEP_LOG_LINE@report@ \"r4\", @@@",
|
| - "@@@STEP_LOG_LINE@report@ \"r5\", @@@",
|
| - "@@@STEP_LOG_LINE@report@ \"r6\"@@@",
|
| - "@@@STEP_LOG_LINE@report@ ], @@@",
|
| - "@@@STEP_LOG_LINE@report@ [@@@",
|
| - "@@@STEP_LOG_LINE@report@ null, @@@",
|
| - "@@@STEP_LOG_LINE@report@ \"r2\"@@@",
|
| - "@@@STEP_LOG_LINE@report@ ]@@@",
|
| - "@@@STEP_LOG_LINE@report@ ]@@@",
|
| + "@@@STEP_LOG_LINE@report@ \"regression_range_size\": 6@@@",
|
| "@@@STEP_LOG_LINE@report@ }@@@",
|
| "@@@STEP_LOG_LINE@report@}@@@",
|
| "@@@STEP_LOG_END@report@@@",
|
| - "@@@SET_BUILD_PROPERTY@report@{\"culprit\": \"r4\", \"metadata\": {\"regression_range_size\": 9, \"sub_ranges\": [[\"r7\", \"r8\", \"r9\", \"r10\"], [\"r3\", \"r4\", \"r5\", \"r6\"], [null, \"r2\"]], \"use_bisect\": false}, \"result\": {\"r3\": \"passed\", \"r4\": \"failed\", \"r7\": \"failed\"}}@@@"
|
| + "@@@SET_BUILD_PROPERTY@report@{\"culprits\": {\"gl_tests\": {\"Test.One\": \"r3\"}}, \"metadata\": {\"regression_range_size\": 6}, \"result\": {\"r2\": {\"gl_tests\": {\"status\": \"passed\", \"valid\": true}}, \"r3\": {\"gl_tests\": {\"failures\": [\"Test.One\"], \"status\": \"failed\", \"valid\": true}}, \"r5\": {\"gl_tests\": {\"status\": \"passed\", \"valid\": true}}, \"r6\": {\"gl_tests\": {\"status\": \"passed\", \"valid\": true}}}}@@@"
|
| ]
|
| },
|
| {
|
|
|