Remove duplicated devicelab recipes.
Change-Id: I566559eea1e43050399dc9cddf8068ee807b220e
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/9441
Reviewed-by: Casey Hillers <chillers@google.com>
Reviewed-by: Keyong Han <keyonghan@google.com>
Commit-Queue: Godofredo Contreras <godofredoc@google.com>
diff --git a/recipes/devicelab.expected/android_defines_test.json b/recipes/devicelab.expected/android_defines_test.json
deleted file mode 100644
index f8cbf21..0000000
--- a/recipes/devicelab.expected/android_defines_test.json
+++ /dev/null
@@ -1,476 +0,0 @@
-[
- {
- "cmd": [],
- "name": "checkout flutter/flutter"
- },
- {
- "cmd": [],
- "name": "checkout flutter/flutter.Checkout flutter/flutter",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/flutter",
- "--url",
- "https://chromium.googlesource.com/external/github.com/flutter/flutter"
- ],
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git setup",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "fetch",
- "origin",
- "master",
- "--recurse-submodules",
- "--progress",
- "--tags"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
- },
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git fetch",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "checkout",
- "-f",
- "FETCH_HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git checkout",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.read revision",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@",
- "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
- "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "clean",
- "-f",
- "-d",
- "-x"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git clean",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "sync"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule sync",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "update",
- "--init",
- "--recursive"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule update",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "flutter",
- "doctor"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "flutter doctor"
- },
- {
- "cmd": [
- "pub",
- "get"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "pub get"
- },
- {
- "cmd": [],
- "name": "download Android SDK components"
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/tools",
- "-ensure-file",
- "flutter/android/sdk/tools/${platform} version:26.1.1",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:26.1.1--\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/tools/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/platform-tools",
- "-ensure-file",
- "flutter/android/sdk/platform-tools/${platform} version:29.0.2",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (2)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:29.0.2--\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/platform-tools/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/platforms",
- "-ensure-file",
- "flutter/android/sdk/platforms version:29r1",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (3)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:29r1----\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/platforms\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/build-tools",
- "-ensure-file",
- "flutter/android/sdk/build-tools/${platform} version:29.0.1",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (4)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:29.0.1--\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/build-tools/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/ndk-bundle",
- "-ensure-file",
- "flutter/android/ndk/${platform} version:21.3.6528147",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (5)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:21.3.652\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/ndk/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/licenses",
- "-ensure-file",
- "flutter_internal/android/sdk/licenses latest",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (6)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/android/sdk/licenses\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "dart",
- "bin/run.dart",
- "-t",
- "android_defines_test"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "ANDROID_HOME": "[CACHE]/android",
- "ANDROID_SDK_ROOT": "[CACHE]/android",
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GRADLE_OPTS": "-Dorg.gradle.daemon=false",
- "GRADLE_USER_HOME": "[CACHE]/gradle",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin",
- "[CACHE]/android/platform-tools",
- "[CACHE]/android/tools",
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "run android_defines_test"
- },
- {
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/devicelab.expected/flavors_test.json b/recipes/devicelab.expected/flavors_test.json
deleted file mode 100644
index ddede5f..0000000
--- a/recipes/devicelab.expected/flavors_test.json
+++ /dev/null
@@ -1,476 +0,0 @@
-[
- {
- "cmd": [],
- "name": "checkout flutter/flutter"
- },
- {
- "cmd": [],
- "name": "checkout flutter/flutter.Checkout flutter/flutter",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/flutter",
- "--url",
- "https://chromium.googlesource.com/external/github.com/flutter/flutter"
- ],
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git setup",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "fetch",
- "origin",
- "master",
- "--recurse-submodules",
- "--progress",
- "--tags"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
- },
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git fetch",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "checkout",
- "-f",
- "FETCH_HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git checkout",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.read revision",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@",
- "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
- "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "clean",
- "-f",
- "-d",
- "-x"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git clean",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "sync"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule sync",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "update",
- "--init",
- "--recursive"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule update",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "flutter",
- "doctor"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "flutter doctor"
- },
- {
- "cmd": [
- "pub",
- "get"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "pub get"
- },
- {
- "cmd": [],
- "name": "download Android SDK components"
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/tools",
- "-ensure-file",
- "flutter/android/sdk/tools/${platform} version:26.1.1",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:26.1.1--\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/tools/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/platform-tools",
- "-ensure-file",
- "flutter/android/sdk/platform-tools/${platform} version:29.0.2",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (2)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:29.0.2--\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/platform-tools/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/platforms",
- "-ensure-file",
- "flutter/android/sdk/platforms version:29r1",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (3)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:29r1----\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/platforms\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/build-tools",
- "-ensure-file",
- "flutter/android/sdk/build-tools/${platform} version:29.0.1",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (4)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:29.0.1--\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/build-tools/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/ndk-bundle",
- "-ensure-file",
- "flutter/android/ndk/${platform} version:21.3.6528147",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (5)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:21.3.652\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/ndk/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/licenses",
- "-ensure-file",
- "flutter_internal/android/sdk/licenses latest",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (6)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/android/sdk/licenses\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "dart",
- "bin/run.dart",
- "-t",
- "flavors_test"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "ANDROID_HOME": "[CACHE]/android",
- "ANDROID_SDK_ROOT": "[CACHE]/android",
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GRADLE_OPTS": "-Dorg.gradle.daemon=false",
- "GRADLE_USER_HOME": "[CACHE]/gradle",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin",
- "[CACHE]/android/platform-tools",
- "[CACHE]/android/tools",
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "run flavors_test"
- },
- {
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/devicelab.expected/flutter_gallery_ios__compile.json b/recipes/devicelab.expected/flutter_gallery_ios__compile.json
deleted file mode 100644
index 0658a06..0000000
--- a/recipes/devicelab.expected/flutter_gallery_ios__compile.json
+++ /dev/null
@@ -1,219 +0,0 @@
-[
- {
- "cmd": [],
- "name": "checkout flutter/flutter"
- },
- {
- "cmd": [],
- "name": "checkout flutter/flutter.Checkout flutter/flutter",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/flutter",
- "--url",
- "https://chromium.googlesource.com/external/github.com/flutter/flutter"
- ],
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git setup",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "fetch",
- "origin",
- "master",
- "--recurse-submodules",
- "--progress",
- "--tags"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
- },
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git fetch",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "checkout",
- "-f",
- "FETCH_HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git checkout",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.read revision",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@",
- "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
- "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "clean",
- "-f",
- "-d",
- "-x"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git clean",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "sync"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule sync",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "update",
- "--init",
- "--recursive"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule update",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "flutter",
- "doctor"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "flutter doctor"
- },
- {
- "cmd": [
- "pub",
- "get"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "pub get"
- },
- {
- "cmd": [
- "unlock_login_keychain.sh"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "unlock login keychain"
- },
- {
- "cmd": [
- "dart",
- "bin/run.dart",
- "-t",
- "flutter_gallery_ios__compile"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "FLUTTER_XCODE_CODE_SIGN_STYLE": "Manual",
- "FLUTTER_XCODE_DEVELOPMENT_TEAM": "S8QB4VV633",
- "FLUTTER_XCODE_PROVISIONING_PROFILE_SPECIFIER": "match Development *",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "run flutter_gallery_ios__compile"
- },
- {
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/devicelab.expected/schedule.json b/recipes/devicelab.expected/schedule.json
deleted file mode 100644
index 5b61355..0000000
--- a/recipes/devicelab.expected/schedule.json
+++ /dev/null
@@ -1,488 +0,0 @@
-[
- {
- "cmd": [],
- "name": "checkout flutter/flutter"
- },
- {
- "cmd": [],
- "name": "checkout flutter/flutter.Checkout flutter/flutter",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/flutter",
- "--url",
- "https://chromium.googlesource.com/external/github.com/flutter/flutter"
- ],
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git setup",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "fetch",
- "origin",
- "master",
- "--recurse-submodules",
- "--progress",
- "--tags"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
- },
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git fetch",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "checkout",
- "-f",
- "FETCH_HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git checkout",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.read revision",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@",
- "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
- "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "clean",
- "-f",
- "-d",
- "-x"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git clean",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "sync"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule sync",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "update",
- "--init",
- "--recursive"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule update",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [],
- "name": "read manifest",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@yaml@@@@",
- "@@@STEP_LOG_END@yaml@@@"
- ]
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "copy",
- "[START_DIR]/flutter/dev/devicelab/manifest.yaml",
- "/path/to/tmp/"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "infra_step": true,
- "name": "read manifest.read",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_END@manifest.yaml@@@"
- ]
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[flutter::yaml]/resources/parse_yaml.py",
- "--yaml_file",
- "[START_DIR]/flutter/dev/devicelab/manifest.yaml",
- "--json_file",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "read manifest.parse",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"android_defines_test\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"description\": \"Builds an APK with a --dart-define ...\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"on_luci\": true, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"required_agent_capabilities\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ \"linux/android\"@@@",
- "@@@STEP_LOG_LINE@json.output@ ], @@@",
- "@@@STEP_LOG_LINE@json.output@ \"stage\": \"devicelab\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [],
- "name": "launch jobs",
- "~followup_annotations": [
- "@@@STEP_LINK@android_defines_test@https://ci.chromium.org/swarming/task/fake-task-id?server=chromium-swarm.appspot.com@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/led",
- "-ensure-file",
- "infra/tools/luci/led/${platform} latest",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "name": "launch jobs.ensure_installed",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/led/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "[CACHE]/led/led",
- "get-builder",
- "luci..:"
- ],
- "name": "launch jobs.led get-builder",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@proto.output@{@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"buildbucket\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"bbagent_args\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"build\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"builder\": {}@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@}@@@",
- "@@@STEP_LOG_END@proto.output@@@"
- ]
- },
- {
- "cmd": [
- "[CACHE]/led/led",
- "edit",
- "-p",
- "role=\"worker\"",
- "-p",
- "name=\"android_defines_test\"",
- "-p",
- "git_ref=null",
- "-p",
- "first_capability=\"linux/android\"",
- "-p",
- "recipe=\"devicelab\"",
- "-p",
- "git_url=null",
- "-d",
- "cores=",
- "-d",
- "cpu=",
- "-d",
- "os=",
- "-d",
- "id=flutter-devicelab-linux-8",
- "-d",
- "caches="
- ],
- "name": "launch jobs.led edit",
- "stdin": "{\n\"buildbucket\": {\n\"bbagent_args\": {\n\"build\": {\n\"builder\": {}\n}\n}\n}\n}",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@proto.output@{@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"buildbucket\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"bbagent_args\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"build\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"builder\": {}, @@@",
- "@@@STEP_LOG_LINE@proto.output@ \"input\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"properties\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"first_capability\": \"linux/android\", @@@",
- "@@@STEP_LOG_LINE@proto.output@ \"git_ref\": null, @@@",
- "@@@STEP_LOG_LINE@proto.output@ \"git_url\": null, @@@",
- "@@@STEP_LOG_LINE@proto.output@ \"name\": \"android_defines_test\", @@@",
- "@@@STEP_LOG_LINE@proto.output@ \"recipe\": \"devicelab\", @@@",
- "@@@STEP_LOG_LINE@proto.output@ \"role\": \"worker\"@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@}@@@",
- "@@@STEP_LOG_END@proto.output@@@"
- ]
- },
- {
- "cmd": [
- "[CACHE]/led/led",
- "launch",
- "-modernize"
- ],
- "name": "launch jobs.led launch",
- "stdin": "{\n\"buildbucket\": {\n\"bbagent_args\": {\n\"build\": {\n\"builder\": {}, \n\"input\": {\n\"properties\": {\n\"first_capability\": \"linux/android\", \n\"git_ref\": null, \n\"git_url\": null, \n\"name\": \"android_defines_test\", \n\"recipe\": \"devicelab\", \n\"role\": \"worker\"\n}\n}\n}\n}\n}\n}",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"host_name\": \"chromium-swarm.appspot.com\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"fake-task-id\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@",
- "@@@STEP_LINK@Swarming task@https://chromium-swarm.appspot.com/task?id=fake-task-id@@@"
- ]
- },
- {
- "cmd": [],
- "name": "collect jobs",
- "~followup_annotations": [
- "@@@STEP_LINK@android_defines_test (success)@https://ci.chromium.org/swarming/task/fake-task-id?server=chromium-swarm.appspot.com@@@"
- ]
- },
- {
- "cmd": [],
- "name": "collect jobs.install infra/tools/luci/swarming",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "ensure-directory",
- "--mode",
- "0777",
- "[CACHE]/cipd/infra/tools/luci/swarming/swarming_module_pin"
- ],
- "infra_step": true,
- "name": "collect jobs.install infra/tools/luci/swarming.ensure package directory",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/cipd/infra/tools/luci/swarming/swarming_module_pin",
- "-ensure-file",
- "infra/tools/luci/swarming/${platform} swarming_module_pin",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "infra_step": true,
- "name": "collect jobs.install infra/tools/luci/swarming.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@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-swarming_module_\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/swarming/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "[CACHE]/cipd/infra/tools/luci/swarming/swarming_module_pin/swarming",
- "collect",
- "-server",
- "https://example.swarmingserver.appspot.com",
- "-task-summary-json",
- "/path/to/tmp/json",
- "-task-output-stdout",
- "json",
- "-output-dir",
- "[CLEANUP]",
- "fake-task-id"
- ],
- "infra_step": true,
- "name": "collect jobs.collect",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"fake-task-id\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"output\": \"hello world!\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"outputs\": [], @@@",
- "@@@STEP_LOG_LINE@json.output@ \"results\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm-123\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"duration\": 62.35, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"exit_code\": 0, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"name\": \"my_task_0\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"outputs_ref\": {@@@",
- "@@@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@ }, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"state\": \"COMPLETED\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"fake-task-id\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@",
- "@@@STEP_LOG_LINE@task stdout+stderr: my_task_0@hello world!@@@",
- "@@@STEP_LOG_END@task stdout+stderr: my_task_0@@@",
- "@@@STEP_LINK@task isolated outputs: my_task_0@https://isolateserver.appspot.com/browse?namespace=default-gzip&hash=abc123@@@"
- ]
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "copy",
- "[CLEANUP]/fake-task-id/build.proto.json",
- "/path/to/tmp/"
- ],
- "infra_step": true,
- "name": "collect jobs.read build.proto.json",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@build.proto.json@{@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"builder\": {@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"project\": \"project\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"builder\": \"builder\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"bucket\": \"ci\"@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ }, @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"createTime\": \"2018-05-25T23:50:17Z\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"infra\": {@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"swarming\": {@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"priority\": 30@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ }, @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"resultdb\": {@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"invocation\": \"invocations/build:1000\"@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ }@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ }, @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"createdBy\": \"user:luci-scheduler@appspot.gserviceaccount.com\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"input\": {@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"gitilesCommit\": {@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"project\": \"project\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"host\": \"chromium.googlesource.com\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"ref\": \"refs/heads/master\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ }@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ }, @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"id\": \"1000\"@@@",
- "@@@STEP_LOG_LINE@build.proto.json@}@@@",
- "@@@STEP_LOG_END@build.proto.json@@@"
- ]
- },
- {
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/devicelab.expected/unknown_role.json b/recipes/devicelab.expected/unknown_role.json
deleted file mode 100644
index d958895..0000000
--- a/recipes/devicelab.expected/unknown_role.json
+++ /dev/null
@@ -1,21 +0,0 @@
-[
- {
- "cmd": [],
- "name": "RECIPE CRASH (Uncaught exception)",
- "~followup_annotations": [
- "@@@STEP_EXCEPTION@@@",
- "The recipe has crashed at point 'Uncaught exception'!",
- "",
- "Traceback (most recent call last):",
- " File \"RECIPE_REPO[flutter]/recipes/devicelab.py\", line 32, in RunSteps",
- " raise ValueError('Unknown role: %s' % role)",
- "ValueError: Unknown role: unknown"
- ]
- },
- {
- "failure": {
- "humanReason": "Uncaught Exception: ValueError('Unknown role: unknown',)"
- },
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/devicelab.py b/recipes/devicelab.py
deleted file mode 100644
index ca99af9..0000000
--- a/recipes/devicelab.py
+++ /dev/null
@@ -1,209 +0,0 @@
-# Copyright 2020 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from recipe_engine.recipe_api import Property
-
-DEPS = [
- 'depot_tools/git',
- 'flutter/flutter_deps',
- 'flutter/repo_util',
- 'flutter/yaml',
- 'recipe_engine/context',
- 'recipe_engine/file',
- 'recipe_engine/json',
- 'recipe_engine/path',
- 'recipe_engine/properties',
- 'recipe_engine/step',
- "flutter/job",
-]
-
-PROPERTIES = {
- 'role': Property(kind=str, help='either scheduler or worker'),
-}
-
-
-def RunSteps(api, role):
- if role == "scheduler":
- schedule_all(api)
- elif role == 'worker':
- run_task(api)
- else:
- raise ValueError('Unknown role: %s' % role)
-
-
-def schedule_all(api):
- flutter_path = api.path['start_dir'].join('flutter')
- with api.step.nest('checkout flutter/flutter'):
- api.repo_util.checkout(
- 'flutter',
- flutter_path,
- api.properties.get('git_url'),
- api.properties.get('git_ref'),
- )
-
- env, env_prefixes = api.repo_util.flutter_environment(flutter_path)
- devicelab_path = flutter_path.join('dev', 'devicelab')
-
- sub_jobs = []
- with api.context(env=env, env_prefixes=env_prefixes, cwd=devicelab_path):
- # Reads the manifest.
- result = api.yaml.read(
- 'read manifest', devicelab_path.join('manifest.yaml'), api.json.output()
- )
- manifest = result.json.output
- for task_name, task_body in manifest['tasks'].iteritems():
- # Example first capability values: linux/android, mac/ios.
- first_capability = task_body['required_agent_capabilities'][0]
- if task_body.get('on_luci'):
- sub_job = api.job.new(task_name)
- sub_job.properties.update({
- "recipe": api.job.current_recipe(),
- "role": "worker",
- "first_capability": first_capability,
- "git_url": api.properties.get('git_url'),
- "git_ref": api.properties.get('git_ref'),
- })
- # TODO(wutong): add a devicelab dedicated builder that would save us
- # from removing extra dimensions like "cores", "os" etc.
- sub_job.dimensions.update({
- "id": select_bot(first_capability),
- "cores": "",
- "os": "",
- "cpu": "",
- "caches": "",
- })
- sub_jobs.append(sub_job)
-
- with api.step.nest("launch jobs") as presentation:
- for sub_job in sub_jobs:
- api.job.launch(sub_job, presentation)
-
- with api.step.nest("collect jobs") as presentation:
- api.job.collect(sub_jobs, presentation)
-
-
-def select_bot(first_capability):
- # TODO(wutong): apply bot selection by dimensions instead of hard-coded ids.
- mapping = {
- "linux/android": "flutter-devicelab-linux-8",
- "mac/android": "flutter-devicelab-mac-22",
- "mac/ios": "flutter-devicelab-mac-9",
- }
- return mapping.get(first_capability)
-
-
-def run_task(api):
- task_name = api.properties["name"]
- first_capability = api.properties["first_capability"]
-
- flutter_path = api.path['start_dir'].join('flutter')
- with api.step.nest('checkout flutter/flutter'):
- api.repo_util.checkout(
- 'flutter',
- flutter_path,
- api.properties.get('git_url'),
- api.properties.get('git_ref'),
- )
-
- env, env_prefixes = api.repo_util.flutter_environment(flutter_path)
- devicelab_path = flutter_path.join('dev', 'devicelab')
- with api.context(env=env, env_prefixes=env_prefixes, cwd=devicelab_path):
- api.step('flutter doctor', ['flutter', 'doctor'])
- api.step('pub get', ['pub', 'get'])
-
- # Runs a task.
- sdk = first_capability.split('/')[1]
- if sdk == 'android':
- api.flutter_deps.android_sdk(env, env_prefixes, '')
- with api.context(env=env, env_prefixes=env_prefixes):
- api.step(
- 'run %s' % task_name, ['dart', 'bin/run.dart', '-t', task_name]
- )
- elif sdk == 'ios':
- run_ios_task(api, task_name)
-
-
-def run_ios_task(api, task_name):
- api.step('unlock login keychain', ['unlock_login_keychain.sh'])
- # See go/googler-flutter-signing about how to renew the Apple development
- # certificate and provisioning profile.
- code_signing_env = {
- 'FLUTTER_XCODE_CODE_SIGN_STYLE': 'Manual',
- 'FLUTTER_XCODE_DEVELOPMENT_TEAM': 'S8QB4VV633',
- 'FLUTTER_XCODE_PROVISIONING_PROFILE_SPECIFIER': 'match Development *',
- }
- with api.context(env=code_signing_env):
- api.step('run %s' % task_name, ['dart', 'bin/run.dart', '-t', task_name])
-
-
-def GenTests(api):
- for t in gen_scheduler_tests(api):
- yield t
- for t in gen_worker_tests(api):
- yield t
-
-
-def gen_scheduler_tests(api):
- yield api.test(
- "unknown_role",
- api.properties(role="unknown"),
- api.expect_exception('ValueError'),
- )
-
- sample_manifest = {
- "tasks": {
- "android_defines_test": {
- "description": "Builds an APK with a --dart-define ...",
- "stage": "devicelab",
- "required_agent_capabilities": ["linux/android"],
- "on_luci": True,
- },
- },
- }
- yield api.test(
- "schedule", api.properties(role="scheduler"),
- api.repo_util.flutter_environment_data(),
- api.step_data('read manifest.parse', api.json.output(sample_manifest)),
- api.job.mock_collect(["fake-task-id"], "collect jobs")
- )
-
-
-def gen_worker_tests(api):
- sample_manifest = {
- "tasks": {
- "android_defines_test": {
- "description": "Builds an APK with a --dart-define ...",
- "stage": "devicelab",
- "required_agent_capabilities": ["linux/android"],
- "on_luci": True,
- },
- "flavors_test": {
- "description": "Checks that flavored builds work on Android.",
- "stage": "devicelab",
- "required_agent_capabilities": ["mac/android"],
- "on_luci": True,
- },
- "flutter_gallery_ios__compile": {
- "description": "Collects various performance metrics of ...",
- "stage": "devicelab_ios",
- "required_agent_capabilities": ["mac/ios"],
- "on_luci": True,
- },
- },
- }
- for task_name in sample_manifest["tasks"].keys():
- yield api.test(
- task_name,
- api.properties(
- role="worker",
- name=task_name,
- first_capability=(
- sample_manifest["tasks"][task_name]
- ["required_agent_capabilities"][0]
- ),
- android_sdk_license='android_sdk_hash',
- android_sdk_preview_license='android_sdk_preview_hash',
- ),
- api.repo_util.flutter_environment_data(),
- )
diff --git a/recipes/devicelab_1_25_0.expected/android_defines_test.json b/recipes/devicelab_1_25_0.expected/android_defines_test.json
deleted file mode 100644
index f8cbf21..0000000
--- a/recipes/devicelab_1_25_0.expected/android_defines_test.json
+++ /dev/null
@@ -1,476 +0,0 @@
-[
- {
- "cmd": [],
- "name": "checkout flutter/flutter"
- },
- {
- "cmd": [],
- "name": "checkout flutter/flutter.Checkout flutter/flutter",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/flutter",
- "--url",
- "https://chromium.googlesource.com/external/github.com/flutter/flutter"
- ],
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git setup",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "fetch",
- "origin",
- "master",
- "--recurse-submodules",
- "--progress",
- "--tags"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
- },
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git fetch",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "checkout",
- "-f",
- "FETCH_HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git checkout",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.read revision",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@",
- "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
- "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "clean",
- "-f",
- "-d",
- "-x"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git clean",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "sync"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule sync",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "update",
- "--init",
- "--recursive"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule update",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "flutter",
- "doctor"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "flutter doctor"
- },
- {
- "cmd": [
- "pub",
- "get"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "pub get"
- },
- {
- "cmd": [],
- "name": "download Android SDK components"
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/tools",
- "-ensure-file",
- "flutter/android/sdk/tools/${platform} version:26.1.1",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:26.1.1--\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/tools/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/platform-tools",
- "-ensure-file",
- "flutter/android/sdk/platform-tools/${platform} version:29.0.2",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (2)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:29.0.2--\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/platform-tools/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/platforms",
- "-ensure-file",
- "flutter/android/sdk/platforms version:29r1",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (3)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:29r1----\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/platforms\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/build-tools",
- "-ensure-file",
- "flutter/android/sdk/build-tools/${platform} version:29.0.1",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (4)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:29.0.1--\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/build-tools/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/ndk-bundle",
- "-ensure-file",
- "flutter/android/ndk/${platform} version:21.3.6528147",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (5)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:21.3.652\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/ndk/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/licenses",
- "-ensure-file",
- "flutter_internal/android/sdk/licenses latest",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (6)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/android/sdk/licenses\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "dart",
- "bin/run.dart",
- "-t",
- "android_defines_test"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "ANDROID_HOME": "[CACHE]/android",
- "ANDROID_SDK_ROOT": "[CACHE]/android",
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GRADLE_OPTS": "-Dorg.gradle.daemon=false",
- "GRADLE_USER_HOME": "[CACHE]/gradle",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin",
- "[CACHE]/android/platform-tools",
- "[CACHE]/android/tools",
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "run android_defines_test"
- },
- {
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/devicelab_1_25_0.expected/flavors_test.json b/recipes/devicelab_1_25_0.expected/flavors_test.json
deleted file mode 100644
index ddede5f..0000000
--- a/recipes/devicelab_1_25_0.expected/flavors_test.json
+++ /dev/null
@@ -1,476 +0,0 @@
-[
- {
- "cmd": [],
- "name": "checkout flutter/flutter"
- },
- {
- "cmd": [],
- "name": "checkout flutter/flutter.Checkout flutter/flutter",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/flutter",
- "--url",
- "https://chromium.googlesource.com/external/github.com/flutter/flutter"
- ],
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git setup",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "fetch",
- "origin",
- "master",
- "--recurse-submodules",
- "--progress",
- "--tags"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
- },
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git fetch",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "checkout",
- "-f",
- "FETCH_HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git checkout",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.read revision",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@",
- "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
- "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "clean",
- "-f",
- "-d",
- "-x"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git clean",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "sync"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule sync",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "update",
- "--init",
- "--recursive"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule update",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "flutter",
- "doctor"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "flutter doctor"
- },
- {
- "cmd": [
- "pub",
- "get"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "pub get"
- },
- {
- "cmd": [],
- "name": "download Android SDK components"
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/tools",
- "-ensure-file",
- "flutter/android/sdk/tools/${platform} version:26.1.1",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:26.1.1--\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/tools/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/platform-tools",
- "-ensure-file",
- "flutter/android/sdk/platform-tools/${platform} version:29.0.2",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (2)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:29.0.2--\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/platform-tools/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/platforms",
- "-ensure-file",
- "flutter/android/sdk/platforms version:29r1",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (3)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:29r1----\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/platforms\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/build-tools",
- "-ensure-file",
- "flutter/android/sdk/build-tools/${platform} version:29.0.1",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (4)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:29.0.1--\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/sdk/build-tools/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/ndk-bundle",
- "-ensure-file",
- "flutter/android/ndk/${platform} version:21.3.6528147",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (5)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:21.3.652\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/android/ndk/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/android/licenses",
- "-ensure-file",
- "flutter_internal/android/sdk/licenses latest",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "download Android SDK components.ensure_installed (6)",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/android/sdk/licenses\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "dart",
- "bin/run.dart",
- "-t",
- "flavors_test"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "ANDROID_HOME": "[CACHE]/android",
- "ANDROID_SDK_ROOT": "[CACHE]/android",
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GRADLE_OPTS": "-Dorg.gradle.daemon=false",
- "GRADLE_USER_HOME": "[CACHE]/gradle",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin",
- "[CACHE]/android/platform-tools",
- "[CACHE]/android/tools",
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "run flavors_test"
- },
- {
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/devicelab_1_25_0.expected/flutter_gallery_ios__compile.json b/recipes/devicelab_1_25_0.expected/flutter_gallery_ios__compile.json
deleted file mode 100644
index 0658a06..0000000
--- a/recipes/devicelab_1_25_0.expected/flutter_gallery_ios__compile.json
+++ /dev/null
@@ -1,219 +0,0 @@
-[
- {
- "cmd": [],
- "name": "checkout flutter/flutter"
- },
- {
- "cmd": [],
- "name": "checkout flutter/flutter.Checkout flutter/flutter",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/flutter",
- "--url",
- "https://chromium.googlesource.com/external/github.com/flutter/flutter"
- ],
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git setup",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "fetch",
- "origin",
- "master",
- "--recurse-submodules",
- "--progress",
- "--tags"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
- },
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git fetch",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "checkout",
- "-f",
- "FETCH_HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git checkout",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.read revision",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@",
- "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
- "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "clean",
- "-f",
- "-d",
- "-x"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git clean",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "sync"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule sync",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "update",
- "--init",
- "--recursive"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule update",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "flutter",
- "doctor"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "flutter doctor"
- },
- {
- "cmd": [
- "pub",
- "get"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "pub get"
- },
- {
- "cmd": [
- "unlock_login_keychain.sh"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "unlock login keychain"
- },
- {
- "cmd": [
- "dart",
- "bin/run.dart",
- "-t",
- "flutter_gallery_ios__compile"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "FLUTTER_XCODE_CODE_SIGN_STYLE": "Manual",
- "FLUTTER_XCODE_DEVELOPMENT_TEAM": "S8QB4VV633",
- "FLUTTER_XCODE_PROVISIONING_PROFILE_SPECIFIER": "match Development *",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "run flutter_gallery_ios__compile"
- },
- {
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/devicelab_1_25_0.expected/schedule.json b/recipes/devicelab_1_25_0.expected/schedule.json
deleted file mode 100644
index 26fb7e3..0000000
--- a/recipes/devicelab_1_25_0.expected/schedule.json
+++ /dev/null
@@ -1,488 +0,0 @@
-[
- {
- "cmd": [],
- "name": "checkout flutter/flutter"
- },
- {
- "cmd": [],
- "name": "checkout flutter/flutter.Checkout flutter/flutter",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/flutter",
- "--url",
- "https://chromium.googlesource.com/external/github.com/flutter/flutter"
- ],
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git setup",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "fetch",
- "origin",
- "master",
- "--recurse-submodules",
- "--progress",
- "--tags"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
- },
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git fetch",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "checkout",
- "-f",
- "FETCH_HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git checkout",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.read revision",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@",
- "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
- "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "clean",
- "-f",
- "-d",
- "-x"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.git clean",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "sync"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule sync",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "update",
- "--init",
- "--recursive"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "checkout flutter/flutter.Checkout flutter/flutter.submodule update",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [],
- "name": "read manifest",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@yaml@@@@",
- "@@@STEP_LOG_END@yaml@@@"
- ]
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "copy",
- "[START_DIR]/flutter/dev/devicelab/manifest.yaml",
- "/path/to/tmp/"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "infra_step": true,
- "name": "read manifest.read",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_END@manifest.yaml@@@"
- ]
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[flutter::yaml]/resources/parse_yaml.py",
- "--yaml_file",
- "[START_DIR]/flutter/dev/devicelab/manifest.yaml",
- "--json_file",
- "/path/to/tmp/json"
- ],
- "cwd": "[START_DIR]/flutter/dev/devicelab",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[CACHE]/.pub-cache",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "read manifest.parse",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"android_defines_test\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"description\": \"Builds an APK with a --dart-define ...\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"on_luci\": true, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"required_agent_capabilities\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ \"linux/android\"@@@",
- "@@@STEP_LOG_LINE@json.output@ ], @@@",
- "@@@STEP_LOG_LINE@json.output@ \"stage\": \"devicelab\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [],
- "name": "launch jobs",
- "~followup_annotations": [
- "@@@STEP_LINK@android_defines_test@https://ci.chromium.org/swarming/task/fake-task-id?server=chromium-swarm.appspot.com@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/led",
- "-ensure-file",
- "infra/tools/luci/led/${platform} latest",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "name": "launch jobs.ensure_installed",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/led/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "[CACHE]/led/led",
- "get-builder",
- "luci..:"
- ],
- "name": "launch jobs.led get-builder",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@proto.output@{@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"buildbucket\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"bbagent_args\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"build\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"builder\": {}@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@}@@@",
- "@@@STEP_LOG_END@proto.output@@@"
- ]
- },
- {
- "cmd": [
- "[CACHE]/led/led",
- "edit",
- "-p",
- "role=\"worker\"",
- "-p",
- "name=\"android_defines_test\"",
- "-p",
- "git_ref=null",
- "-p",
- "first_capability=\"linux/android\"",
- "-p",
- "recipe=\"devicelab_1_25_0\"",
- "-p",
- "git_url=null",
- "-d",
- "cores=",
- "-d",
- "cpu=",
- "-d",
- "os=",
- "-d",
- "id=flutter-devicelab-linux-8",
- "-d",
- "caches="
- ],
- "name": "launch jobs.led edit",
- "stdin": "{\n\"buildbucket\": {\n\"bbagent_args\": {\n\"build\": {\n\"builder\": {}\n}\n}\n}\n}",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@proto.output@{@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"buildbucket\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"bbagent_args\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"build\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"builder\": {}, @@@",
- "@@@STEP_LOG_LINE@proto.output@ \"input\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"properties\": {@@@",
- "@@@STEP_LOG_LINE@proto.output@ \"first_capability\": \"linux/android\", @@@",
- "@@@STEP_LOG_LINE@proto.output@ \"git_ref\": null, @@@",
- "@@@STEP_LOG_LINE@proto.output@ \"git_url\": null, @@@",
- "@@@STEP_LOG_LINE@proto.output@ \"name\": \"android_defines_test\", @@@",
- "@@@STEP_LOG_LINE@proto.output@ \"recipe\": \"devicelab_1_25_0\", @@@",
- "@@@STEP_LOG_LINE@proto.output@ \"role\": \"worker\"@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@ }@@@",
- "@@@STEP_LOG_LINE@proto.output@}@@@",
- "@@@STEP_LOG_END@proto.output@@@"
- ]
- },
- {
- "cmd": [
- "[CACHE]/led/led",
- "launch",
- "-modernize"
- ],
- "name": "launch jobs.led launch",
- "stdin": "{\n\"buildbucket\": {\n\"bbagent_args\": {\n\"build\": {\n\"builder\": {}, \n\"input\": {\n\"properties\": {\n\"first_capability\": \"linux/android\", \n\"git_ref\": null, \n\"git_url\": null, \n\"name\": \"android_defines_test\", \n\"recipe\": \"devicelab_1_25_0\", \n\"role\": \"worker\"\n}\n}\n}\n}\n}\n}",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"host_name\": \"chromium-swarm.appspot.com\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"fake-task-id\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@",
- "@@@STEP_LINK@Swarming task@https://chromium-swarm.appspot.com/task?id=fake-task-id@@@"
- ]
- },
- {
- "cmd": [],
- "name": "collect jobs",
- "~followup_annotations": [
- "@@@STEP_LINK@android_defines_test (success)@https://ci.chromium.org/swarming/task/fake-task-id?server=chromium-swarm.appspot.com@@@"
- ]
- },
- {
- "cmd": [],
- "name": "collect jobs.install infra/tools/luci/swarming",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "ensure-directory",
- "--mode",
- "0777",
- "[CACHE]/cipd/infra/tools/luci/swarming/swarming_module_pin"
- ],
- "infra_step": true,
- "name": "collect jobs.install infra/tools/luci/swarming.ensure package directory",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "cipd",
- "ensure",
- "-root",
- "[CACHE]/cipd/infra/tools/luci/swarming/swarming_module_pin",
- "-ensure-file",
- "infra/tools/luci/swarming/${platform} swarming_module_pin",
- "-max-threads",
- "0",
- "-json-output",
- "/path/to/tmp/json"
- ],
- "infra_step": true,
- "name": "collect jobs.install infra/tools/luci/swarming.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@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-swarming_module_\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/swarming/resolved-platform\"@@@",
- "@@@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@@@"
- ]
- },
- {
- "cmd": [
- "[CACHE]/cipd/infra/tools/luci/swarming/swarming_module_pin/swarming",
- "collect",
- "-server",
- "https://example.swarmingserver.appspot.com",
- "-task-summary-json",
- "/path/to/tmp/json",
- "-task-output-stdout",
- "json",
- "-output-dir",
- "[CLEANUP]",
- "fake-task-id"
- ],
- "infra_step": true,
- "name": "collect jobs.collect",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"fake-task-id\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"output\": \"hello world!\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"outputs\": [], @@@",
- "@@@STEP_LOG_LINE@json.output@ \"results\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm-123\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"duration\": 62.35, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"exit_code\": 0, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"name\": \"my_task_0\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"outputs_ref\": {@@@",
- "@@@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@ }, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"state\": \"COMPLETED\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"fake-task-id\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@",
- "@@@STEP_LOG_LINE@task stdout+stderr: my_task_0@hello world!@@@",
- "@@@STEP_LOG_END@task stdout+stderr: my_task_0@@@",
- "@@@STEP_LINK@task isolated outputs: my_task_0@https://isolateserver.appspot.com/browse?namespace=default-gzip&hash=abc123@@@"
- ]
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "copy",
- "[CLEANUP]/fake-task-id/build.proto.json",
- "/path/to/tmp/"
- ],
- "infra_step": true,
- "name": "collect jobs.read build.proto.json",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@build.proto.json@{@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"builder\": {@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"project\": \"project\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"builder\": \"builder\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"bucket\": \"ci\"@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ }, @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"createTime\": \"2018-05-25T23:50:17Z\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"infra\": {@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"swarming\": {@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"priority\": 30@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ }, @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"resultdb\": {@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"invocation\": \"invocations/build:1000\"@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ }@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ }, @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"createdBy\": \"user:luci-scheduler@appspot.gserviceaccount.com\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"input\": {@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"gitilesCommit\": {@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"project\": \"project\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"host\": \"chromium.googlesource.com\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"ref\": \"refs/heads/master\", @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ }@@@",
- "@@@STEP_LOG_LINE@build.proto.json@ }, @@@",
- "@@@STEP_LOG_LINE@build.proto.json@ \"id\": \"1000\"@@@",
- "@@@STEP_LOG_LINE@build.proto.json@}@@@",
- "@@@STEP_LOG_END@build.proto.json@@@"
- ]
- },
- {
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/devicelab_1_25_0.expected/unknown_role.json b/recipes/devicelab_1_25_0.expected/unknown_role.json
deleted file mode 100644
index e9bc265..0000000
--- a/recipes/devicelab_1_25_0.expected/unknown_role.json
+++ /dev/null
@@ -1,21 +0,0 @@
-[
- {
- "cmd": [],
- "name": "RECIPE CRASH (Uncaught exception)",
- "~followup_annotations": [
- "@@@STEP_EXCEPTION@@@",
- "The recipe has crashed at point 'Uncaught exception'!",
- "",
- "Traceback (most recent call last):",
- " File \"RECIPE_REPO[flutter]/recipes/devicelab_1_25_0.py\", line 32, in RunSteps",
- " raise ValueError('Unknown role: %s' % role)",
- "ValueError: Unknown role: unknown"
- ]
- },
- {
- "failure": {
- "humanReason": "Uncaught Exception: ValueError('Unknown role: unknown',)"
- },
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/devicelab_1_25_0.py b/recipes/devicelab_1_25_0.py
deleted file mode 100644
index ca99af9..0000000
--- a/recipes/devicelab_1_25_0.py
+++ /dev/null
@@ -1,209 +0,0 @@
-# Copyright 2020 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from recipe_engine.recipe_api import Property
-
-DEPS = [
- 'depot_tools/git',
- 'flutter/flutter_deps',
- 'flutter/repo_util',
- 'flutter/yaml',
- 'recipe_engine/context',
- 'recipe_engine/file',
- 'recipe_engine/json',
- 'recipe_engine/path',
- 'recipe_engine/properties',
- 'recipe_engine/step',
- "flutter/job",
-]
-
-PROPERTIES = {
- 'role': Property(kind=str, help='either scheduler or worker'),
-}
-
-
-def RunSteps(api, role):
- if role == "scheduler":
- schedule_all(api)
- elif role == 'worker':
- run_task(api)
- else:
- raise ValueError('Unknown role: %s' % role)
-
-
-def schedule_all(api):
- flutter_path = api.path['start_dir'].join('flutter')
- with api.step.nest('checkout flutter/flutter'):
- api.repo_util.checkout(
- 'flutter',
- flutter_path,
- api.properties.get('git_url'),
- api.properties.get('git_ref'),
- )
-
- env, env_prefixes = api.repo_util.flutter_environment(flutter_path)
- devicelab_path = flutter_path.join('dev', 'devicelab')
-
- sub_jobs = []
- with api.context(env=env, env_prefixes=env_prefixes, cwd=devicelab_path):
- # Reads the manifest.
- result = api.yaml.read(
- 'read manifest', devicelab_path.join('manifest.yaml'), api.json.output()
- )
- manifest = result.json.output
- for task_name, task_body in manifest['tasks'].iteritems():
- # Example first capability values: linux/android, mac/ios.
- first_capability = task_body['required_agent_capabilities'][0]
- if task_body.get('on_luci'):
- sub_job = api.job.new(task_name)
- sub_job.properties.update({
- "recipe": api.job.current_recipe(),
- "role": "worker",
- "first_capability": first_capability,
- "git_url": api.properties.get('git_url'),
- "git_ref": api.properties.get('git_ref'),
- })
- # TODO(wutong): add a devicelab dedicated builder that would save us
- # from removing extra dimensions like "cores", "os" etc.
- sub_job.dimensions.update({
- "id": select_bot(first_capability),
- "cores": "",
- "os": "",
- "cpu": "",
- "caches": "",
- })
- sub_jobs.append(sub_job)
-
- with api.step.nest("launch jobs") as presentation:
- for sub_job in sub_jobs:
- api.job.launch(sub_job, presentation)
-
- with api.step.nest("collect jobs") as presentation:
- api.job.collect(sub_jobs, presentation)
-
-
-def select_bot(first_capability):
- # TODO(wutong): apply bot selection by dimensions instead of hard-coded ids.
- mapping = {
- "linux/android": "flutter-devicelab-linux-8",
- "mac/android": "flutter-devicelab-mac-22",
- "mac/ios": "flutter-devicelab-mac-9",
- }
- return mapping.get(first_capability)
-
-
-def run_task(api):
- task_name = api.properties["name"]
- first_capability = api.properties["first_capability"]
-
- flutter_path = api.path['start_dir'].join('flutter')
- with api.step.nest('checkout flutter/flutter'):
- api.repo_util.checkout(
- 'flutter',
- flutter_path,
- api.properties.get('git_url'),
- api.properties.get('git_ref'),
- )
-
- env, env_prefixes = api.repo_util.flutter_environment(flutter_path)
- devicelab_path = flutter_path.join('dev', 'devicelab')
- with api.context(env=env, env_prefixes=env_prefixes, cwd=devicelab_path):
- api.step('flutter doctor', ['flutter', 'doctor'])
- api.step('pub get', ['pub', 'get'])
-
- # Runs a task.
- sdk = first_capability.split('/')[1]
- if sdk == 'android':
- api.flutter_deps.android_sdk(env, env_prefixes, '')
- with api.context(env=env, env_prefixes=env_prefixes):
- api.step(
- 'run %s' % task_name, ['dart', 'bin/run.dart', '-t', task_name]
- )
- elif sdk == 'ios':
- run_ios_task(api, task_name)
-
-
-def run_ios_task(api, task_name):
- api.step('unlock login keychain', ['unlock_login_keychain.sh'])
- # See go/googler-flutter-signing about how to renew the Apple development
- # certificate and provisioning profile.
- code_signing_env = {
- 'FLUTTER_XCODE_CODE_SIGN_STYLE': 'Manual',
- 'FLUTTER_XCODE_DEVELOPMENT_TEAM': 'S8QB4VV633',
- 'FLUTTER_XCODE_PROVISIONING_PROFILE_SPECIFIER': 'match Development *',
- }
- with api.context(env=code_signing_env):
- api.step('run %s' % task_name, ['dart', 'bin/run.dart', '-t', task_name])
-
-
-def GenTests(api):
- for t in gen_scheduler_tests(api):
- yield t
- for t in gen_worker_tests(api):
- yield t
-
-
-def gen_scheduler_tests(api):
- yield api.test(
- "unknown_role",
- api.properties(role="unknown"),
- api.expect_exception('ValueError'),
- )
-
- sample_manifest = {
- "tasks": {
- "android_defines_test": {
- "description": "Builds an APK with a --dart-define ...",
- "stage": "devicelab",
- "required_agent_capabilities": ["linux/android"],
- "on_luci": True,
- },
- },
- }
- yield api.test(
- "schedule", api.properties(role="scheduler"),
- api.repo_util.flutter_environment_data(),
- api.step_data('read manifest.parse', api.json.output(sample_manifest)),
- api.job.mock_collect(["fake-task-id"], "collect jobs")
- )
-
-
-def gen_worker_tests(api):
- sample_manifest = {
- "tasks": {
- "android_defines_test": {
- "description": "Builds an APK with a --dart-define ...",
- "stage": "devicelab",
- "required_agent_capabilities": ["linux/android"],
- "on_luci": True,
- },
- "flavors_test": {
- "description": "Checks that flavored builds work on Android.",
- "stage": "devicelab",
- "required_agent_capabilities": ["mac/android"],
- "on_luci": True,
- },
- "flutter_gallery_ios__compile": {
- "description": "Collects various performance metrics of ...",
- "stage": "devicelab_ios",
- "required_agent_capabilities": ["mac/ios"],
- "on_luci": True,
- },
- },
- }
- for task_name in sample_manifest["tasks"].keys():
- yield api.test(
- task_name,
- api.properties(
- role="worker",
- name=task_name,
- first_capability=(
- sample_manifest["tasks"][task_name]
- ["required_agent_capabilities"][0]
- ),
- android_sdk_license='android_sdk_hash',
- android_sdk_preview_license='android_sdk_preview_hash',
- ),
- api.repo_util.flutter_environment_data(),
- )