mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 12:09:31 +00:00
Mingw64 builds are used frequently by linux developers to check windows portions of crosvm and part of ./tools/presubmit. Test in postsubmit and once the builder is green it can be enabled in the CQ as well. BUG=b:254316054 TEST=recipes.py tests run Change-Id: I8495446772a54d63644e73d07423892e28cedd1a Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3964541 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Dennis Kempin <denniskempin@google.com>
625 lines
No EOL
16 KiB
JSON
625 lines
No EOL
16 KiB
JSON
[
|
|
{
|
|
"cmd": [],
|
|
"name": "Prepare Container Build"
|
|
},
|
|
{
|
|
"cmd": [],
|
|
"name": "Prepare Container Build.Prepare git",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@1@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"git",
|
|
"config",
|
|
"--get",
|
|
"user.name"
|
|
],
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Prepare Container Build.Prepare git.git config user.name",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"git",
|
|
"config",
|
|
"--get",
|
|
"user.email"
|
|
],
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Prepare Container Build.Prepare git.git config user.email",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"git",
|
|
"config",
|
|
"--global",
|
|
"user.name",
|
|
"Crosvm Bot"
|
|
],
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Prepare Container Build.Prepare git.Set git config: user.name",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"git",
|
|
"config",
|
|
"--global",
|
|
"user.email",
|
|
"crosvm-bot@crosvm-infra.iam.gserviceaccount.com"
|
|
],
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Prepare Container Build.Prepare git.Set git config: user.email",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"git",
|
|
"config",
|
|
"--global",
|
|
"credential.helper",
|
|
"gcloud.sh"
|
|
],
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Prepare Container Build.Prepare git.Set git config: credential.helper",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [],
|
|
"name": "Prepare Container Build.Prepare source",
|
|
"~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",
|
|
"0777",
|
|
"[CACHE]/builder"
|
|
],
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Prepare Container Build.Prepare source.Ensure builder_cache exists",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"vpython3",
|
|
"-u",
|
|
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
|
"--spec-path",
|
|
"cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'crosvm', 'url': 'https://chromium.googlesource.com/crosvm/crosvm'}]",
|
|
"--revision_mapping_file",
|
|
"{\"got_revision\": \"crosvm\"}",
|
|
"--git-cache-dir",
|
|
"[CACHE]/git",
|
|
"--cleanup-dir",
|
|
"[CLEANUP]/bot_update",
|
|
"--output_json",
|
|
"/path/to/tmp/json",
|
|
"--revision",
|
|
"crosvm@2d72510e447ab60a9728aeea2362d8be2cbd7789",
|
|
"--refs",
|
|
"refs/heads/main",
|
|
"--gerrit_no_reset"
|
|
],
|
|
"cwd": "[CACHE]/builder",
|
|
"env": {
|
|
"DEPOT_TOOLS_REPORT_BUILD": "crosvm/crosvm/ci/builder/8945511751514863184",
|
|
"GIT_HTTP_LOW_SPEED_LIMIT": "102400",
|
|
"GIT_HTTP_LOW_SPEED_TIME": "1800"
|
|
},
|
|
"env_suffixes": {
|
|
"DEPOT_TOOLS_UPDATE": [
|
|
"0"
|
|
],
|
|
"PATH": [
|
|
"RECIPE_REPO[depot_tools]"
|
|
]
|
|
},
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Prepare Container Build.Prepare source.bot_update",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@",
|
|
"@@@STEP_TEXT@Some step text@@@",
|
|
"@@@STEP_LOG_LINE@json.output@{@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"crosvm\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"crosvm\": {@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/crosvm.git\", @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ }@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"crosvm\", @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/main@{#119844}\"@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"root\": \"crosvm\", @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"crosvm\": {@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/crosvm.git\", @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ }@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ }@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"version\": 0@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ }, @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
|
|
"@@@STEP_LOG_LINE@json.output@}@@@",
|
|
"@@@STEP_LOG_END@json.output@@@",
|
|
"@@@SET_BUILD_PROPERTY@got_revision@\"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
|
|
"@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#119844}\"@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [],
|
|
"name": "Prepare Container Build.Prepare source.Sync submodules",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"git",
|
|
"submodule",
|
|
"update",
|
|
"--force",
|
|
"--init"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Prepare Container Build.Prepare source.Sync submodules.Init / Update submodules",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@3@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"git",
|
|
"repack",
|
|
"-a"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Prepare Container Build.Prepare source.Repack repository",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [],
|
|
"name": "Prepare Container Build.Prepare dev_container",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@1@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"vpython3",
|
|
"[CACHE]/builder/crosvm/tools/dev_container",
|
|
"--verbose",
|
|
"--stop"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Prepare Container Build.Prepare dev_container.Stop existing dev containers",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"vpython3",
|
|
"[CACHE]/builder/crosvm/tools/dev_container",
|
|
"--pull"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Prepare Container Build.Prepare dev_container.Force pull dev_container",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"vpython3",
|
|
"[CACHE]/builder/crosvm/tools/dev_container",
|
|
"--verbose",
|
|
"true"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Prepare Container Build.Prepare dev_container.Ensure dev container exists",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"vpython3",
|
|
"[CACHE]/builder/crosvm/tools/dev_container",
|
|
"--verbose",
|
|
"./tools/run_tests",
|
|
"--verbose",
|
|
"--build-only",
|
|
"--platform=x86_64",
|
|
"--generate-lcov",
|
|
"coverage.lcov"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"env": {
|
|
"CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container"
|
|
},
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Build crosvm tests"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"vpython3",
|
|
"[CACHE]/builder/crosvm/tools/dev_container",
|
|
"--verbose",
|
|
"./tools/run_tests",
|
|
"--verbose",
|
|
"--retry=0",
|
|
"--repeat=1",
|
|
"--platform=x86_64",
|
|
"--generate-lcov",
|
|
"coverage.lcov"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"env": {
|
|
"CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container"
|
|
},
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Run crosvm tests"
|
|
},
|
|
{
|
|
"cmd": [],
|
|
"name": "Uploading coverage"
|
|
},
|
|
{
|
|
"cmd": [],
|
|
"name": "Uploading coverage.install crosvm/codecov",
|
|
"~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",
|
|
"0777",
|
|
"[START_DIR]/cipd_tool/crosvm/codecov/latest"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"env": {
|
|
"CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container"
|
|
},
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Uploading coverage.install crosvm/codecov.ensure package directory",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@2@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"cipd",
|
|
"ensure",
|
|
"-root",
|
|
"[START_DIR]/cipd_tool/crosvm/codecov/latest",
|
|
"-ensure-file",
|
|
"crosvm/codecov/${platform} latest",
|
|
"-max-threads",
|
|
"0",
|
|
"-json-output",
|
|
"/path/to/tmp/json"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"env": {
|
|
"CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container"
|
|
},
|
|
"infra_step": true,
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Uploading coverage.install crosvm/codecov.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-latest----------\", @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"package\": \"crosvm/codecov/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": [
|
|
"git",
|
|
"rev-parse",
|
|
"HEAD"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"env": {
|
|
"CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container"
|
|
},
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Uploading coverage.Get git sha",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@1@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"bash",
|
|
"RECIPE_MODULE[crosvm::crosvm]/resources/codecov_wrapper.sh",
|
|
"[START_DIR]/cipd_tool/crosvm/codecov/latest/codecov",
|
|
"--nonZero",
|
|
"--slug=google/crosvm",
|
|
"--sha=",
|
|
"--branch=main",
|
|
"-X=search",
|
|
"-f",
|
|
"coverage.lcov"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"env": {
|
|
"CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container"
|
|
},
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Uploading coverage.Uploading to covecov.io",
|
|
"~followup_annotations": [
|
|
"@@@STEP_NEST_LEVEL@1@@@"
|
|
]
|
|
},
|
|
{
|
|
"name": "$result"
|
|
}
|
|
] |