blob: b8ec11558cf3622f8ab028e7bfcfbc119196b9c2 [file] [log] [blame]
[
{
"cmd": [],
"name": "checkout"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/dash-internal-salt"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git init",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://dash-internal.googlesource.com/salt"
],
"cwd": "[START_DIR]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git remote",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[START_DIR]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.set fetch.uriprotocols",
"timeout": 60.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",
"0777",
"[CACHE]/git"
],
"cwd": "[START_DIR]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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",
"0777",
"[CACHE]/git/dash-internal.googlesource.com-salt"
],
"cwd": "[START_DIR]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/dash-internal.googlesource.com-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.git init",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://dash-internal.googlesource.com/salt"
],
"cwd": "[CACHE]/git/dash-internal.googlesource.com-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.remote set-url",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[CACHE]/git/dash-internal.googlesource.com-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.set fetch.uriprotocols",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"--replace-all",
"remote.origin.fetch",
"+refs/heads/*:refs/heads/*",
"\\+refs/heads/\\*:.*"
],
"cwd": "[CACHE]/git/dash-internal.googlesource.com-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.replace fetch configs",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"origin"
],
"cwd": "[CACHE]/git/dash-internal.googlesource.com-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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",
"0777",
"[START_DIR]/dash-internal-salt/.git/objects/info"
],
"cwd": "[START_DIR]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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/dash-internal.googlesource.com-salt/objects\n",
"[START_DIR]/dash-internal-salt/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/dash-internal.googlesource.com-salt/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]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.remove git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"origin"
],
"cwd": "[START_DIR]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"2d72510e447ab60a9728aeea2362d8be2cbd7789"
],
"cwd": "[START_DIR]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git checkout",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git rev-parse",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.submodule.git submodule sync",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--jobs",
"4"
],
"cwd": "[START_DIR]/dash-internal-salt",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.submodule.git submodule update",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"--short",
"deadbeef"
],
"cwd": "[START_DIR]/dash-internal-salt",
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "git rev-parse",
"timeout": 600.0
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"glob",
"[START_DIR]/dash-internal-salt/packer",
"*.packer.generated.json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "find packer templates",
"~followup_annotations": [
"@@@STEP_LOG_LINE@glob@[START_DIR]/dash-internal-salt/packer/fail.packer.generated.json@@@",
"@@@STEP_LOG_LINE@glob@[START_DIR]/dash-internal-salt/packer/pass.packer.generated.json@@@",
"@@@STEP_LOG_END@glob@@@"
]
},
{
"cmd": [
"packer",
"validate",
"-var",
"revision=",
"[START_DIR]/dash-internal-salt/packer/fail.packer.generated.json"
],
"cwd": "[START_DIR]/dash-internal-salt",
"env": {
"CHECKPOINT_DISABLE": "1",
"PACKER_LOG": "1",
"PACKER_NO_COLOR": "1"
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "packer validate"
},
{
"cmd": [
"packer",
"validate",
"-var",
"revision=",
"[START_DIR]/dash-internal-salt/packer/pass.packer.generated.json"
],
"cwd": "[START_DIR]/dash-internal-salt",
"env": {
"CHECKPOINT_DISABLE": "1",
"PACKER_LOG": "1",
"PACKER_NO_COLOR": "1"
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "packer validate (2)"
},
{
"cmd": [],
"name": "fail",
"~followup_annotations": [
"@@@STEP_FAILURE@@@"
]
},
{
"cmd": [
"packer",
"build",
"-var",
"revision=",
"-var",
"dry_run=true",
"-var",
"use_internal_ip=true",
"-only=fail",
"[START_DIR]/dash-internal-salt/packer/fail.packer.generated.json"
],
"cost": {
"cpu": 0,
"disk": 0,
"memory": 0,
"net": 0
},
"cwd": "[START_DIR]/dash-internal-salt",
"env": {
"CHECKPOINT_DISABLE": "1",
"PACKER_LOG": "1",
"PACKER_NO_COLOR": "1"
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "fail.packer build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@DRYRUN FAILED@@@",
"@@@STEP_LOG_LINE@output@@@@",
"@@@STEP_LOG_LINE@output@ fail: ----------@@@",
"@@@STEP_LOG_LINE@output@ fail: ID: /etc/systemd/system/gce-provider-start-agent.service@@@",
"@@@STEP_LOG_LINE@output@ fail: Function: file.managed@@@",
"@@@STEP_LOG_LINE@output@ fail: Result: False@@@",
"@@@STEP_LOG_LINE@output@ fail: Comment: The following requisites were not found:@@@",
"@@@STEP_LOG_LINE@output@ fail: require:@@@",
"@@@STEP_LOG_LINE@output@ fail: user: swarming_use@@@",
"@@@STEP_LOG_LINE@output@ fail: Started: 01:13:41.861499@@@",
"@@@STEP_LOG_LINE@output@ fail: Duration: 0.028 ms@@@",
"@@@STEP_LOG_LINE@output@ fail: Changes:@@@",
"@@@STEP_LOG_LINE@output@ fail: ----------@@@",
"@@@STEP_LOG_LINE@output@ fail: ID: gce-provider-start-agent@@@",
"@@@STEP_LOG_LINE@output@ fail: Function: service.enabled@@@",
"@@@STEP_LOG_LINE@output@ fail: Result: False@@@",
"@@@STEP_LOG_LINE@output@ fail: Comment: One or more requisite failed: luci.gce_provider./etc/systemd/system/gce-provider-start-agent.service@@@",
"@@@STEP_LOG_LINE@output@ fail: Started: 01:13:41.862762@@@",
"@@@STEP_LOG_LINE@output@ fail: Duration: 0.017 ms@@@",
"@@@STEP_LOG_LINE@output@ fail: Changes:@@@",
"@@@STEP_LOG_LINE@output@ fail: ----------@@@",
"@@@STEP_LOG_LINE@output@ fail: ID: curl@@@",
"@@@STEP_LOG_LINE@output@ fail: Function: pkg.installed@@@",
"@@@STEP_LOG_LINE@output@ fail: Result: True@@@",
"@@@STEP_LOG_LINE@output@ fail: Comment: All specified packages are already installed@@@",
"@@@STEP_LOG_LINE@output@ fail: Started: 01:13:41.868646@@@",
"@@@STEP_LOG_LINE@output@ fail: Duration: 688.753 ms@@@",
"@@@STEP_LOG_LINE@output@ fail: Changes:@@@",
"@@@STEP_LOG_LINE@output@ fail: ----------@@@",
"@@@STEP_LOG_LINE@output@ @@@",
"@@@STEP_LOG_END@output@@@",
"@@@STEP_LOG_LINE@/etc/systemd/system/gce-provider-start-agent.service\n@ ID: /etc/systemd/system/gce-provider-start-agent.service@@@",
"@@@STEP_LOG_LINE@/etc/systemd/system/gce-provider-start-agent.service\n@ fail: Function: file.managed@@@",
"@@@STEP_LOG_LINE@/etc/systemd/system/gce-provider-start-agent.service\n@ fail: Result: False@@@",
"@@@STEP_LOG_LINE@/etc/systemd/system/gce-provider-start-agent.service\n@ fail: Comment: The following requisites were not found:@@@",
"@@@STEP_LOG_LINE@/etc/systemd/system/gce-provider-start-agent.service\n@ fail: require:@@@",
"@@@STEP_LOG_LINE@/etc/systemd/system/gce-provider-start-agent.service\n@ fail: user: swarming_use@@@",
"@@@STEP_LOG_LINE@/etc/systemd/system/gce-provider-start-agent.service\n@ fail: Started: 01:13:41.861499@@@",
"@@@STEP_LOG_LINE@/etc/systemd/system/gce-provider-start-agent.service\n@ fail: Duration: 0.028 ms@@@",
"@@@STEP_LOG_LINE@/etc/systemd/system/gce-provider-start-agent.service\n@ fail: Changes:@@@",
"@@@STEP_LOG_END@/etc/systemd/system/gce-provider-start-agent.service\n@@@",
"@@@STEP_LOG_LINE@gce-provider-start-agent\n@ ID: gce-provider-start-agent@@@",
"@@@STEP_LOG_LINE@gce-provider-start-agent\n@ fail: Function: service.enabled@@@",
"@@@STEP_LOG_LINE@gce-provider-start-agent\n@ fail: Result: False@@@",
"@@@STEP_LOG_LINE@gce-provider-start-agent\n@ fail: Comment: One or more requisite failed: luci.gce_provider./etc/systemd/system/gce-provider-start-agent.service@@@",
"@@@STEP_LOG_LINE@gce-provider-start-agent\n@ fail: Started: 01:13:41.862762@@@",
"@@@STEP_LOG_LINE@gce-provider-start-agent\n@ fail: Duration: 0.017 ms@@@",
"@@@STEP_LOG_LINE@gce-provider-start-agent\n@ fail: Changes:@@@",
"@@@STEP_LOG_END@gce-provider-start-agent\n@@@",
"@@@STEP_FAILURE@@@"
]
},
{
"cmd": [],
"name": "pass"
},
{
"cmd": [
"packer",
"build",
"-var",
"revision=",
"-var",
"dry_run=true",
"-var",
"use_internal_ip=true",
"-only=pass",
"[START_DIR]/dash-internal-salt/packer/pass.packer.generated.json"
],
"cost": {
"cpu": 0,
"disk": 0,
"memory": 0,
"net": 0
},
"cwd": "[START_DIR]/dash-internal-salt",
"env": {
"CHECKPOINT_DISABLE": "1",
"PACKER_LOG": "1",
"PACKER_NO_COLOR": "1"
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "pass.packer build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@output@@@"
]
},
{
"failure": {
"failure": {},
"humanReason": "BUILDS FAILED"
},
"name": "$result"
}
]