blob: cf620b1c5e5f042d46ff0536a369ed103863d568 [file] [log] [blame]
[
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"/creds/aemu/symbols_upload",
"[CLEANUP]/tmp_tmp_1/.emulator_symbol_server_key"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "copy upload key"
},
{
"cmd": [],
"name": "install fuchsia/third_party/repo"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/cipd_tool/fuchsia/third_party/repo/version%3A2.8"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "install fuchsia/third_party/repo.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/fuchsia/third_party/repo/version%3A2.8",
"-ensure-file",
"fuchsia/third_party/repo version:2.8",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "install fuchsia/third_party/repo.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:2.8-----\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/repo\"@@@",
"@@@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": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/aemu/src"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "aemu src dir"
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/third_party/repo/version%3A2.8/repo",
"init",
"-u",
"https://android.googlesource.com/platform/manifest",
"-b",
"emu-master-dev"
],
"cwd": "[START_DIR]/aemu/src",
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "repo init"
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/third_party/repo/version%3A2.8/repo",
"sync",
"-j8"
],
"cwd": "[START_DIR]/aemu/src",
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "repo sync"
},
{
"cmd": [
"git",
"config",
"remote.aosp.url"
],
"cwd": "[START_DIR]/aemu/src/external/qemu",
"env": {
"MACOSX_DEPLOYMENT_TARGET": "10.11"
},
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "set config"
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/aemu/src/external/qemu",
"env": {
"MACOSX_DEPLOYMENT_TARGET": "10.11"
},
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "git rev-parse"
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE[fuchsia::contrib/aemu].resources/cmake.vpython",
"-u",
"[START_DIR]/aemu/src/external/qemu/android/build/python/cmake.py",
"--cmake_option",
"ANDROIDSTUDIO=OFF",
"--no-qtwebengine",
"--no-tests",
"--minbuild",
"--dist",
"[START_DIR]/aemu/install",
"--target",
"linux_aarch64",
"--crash",
"prod"
],
"cwd": "[START_DIR]/aemu/src/external/qemu",
"env": {
"HOME": "[CLEANUP]/tmp_tmp_1",
"MACOSX_DEPLOYMENT_TARGET": "10.11"
},
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cmake"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/aemu/src/external/qemu/LICENSE",
"[START_DIR]/aemu/src/external/qemu/objs/distribution/emulator"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "copy LICENSE"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copytree",
"[START_DIR]/aemu/src/external/qemu/LICENSES",
"[START_DIR]/aemu/src/external/qemu/objs/distribution/emulator/LICENSES"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "copy LICENSES/"
},
{
"cmd": [],
"name": "cas",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@isolated@\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0\"@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[recipe_engine::cas]/resources/infra.sha1",
"/path/to/tmp/"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cas.read infra revision",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@",
"@@@STEP_LOG_END@infra.sha1@@@"
]
},
{
"cmd": [],
"name": "cas.install infra/tools/luci/cas",
"~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",
"[START_DIR]/cipd_tool/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cas.install infra/tools/luci/cas.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision",
"-ensure-file",
"infra/tools/luci/cas/${platform} git_revision:mock_infra_git_revision",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cas.install infra/tools/luci/cas.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-git_revision:moc\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cas/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": [
"[START_DIR]/cipd_tool/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision/cas",
"archive",
"-cas-instance",
"projects/example-cas-server/instances/default_instance",
"-dump-digest",
"/path/to/tmp/",
"-paths",
"[START_DIR]/aemu/src/external/qemu/objs/distribution/emulator:."
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cas.archive",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@"
]
},
{
"cmd": [],
"name": "cipd",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@git_revision@\"deadbeef\"@@@",
"@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@",
"@@@SET_BUILD_PROPERTY@package@\"fuchsia/third_party/aemu/linux-arm64\"@@@"
]
},
{
"cmd": [
"cipd",
"search",
"fuchsia/third_party/aemu/linux-arm64",
"-tag",
"git_revision:deadbeef",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cipd.cipd search fuchsia/third_party/aemu/linux-arm64 git_revision:deadbeef",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": []@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd",
"create",
"-pkg-def",
"{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/aemu.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/aemu/linux-arm64\", \"root\": \"[START_DIR]/aemu/src/external/qemu/objs/distribution/emulator\"}",
"-hash-algo",
"sha256",
"-ref",
"latest",
"-tag",
"git_revision:deadbeef",
"-metadata",
"bbid:8945511751514863184",
"-metadata",
"git_repository:https://fuchsia.googlesource.com/fuchsia",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cipd.create fuchsia/third_party/aemu/linux-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/third_party/aemu/linux-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/third_party/aemu/linux-arm64/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"name": "$result"
}
]