| [ |
| { |
| "cmd": [], |
| "name": "check latest versions AEMU" |
| }, |
| { |
| "cmd": [], |
| "name": "check latest versions AEMU.ensure luci-auth", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::android_downloader]/resources/luci_auth/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "check latest versions AEMU.ensure luci-auth.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/luci-auth\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check latest versions AEMU.ensure luci-auth.install path/to/luci-auth", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/luci-auth/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "name": "check latest versions AEMU.ensure luci-auth.install path/to/luci-auth.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/luci-auth/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/luci-auth version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "check latest versions AEMU.ensure luci-auth.install path/to/luci-auth.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@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:pinned-v\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/luci-auth\"@@@", |
| "@@@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": [], |
| "name": "check latest versions AEMU.ensure aemu", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::android_downloader]/resources/android_downloader/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "check latest versions AEMU.ensure aemu.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/aemu\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check latest versions AEMU.ensure aemu.install path/to/aemu", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/aemu/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "name": "check latest versions AEMU.ensure aemu.install path/to/aemu.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/aemu/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/aemu version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "check latest versions AEMU.ensure aemu.install path/to/aemu.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@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:pinned-v\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/aemu\"@@@", |
| "@@@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": [ |
| "[START_DIR]/cipd_tool/path/to/luci-auth/version%3Apinned-version/luci-auth", |
| "context", |
| "-scopes", |
| "https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/firebase https://www.googleapis.com/auth/gerritcodereview https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/androidbuild.internal", |
| "-act-as-service-account", |
| "aemu-artifact-mover@fuchsia-cloud-api-for-test.iam.gserviceaccount.com", |
| "--", |
| "[START_DIR]/cipd_tool/path/to/aemu/version%3Apinned-version/aemu", |
| "-find_bid", |
| "-branch", |
| "aosp-emu-master-dev", |
| "-artifact", |
| "emulator-linux_x64_internal,sdk-repo-linux-emulator-{bid}.zip", |
| "-artifact", |
| "emulator-linux_aarch64,sdk-repo-linux_aarch64-emulator-{bid}.zip", |
| "-artifact", |
| "emulator-mac_x64,sdk-repo-darwin-emulator-{bid}.zip", |
| "-artifact", |
| "emulator-mac_aarch64,sdk-repo-darwin_aarch64-emulator-{bid}.zip" |
| ], |
| "name": "check latest versions AEMU.get latest bid from Android build for AEMU", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia/third_party/android/aemu/release/linux-amd64", |
| "-tag", |
| "bid:1234567", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd search fuchsia/third_party/android/aemu/release/linux-amd64 bid:1234567", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/android/aemu/release/linux-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check latest versions starnix" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/luci-auth/version%3Apinned-version/luci-auth", |
| "context", |
| "-scopes", |
| "https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/firebase https://www.googleapis.com/auth/gerritcodereview https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/androidbuild.internal", |
| "-act-as-service-account", |
| "aemu-artifact-mover@fuchsia-cloud-api-for-test.iam.gserviceaccount.com", |
| "--", |
| "[START_DIR]/cipd_tool/path/to/aemu/version%3Apinned-version/aemu", |
| "-find_bid", |
| "-branch", |
| "git_starnix-dev", |
| "-artifact", |
| "starnix_x86_64-eng,starnix_x86_64-img-{bid}.zip", |
| "-artifact", |
| "starnix_x86_64-eng,bin/adb", |
| "-artifact", |
| "starnix_x86_64-eng,bin/aidl", |
| "-artifact", |
| "starnix_x86_64-eng,bin/aidl_rust_glue.py", |
| "-artifact", |
| "starnix_x86_64-eng,lib64/libc++.so", |
| "-artifact", |
| "starnix_x86_64-eng,art-run-test-target-data-merged.zip", |
| "-artifact", |
| "starnix_x86_64-eng,starnix_testcases.img", |
| "-artifact", |
| "starnix_x86_64-eng,build-id.zip", |
| "-artifact", |
| "starnix_arm64-eng,starnix_arm64-img-{bid}.zip", |
| "-artifact", |
| "starnix_arm64-eng,bin/adb", |
| "-artifact", |
| "starnix_arm64-eng,bin/aidl", |
| "-artifact", |
| "starnix_arm64-eng,bin/aidl_rust_glue.py", |
| "-artifact", |
| "starnix_arm64-eng,lib64/libc++.so", |
| "-artifact", |
| "starnix_arm64-eng,art-run-test-target-data-merged.zip", |
| "-artifact", |
| "starnix_arm64-eng,starnix_testcases.img", |
| "-artifact", |
| "starnix_arm64-eng,build-id.zip" |
| ], |
| "name": "check latest versions starnix.get latest bid from Android build for starnix", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia_internal/starnix/android-image-amd64", |
| "-tag", |
| "bid:1234567", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd search fuchsia_internal/starnix/android-image-amd64 bid:1234567", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": []@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "download Starnix artifacts and upload to CIPD" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]/1234567" |
| ], |
| "infra_step": true, |
| "name": "download Starnix artifacts and upload to CIPD.ensure download dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/luci-auth/version%3Apinned-version/luci-auth", |
| "context", |
| "-scopes", |
| "https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/firebase https://www.googleapis.com/auth/gerritcodereview https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/androidbuild.internal", |
| "-act-as-service-account", |
| "aemu-artifact-mover@fuchsia-cloud-api-for-test.iam.gserviceaccount.com", |
| "--", |
| "[START_DIR]/cipd_tool/path/to/aemu/version%3Apinned-version/aemu", |
| "-bid", |
| "1234567", |
| "-output", |
| "[CLEANUP]/1234567", |
| "-branch", |
| "git_starnix-dev", |
| "-artifact", |
| "starnix_x86_64-eng,starnix_x86_64-img-{bid}.zip", |
| "-artifact", |
| "starnix_x86_64-eng,bin/adb", |
| "-artifact", |
| "starnix_x86_64-eng,bin/aidl", |
| "-artifact", |
| "starnix_x86_64-eng,bin/aidl_rust_glue.py", |
| "-artifact", |
| "starnix_x86_64-eng,lib64/libc++.so", |
| "-artifact", |
| "starnix_x86_64-eng,art-run-test-target-data-merged.zip", |
| "-artifact", |
| "starnix_x86_64-eng,starnix_testcases.img", |
| "-artifact", |
| "starnix_x86_64-eng,build-id.zip", |
| "-artifact", |
| "starnix_arm64-eng,starnix_arm64-img-{bid}.zip", |
| "-artifact", |
| "starnix_arm64-eng,bin/adb", |
| "-artifact", |
| "starnix_arm64-eng,bin/aidl", |
| "-artifact", |
| "starnix_arm64-eng,bin/aidl_rust_glue.py", |
| "-artifact", |
| "starnix_arm64-eng,lib64/libc++.so", |
| "-artifact", |
| "starnix_arm64-eng,art-run-test-target-data-merged.zip", |
| "-artifact", |
| "starnix_arm64-eng,starnix_testcases.img", |
| "-artifact", |
| "starnix_arm64-eng,build-id.zip" |
| ], |
| "name": "download Starnix artifacts and upload to CIPD.download starnix bid: 1234567", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[CLEANUP]/1234567" |
| ], |
| "infra_step": true, |
| "name": "download Starnix artifacts and upload to CIPD.list downloaded targets", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@listdir@[CLEANUP]/1234567/starnix_arm64-eng@@@", |
| "@@@STEP_LOG_LINE@listdir@[CLEANUP]/1234567/starnix_x86_64-eng@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]/1234567-build-id" |
| ], |
| "infra_step": true, |
| "name": "download Starnix artifacts and upload to CIPD.ensure symbol dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]/resources/extract.py", |
| "--json-input", |
| "{\"archive_file\": \"[CLEANUP]/1234567/starnix_arm64-eng/starnix_arm64-img-1234567.zip\", \"include_files\": [], \"output\": \"[CLEANUP]/1234567/starnix_arm64-eng\", \"safe_mode\": true}", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "download Starnix artifacts and upload to CIPD.unzip [CLEANUP]/1234567/starnix_arm64-eng/starnix_arm64-img-1234567.zip to [CLEANUP]/1234567/starnix_arm64-eng", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@<br/>extracted 1337 files - 50159.75 MB@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"extracted\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bytes\": 50159747054, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"filecount\": 1337@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CLEANUP]/1234567/starnix_arm64-eng/starnix_arm64-img-1234567.zip" |
| ], |
| "infra_step": true, |
| "name": "download Starnix artifacts and upload to CIPD.remove image zip file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]/resources/extract.py", |
| "--json-input", |
| "{\"archive_file\": \"[CLEANUP]/1234567/starnix_arm64-eng/build-id.zip\", \"include_files\": [], \"output\": \"[CLEANUP]/1234567-build-id\", \"safe_mode\": true}", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "download Starnix artifacts and upload to CIPD.unzip [CLEANUP]/1234567/starnix_arm64-eng/build-id.zip to [CLEANUP]/1234567-build-id", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@<br/>extracted 1337 files - 50159.75 MB@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"extracted\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bytes\": 50159747054, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"filecount\": 1337@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CLEANUP]/1234567/starnix_arm64-eng/build-id.zip" |
| ], |
| "infra_step": true, |
| "name": "download Starnix artifacts and upload to CIPD.remove symbol zip file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[CLEANUP]/1234567/starnix_arm64-eng/bin" |
| ], |
| "infra_step": true, |
| "name": "download Starnix artifacts and upload to CIPD.list binaries", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@listdir@[CLEANUP]/1234567/starnix_arm64-eng/bin/adb@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "+x", |
| "[CLEANUP]/1234567/starnix_arm64-eng/bin/adb" |
| ], |
| "name": "download Starnix artifacts and upload to CIPD.make adb executable", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "create", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}], \"install_mode\": \"copy\", \"package\": \"fuchsia_internal/starnix/android-image-arm64\", \"root\": \"[CLEANUP]/1234567/starnix_arm64-eng\"}", |
| "-hash-algo", |
| "sha256", |
| "-ref", |
| "latest", |
| "-tag", |
| "bid:1234567", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "download Starnix artifacts and upload to CIPD.create fuchsia_internal/starnix/android-image-arm64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia_internal/starnix/android-image-arm64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@40-chars-fake-of-the-package-instance_id@https://chrome-infra-packages.appspot.com/p/fuchsia_internal/starnix/android-image-arm64/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "create", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}], \"install_mode\": \"copy\", \"package\": \"fuchsia_internal/starnix/android-image-debug-symbols-arm64\", \"root\": \"[CLEANUP]/1234567-build-id\"}", |
| "-hash-algo", |
| "sha256", |
| "-ref", |
| "latest", |
| "-tag", |
| "bid:1234567", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "download Starnix artifacts and upload to CIPD.create fuchsia_internal/starnix/android-image-debug-symbols-arm64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia_internal/starnix/android-image-debug-symbols-arm64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@40-chars-fake-of-the-package-instance_id@https://chrome-infra-packages.appspot.com/p/fuchsia_internal/starnix/android-image-debug-symbols-arm64/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]/1234567-build-id" |
| ], |
| "infra_step": true, |
| "name": "download Starnix artifacts and upload to CIPD.ensure symbol dir (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]/resources/extract.py", |
| "--json-input", |
| "{\"archive_file\": \"[CLEANUP]/1234567/starnix_x86_64-eng/starnix_x86_64-img-1234567.zip\", \"include_files\": [], \"output\": \"[CLEANUP]/1234567/starnix_x86_64-eng\", \"safe_mode\": true}", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "download Starnix artifacts and upload to CIPD.unzip [CLEANUP]/1234567/starnix_x86_64-eng/starnix_x86_64-img-1234567.zip to [CLEANUP]/1234567/starnix_x86_64-eng", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@<br/>extracted 1337 files - 50159.75 MB@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"extracted\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bytes\": 50159747054, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"filecount\": 1337@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CLEANUP]/1234567/starnix_x86_64-eng/starnix_x86_64-img-1234567.zip" |
| ], |
| "infra_step": true, |
| "name": "download Starnix artifacts and upload to CIPD.remove image zip file (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]/resources/extract.py", |
| "--json-input", |
| "{\"archive_file\": \"[CLEANUP]/1234567/starnix_x86_64-eng/build-id.zip\", \"include_files\": [], \"output\": \"[CLEANUP]/1234567-build-id\", \"safe_mode\": true}", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "download Starnix artifacts and upload to CIPD.unzip [CLEANUP]/1234567/starnix_x86_64-eng/build-id.zip to [CLEANUP]/1234567-build-id", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@<br/>extracted 1337 files - 50159.75 MB@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"extracted\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bytes\": 50159747054, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"filecount\": 1337@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CLEANUP]/1234567/starnix_x86_64-eng/build-id.zip" |
| ], |
| "infra_step": true, |
| "name": "download Starnix artifacts and upload to CIPD.remove symbol zip file (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[CLEANUP]/1234567/starnix_x86_64-eng/bin" |
| ], |
| "infra_step": true, |
| "name": "download Starnix artifacts and upload to CIPD.list binaries (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@listdir@[CLEANUP]/1234567/starnix_x86_64-eng/bin/adb@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "+x", |
| "[CLEANUP]/1234567/starnix_x86_64-eng/bin/adb" |
| ], |
| "name": "download Starnix artifacts and upload to CIPD.make adb executable (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "create", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}], \"install_mode\": \"copy\", \"package\": \"fuchsia_internal/starnix/android-image-amd64\", \"root\": \"[CLEANUP]/1234567/starnix_x86_64-eng\"}", |
| "-hash-algo", |
| "sha256", |
| "-ref", |
| "latest", |
| "-tag", |
| "bid:1234567", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "download Starnix artifacts and upload to CIPD.create fuchsia_internal/starnix/android-image-amd64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia_internal/starnix/android-image-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@40-chars-fake-of-the-package-instance_id@https://chrome-infra-packages.appspot.com/p/fuchsia_internal/starnix/android-image-amd64/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "create", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}], \"install_mode\": \"copy\", \"package\": \"fuchsia_internal/starnix/android-image-debug-symbols-amd64\", \"root\": \"[CLEANUP]/1234567-build-id\"}", |
| "-hash-algo", |
| "sha256", |
| "-ref", |
| "latest", |
| "-tag", |
| "bid:1234567", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "download Starnix artifacts and upload to CIPD.create fuchsia_internal/starnix/android-image-debug-symbols-amd64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia_internal/starnix/android-image-debug-symbols-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@40-chars-fake-of-the-package-instance_id@https://chrome-infra-packages.appspot.com/p/fuchsia_internal/starnix/android-image-debug-symbols-amd64/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "name": "$result", |
| "summaryMarkdown": "Uploaded bid:1234567 for starnix" |
| } |
| ] |