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.

Reference · zz 0.9.0 or later · Updated · Plain text for agents: /docs/errors.md

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:

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.

Side Meaning Words
target Your service did not do what the pipeline expects. assertion, http-error, sql-error, browser-error, cli-error, timeout, connection-error, poll-timeout, poll-deadline-exceeded, pipeline-timeout, capture-not-found, explicit-fail
pipeline A file of the project is wrong, or the pipeline stopped the run. skipped, unknown-action, unsupported-resource-type, execution-error, template-resolution-error, for-too-many-items, for-not-list, host-not-allowed, read-only, placeholder-in-disallowed-slot, command-not-allowed, arg-not-allowed, handle-busy, no-handle
runner The runner, its worker or the runner config was not ready. runner-unavailable, runner-down, runner-revoked, resource-unavailable, unknown-resource, secret-not-listed, secret-not-set, capture-lost, runner-restarted, context-lost, handle-lost, runner-at-capacity, too-many-handles, spawn-failed, worker-unavailable, worker-mismatch, worker-error, unknown-arg, unknown-kind, runner-no-answer, unexpected-frame, runner-error, runner-busy
service The zriz service had a fault. service-stall, invalid-op, run-error
person A member of the org or a CI key stopped the run. It has no side. canceled
network zz got no answer from the cloud. net-refused, net-dns, net-timeout, net-tls, net-unknown
op words The runner uses them. They are never the cause of a run. evidence-disabled, evidence-expired, placeholder-not-found

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

  1. Show the failed step and its values: zz runs <id>
  2. 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

  1. Show the failed step and its values: zz runs <id>
  2. 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

  1. Show the failed step and its values: zz runs <id>
  2. 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

  1. Show the failed step and its values: zz runs <id>
  2. 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

  1. Show the failed step and its values: zz runs <id>
  2. 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

  1. Show the failed step and its values: zz runs <id>
  2. 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

  1. Show the failed step and its values: zz runs <id>
  2. 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

  1. Show the failed step and its values: zz runs <id>
  2. 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

  1. Show the failed step and its values: zz runs <id>
  2. 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

  1. Show the failed step and its values: zz runs <id>
  2. 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

  1. Show the failed step and its values: zz runs <id>
  2. 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

  1. Show the failed step and its values: zz runs <id>
  2. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the files of the project: zz validate
  3. 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

  1. No runner of the org is connected for this env. Only browser and cli resources need Docker: zz runners init --start
  2. 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

  1. See the runners of the org: zz runners
  2. Run this pipeline again: zz run <p>
  3. 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

  1. Make a new runner for this env: zz runners init --env {env}
  2. 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

  1. See the runners of the org: zz runners
  2. Show the failed step and its values: zz runs <id>
  3. 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

  1. See the runners of the org: zz runners
  2. Show the failed step and its values: zz runs <id>
  3. 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

  1. See the runners of the org: zz runners
  2. Show the failed step and its values: zz runs <id>
  3. List the secret in the secrets of 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

  1. See the runners of the org: zz runners
  2. Show the failed step and its values: zz runs <id>
  3. 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

  1. See the runners of the org: zz runners
  2. Run this pipeline again: zz run <p>
  3. 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

  1. See the runners of the org: zz runners
  2. Run this pipeline again: zz run <p>
  3. 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

  1. See the runners of the org: zz runners
  2. Show the time of each step: zz runs <id> --timeline
  3. 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

  1. See the runners of the org: zz runners
  2. Show the time of each step: zz runs <id> --timeline
  3. 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

  1. See the runners of the org: zz runners
  2. Show the time of each step: zz runs <id> --timeline
  3. 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

  1. See the runners of the org: zz runners
  2. Show the time of each step: zz runs <id> --timeline
  3. 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

  1. See the runners of the org: zz runners
  2. Show the failed step and its values: zz runs <id>
  3. 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

  1. See the runners of the org: zz runners
  2. Show the failed step and its values: zz runs <id>
  3. 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

  1. See the runners of the org: zz runners
  2. Show the failed step and its values: zz runs <id>
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. See the runners of the org: zz runners
  3. 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

  1. See the runners of the org: zz runners
  2. 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

  1. See the runners of the org: zz runners
  2. 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

  1. See the runners of the org: zz runners
  2. Run this pipeline again: zz run <p>
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. See the runners of the org: zz runners
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. See the runners of the org: zz runners
  3. 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

  1. See the runners of the org: zz runners
  2. Run this pipeline again: zz run <p>
  3. 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

  1. Show the time of each step: zz runs <id> --timeline
  2. Run this pipeline again: zz run <p>
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the connection to the cloud: zz doctor
  3. 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

  1. Show the failed step and its values: zz runs <id>
  2. Check the connection to the cloud: zz doctor
  3. 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

  1. Run this pipeline again: zz run <p>
  2. 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

  1. Check the connection to the cloud: zz doctor
  2. 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

  1. Check the connection to the cloud: zz doctor
  2. Show the commands of zz: zz
  3. 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

  1. Check the connection to the cloud: zz doctor
  2. 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

  1. Check the connection to the cloud: zz doctor
  2. Show the commands of zz: zz
  3. 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

  1. Check the connection to the cloud: zz doctor
  2. 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

  1. Set evidence in the runner config to a value that is not none, 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

  1. 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

  1. 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

  1. Use the login of the project org: zz --org <org id or org name> run <pipeline>
  2. Add that login: zz login
  3. Remove --org. In CI, use a key of the project org (ZZ_KEY).
  4. To move the project, change org in .zriz/project.json.
  5. 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

  1. List the orgs of your logins: zz status
  2. 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

  1. Write the org to the project: zz --org <org id or org name> init <work folder>
  2. 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

  1. Find the file and the name: zz validate
  2. Remove the value from the file.
  3. 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

  1. Install gh and sign in: gh auth login
  2. Check that gh works: gh auth status