Errors of zriz
A run that does not pass has a cause. This page has one entry for each of the 61 reason words. 53 are for a run, 5 are for zz and 3 are op words.
The cause has four keys that a person reads. reason is a word from this page. side says who must act.
retry says if the same run can pass. message is one sentence that starts with a small letter.
The word retry has one of four values:
no: The same run cannot pass. First change the target, the project or the runner config.later: The same run can pass after some time, with no change.now: The same run can pass at once. The fault was not in the run.unknown: The maker of the cause does not know.
The last five entries are errors of zz. They are not reasons of a run.
In a pattern, <name> is a value of the run. <id> in a command is the id of the run. <p> is the name of your pipeline.
assertion
A check of the step failed. The value in the result of the target is not the value that the pipeline expects.
| Pattern | <where>: <expression> failed: <found> |
|---|---|
| Side | target |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Change the failing check in
<file>, or the target, so that the value follows the check.
http-error
The target answered with an HTTP status that the step does not accept.
| Pattern | <where>: got HTTP <http-status> from the target |
|---|---|
| Side | target |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Change the step in
<file>to accept this status, or fix the target.
sql-error
The database of the target refused the query of the step.
| Pattern | <where>: the database refused the query |
|---|---|
| Side | target |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Fix the query of the step in
<file>, or the database.
browser-error
A browser command of the step failed. code in the details names the error.
| Pattern | <where>: browser command <command> failed: <code> |
|---|---|
| Side | target |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Fix the failed browser command, or the page.
cli-error
The command of the step ended with an error.
| Pattern | <where>: the command ended with an error |
|---|---|
| Side | target |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Fix the command of the step in
<file>, or the program that it runs.
timeout
The target did not answer before the time limit of the step.
| Pattern | <where>: got no answer from the target in <timeout-ms> ms |
|---|---|
| Side | target |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Make the target answer faster, or set a longer timeout-ms in the step.
connection-error
The runner could not open a connection to the target. The target did not accept the connection.
| Pattern | <where>: could not connect to the target |
|---|---|
| Side | target |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Make sure that the target runs and accepts connections from the runner.
poll-timeout
A poll step used all its attempts. The target never gave the expected state.
| Pattern | <where>: after <attempts> attempts, <until> was still not true |
|---|---|
| Side | target |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Raise max-attempts of the poll step, or fix the target so that it reaches the state.
poll-deadline-exceeded
The time limit of the pipeline ended while a poll step was in work. The target did not give the expected state in time.
| Pattern | <where>: after <attempts> attempts, <until> was still not true and the pipeline ran out of time (<timeout-ms> ms) |
|---|---|
| Side | target |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Raise the time limit of the pipeline, or lower the attempts of the poll step.
pipeline-timeout
The run used all the time that the pipeline allows. The run stopped at this step.
| Pattern | <where>: the pipeline ran out of time (<timeout-ms> ms) |
|---|---|
| Side | target |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Raise the time limit of the pipeline, or make the steps faster.
capture-not-found
The step captures a value from the result of the target. The result does not hold that value.
| Pattern | <where>: did not find the value <name> in the result of the target |
|---|---|
| Side | target |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Change the capture path in
<file>to a value that the result holds.
explicit-fail
The pipeline has a fail step and the run reached it. The pipeline stopped the run on purpose.
| Pattern | <where>: a fail step stopped the run |
|---|---|
| Side | target |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Remove the fail step from
<file>, or change the steps before it.
skipped
The pipeline has a skip step and the run reached it. The pipeline stopped the run on purpose.
| Pattern | <where>: a skip step stopped the run |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Remove the skip step from
<file>to run the rest of the pipeline.
unknown-action
A step calls an action that the project does not define.
| Pattern | <where>: no resource file of the project defines this action |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Use an action that the resource file defines.
unsupported-resource-type
A resource has a type that this cloud does not know.
| Pattern | resource <resource> has the type <type>, which this cloud does not know |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Use the type http, sql, browser or cli in the resource file.
execution-error
The cloud could not make an op from the arguments of the step. An argument is not valid for the action.
| Pattern | <where>: the cloud cannot make an op from the arguments |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Fix the arguments of the step in
<file>so that they are valid for the action.
template-resolution-error
A step uses a reference to a value. No earlier step and no env file gives that value.
| Pattern | <where>: no earlier step or env file sets <ref> |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Set the value in an earlier step or in the env file.
for-too-many-items
The list of a for step has more items than the limit allows.
| Pattern | <where>: the list has <items> items and the limit is <limit> |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Make the list of the for step shorter.
for-not-list
The "in" of a for step is not a list.
| Pattern | <where>: "in" must be a list, but it is <in-kind> |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Make "in" point to a list, for example "${ctx.items}", not "${ctx.total}".
host-not-allowed
The step calls an address that is not on the origin of the resource. The origin is the scheme, host and port of base-url. A redirect counts.
| Pattern | <where>: the address is outside the origin of resource <resource> |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Call only the origin of base-url of the resource.
read-only
The resource is read-only and the action writes. The runner did not send the statement to the database.
| Pattern | <where>: the step writes to resource <resource>, which is read-only |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Use a read-only action, or remove read-only from the resource.
placeholder-in-disallowed-slot
A secret placeholder is in a position that the runner does not permit.
| Pattern | <where>: the placeholder <name> is in a position that the runner does not permit |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Move the secret placeholder in
<file>to a position that the runner permits.
command-not-allowed
The step names a command that the runner config does not list for this resource.
| Pattern | <where>: resource <resource> does not allow the command |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Allow the command in the resource of the runner.
arg-not-allowed
The step has an argument that the runner config does not permit for this resource.
| Pattern | <where>: resource <resource> does not permit one of the arguments |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Change the argument, or permit it in the resource.
handle-busy
The step starts a handle that is in work.
| Pattern | <where>: the step starts the handle <handle>, but that handle is still in work |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Wait for the handle to end before you start it again, or use a different handle.
no-handle
The step uses a handle that this run did not start.
| Pattern | <where>: the step uses the handle <handle>, but no earlier step of this run started it |
|---|---|
| Side | pipeline |
| Retry | no |
Fix
- Show the failed step and its values:
zz runs <id> - Check the files of the project:
zz validate - Start the handle in an earlier step of this run.
runner-unavailable
No runner is connected for the env of the run. The run did not start.
| Pattern | no runner is connected for the env <env> |
|---|---|
| Side | runner |
| Retry | no |
Fix
- No runner of the org is connected for this env. Only browser and cli resources need Docker:
zz runners init --start - See the runners of the org:
zz runners
runner-down
The runner sent no request for more than 35 seconds during the run. The cloud counts such a runner as silent.
| Pattern | <where>: the runner <runner> sent no request for <silent-ms> ms |
|---|---|
| Side | runner |
| Retry | later |
Fix
- See the runners of the org:
zz runners - Run this pipeline again:
zz run <p> - Start the runner again, then run the pipeline again.
runner-revoked
The runner key of this env was revoked while the run was in work. The cloud ended the run at once and refuses runs for the env until a new runner is connected.
| Pattern | the runner <runner> of env <env> was revoked at <at> |
|---|---|
| Side | runner |
| Retry | no |
Fix
- Make a new runner for this env:
zz runners init --env {env} - See the runners of the org:
zz runners
resource-unavailable
The runner of the env does not have a resource that the pipeline uses. The run did not start.
| Pattern | the runner <runner> of the env <env> is missing <count> resources of the pipeline: <resources> |
|---|---|
| Side | runner |
| Retry | no |
Fix
- See the runners of the org:
zz runners - Show the failed step and its values:
zz runs <id> - Add the missing resources to the runner, then start it again.
unknown-resource
The runner config has no resource with this id and type, or its connection is not open.
| Pattern | <where>: the runner <runner> cannot open resource <resource> |
|---|---|
| Side | runner |
| Retry | no |
Fix
- See the runners of the org:
zz runners - Show the failed step and its values:
zz runs <id> - Add the resource to the runner, or fix its connection.
secret-not-listed
The step uses a secret that the resource does not list in the runner config.
| Pattern | <where>: the step uses the secret <name>, but resource <resource> does not list it |
|---|---|
| Side | runner |
| Retry | no |
Fix
- See the runners of the org:
zz runners - Show the failed step and its values:
zz runs <id> - List the secret in the
secretsof the resource.
secret-not-set
The runner has no value for the secret that the step uses.
| Pattern | <where>: the step uses the secret <name>, but the runner <runner> has no value for it |
|---|---|
| Side | runner |
| Retry | no |
Fix
- See the runners of the org:
zz runners - Show the failed step and its values:
zz runs <id> - Set the value of the secret in the environment of the runner.
capture-lost
The runner does not hold a value that an earlier step captured. The runner probably restarted.
| Pattern | <where>: the runner <runner> does not have the captured value <name> of this run |
|---|---|
| Side | runner |
| Retry | now |
Fix
- See the runners of the org:
zz runners - Run this pipeline again:
zz run <p> - Run the pipeline again. Keep the runner running during the run.
runner-restarted
The runner restarted during the run. It lost the state of the run.
| Pattern | the runner <runner> restarted during the run and lost <lost> |
|---|---|
| Side | runner |
| Retry | now |
Fix
- See the runners of the org:
zz runners - Run this pipeline again:
zz run <p> - Run the pipeline again. Keep the runner running during the run.
context-lost
The browser context of the run closed before the step. The message gives the reason.
| Pattern | <where>: the step lost its browser context: <why> |
|---|---|
| Side | runner |
| Retry | now |
Fix
- See the runners of the org:
zz runners - Show the time of each step:
zz runs <id> --timeline - Run the pipeline again. Use a shorter wait between browser steps.
handle-lost
The runner lost a handle that an earlier step started. The message gives the reason.
| Pattern | <where>: the step lost its handle <handle>: <why> |
|---|---|
| Side | runner |
| Retry | now |
Fix
- See the runners of the org:
zz runners - Show the time of each step:
zz runs <id> --timeline - Run the pipeline again. Use a shorter wait between the steps of the handle.
runner-at-capacity
All slots of a limit of the runner were busy. The step waited and no slot came free in time.
| Pattern | <where>: the step could not start: all <limit> <unit> of <scope> were busy for <waited-ms> ms |
|---|---|
| Side | runner |
| Retry | later |
Fix
- See the runners of the org:
zz runners - Show the time of each step:
zz runs <id> --timeline - Run fewer pipelines at the same time, or raise the limit of the runner.
too-many-handles
The worker is at its limit of handles. The step could not start a new handle.
| Pattern | <where>: the step could not start a handle: all <limit> handles are in use |
|---|---|
| Side | runner |
| Retry | later |
Fix
- See the runners of the org:
zz runners - Show the time of each step:
zz runs <id> --timeline - End handles that you no longer need, or raise the limit of the worker.
spawn-failed
The worker could not start the command of the step.
| Pattern | <where>: the runner <runner> could not start the command |
|---|---|
| Side | runner |
| Retry | no |
Fix
- See the runners of the org:
zz runners - Show the failed step and its values:
zz runs <id> - Make sure that the command exists on the computer of the runner.
worker-unavailable
The step needs the worker of the runner. The runner cannot connect to the worker.
| Pattern | <where>: the runner <runner> cannot connect to the worker |
|---|---|
| Side | runner |
| Retry | no |
Fix
- See the runners of the org:
zz runners - Show the failed step and its values:
zz runs <id> - Start the worker, and make sure that the runner can reach it.
worker-mismatch
The worker refused the request of the runner. The message gives the reason of the worker.
| Pattern | <where>: the worker of the runner <runner> refused the request: <worker-reason> |
|---|---|
| Side | runner |
| Retry | no |
Fix
- See the runners of the org:
zz runners - Show the failed step and its values:
zz runs <id> - Upgrade the runner and the worker to the same version.
worker-error
The worker had an internal error. The cloud does not know the cause.
| Pattern | <where>: the worker of the runner <runner> had an internal error |
|---|---|
| Side | runner |
| Retry | unknown |
Fix
- Show the failed step and its values:
zz runs <id> - See the runners of the org:
zz runners - Run the pipeline again. If it fails again, read the log of the worker.
unknown-arg
The runner does not know an argument that the cloud sent. The build of the runner is too old.
| Pattern | <where>: the runner <runner> does not know one of the arguments: its build is too old |
|---|---|
| Side | runner |
| Retry | no |
Fix
- See the runners of the org:
zz runners - Upgrade the runner: a new zz, install.sh again, or the new image.
unknown-kind
The runner does not know the kind of op that the cloud sent. The build of the runner is too old.
| Pattern | <where>: the runner <runner> does not know the op kind <kind>: its build is too old |
|---|---|
| Side | runner |
| Retry | no |
Fix
- See the runners of the org:
zz runners - Upgrade the runner: a new zz, install.sh again, or the new image.
runner-no-answer
The runner got the op and gave no answer in time.
| Pattern | <where>: the runner <runner> got the op and gave no answer in <timeout-ms> ms |
|---|---|
| Side | runner |
| Retry | now |
Fix
- See the runners of the org:
zz runners - Run this pipeline again:
zz run <p> - Run the pipeline again. If it fails again, read the log of the runner.
unexpected-frame
The runner sent a message that is not an answer to the op.
| Pattern | <where>: the runner <runner> sent a frame that is not an answer |
|---|---|
| Side | runner |
| Retry | unknown |
Fix
- Show the failed step and its values:
zz runs <id> - See the runners of the org:
zz runners - Run the pipeline again. If it fails again, upgrade the runner.
runner-error
The runner could not do the step and does not know why. The message gives the place where it failed.
| Pattern | <where>: the runner <runner> failed for an unknown cause (stage <stage>) |
|---|---|
| Side | runner |
| Retry | unknown |
Fix
- Show the failed step and its values:
zz runs <id> - See the runners of the org:
zz runners - Run the pipeline again. If it fails again, read the log of the runner.
runner-busy
The op waited more than 2 seconds for the runner. The runner had all its slots in work.
| Pattern | <where>: waited <wait-ms> ms for the runner <runner>: the runner had <busy> of <limit> <unit> in work |
|---|---|
| Side | runner |
| Retry | later |
Fix
- See the runners of the org:
zz runners - Run this pipeline again:
zz run <p> - Run again later, or raise the limit of the runner.
service-stall
The op waited for the runner. The runner was connected and not busy. The zriz service did not send the op.
| Pattern | <where>: waited <wait-ms> ms: the runner <runner> was free, but the zriz service did not send the op |
|---|---|
| Side | service |
| Retry | later |
Fix
- Show the time of each step:
zz runs <id> --timeline - Run this pipeline again:
zz run <p> - Run the pipeline again. If it fails again, tell zriz support.
invalid-op
The cloud made an op that the wire protocol refuses. This is a fault of zriz.
| Pattern | <where>: the cloud made an op that the wire protocol refuses |
|---|---|
| Side | service |
| Retry | unknown |
Fix
- Show the failed step and its values:
zz runs <id> - Check the connection to the cloud:
zz doctor - This is a fault of zriz. Tell zriz support.
run-error
The cloud could not do the run and does not know why. The message gives the place where it failed.
| Pattern | the cloud could not do the run, for an unknown cause (stage <stage>) |
|---|---|
| Side | service |
| Retry | unknown |
Fix
- Show the failed step and its values:
zz runs <id> - Check the connection to the cloud:
zz doctor - Run the pipeline again. If it fails again, tell zriz support.
canceled
A member or a CI key canceled the run.
| Pattern | <where>: a member or a CI key canceled the run |
|---|---|
| Kind | A person stopped the run. It has no side. |
| Retry | now |
Fix
- Run this pipeline again:
zz run <p> - Run the pipeline again if you need the result.
net-refused
zz could not connect. The service refused the connection.
| Pattern | the service at <host> refused the connection |
|---|---|
| Side | network |
| Retry | later |
Fix
- Check the connection to the cloud:
zz doctor - Make sure that the service is up and that the address is right.
net-dns
The name of the service did not resolve.
| Pattern | the name <host> did not resolve |
|---|---|
| Side | network |
| Retry | later |
Fix
- Check the connection to the cloud:
zz doctor - Show the commands of zz:
zz - Check the address and your network, then try again.
net-timeout
The service did not answer in time.
| Pattern | the service at <host> gave no answer in <timeout-ms> ms |
|---|---|
| Side | network |
| Retry | later |
Fix
- Check the connection to the cloud:
zz doctor - Check your network, then try again.
net-tls
The TLS handshake with the service failed.
| Pattern | the TLS handshake with <host> failed |
|---|---|
| Side | network |
| Retry | no |
Fix
- Check the connection to the cloud:
zz doctor - Show the commands of zz:
zz - Check the clock and the proxy of this computer, then try again.
net-unknown
The request failed and zz does not know why.
| Pattern | the request to <host> failed and zz does not know the cause |
|---|---|
| Side | network |
| Retry | unknown |
Fix
- Check the connection to the cloud:
zz doctor - Check your network, then try again.
evidence-disabled
The runner refused an evidence op because evidence is off in its config. This word does not fail a run. It is only in the log of the runner, in a line with op refused.
| Kind | Op word. It is never the cause of a run. |
|---|
Fix
- Set
evidencein the runner config to a value that is notnone, or remove the key. Then start the runner again.
evidence-expired
The runner refused an evidence op because it holds no excerpt for that call. This word does not fail a run. It is only in the log of the runner, in a line with op refused.
| Kind | Op word. It is never the cause of a run. |
|---|
Fix
- Read the failed step:
zz runs <id>. Its error gives the cause without the excerpt.
placeholder-not-found
A placeholder in a step is not a listed secret and not a captured value. The cloud changes this word to runner-restarted, capture-lost or secret-not-listed.
| Pattern | <where>: the placeholder <name> is not a listed secret of resource <resource> and not a captured value of this run |
|---|---|
| Kind | Op word. It is never the cause of a run. |
Fix
- Read the reason word of the run:
zz runs <id>.
org-mismatch
The org in use is not the org of the project. The exit code is 3.
Fix
- Use the login of the project org:
zz --org <org id or org name> run <pipeline> - Add that login:
zz login - Remove
--org. In CI, use a key of the project org (ZZ_KEY). - To move the project, change
orgin.zriz/project.json. - Do the run again:
zz run <pipeline>
unknown-login
The value of --org is not the id or the name of an org that you have a login for. The exit code is 2.
Fix
- List the orgs of your logins:
zz status - Use one of them:
zz --org <org id or org name> runners
org-not-set
.zriz/project.json has no org, there are many logins, and the command sends project data or changes an org item. The error lists the orgs. The exit code is 2.
Fix
- Write the org to the project:
zz --org <org id or org name> init <work folder> - Do the command again:
zz run <pipeline>
secret-in-file
An environment file other than local.json has a value for a name in sensitive. The message names the name, never the value. The file is for a commit, and a secret must not be in it.
Fix
- Find the file and the name:
zz validate - Remove the value from the file.
- Set the name in the process environment. In CI, use a CI secret.
gh-failed
gh (the GitHub CLI) is not installed, is not signed in, or a call failed. The exit code is 1.
Fix
- Install
ghand sign in:gh auth login - Check that
ghworks:gh auth status