blob: 8e5e364063b36d68dbbb2c3a5950038fe2161e9b [file] [log] [blame]
[
{
"cmd": [],
"name": "checkout",
"~followup_annotations": [
"@@@STEP_TEXT@https://chromium.googlesource.com/crosvm/crosvm@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/chromium-crosvm-crosvm"
],
"infra_step": true,
"name": "checkout.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.git init",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://chromium.googlesource.com/crosvm/crosvm"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.git remote",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"core.longpaths",
"true"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.set core.longpaths",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.set fetch.uriprotocols",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/git"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.cache.ensure git cache dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.cache.write git cache guard file",
"~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",
"0o777",
"[CACHE]/git/chromium.googlesource.com-crosvm-crosvm"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/chromium.googlesource.com-crosvm-crosvm",
"infra_step": true,
"name": "checkout.cache.git init",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://chromium.googlesource.com/crosvm/crosvm"
],
"cwd": "[CACHE]/git/chromium.googlesource.com-crosvm-crosvm",
"infra_step": true,
"name": "checkout.cache.remote set-url",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"core.longpaths",
"true"
],
"cwd": "[CACHE]/git/chromium.googlesource.com-crosvm-crosvm",
"infra_step": true,
"name": "checkout.cache.set core.longpaths",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[CACHE]/git/chromium.googlesource.com-crosvm-crosvm",
"infra_step": true,
"name": "checkout.cache.set fetch.uriprotocols",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"--replace-all",
"remote.origin.fetch",
"+refs/heads/*:refs/heads/*",
"\\+refs/heads/\\*:.*"
],
"cwd": "[CACHE]/git/chromium.googlesource.com-crosvm-crosvm",
"infra_step": true,
"name": "checkout.cache.replace fetch configs",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"--jobs",
"4",
"origin"
],
"cwd": "[CACHE]/git/chromium.googlesource.com-crosvm-crosvm",
"infra_step": true,
"name": "checkout.cache.git fetch",
"timeout": 1200.0,
"~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",
"0o777",
"[START_DIR]/chromium-crosvm-crosvm/.git/objects/info"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.cache.makedirs object/info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/git/chromium.googlesource.com-crosvm-crosvm/objects\n",
"[START_DIR]/chromium-crosvm-crosvm/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/chromium.googlesource.com-crosvm-crosvm/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.cache.remove git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"--jobs",
"4",
"origin",
"--recurse-submodules"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"93180de38ab7575635952ed30f73ff795ab0bf30"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.git checkout",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.git rev-parse",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.git clean",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.submodule",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.submodule.git submodule sync",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive",
"--jobs",
"4"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"infra_step": true,
"name": "checkout.submodule.git submodule update",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "ensure packages"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd",
"-ensure-file",
"fuchsia/third_party/clang/${platform} integration\nfuchsia/third_party/pkg-config/${platform} version:0.29.2\nfuchsia/third_party/rust/host/${platform} latest_stable\nfuchsia/third_party/rust/target/x86_64-unknown-linux-gnu latest_stable\n@Subdir sysroot\nfuchsia/third_party/sysroot/focal git_revision:702eb9654703a7cec1cadf93a7e3aa269d053943",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure packages.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-integration-----\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/clang/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:0.29.2--\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/pkg-config/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest_stable---\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/rust/host/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest_stable---\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/rust/target/x86_64-unknown-linux-gnu\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ],@@@",
"@@@STEP_LOG_LINE@json.output@ \"sysroot\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:702\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/sysroot/focal\"@@@",
"@@@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": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/pkgconfig"
],
"infra_step": true,
"name": "create pkgconfig"
},
{
"cmd": [],
"name": "libcap"
},
{
"cmd": [],
"name": "libcap.checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@https://kernel.googlesource.com/pub/scm/libs/libcap/libcap.git@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/kernel-pub-scm-libs-libcap-libcap"
],
"infra_step": true,
"name": "libcap.checkout.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.git init",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://kernel.googlesource.com/pub/scm/libs/libcap/libcap.git"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.git remote",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"core.longpaths",
"true"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.set core.longpaths",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.set fetch.uriprotocols",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "libcap.checkout.cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.cache.write git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/git/kernel.googlesource.com-pub-scm-libs-libcap-libcap.git"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/kernel.googlesource.com-pub-scm-libs-libcap-libcap.git",
"infra_step": true,
"name": "libcap.checkout.cache.git init",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://kernel.googlesource.com/pub/scm/libs/libcap/libcap.git"
],
"cwd": "[CACHE]/git/kernel.googlesource.com-pub-scm-libs-libcap-libcap.git",
"infra_step": true,
"name": "libcap.checkout.cache.remote set-url",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"config",
"core.longpaths",
"true"
],
"cwd": "[CACHE]/git/kernel.googlesource.com-pub-scm-libs-libcap-libcap.git",
"infra_step": true,
"name": "libcap.checkout.cache.set core.longpaths",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[CACHE]/git/kernel.googlesource.com-pub-scm-libs-libcap-libcap.git",
"infra_step": true,
"name": "libcap.checkout.cache.set fetch.uriprotocols",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"config",
"--replace-all",
"remote.origin.fetch",
"+refs/heads/*:refs/heads/*",
"\\+refs/heads/\\*:.*"
],
"cwd": "[CACHE]/git/kernel.googlesource.com-pub-scm-libs-libcap-libcap.git",
"infra_step": true,
"name": "libcap.checkout.cache.replace fetch configs",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"--jobs",
"4",
"origin"
],
"cwd": "[CACHE]/git/kernel.googlesource.com-pub-scm-libs-libcap-libcap.git",
"infra_step": true,
"name": "libcap.checkout.cache.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/kernel-pub-scm-libs-libcap-libcap/.git/objects/info"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.cache.makedirs object/info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/git/kernel.googlesource.com-pub-scm-libs-libcap-libcap.git/objects\n",
"[START_DIR]/kernel-pub-scm-libs-libcap-libcap/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/kernel.googlesource.com-pub-scm-libs-libcap-libcap.git/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.cache.remove git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"--jobs",
"4",
"origin",
"refs/tags/cap/v1.2.70"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.git checkout",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.git rev-parse",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.git clean",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "libcap.checkout.submodule",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.submodule.git submodule sync",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--jobs",
"4"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap",
"infra_step": true,
"name": "libcap.checkout.submodule.git submodule update",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [],
"name": "libcap.ensure fuchsia/third_party/make/${platform}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "libcap.ensure fuchsia/third_party/make/${platform}.get packages",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[fuchsia::make]/resources/cipd.ensure",
"/path/to/tmp/"
],
"infra_step": true,
"name": "libcap.ensure fuchsia/third_party/make/${platform}.get packages.read ensure file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@cipd.ensure@fuchsia/third_party/make/${platform} version:pinned-version@@@",
"@@@STEP_LOG_END@cipd.ensure@@@"
]
},
{
"cmd": [],
"name": "libcap.ensure fuchsia/third_party/make/${platform}.install fuchsia/third_party/make",
"~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",
"0o777",
"[START_DIR]/cipd_tool/fuchsia/third_party/make/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07"
],
"infra_step": true,
"name": "libcap.ensure fuchsia/third_party/make/${platform}.install fuchsia/third_party/make.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/fuchsia/third_party/make/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07",
"-ensure-file",
"fuchsia/third_party/make/${platform} version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "libcap.ensure fuchsia/third_party/make/${platform}.install fuchsia/third_party/make.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\": \"fuchsia/third_party/make/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/fuchsia/third_party/make/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/bin/make",
"install",
"prefix=[START_DIR]/pkgconfig",
"lib=lib",
"COPTS=--sysroot=[START_DIR]/cipd/sysroot",
"SHARED=no",
"PAM_CAP=no",
"CC=[START_DIR]/cipd/bin/clang",
"CXX=[START_DIR]/cipd/bin/clang++",
"AR=[START_DIR]/cipd/bin/llvm-ar",
"LD=[START_DIR]/cipd/bin/ld.lld",
"RANLIB=[START_DIR]/cipd/bin/llvm-ranlib",
"OBJCOPY=[START_DIR]/cipd/bin/llvm-objcopy"
],
"cwd": "[START_DIR]/kernel-pub-scm-libs-libcap-libcap/libcap",
"name": "libcap.build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "minijail"
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/third_party/make/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/bin/make"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm/third_party/minijail",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"BUILD_STATIC_LIBS": "yes",
"CC": "[START_DIR]/cipd/bin/clang",
"CPPFLAGS": "--sysroot=[START_DIR]/cipd/sysroot -I[START_DIR]/pkgconfig/include -Wno-single-bit-bitfield-constant-conversion",
"CXX": "[START_DIR]/cipd/bin/clang++",
"LD": "[START_DIR]/cipd/bin/ld.lld",
"LDFLAGS": "--sysroot=[START_DIR]/cipd/sysroot -L[START_DIR]/pkgconfig/lib",
"OBJCOPY": "[START_DIR]/cipd/bin/llvm-objcopy",
"OUT": "[START_DIR]/chromium-crosvm-crosvm/third_party/minijail/out",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"name": "minijail.build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "minijail.pkgconfig installation",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/chromium-crosvm-crosvm/third_party/minijail/out/libminijail.pie.a",
"[START_DIR]/pkgconfig/lib/libminijail.a"
],
"infra_step": true,
"name": "minijail.pkgconfig installation.libminijail.a",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/chromium-crosvm-crosvm/third_party/minijail/libminijail.pc.in",
"[START_DIR]/pkgconfig/lib/pkgconfig/libminijail.pc"
],
"infra_step": true,
"name": "minijail.pkgconfig installation.libminijail.pc",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/chromium-crosvm-crosvm/third_party/minijail/libminijail.h",
"[START_DIR]/pkgconfig/include/libminijail.h "
],
"infra_step": true,
"name": "minijail.pkgconfig installation.libminijail.h ",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"apply",
"RECIPE[fuchsia::contrib/crosvm].resources/minijail.rename-parser-module.patch"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm/third_party/minijail",
"name": "minijail.apply patch",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"apply",
"RECIPE[fuchsia::contrib/crosvm].resources/minijail.skip-bindgen.patch"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm/third_party/minijail",
"name": "minijail.apply patch (2)",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cargo",
"build",
"--release",
"--target=x86_64-unknown-linux-gnu",
"--no-default-features",
"--features=audio,balloon,config-file,document-features,qcow,usb,libvda-stub,net,slirp,gdb",
"--config=target.x86_64-unknown-linux-gnu.linker=\"[START_DIR]/cipd/bin/clang++\"",
"--config=target.x86_64-unknown-linux-gnu.rustflags=['-Clink-arg=-L[START_DIR]/cipd/sysroot', '-Clink-arg=-L[START_DIR]/pkgconfig/lib', '-Clink-arg=-L[START_DIR]/cipd/lib/rustlib/x86_64-unknown-linux-gnu/lib']"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"CC": "[START_DIR]/cipd/bin/clang",
"CXX": "[START_DIR]/cipd/bin/clang++",
"LD": "[START_DIR]/cipd/bin/ld.lld",
"MINIJAIL_DO_NOT_BUILD": "1",
"OBJCOPY": "[START_DIR]/cipd/bin/llvm-objcopy",
"PKG_CONFIG_ALLOW_SYSTEM_CFLAGS": "0",
"PKG_CONFIG_ALLOW_SYSTEM_LIBS": "0",
"PKG_CONFIG_LIBDIR": "[START_DIR]/pkgconfig/lib/pkgconfig",
"PKG_CONFIG_PATH": "[START_DIR]/pkgconfig",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib",
"RUST_BACKTRACE": "full"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"name": "build"
},
{
"cmd": [
"cargo",
"test",
"--release",
"--target=x86_64-unknown-linux-gnu",
"--no-default-features",
"--features=audio,balloon,config-file,document-features,qcow,usb,libvda-stub,net,slirp,gdb",
"--config=target.x86_64-unknown-linux-gnu.linker=\"[START_DIR]/cipd/bin/clang++\"",
"--config=target.x86_64-unknown-linux-gnu.rustflags=['-Clink-arg=-L[START_DIR]/cipd/sysroot', '-Clink-arg=-L[START_DIR]/pkgconfig/lib', '-Clink-arg=-L[START_DIR]/cipd/lib/rustlib/x86_64-unknown-linux-gnu/lib']"
],
"cwd": "[START_DIR]/chromium-crosvm-crosvm",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"CC": "[START_DIR]/cipd/bin/clang",
"CXX": "[START_DIR]/cipd/bin/clang++",
"LD": "[START_DIR]/cipd/bin/ld.lld",
"MINIJAIL_DO_NOT_BUILD": "1",
"OBJCOPY": "[START_DIR]/cipd/bin/llvm-objcopy",
"PKG_CONFIG_ALLOW_SYSTEM_CFLAGS": "0",
"PKG_CONFIG_ALLOW_SYSTEM_LIBS": "0",
"PKG_CONFIG_LIBDIR": "[START_DIR]/pkgconfig/lib/pkgconfig",
"PKG_CONFIG_PATH": "[START_DIR]/pkgconfig",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib",
"RUST_BACKTRACE": "full"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"name": "test"
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/symlink.py",
"--link-json",
"{\"[START_DIR]/chromium-crosvm-crosvm/LICENSE\": [\"[CLEANUP]/artifacts_tmp_1/LICENSE\"], \"[START_DIR]/chromium-crosvm-crosvm/target/x86_64-unknown-linux-gnu/release/crosvm\": [\"[CLEANUP]/artifacts_tmp_1/crosvm\"]}"
],
"infra_step": true,
"name": "create artifact directory"
},
{
"cmd": [],
"name": "cas",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@isolated@\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0\"@@@"
]
},
{
"cmd": [
"vpython3",
"-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,
"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": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee"
],
"infra_step": true,
"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/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee",
"-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,
"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/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee/cas",
"archive",
"-log-level",
"debug",
"-cas-instance",
"projects/example-cas-server/instances/default_instance",
"-dump-digest",
"/path/to/tmp/",
"-paths-json",
"[[\"[CLEANUP]/artifacts_tmp_1\", \".\"]]"
],
"infra_step": true,
"name": "cas.archive",
"timeout": 900.0,
"~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@\"93180de38ab7575635952ed30f73ff795ab0bf30\"@@@",
"@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@",
"@@@SET_BUILD_PROPERTY@package@\"fuchsia/third_party/crosvm/linux-amd64\"@@@"
]
},
{
"cmd": [
"cipd",
"pkg-build",
"-pkg-def",
"{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/crosvm.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/crosvm/linux-amd64\", \"root\": \"[CLEANUP]/artifacts_tmp_1\"}",
"-out",
"[CLEANUP]/cipd-util-build_tmp_1/crosvm.pkg",
"-hash-algo",
"sha256",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.build fuchsia/third_party/crosvm/linux-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/third_party/crosvm/linux-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd",
"search",
"fuchsia/third_party/crosvm/linux-amd64",
"-tag",
"git_revision:93180de38ab7575635952ed30f73ff795ab0bf30",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.cipd search fuchsia/third_party/crosvm/linux-amd64 git_revision:93180de38ab7575635952ed30f73ff795ab0bf30",
"~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",
"pkg-register",
"[CLEANUP]/cipd-util-build_tmp_1/crosvm.pkg",
"-ref",
"latest",
"-tag",
"git_revision:93180de38ab7575635952ed30f73ff795ab0bf30",
"-metadata",
"bbid:0",
"-metadata",
"git_repository:https://chromium.googlesource.com/crosvm/crosvm",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.register fuchsia/third_party/crosvm/linux-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/third_party/crosvm/linux-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@fuchsia/third_party/crosvm/linux-amd64@https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/crosvm/linux-amd64/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"name": "$result"
}
]